Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-11-17 13:30:14 +01:00
22w15a
Dieser Commit ist enthalten in:
Ursprung
56dfc985d2
Commit
15c7106430
@ -5,7 +5,7 @@ plugins {
|
||||
|
||||
allprojects {
|
||||
group = "com.viaversion"
|
||||
version = "4.3.0-22w14a-SNAPSHOT"
|
||||
version = "4.3.0-22w15a-SNAPSHOT"
|
||||
description = "Allow older clients to join newer server versions."
|
||||
}
|
||||
|
||||
|
@ -163,5 +163,28 @@ public final class BlockItemPackets1_19 extends ItemRewriter<Protocol1_18_2To1_1
|
||||
create(Type.VAR_INT, 0); // Sequence
|
||||
}
|
||||
});
|
||||
|
||||
protocol.registerServerbound(ServerboundPackets1_17.SET_BEACON_EFFECT, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
handler(wrapper -> {
|
||||
final int primaryEffect = wrapper.read(Type.VAR_INT);
|
||||
if (primaryEffect != -1) {
|
||||
wrapper.write(Type.BOOLEAN, true);
|
||||
wrapper.write(Type.VAR_INT, primaryEffect);
|
||||
} else {
|
||||
wrapper.write(Type.BOOLEAN, false);
|
||||
}
|
||||
|
||||
final int secondaryEffect = wrapper.read(Type.VAR_INT);
|
||||
if (secondaryEffect != -1) {
|
||||
wrapper.write(Type.BOOLEAN, true);
|
||||
wrapper.write(Type.VAR_INT, secondaryEffect);
|
||||
} else {
|
||||
wrapper.write(Type.BOOLEAN, false);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -296,7 +296,6 @@
|
||||
},
|
||||
"sounds": {
|
||||
"music.overworld.deep_dark": "",
|
||||
"entity.parrot.imitate.warden": "",
|
||||
"block.sculk_vein.break": "",
|
||||
"block.sculk_vein.fall": "",
|
||||
"block.sculk_vein.hit": "",
|
||||
@ -398,7 +397,9 @@
|
||||
"entity.allay.hurt": "",
|
||||
"entity.allay.item_given": "",
|
||||
"entity.allay.item_taken": "",
|
||||
"entity.parrot.imitate.warden": ""
|
||||
"entity.parrot.imitate.warden": "",
|
||||
"entity.warden.sonic_boom": "",
|
||||
"entity.warden.sonic_charge": ""
|
||||
},
|
||||
"items": {
|
||||
"minecraft:warden_spawn_egg": {
|
||||
@ -599,7 +600,8 @@
|
||||
"sculk_charge": "",
|
||||
"sculk_charge_pop": "bubble_pop",
|
||||
"shriek": "",
|
||||
"allay_dust": "wax_off"
|
||||
"allay_dust": "wax_off",
|
||||
"sonic_boom": "enchanted_hit"
|
||||
},
|
||||
"blockentities": {
|
||||
"sculk_catalyst": "",
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren