Список изменений
Action/condition types have been slightly refactored in this update. Make sure to check https://gist.github.com/eggohito/510eb0cf7d36d40f906ac1fcef74ee96#alpha-12 for more details!
Additions
- [
apoli] Added new generic container types (with the_AxBsuffix, where A is the amount of columns and B is the amount of rows);generic_9x1generic_9x2generic_9x4generic_9x5
Changes
- [
apoli] Renamed thekeyfield in keybinding references toid(and added the old name as an alias.) - [
apoli] Renamed some container types to match its corresponding screen handlers (and added its old names as aliases);double_chest-->generic_9x6chest-->generic_9x3dropper/dispenser-->generic_3x3
- [
apoli] Block actions now only execute on the server to prevent desync with the client. - [
apoli] Item actions now only execute on the server to prevent desync with the client. - [
apoli] Theon_blockentity condition type now checks the block currently being stepped on, instead of the block underneath the entity (e.g: carpet on soul sand --> carpet will be the block being stepped on.) - [
apoli] {For addon developers} Refactored action/condition types and context;- Action/condition types no longer have the
execute(...)/test(...)methods respectively. To implement action/condition logic, override theaccept(ActionContext)/test(ConditionContext)methods respectively, and access the action/condition context directly instead. - Renamed
TypeActionContextandTypeConditionContexttoActionContextandConditionContextrespectively. - Added
shouldExecute(ActionContext)for action types to evaluate the action context before proceeding with the action logic. - Added
shouldTest(ConditionContext)for condition types to evaluate the condition context before proceeding with the condition logic. - Added
BiEntityRequirementenum used in bi-entity action/condition types to determine whetherBOTH,EITHER, orDEFAULT(no requirement) actor/target entities are required. - Added
getRequirement()in bi-entity action/condition types to indicate its requirement.
- Action/condition types no longer have the
- [
apoli] {For addon developers} Fixed and tweaked power keybinding references;- Renamed
Active$Keyclass toKeyBindingReference, and moved it into theio.github.apace100.apoli.util.keybindingpackage. - Fixed issue with triggering active power types with server-sided conditions.
- Renamed
Fixes
- [
calio] Fixed logic for checking the boundaries of positive floating point number data types. - [
apoli] Fixed syncing powers in LAN servers. - [
apoli] Fixed origin position of theraycastentity action/condition types. - [
apoli] Fixed how the command incommand_along_rayis executed in theraycastentity action type. - [
apoli] Fixed default value of thecomparisonfield of thepassengerentity condition type. - [
apoli] Fixed actor/target context inpassenger_actionentity action type. - [
apoli] Fixed field order, and encoding issue with particle-related power/action types. - [
apoli] Fixed thestacking_status_effectpower type not decreasing its stacks properly. - [
apoli] Fixed theaction_on_block_placepower type unable to be encoded properly (e.g: with/power dumpor when syncing the power to the client.) - [
apoli] Fixed thespawn_entityentity action type not properly recognizing the action in itsbientity_actionfield as a bi-entity action. - [
apoli] Fixed issues with thestarting_equipmentpower type;- Fixed the power type unable to be encoded properly (e.g: with
/power dumpor when syncing the power to the client.) - Fixed the power type preventing the server from reloading (or causing a client crash.)
- Fixed the power type unable to be encoded properly (e.g: with
- [
apoli] Fixed issues with thegame_event_listenerpower type;- Fixed class-casting crash issue when a new instance of the power type is created.
- Fixed the power type unable to listen to game events.
- [
origins] Fixed syncing origins/origin layers in LAN servers. - [
origins] Fixed syncing badges in LAN servers. - [
origins] Fixedorigins:originitem component not consuming the item when setting origin(s).
Changelogs
Метаданные
Канал релиза
Alpha
Номер версии
1.13.0-alpha.12+mc.1.21.1
Загрузчики
fabric
Версии игры
1.21.1
Загрузок
183.0K
Дата публикации
January 22, 2025 at 11:33 AM