1.21.2-pre3

This commit is contained in:
Nassim Jahnke 2024-10-11 16:32:04 +02:00
parent c57b238b86
commit 16eca5f6aa
No known key found for this signature in database
GPG Key ID: EF6771C01F6EF02F
2 changed files with 3 additions and 1 deletions

View File

@ -210,7 +210,7 @@ public final class BlockItemPacketRewriter1_21_2 extends BackwardsStructuredItem
wrapper.cancel(); wrapper.cancel();
}); });
protocol.registerClientbound(ClientboundPackets1_21_2.UPDATE_RECIPES, wrapper -> { protocol.registerClientbound(ClientboundPackets1_21_2.UPDATE_RECIPES, wrapper -> {
// Inputs for furnaces etc., hardcoded in earlier versions // Inputs for furnaces etc. Old clients get these from the full recipes
final int size = wrapper.passthrough(Types.VAR_INT); final int size = wrapper.passthrough(Types.VAR_INT);
for (int i = 0; i < size; i++) { for (int i = 0; i < size; i++) {
wrapper.read(Types.STRING); // Recipe group wrapper.read(Types.STRING); // Recipe group

View File

@ -418,6 +418,8 @@ public final class EntityPacketRewriter1_21_2 extends EntityRewriter<Clientbound
filter().type(EntityTypes1_21_2.DOLPHIN).removeIndex(16); // Baby filter().type(EntityTypes1_21_2.DOLPHIN).removeIndex(16); // Baby
filter().type(EntityTypes1_21_2.GLOW_SQUID).removeIndex(16); // Baby filter().type(EntityTypes1_21_2.GLOW_SQUID).removeIndex(16); // Baby
filter().type(EntityTypes1_21_2.SQUID).removeIndex(16); // Baby filter().type(EntityTypes1_21_2.SQUID).removeIndex(16); // Baby
filter().type(EntityTypes1_21_2.ABSTRACT_ARROW).removeIndex(10); // In ground
} }
@Override @Override