Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-11-20 06:50:10 +01:00
Handle new wolf colors
Dieser Commit ist enthalten in:
Ursprung
be8c1b69dc
Commit
404dce4a32
@ -460,6 +460,15 @@ public class EntityPackets1_13 extends EntityRewriter<Protocol1_12_2To1_13> {
|
|||||||
// Remove Trident special loyalty level
|
// Remove Trident special loyalty level
|
||||||
registerMetaHandler().filter(EntityType.TRIDENT, 7).removed();
|
registerMetaHandler().filter(EntityType.TRIDENT, 7).removed();
|
||||||
|
|
||||||
|
// Handle new wolf colors
|
||||||
|
registerMetaHandler().filter(EntityType.WOLF, 17).handle(e -> {
|
||||||
|
Metadata meta = e.getData();
|
||||||
|
|
||||||
|
meta.setValue(15 - (int) meta.getValue());
|
||||||
|
|
||||||
|
return meta;
|
||||||
|
});
|
||||||
|
|
||||||
// Rewrite AreaEffectCloud
|
// Rewrite AreaEffectCloud
|
||||||
registerMetaHandler().filter(EntityType.AREA_EFFECT_CLOUD, 9).handle(e -> {
|
registerMetaHandler().filter(EntityType.AREA_EFFECT_CLOUD, 9).handle(e -> {
|
||||||
Metadata meta = e.getData();
|
Metadata meta = e.getData();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren