public class BiomeDefinitionListPacket extends java.lang.Object implements BedrockPacket
| Constructor and Description |
|---|
BiomeDefinitionListPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
BiomeDefinitionListPacket |
clone()
Creates a new instance of this packet using Object.clone()
Will throw a
UnsupportedOperationException if the packet implements ReferenceCounted |
boolean |
equals(java.lang.Object o) |
java.util.Map<java.lang.String,BiomeDefinitionData> |
getBiomes() |
org.cloudburstmc.nbt.NbtMap |
getDefinitions()
Deprecated.
As of v800 (1.21.80) the biomes are no longer sent as NBT. Use
biomes instead. |
BedrockPacketType |
getPacketType() |
org.cloudburstmc.protocol.common.PacketSignal |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
void |
setBiomes(java.util.Map<java.lang.String,BiomeDefinitionData> biomes) |
void |
setDefinitions(org.cloudburstmc.nbt.NbtMap definitions)
Deprecated.
As of v800 (1.21.80) the biomes are no longer sent as NBT. Use
biomes instead. |
java.lang.String |
toString() |
public org.cloudburstmc.protocol.common.PacketSignal handle(BedrockPacketHandler handler)
handle in interface BedrockPacketpublic BedrockPacketType getPacketType()
getPacketType in interface BedrockPacketpublic BiomeDefinitionListPacket clone()
BedrockPacketUnsupportedOperationException if the packet implements ReferenceCountedclone in interface BedrockPacketclone in class java.lang.Object@Deprecated public org.cloudburstmc.nbt.NbtMap getDefinitions()
biomes instead.public java.util.Map<java.lang.String,BiomeDefinitionData> getBiomes()
@Deprecated public void setDefinitions(org.cloudburstmc.nbt.NbtMap definitions)
biomes instead.public void setBiomes(java.util.Map<java.lang.String,BiomeDefinitionData> biomes)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object