Origins

Origins

Mod

Players choose an Origin at the beginning of the game to gain benefits and drawbacks

Client and server Adventure

1.06M downloads
1,158 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

1.21.1: Origins 1.13.0-alpha.12

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 the key field in keybinding references to id (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] The on_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 the accept(ActionContext)/test(ConditionContext) methods respectively, and access the action/condition context directly instead.
    • Renamed TypeActionContext and TypeConditionContext to ActionContext and ConditionContext 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 whether BOTH, EITHER, or DEFAULT (no requirement) actor/target entities are required.
    • Added getRequirement() in bi-entity action/condition types to indicate its requirement.
  • [apoli] {For addon developers} Fixed and tweaked power keybinding references;
    • Renamed Active$Key class to KeyBindingReference, and moved it into the io.github.apace100.apoli.util.keybinding package.
    • Fixed issue with triggering active power types with server-sided conditions.

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 the raycast entity action/condition types.
  • [apoli] Fixed how the command in command_along_ray is executed in the raycast entity action type.
  • [apoli] Fixed default value of the comparison field of the passenger entity condition type.
  • [apoli] Fixed actor/target context in passenger_action entity action type.
  • [apoli] Fixed field order, and encoding issue with particle-related power/action types.
  • [apoli] Fixed the stacking_status_effect power type not decreasing its stacks properly.
  • [apoli] Fixed the action_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 the spawn_entity entity action type not properly recognizing the action in its bientity_action field as a bi-entity action.
  • [apoli] Fixed issues with the starting_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.)
  • [apoli] Fixed issues with the game_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] Fixed origins:origin item component not consuming the item when setting origin(s).

Changelogs

Files

Origins-1.13.0-alpha.12+mc.1.21.1.jar(4.43 MiB) Primary Download
Origins-1.13.0-alpha.12+mc.1.21.1-sources.jar(414.44 KiB) Download

Project members

Apace

Owner

eggohito

Maintainer

Details

Licensed MIT
Published 4 years ago
Updated 9 days ago