mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-11-21 12:07:38 +01:00
1.21.2-pre3
This commit is contained in:
parent
c57b238b86
commit
16eca5f6aa
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user