3
0
Mirror von https://github.com/ViaVersion/ViaBackwards.git synchronisiert 2024-11-20 06:50:10 +01:00
Dieser Commit ist enthalten in:
Nassim Jahnke 2022-04-13 18:48:53 +02:00
Ursprung 56dfc985d2
Commit 15c7106430
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 6BE3B555EBC5982B
3 geänderte Dateien mit 29 neuen und 4 gelöschten Zeilen

Datei anzeigen

@ -5,7 +5,7 @@ plugins {
allprojects { allprojects {
group = "com.viaversion" group = "com.viaversion"
version = "4.3.0-22w14a-SNAPSHOT" version = "4.3.0-22w15a-SNAPSHOT"
description = "Allow older clients to join newer server versions." description = "Allow older clients to join newer server versions."
} }

Datei anzeigen

@ -163,5 +163,28 @@ public final class BlockItemPackets1_19 extends ItemRewriter<Protocol1_18_2To1_1
create(Type.VAR_INT, 0); // Sequence 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);
}
});
}
});
} }
} }

Datei anzeigen

@ -296,7 +296,6 @@
}, },
"sounds": { "sounds": {
"music.overworld.deep_dark": "", "music.overworld.deep_dark": "",
"entity.parrot.imitate.warden": "",
"block.sculk_vein.break": "", "block.sculk_vein.break": "",
"block.sculk_vein.fall": "", "block.sculk_vein.fall": "",
"block.sculk_vein.hit": "", "block.sculk_vein.hit": "",
@ -398,7 +397,9 @@
"entity.allay.hurt": "", "entity.allay.hurt": "",
"entity.allay.item_given": "", "entity.allay.item_given": "",
"entity.allay.item_taken": "", "entity.allay.item_taken": "",
"entity.parrot.imitate.warden": "" "entity.parrot.imitate.warden": "",
"entity.warden.sonic_boom": "",
"entity.warden.sonic_charge": ""
}, },
"items": { "items": {
"minecraft:warden_spawn_egg": { "minecraft:warden_spawn_egg": {
@ -599,7 +600,8 @@
"sculk_charge": "", "sculk_charge": "",
"sculk_charge_pop": "bubble_pop", "sculk_charge_pop": "bubble_pop",
"shriek": "", "shriek": "",
"allay_dust": "wax_off" "allay_dust": "wax_off",
"sonic_boom": "enchanted_hit"
}, },
"blockentities": { "blockentities": {
"sculk_catalyst": "", "sculk_catalyst": "",