Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-28 00:50:13 +01:00
Comment out entity effect transformer
Dieser Commit ist enthalten in:
Ursprung
c3fc8b5f18
Commit
3386431749
@ -43,17 +43,17 @@ public final class EntityPackets extends EntityRewriter<Protocol1_19To1_18_2> {
|
|||||||
registerMetadataRewriter(ClientboundPackets1_18.ENTITY_METADATA, Types1_18.METADATA_LIST, Types1_19.METADATA_LIST);
|
registerMetadataRewriter(ClientboundPackets1_18.ENTITY_METADATA, Types1_18.METADATA_LIST, Types1_19.METADATA_LIST);
|
||||||
registerRemoveEntities(ClientboundPackets1_18.REMOVE_ENTITIES);
|
registerRemoveEntities(ClientboundPackets1_18.REMOVE_ENTITIES);
|
||||||
|
|
||||||
protocol.registerClientbound(ClientboundPackets1_18.ENTITY_EFFECT, new PacketRemapper() {
|
/*protocol.registerClientbound(ClientboundPackets1_18.ENTITY_EFFECT, new PacketRemapper() {
|
||||||
@Override
|
@Override
|
||||||
public void registerMap() {
|
public void registerMap() {
|
||||||
map(Type.VAR_INT); // Entity id
|
map(Type.VAR_INT); // Entity id
|
||||||
map(Type.BYTE); // Effect id
|
map(Type.VAR_INT); // Effect id
|
||||||
map(Type.BYTE); // Amplifier
|
map(Type.BYTE); // Amplifier
|
||||||
map(Type.VAR_INT); // Duration
|
map(Type.VAR_INT); // Duration
|
||||||
map(Type.BYTE); // Flags
|
map(Type.BYTE); // Flags
|
||||||
create(Type.BOOLEAN, false); // No factor data
|
create(Type.BOOLEAN, false); // No factor data
|
||||||
}
|
}
|
||||||
});
|
});*/ // TODO experimental snapshot
|
||||||
|
|
||||||
protocol.registerClientbound(ClientboundPackets1_18.JOIN_GAME, new PacketRemapper() {
|
protocol.registerClientbound(ClientboundPackets1_18.JOIN_GAME, new PacketRemapper() {
|
||||||
@Override
|
@Override
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren