mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-03-26 16:38:46 +01:00
Fix black cats not appearing correctly
This commit is contained in:
parent
fcd5fe1341
commit
03390b99e8
1 changed files with 7 additions and 0 deletions
|
@ -50,6 +50,13 @@ public class CatEntity extends TameableEntity {
|
||||||
super(session, entityId, geyserId, uuid, definition, position, motion, yaw, pitch, headYaw);
|
super(session, entityId, geyserId, uuid, definition, position, motion, yaw, pitch, headYaw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void initializeMetadata() {
|
||||||
|
super.initializeMetadata();
|
||||||
|
// Default value (minecraft:black).
|
||||||
|
dirtyMetadata.put(EntityData.VARIANT, 1);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void updateRotation(float yaw, float pitch, boolean isOnGround) {
|
public void updateRotation(float yaw, float pitch, boolean isOnGround) {
|
||||||
moveRelative(0, 0, 0, yaw, pitch, yaw, isOnGround);
|
moveRelative(0, 0, 0, yaw, pitch, yaw, isOnGround);
|
||||||
|
|
Loading…
Add table
Reference in a new issue