Changelog
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_AxB
suffix, where A is the amount of columns and B is the amount of rows);generic_9x1
generic_9x2
generic_9x4
generic_9x5
Changes
- [
apoli
] Renamed thekey
field 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_9x6
chest
-->generic_9x3
dropper
/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_block
entity 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
TypeActionContext
andTypeConditionContext
toActionContext
andConditionContext
respectively. - 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
BiEntityRequirement
enum 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$Key
class toKeyBindingReference
, and moved it into theio.github.apace100.apoli.util.keybinding
package. - 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 theraycast
entity action/condition types. - [
apoli
] Fixed how the command incommand_along_ray
is executed in theraycast
entity action type. - [
apoli
] Fixed default value of thecomparison
field of thepassenger
entity condition type. - [
apoli
] Fixed actor/target context inpassenger_action
entity action type. - [
apoli
] Fixed field order, and encoding issue with particle-related power/action types. - [
apoli
] Fixed thestacking_status_effect
power type not decreasing its stacks properly. - [
apoli
] Fixed theaction_on_block_place
power type unable to be encoded properly (e.g: with/power dump
or when syncing the power to the client.) - [
apoli
] Fixed thespawn_entity
entity action type not properly recognizing the action in itsbientity_action
field as a bi-entity action. - [
apoli
] Fixed issues with thestarting_equipment
power type;- Fixed the power type unable to be encoded properly (e.g: with
/power dump
or 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_listener
power 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:origin
item component not consuming the item when setting origin(s).
Changelogs
Dependencies
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Metadata
Release channel
AlphaVersion number
1.13.0-alpha.12+mc.1.21.1Loaders
Fabric
Game versions
1.21.1Downloads
191Publication date
January 22, 2025 at 11:33 AMPublisher
eggohito
Maintainer