- Connected Crayfish's Gun Mod item builder to the entity allowing the guns to fire the custom projectile when the reload item is specified in the CGM datapack
- Removed
.setItem
and.setWeapon
as they are no longer needed in the CGM entity builder - Changed the registry object from
"cgm:missile"
to"cgm:ammo"
- Added missile builder for MrCrayfish's Gun Mod
- Fixed KubeJS Iron's Spell crash
Added Features:
.newGeoLayer
effectively adds custom geo layers.- Many missing methods to all non-living entity builders.
.onEntityCollision
method added toProjectile
andArrow
builders.
Changes:
- Made consumer-safe callbacks only log error messages of the same type once to avoid spamming logs.
Fixes:
- Resolved
builder
being null in thrown projectile builder when thrown by hand.
Added Features:
.newGeoLayer
effectively adds custom geo layers.- Many missing methods to all non-living entity builders.
onEntityCollision
method added toProjectile
andArrow
builders.
Changes:
- Made consumer-safe callbacks only log error messages of the same type once to avoid spamming logs.
Fixes:
- Resolved
builder
being null in thrown projectile builder when thrown by hand.
- Fixed
.render
and.scaleModelForRender
crash when this.animatable is null - Updated some probejs typings in mob builder
Added:
isSunSensitive
andconvertsInWater
boolean override to zombie builder.isAlliedTo
override to all living entity builders.setCelebrateSound
in Illusioner builder.modelSize
for scaling the model without messing with hitbox rendering in bothLivingRenderer
andNonLivingRenderer
.scaleModelForRender
method in bothLivingRenderer
andNonLivingRenderer
.- safe callbacks to
.render
method in bothLivingRenderer
andNonLivingRenderer
.
Removed:
- scaling entities down by 0.5 by default if they're a baby.
Changelog
Added
- Non-Living & Water entity builders.
- Missing
mobType
override to Base Living Entity Builder. getDropItem
to boat builder to set the drop item.forwardBoatSpeed
,backwardsBoatSpeed
, andturningBoatSpeed
to boat builder.getItem
to eye of ender builder to set the drop item.signalTo
to the eye of ender item builder along withplaySoundOverride
andtriggersCriteria
.
25 Default Minecraft builders added for the following entities:
- Zombie
- Allay
- Axolotl
- Bat
- Bee
- Blaze
- Boat
- Cat
- Camel
- Chicken
- Cow
- Creeper
- Dolphin
- Donkey
- Enderman
- Evoker
- Ghast
- Goat
- Guardian
- Horse
- Illusioner
- Iron Golem
- Panda
- Parrot
- Eye of Ender
Changed
- Changed
onBlockedByShield
to have LivingEntityContext with entity and target as parameters instead of just attacker. - Added
onHurtTarget
to Base Living Entity Builder. - Changed
.onLivingFall
in non-entity builders to.onFall
. - Added missing base non-living entity overrides to projectile/arrow builders.
- Added safe Consumer callbacks to all builders to prevent errors crashing the game.
Fixed
- Fixed
onLivingFall
andonFall
context with wrong definitions in all builders. - Fixed
isPickable
in partbuilder causingisAttackable
to be true.
Changelog
Added
- Non-Living & Water entity builders.
- Missing
mobType
override to Base Living Entity Builder. getDropItem
to boat builder to set the drop item.forwardBoatSpeed
,backwardsBoatSpeed
, andturningBoatSpeed
to boat builder.getItem
to eye of ender builder to set the drop item.signalTo
to the eye of ender item builder along withplaySoundOverride
andtriggersCriteria
.
24 Default Minecraft builders added for the following entities:
- Zombie
- Allay
- Axolotl
- Bat
- Bee
- Blaze
- Boat
- Cat
- Chicken
- Cow
- Creeper
- Dolphin
- Donkey
- Enderman
- Evoker
- Ghast
- Goat
- Guardian
- Horse
- Illusioner
- Iron Golem
- Panda
- Parrot
- Eye of Ender
Changed
- Changed
onBlockedByShield
to have LivingEntityContext with entity and target as parameters instead of just attacker. - Added
onHurtTarget
to Base Living Entity Builder. - Changed
.onLivingFall
in non-entity builders to.onFall
. - Added missing base non-living entity overrides to projectile/arrow builders.
- Added safe Consumer callbacks to all builders to prevent errors crashing the game.
Removed
- Deprecated
.canCutCorner
&.rideableUnderWater
methods in all mob builders (1.19.2).
Fixed
- Fixed
onLivingFall
andonFall
context with wrong definitions in all builders. - Fixed
isPickable
in partbuilder causingisAttackable
to be true.
-
Added .createNavigation override to mob, animal, and tamable mob builders
-
Added .addPartEntity parameter effectively adding part entity/multi-hitbox support
-
Added .onPartHurt function to the part entity builder
-
Added missing brain overrides for living entity/pathfinder mob/tamable mob builders
-
Added EntityJSUtils binding for various class uses
-
Removed InteractionResult binding as it's no longer needed in the .onInteract method in the builders as .onInteract needs no return value anymore
-
Changed "targetEntity" context to "entity" in .isInvulnerableTo method
- Added Tamable Mob Builder
- Added .onTamed override to new Tamable Mob Builder
- Added .tamableFood method to Tamable Mob Builder(similar to isFood method in animal builder)
- Added .tamableFoodPredicate method to Tamable Mob Builder(similar to isFoodPredicate method in animal builder)
- Added .tameOverride method to Tamable Mob Builder used to determine the uuid to set when the mob is tamed
- Changed .onInteract to a Consumer with no InteractionResult return value needed
- Added .tickDeath method override to entity builders
- Added .canBeLeashed override to entity builders
- Improved .isMoving() method in Arrow builder
- Added .isMoving() method to the arrow entity for easier calculations when the arrow is not moving
- Removed isControlledByLocalInstance override because it's a core method with travel conflicts
- Fixed travel method override to default to super if not on the entity as a mount (this also fixes the mob not being able to move when unmounted even when pathfinding)
- Improved ProbeJS typings
- Various small fixes related to textures