Apugli

Apugli

Mod

A library for Apoli/Origins for use with certain mods/datapacks.

Client and server Library

32.4k downloads
21 followers
Created3 years ago
Updated13 hours ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.
Filter loader...
Filter versions...
Filter channels...

Depending on alpha versions of Apugli

For the time being, to depend on these alphas while Origins itself is being released as alphas, you will have to use the snapshot branch of the Greenhouse maven.

To do so, swap out releases in the link with snapshots.

maven {
    name = "Greenhouse"
-    url = "https://maven.greenhouseteam.dev/releases/"
+    url = "https://maven.greenhouseteam.dev/snapshots/"
}

Changes

  • Barebones port to 1.20.4

Bugfixes

  • Fixed damage_nearby_x_hit power type running attacker, target bientity conditions without an attacker. (toomanyorigins#87)
  • Fixed Explosion Sync packet desync. Which should affect the apugli:explode and explosion_raycast entity action types, and the rocket_jump power type.
  • Fixed key_pressed entity condition type not functioning properly with continuous keys.
  • Fixed custom_projectile block actions not writing to NBT.

Bugfixes

  • Fixed damage_nearby_x_hit power type running attacker, target bientity conditions without an attacker. (toomanyorigins#87)
  • Fixed Explosion Sync packet desync. Which should affect the apugli:explode and explosion_raycast entity action types, and the rocket_jump power type.
  • Fixed key_pressed entity condition type not functioning properly with continuous keys.

Bugfixes

  • Fixed modify_scale sometimes not syncing when scales are applied. (#70)

Bugfixes

  • Fixed modify_scale sometimes not syncing when scales are applied. (#70)
  • Fixed a modify_enchantment_level related NullPointerException crash. (#73)

Power Types

  • Added easing, priority, delay_modifier, and delay_modifiers fields to modify_scale.
  • modify_scales with delay and resource based modifier fields will now dynamically shift between scales.
  • Added limit field to action_on_harm and action_when_harmed. if not set, this is equal to the entity's max health * 4.

Bugfixes

  • Fixed modify_scale not forcing an update for scales that don't update frequently.
  • Fixed a crash upon having an invalid scale type in the scale_type or scale_types fields in the modify_scale power.
  • Fixed modify_scale not being removed when it should be.
  • Fixed modify_scales with delay fields not getting exact scale values when changing into a non divisible value.
  • Made modify_scale delay smoothing far more stable.
  • Fixed modify_scale unintentionally resetting when swapping dimensions.
  • Fixed compare_scales crashing when scale_type is specified.
  • Fixed compare_scaless scale_types field not being counted.
  • Fixed step_height power types sometimes causing entities to fly way up into the air when falling.

Miscellaneous

  • Rewrote modify_scale's scale modifiers.
  • texture_url fields will now tell you whether textures are loaded.

Power Types

  • Added easing, priority, delay_modifier, and delay_modifiers fields to modify_scale.
  • modify_scales with delay and resource based modifier fields will now dynamically shift between scales.
  • Added limit field to action_on_harm and action_when_harmed. if not set, this is equal to the entity's max health * 4.

Optimisation

  • Optimised modify_enchantment_level power type for compatibility.
  • Rewrote entity stack linking entirely, empty stacks do not tick, and Forge no longer uses capabilities for this due to it being totally overkill.

Bugfixes

  • Fixed modify_scale not forcing an update for scales that don't update frequently.
  • Fixed a crash upon having an invalid scale type in the scale_type or scale_types fields in the modify_scale power.
  • Fixed modify_scale not being removed when it should be.
  • Fixed modify_scales with delay fields not getting exact scale values when changing into a non divisible value.
  • Made modify_scale delay smoothing far more stable.
  • Fixed modify_scale unintentionally resetting when swapping dimensions.
  • Fixed compare_scales crashing when scale_type is specified.
  • Fixed compare_scaless scale_types field not being counted.
  • Fixed crash due to enchantment item condition mixin not applying.
  • Fixed step_height power types sometimes causing entities to fly way up into the air when falling.
  • Fixed edible_item not depleting the food item when a return stack is specified. #64
  • [FABRIC] Fixed edible_item crashing whilst using the NBT condition.
  • [FORGE] Fixed NPE with hits on target.
  • [FORGE] Fixed item capabilities being broken in a player's inventory. #67
  • [FORGE] Fixed modify_scale with modifiers with resource fields not functioning.

Miscellaneous

  • Rewrote modify_scale's scale modifiers.
  • texture_url fields will now tell you whether textures are loaded.
  • Updated to build off of Apoli 2.11.0/Origins 1.12.0 codebase.

Minor Changes

  • Implement write methods for Apugli's SerializableDataTypes. (#63

Bugfixes

  • Fixed sprinting power type deactivating when an entity is touching water but is not underwater.

Bugfixes

  • Fixed sprinting power type deactivating when an entity is touching water but is not underwater.

Known Issues

Modify Scale is broken, I know about it. I got frustrated trying to fix it, so I released this version early so TooManyOrigins players don't have to wait.

Power Types

  • Added stop_after field to the action_on_projectile_hit power type.
  • action_when_projectile_hit now functions when a non living entity is the owner of the projectile.

Entity Condition Types

  • Added space field to velocity entity condition type.

Bugfixes

  • Fixed compare_scales crashing when scale_type is specified.
  • Fixed compare_scaless scale_types field not being counted.
  • Fixed Modify Enchantment Level not functioning as expected.
  • Fixed mixin conflict with Horse Buff.
  • [FORGE] Fixed item capabilities being broken.

Miscellaneous

  • Allow Forge versions above Forge 47.1.3 now that it has backwards compatibility.
  • Update Mixin Extras to 0.3.1

Bugfixes

  • Fixed can_take_damage entity condition causing a crash.
  • Fixed priority on modify_scale Scale Modifiers being the same as a regular scale modifier.
  • Fixed flickering with modify_scale powers.
  • Fixed modify scale not stacking with a delay field higher than 0 and conditional. #61
  • Fixed a crash relating to explosions. #62
  • Fixed a crash relating to prevent_bee_anger and beehive blocks. #62 (part 2)

Bugfixes

  • Fixed can_take_damage entity condition causing a crash.
  • Fixed priority on modify_scale Scale Modifiers being the same as a regular scale modifier.
  • Fixed flickering with modify_scale powers.
  • Fixed modify scale not stacking with a delay field higher than 0 and conditional. #61
  • Fixed a crash relating to explosions. #62

External resources



Project members

Pug

Owner


Technical information

License
LGPL-3.0-only
Client side
required
Server side
required
Project ID