Releases: apace100/origins-fabric
Releases · apace100/origins-fabric
Origins 1.13.0-alpha.11 (Minecraft 1.21.1)
Changes
- [
apoli
] Themodifier
/modifiers
field(s) are now required in themodify_item_cooldown
power type - [
apoli
] The tooltip texts in thetooltip
power type are no longer wrapped in string when serialized to NBT - [
origins
] Reformatted code style of the/origin
command to match the code style in Apoli - [
origins
] Adjusted the text area of the origin window
Fixes
- [
apoli
] Fixed class casting issue inoffset
block condition type - [
apoli
] Fixed ID of theaction_on_key_press
power type - [
apoli
] Fixed initializing issues with power types - [
apoli
] Fixed abnormal behavior withadd_velocity
entity/bi-entity action types - [
apoli
] Fixed default offset values ofspawn_particles
entity action type - [
apoli
] Fixedarea_of_effect
entity/block action types accepting a positive integer/floating pointradius
value instead of a non-negative integer/floating point value respectively - [
apoli
] Fixedaction_on_block_break
power type evaluating its block condition too late (evaluating the block at the mined position after it's been mined) - [
apoli
] Fixed typo in fields for encoding themodify_food
power type - [
apoli
] Fixedchoice
meta action type executing all the defined actions instead of just one - [
apoli
] Fixedgive
entity action type only working once (per game/server restart) due to the provided item stack not being copied - [
apoli
] Fixed*_inventory
entity action/condition types being provided slots that aren't within the bounds of an entity's inventory (or inventory of a power that uses theinventory
power type) - [
apoli
] Fixedmodify_harvest
power type evaluating its block condition too late (evaluating the block at the mined position after it's been mined) - [
apoli
] Fixedattacker
damage condition type requiring an entity condition - [
origins
] Fixed not being able to see custom origin layers in the origin screen - [
origins
] Fixedorigins:origin
item component not setting the player's origin
Changelogs
Origins 1.13.0-alpha.10 (Minecraft 1.21.1)
Warning
Power/action/condition types and actions/conditions have been overhauled in this update. There is currently no documentation, but you can check out PR apace100/apoli#254, or take a look at the codebase of Apoli 2.12.0-alpha.13 as a reference
Additions
-
[
calio
] [For addon developers] AddedSerializableDataType#validateValue
method for validating the operand type -
[
apoli
] Added legacy aliases for meta condition types;and
-->all_of
or
-->any_of
chance
-->random_chance
Changes
-
[
calio
] [For addon developers] DeprecatedSimpleDataObjectFactory
in favor of usingDataObjectFactory
directly viaDataObjectFactory#simple
-
[
calio
] [For addon developers] RenamedSerializableDataTypeList
class toListSerializableDataType
-
[
calio
] [For addon developers] RenamedFunctionedFieldImpl
class toFunctionedDefaultFieldImpl
-
[
calio
] [For addon developers] RenamedOptionalFieldImpl
class toDefaultedFieldImpl
-
[
calio
] [For addon developers] RenamedField#path
method toField#name
-
[
calio
] [For addon developers] Tweaked field presence check logic inSerializableData$Instance
to ensure that the default value of fields are only checked if the field doesn't have a defined value -
[
calio
] [For addon developers] Separated setting of defaulted and functioned default fields ofSerializableData$Instance
(when decoding) to avoid nullability issues with functioned default fields relying on defaulted fields -
[
apoli
] Made the*_inventory
action/condition types use slot ranges (e.g:hotbar.*
,armor.*
, etc.) -
[
apoli
] Made thekeep_inventory
power type use slot ranges (e.g:enderchest.*
,inventory.*
, etc.) -
[
apoli
] Renamed thesimple
power type todummy
(and added its old name as an alias) -
[
apoli
] Renamed theactive_self
power type toaction_on_key_press
(and added its old name as an alias) -
[
apoli
] Renamed some meta condition types (and added their old name as an alias)and
-->sequence
chance
-->random_chance
-
[
apoli
] [For addon developers] AddedPowerUtil
, a utility class for modifying/querying resource values, and validating if a power type is considered a resource -
[
apoli
] [For addon developers] Made container type an interface. There's also a new registry,ApoliRegistries#CONTAINER_TYPE
, where addons can register their container types to be used by theinventory
power type. Currently, there are two types of container type:- Preset container type, which re-uses a screen handler/screen of a pre-existing container
- Dynamic container type, which has definable rows, columns, title alignment, and texture via data; also has its own screen handler/screen (currently incomplete and unsupported)
-
[
apoli#254
] [For addon developers] Overhauled power/action/condition (types);- Power/action/condition types no longer use type factories, but type configurations (that has its ID (via
TypeConfiguration#id
), and itsTypedDataObjectFactory
(viaTypeConfiguration#dataFactory
), which is an extension to Calio'sDataObjectFactory
that contains aCompoundSerializableDataType
) - Power/action/condition types now use a similar structure for consistency
- Actions/conditions now have their own classes (e.g:
EntityAction
instead ofConsumer<Entity>
orActionTypeFactory.Instance
)
- Power/action/condition types no longer use type factories, but type configurations (that has its ID (via
Fixes
-
[
apoli
] Fixed theamount
field of modifiers being prioritized over theresource
field (it should be the other way around) -
[
apoli
] Fixed/power remove
command and revoking powers in general -
[
apoli
] Fixed NullPointerException issue (crash) when checking for power types in entities -
[
apoli
] Fixedaction_on_item_pickup
power type not properly executing its actions -
[
apoli
] Fixedinventory
power type giving ghost items when the power is lost -
[
apoli
] Fixedin_entity_set
bi-entity condition type causing a crash when either the actor or target do not exist -
[
apoli
] Fixedrelative_health
entity condition type using an integer type for itscompare_to
field instead of a floating point value type -
[
origins
] Fixed origin layers (aside from the base origin layer) not being visible when viewing
Origins 1.13.0-alpha.9 (Minecraft 1.21.1)
Warning
Make sure to check out https://gist.github.com/eggohito/510eb0cf7d36d40f906ac1fcef74ee96#file-alpha_9-md for more details about this update!
Additions
- [
calio
] Added new data types related to recipes:SerializableDataTypes#RECIPE_SERIALIZER
for recipe serializers.SerializableDataTypes#RECIPE_ENTRY
for recipe entries.
Changes
- [
calio
] ChangedSerializableDataTypes#RECIPE
to actually reflect recipes instead of recipe entries. - [
apoli#247
] Crafting recipes defined in powers are now visible in the recipe book. - [
apoli
] Fields that accept an action type can now accept an array as a shorthand for using theand
meta action type. - [
apoli
] Renamed the following meta condition types for consistency with vanilla:chance
-->random_chance
and
-->all_of
or
-->any_of
- [
apoli
] Theslot
parameters of thehas_power
andpower_count
item condition types are now optional. - [
apoli
] Theapoli:powers
item component will no longer error when a non-existent power is defined. - [
apoli
] Power names/descriptions can now be translated with the respectivepower.<namespace>.<path>.name/description
translation keys, even when not using thetranslate
JSON text component. - [
origins
] Theorigins:origin
item component will no longer error when a non-existent power is defined. - [
origins
] Origin names/descriptions can now be translated with the respectiveorigin.<namespace>.<path>.name/description
translation keys, even when not using thetranslate
JSON text component. - [
origins
] Origin layer names can now be translated with thelayer.<namespace>.<path>.name
translation key, even when not using thetranslate
JSON text component. - [
origins
] RemovedOriginRegistry
in favor of integrating its functionality toOriginManager
.
Fixes
- [
calio
] Fixedeat_seconds
parameter of food components (aka. encoded/decoded via theSerializableDataType#FOOD_COMPONENT
data type) accepting a non-zero positive floating point value instead of non-negative floating point value. - [
calio
] Fixed ingredients (aka. decoded/encoded via theSerializableDataTypes#INGREDIENT
data type) unable to be sent to the client. - [
calio
] Fixed enum data types (aka. data types usingSerializableDataType#enumValue
) being case-sensitive when checking for matching additional values. - [
apoli
] Fixed crash caused by encoding global power sets. - [
apoli
] Fixed some aspects of global power sets (e.g:order
) being replaced when merging. - [
apoli
] Fixed minor issue with printing JSON as text where JSON keys with null values are being printed (affects the/power dump
command.) - [
apoli
] Fixed determining logic in thegame_event_listener
power type used for determining whether a game event should be accepted. - [
apoli
] Fixedon_block
entity condition type incorrectly evaluating a block at the wrong position. - [
apoli
] Fixed crash caused by themodify_projectile_damage
power type. - [
apoli
] Fixedspawn_particles
entity action type miscalculating its spread. - [
apoli
] Fixed default translatable text (aka. theApoliDataTypes#DEFAULT_TRANSLATABLE_TEXT
data type) not being translatable by default. - [
origins
] Attempt to fix crash(?) with Merling's Water Breathing power (e.g: when drying out.) - [
origins
] Fixed some aspects of origin layers (e.g:name
,order
,gui_title
, etc.) being replaced when merging.
Origins 1.13.0-alpha.8 (Minecraft 1.21)
Fixes
- [
origins
] Fixed powers of origins not being granted/revoked properly.
Changes
- [
apoli
] The name of sub-powers is now validated before the sub-power itself is parsed. - [
apoli
] Themodify_type_tag
power type can now account for when the defined tag in the power is included in a child tag of the tag being checked.
Origins 1.13.0-alpha.7 (Minecraft 1.21)
Warning
Make sure to check out https://gist.github.com/eggohito/510eb0cf7d36d40f906ac1fcef74ee96#file-alpha_7-md for more details about this update!
Additions
- [
calio
] AddedSerializableDataTypes#NBT_ELEMENT
for encoding/decoding general NBT elements.
Fixes
- [
calio
] Fixed registry key data types ignoring the defined exemptions; subsequently, this also fixed issues (again) such as vanilla dimension registry keys (e.g:minecraft:overworld
,minecraft:the_nether
,minecraft:the_end
) not being recognized on the first time the world has been loaded. - [
calio
] Fixed wrapping of inputs/outputs inStrictListCodec<T>
. - [
apoli
] Fixed sub-powers being decoded first before its Fabric resource conditions are evaluated (it should be evaluating the resource condition first.) - [
apoli
] Fixed some action/condition types using the wrong IDs. This affected the following types:modify_status_effect_duration
power type (it usedmodify_status_effect_amplifier
.)riding_action
entity action type (it usedpassenger_action
.)air
entity condition type (it usedfood_level
.)
- [
apoli
] Fixedfire_projectile
entity action/power types having inconsistent implementations. - [
apoli
] Fixedif_else
meta action type causing a crash if the optionalelse_action
field is not present. - [
apoli
] Fixedadvancement
entity condition type not working properly. - [
apoli
] Fixedtarget_action
bi-entity action type executing on the 'actor' in a bi-entity context. - [
apoli
] Fixed how thebiome
entity condition type is evaluated. - [
apoli
] Fixedattacker
damage condition type not accounting for when the attacker is non-existent like it used to. - [
apoli
] Fixeddamage
entity action type accepting an optional damage type when it should be required. - [
origins
] Fixed carnivores unable to consume Ominous Bottles. - [
origins
] Fixed temporary cobweb having an item when it shouldn't (the item was only accessible with commands.)
Changes
- [
calio
]SerializableDataTypes#NBT
has been renamed toSerializableDataTypes#NBT_COMPOUND
. - [
apoli
] Themodify_type_tag
power type can now account for tags that may include the tag specified in the power. - [
apoli
] Thedamage
entity/bi-entity action types now requires any of theamount
,modifier
ormodifiers
fields to be defined. - [
apoli
] The NBT structure of powers in entities has been changed for clarity and consistency with new NBTs in certain vanilla entities.- The
Factory
NBT has been renamed totype
. - The
Type
NBT has been renamed toid
. - The
Sources
NBT has been renamed tosources
. - The
Data
NBT has been renamed todata
.
- The
- [
apoli
] The/power revokeall <targets> <source>
sub-command has been changed to/power revoke <targets> all <source>
.
Origins 1.13.0-alpha.6 (Minecraft 1.21)
Warning
There have been major changes in this update. Make sure to check out https://gist.github.com/eggohito/510eb0cf7d36d40f906ac1fcef74ee96#file-alpha_6-md for the details about this update!
Fixes
- [
apoli
] Fixed issues with the 'on added/removed/gained/lost' power callbacks. - [
apoli
] Fixedrestrict_armor
power type only working partially, and preventing items from being quick-moved. - [
apoli
] Fixedmodify_player_spawn
power type disregarding previously set spawn points. - [
apoli
] Fixed issue with encoding the packet forshow_toast
entity action type. - [
apoli
] Fixedmodify_food
power type incorrectly calculating and assigning nutrition and saturation values. - [
apoli
] Fixed ingredients being duplicated when modifying crafting recipes with themodify_crafting
power type. - [
apoli
] Fixed crash caused by theattribute
entity condition type. - [
origins
] Fixed 'Conduit Power' status effect not being given to entities aside from players with the Merling origin. - [
origins
] Fixed origin invulnerability selection bypassing damage types included in the#minecraft:bypasses_invulnerability
damage type tag.
Origins 1.13.0-alpha.5 (Minecraft 1.21)
Warning
There have been major changes in this update (and upcoming ones in future updates.) Make sure to check out https://gist.github.com/eggohito/510eb0cf7d36d40f906ac1fcef74ee96 for more details!
Changes
- Updated to 1.21.
Origins 1.13.0-alpha.4 (Minecraft 1.20.4)
Additions
- [
apoli#225
] Addedduration
andduration_on_use
fields to thespawn_effect_cloud
entity action type. - [
apoli#227
] Addedsprinting
power type. - [
apoli#228
] Addedpose
power type. - [
apoli$234
] Addedprevent_entity_selection
power type.
Changes
- [
apoli#223
] Global power sets now support Fabric's resource conditions. - [
origins#751
] Origins and origin layers now support Fabric's resource conditions.
Fixes
- [
calio
] Fixed issue with theSerializableDataTypes#RECIPE
data type leniently parsing the recipe's ID and the recipe's serializer ID. - [
apoli
] Fixed*_when_hit
power types causing a crash when executing/evaluating actions/conditions on the possibly non-existent attacker. - [
apoli
] Fixed issue with selecting entities by command tags (via the@e[tag = <tagName>]
selector argument) added in the same tick. - [
apoli
] Fixed certain errors not being caught when reading sub-powers. - [
apoli
] Fixed inconsistent format of automatically-generated translation keys in power names and descriptions. - [
origins
] Fixed inconsistent format of automatically-generated translation keys in origins and origin layers.
Full changelogs
- Calio:
1.14.0-alpha.2+mc.1.20.4
Origins 1.13.0-alpha.3 (Minecraft 1.20.4)
Changes
- [
apoli#224
] Renamed action/condition types related to entity sets. - [
apoli
] Powers that use themultiple
power type can now be replaced entirely withloading_priority
.
Additions
- [
apoli#192
] Addedshow_toast
entity action type. - [
apoli#211
] Addedmodify_fov
power type. - [
apoli#219
] Added new item action/condition types related to item cooldowns:modify_item_cooldown
item action type.item_cooldown
item condition type.relative_item_cooldown
item condition type.
- [
apoli#226
] Addedentity_in_radius
entity condition type. - [
apoli#232
] Addedleash
bi-entity action type.
Fixes
- [
apoli
] Fixed a potential issue with re-using serializable data of objects when serializing power/action/condition type factories. - [
origins
] Fixed badges of overridden powers not being replaced.
Origins 1.13.0-alpha.2 (Minecraft 1.20.4)
Changes
- [
origins#750
] Made Phantom's Phasing power re-enable itself upon respawning. - [
origins#755
] Unhardcoded some powers of certain origins.
Additions
- [
apoli#180
] Addedhas_command_tag
entity condition type. - [
apoli#186
] Added compatibility with Appleskin. - [
apoli#229
] Addedclick_phases
andpriority
fields to theitem_on_item
power type. - [
apoli#231
] Addedusage_phases
field to the*_block_use
power types, and made them functionally consistent with the*_entity_use
power types.
Fixes
- [
apoli
] Fixed issues with powers that use theaction_on_item_use
power type not being triggered with the trigger"stop"
or"during"
if itspriority
value is less than 0. - [
apoli
] Fixedtamed
entity condition type not working for certain entities. - [
apoli
] Fixedtame
bi-entity action type not working for certain entities.