Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-03 14:50:30 +01:00
use blockmapping for air ids
Dieser Commit ist enthalten in:
Ursprung
9fac4f9de4
Commit
ccb5ceb9b3
@ -13,13 +13,14 @@ import us.myles.ViaVersion.api.type.Type;
|
||||
import us.myles.ViaVersion.packets.State;
|
||||
import us.myles.ViaVersion.protocols.protocol1_13to1_12_2.types.Chunk1_13Type;
|
||||
import us.myles.ViaVersion.protocols.protocol1_14to1_13_2.Protocol1_14To1_13_2;
|
||||
import us.myles.ViaVersion.protocols.protocol1_14to1_13_2.data.MappingData;
|
||||
import us.myles.ViaVersion.protocols.protocol1_14to1_13_2.types.Chunk1_14Type;
|
||||
import us.myles.ViaVersion.protocols.protocol1_9_3to1_9_1_2.storage.ClientWorld;
|
||||
|
||||
public class WorldPackets {
|
||||
private static final int AIR = 0;
|
||||
private static final int VOID_AIR = 8817;
|
||||
private static final int CAVE_AIR = 8818;
|
||||
private static final int AIR = MappingData.blockMappings.getNewBlock(0);
|
||||
private static final int VOID_AIR = MappingData.blockMappings.getNewBlock(8591);
|
||||
private static final int CAVE_AIR = MappingData.blockMappings.getNewBlock(8592);
|
||||
|
||||
public static void register(Protocol protocol) {
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren