Fixed
- Resolved an issue in the
doHurtTarget
method where the modified entity was incorrectly passed into both the target and entity fields. The correct target entity is now passed.
Added
- Added a default translation key for entities to ensure proper default name handling.
Removed
- Removed custom jump and controlling logic for entities that are already mountable, preventing unnecessary overrides.
- Removed
armorItems
andhandItems
logic from most entities to avoid overriding existing functionality. - Eliminated shadowing logic in the Wither entity to ensure proper behavior.
- Removed shadowing values from
PiglinEntityJS
to ensure proper behavior.
- Removed clientside check which was preventing some needed client-sided logic from various methods in all entities
- Added
isSunBurnTick()
to ModifyMobBuilder
- Added defaultGoals & canBeBucketed to WaterEntityJSBuilder
- Added some missing mobInteract methods to entity builders
- Added defaultGoals & canBeBucketed to WaterEntityJSBuilder.
- Added experience reward to MobMixin to override default implementations
- Fixed bug where all projectile renderers default to one texture
- Fixed KubeJSProjectileEntityRenderer empty poseStack crash
- Fixed bug where all projectile renderers default to one texture
New Features
- Added
setMoveControl
,setLookControl
, andsetJumpControl
methods to mob builders. These methods allow custom control over entity movement, looking behavior, and jumping behavior through provided function implementations. - Added custom LookControl, MoveControl, and JumpControl builders via
EntityJSUtils
binding. These builders can be called using: EntityJSUtils.createLookControl()
EntityJSUtils.createMoveControl()
EntityJSUtils.createJumpControl()
Bug Fixes
- Fixed PathNavigation method: Improved the flexibility and handling of custom path navigation logic for entities.
- Removed shadowed fields from certain mobs: Cleaned up duplicated or shadowed fields to prevent unintended behavior in mob logic.
- Fixed various mob interaction methods (
mobInteract
): Adjusted interaction methods to properly default to thesuper
implementation when needed.
New Features
- Added
setMoveControl
,setLookControl
, andsetJumpControl
methods to mob builders. These methods allow custom control over entity movement, looking behavior, and jumping behavior through provided function implementations. - Added custom LookControl, MoveControl, and JumpControl builders via
EntityJSUtils
binding. These builders can be called using: EntityJSUtils.createLookControl()
EntityJSUtils.createMoveControl()
EntityJSUtils.createJumpControl()
Bug Fixes
- Fixed PathNavigation method: Improved the flexibility and handling of custom path navigation logic for entities.
- Removed shadowed fields from certain mobs: Cleaned up duplicated or shadowed fields to prevent unintended behavior in mob logic.
- Fixed various mob interaction methods (
mobInteract
): Adjusted interaction methods to properly default to thesuper
implementation when needed.
New Features
- Added
setMoveControl
,setLookControl
, andsetJumpControl
methods to mob builders.
These methods allow custom control over entity movement, looking behavior, and jumping behavior through provided function implementations. - Added custom LookControl, MoveControl, and JumpControl builders via
EntityJSUtils
binding.
These builders can be called using:EntityJSUtils.createLookControl()
EntityJSUtils.createMoveControl()
EntityJSUtils.createJumpControl()
Bug Fixes
- Fixed PathNavigation method: Improved the flexibility and handling of custom path navigation logic for entities.
- Removed shadowed fields from certain mobs: Cleaned up duplicated or shadowed fields to prevent unintended behavior in mob logic.
- Fixed various mob interaction methods (
mobInteract
): Adjusted interaction methods to properly default to thesuper
implementation when needed. - Added missing
mobInteract
methods in some vanilla builders: Ensured proper implementation of interaction methods in vanilla entity builders. createNavigation
now callssuper
in vanilla builders: Ensures the defaultsuper
method is used when nocreateNavigation
method is provided in the builder.