Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-09-08 22:02:50 +02:00
Handle shifted 1.19.4 boat types
Dieser Commit ist enthalten in:
Ursprung
9ccc3aed30
Commit
f1bde8ba2a
@ -169,6 +169,13 @@ public final class EntityPackets extends EntityRewriter<ClientboundPackets1_19_3
|
|||||||
meta.setValue(protocol.getMappingData().getNewBlockStateId(blockState));
|
meta.setValue(protocol.getMappingData().getNewBlockStateId(blockState));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
filter().filterFamily(Entity1_19_4Types.BOAT).index(11).handler((event, meta) -> {
|
||||||
|
final int boatType = meta.value();
|
||||||
|
if (boatType > 4) { // Cherry added
|
||||||
|
meta.setValue(boatType + 1);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
filter().filterFamily(Entity1_19_4Types.ABSTRACT_HORSE).removeIndex(18); // Owner UUID
|
filter().filterFamily(Entity1_19_4Types.ABSTRACT_HORSE).removeIndex(18); // Owner UUID
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren