Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-12-26 16:12:43 +01:00
[1.14.4 -> 1.15] Added wolf specific health metadata (#318)
Dieser Commit ist enthalten in:
Ursprung
e8da5554dc
Commit
0da5b65858
@ -225,6 +225,10 @@ public class EntityPackets1_15 extends EntityRewriter<Protocol1_14_4To1_15> {
|
|||||||
}
|
}
|
||||||
return e.getData();
|
return e.getData();
|
||||||
});
|
});
|
||||||
|
registerMetaHandler().filter(Entity1_15Types.EntityType.WOLF, 8).handle(e -> {
|
||||||
|
e.createMeta(new Metadata(17/*WOLF_HEALTH*/, MetaType1_14.Float, e.getData().getValue()));
|
||||||
|
return e.getData();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren