Wolf water shaking particles do not account for the scale attribute
The particles created when wolves shake themselves dry from the rain will not take into account the wolf's scale attribute.
Steps to Reproduce:
- Summon/Spawn a wolf
- Modify its scale
/attribute @e[type=wolf,limit=1,sort=nearest] scale base set 10
- Set weather to rainy, allowing the wolf to get wet
- Set weather to clear
Observed Behavior:
The particles will be greated slightly above the ground, away from the wolf.
Expected Behavior:
The particles would be created around the wolf's body.
Screenshots/Videos:
Notes:
Related to:
MC-270594 MC-270592 MC-267708 MC-267707 MC-267706 MC-267428 MC-270801
Linked Issues
relates to7
Created Issue:
Wolf water shaking particles do not account for the scale attribute
The particles created when wolves shake themselves dry from the rain will not take into account the wolf's scale attribute.
Steps to Reproduce:
- Summon/Spawn a wolf
- Modify its scale
/attribute @e[type=wolf,limit=1,sort=nearest] minecraft:generic.scale base set 10- Set weather to rainy, allowing the wolf to get wet
- Set weather to clear
Observed Behavior:
The particles will be greated slightly above the ground, away from the wolf.
Expected Behavior:
The particles would be created around the wolf's body.
Screenshots/Videos:
Notes:
Related to:
MC-270594MC-270592MC-267708MC-267707MC-267706MC-267428MC-270801
relates to
The particles created when wolves shake themselves dry from the rain will not take into account the wolf's scale attribute.
Steps to Reproduce:
- Summon/Spawn a wolf
- Modify its scale
/attribute @e[type=wolf,limit=1,sort=nearest] minecraft:generic.scale base set 10- Set weather to rainy, allowing the wolf to get wet
- Set weather to clear
Observed Behavior:
The particles will be greated slightly above the ground, away from the wolf.
Expected Behavior:
The particles would be created around the wolf's body.
Screenshots/Videos:
Notes:
Related to:
MC-270594MC-270592MC-267708MC-267707MC-267706MC-267428MC-270801The particles created when wolves shake themselves dry from the rain will not take into account the wolf's scale attribute.
Steps to Reproduce:
- Summon/Spawn a wolf
- Modify its scale
/attribute @e[type=wolf,limit=1,sort=nearest] scale base set 10- Set weather to rainy, allowing the wolf to get wet
- Set weather to clear
Observed Behavior:
The particles will be greated slightly above the ground, away from the wolf.
Expected Behavior:
The particles would be created around the wolf's body.
Screenshots/Videos:
Notes:
Related to:
MC-270594MC-270592MC-267708MC-267707MC-267706MC-267428MC-270801
The position of turtle scutes spawned from turtles growing up do not account for the scale attribute, resulting in them always spawning in the same place regardless of the entity's size.
Steps to Reproduce:
- Freeze game ticks:
/tick freeze
- Summon a baby turtle which is about to grow up
/summon minecraft:turtle ~ ~ ~ {NoAI:1b,Age:-1} - Increase its scale value
/attribute @n[type=minecraft:turtle] minecraft:generic.scale base set 30 - Advance the game by one tick
/tick step 1
- If necessary, move inside the turtle entity and observe where the scute spawned
Observed Behavior:
The scute spawns inside the turtle, where it normally would at a regular scale of 1.
Expected Result:
The scute would consistently spawn above the turtle.
Screenshots/Videos:
Code Analysis:
This is the code that handles spawning the scute item. Notice how it simply "spawns at location" and never considers the scale value of the entity.
protected void ageBoundaryReached() { super.ageBoundaryReached(); if (!this.isBaby() && this.level().getGameRules().getBoolean(GameRules.RULE_DOMOBLOOT)) { this.spawnAtLocation(Items.TURTLE_SCUTE, 1); } }



