Package net.minecraft
Record Class class_9487
java.lang.Object
java.lang.Record
net.minecraft.class_9487
- Record Components:
id-uuid-x-y-z-blocks-biome-
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public record class_9487(int id, UUID uuid, double x, double y, double z, class_9514 blocks, RegistryEntry<Biome> biome)
extends Record
implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official abzintermediary net/minecraft/class_9487named net/minecraft/class_9487official bintermediary comp_2556named idofficial cintermediary comp_2557named uuidofficial dintermediary comp_2558named xofficial eintermediary comp_2559named yofficial fintermediary comp_2560named zofficial gintermediary comp_2561named blocksofficial hintermediary comp_2562named biome
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RegistryEntry<Biome> The field for thebiomerecord component.private final class_9514The field for theblocksrecord component.static final PacketCodec<RegistryByteBuf, class_9487> private final intThe field for theidrecord component.private final UUIDThe field for theuuidrecord component.private final doubleThe field for thexrecord component.private final doubleThe field for theyrecord component.private final doubleThe field for thezrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_9487(int int2, UUID uUID, double double2, double double3, double double4, class_9514 class_9514, RegistryEntry<Biome> registryEntry) class_9487(class_9511 class_9511) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ClientPlayPacketListener clientPlayPacketListener) biome()Returns the value of thebiomerecord component.blocks()Returns the value of theblocksrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intid()Returns the value of theidrecord component.final StringtoString()Returns a string representation of this record class.uuid()Returns the value of theuuidrecord component.doublex()Returns the value of thexrecord component.doubley()Returns the value of theyrecord component.doublez()Returns the value of thezrecord component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
id
private final int idThe field for theidrecord component. -
uuid
The field for theuuidrecord component. -
x
private final double xThe field for thexrecord component. -
y
private final double yThe field for theyrecord component. -
z
private final double zThe field for thezrecord component. -
blocks
The field for theblocksrecord component. -
biome
The field for thebiomerecord component. -
field_50261
- Mappings:
Namespace Name Mixin selector official aLabz;a:Lzc;intermediary field_50261Lnet/minecraft/class_9487;field_50261:Lnet/minecraft/class_9139;named field_50261Lnet/minecraft/class_9487;field_50261:Lnet/minecraft/network/codec/PacketCodec;
-
-
Constructor Details
-
class_9487
-
class_9487
public class_9487(int int2, UUID uUID, double double2, double double3, double double4, class_9514 class_9514, RegistryEntry<Biome> registryEntry)
-
-
Method Details
-
getPacketId
- Specified by:
getPacketIdin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLzl;a()Lzn;intermediary method_55846Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;named getPacketIdLnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLabz;a(Labw;)Vintermediary method_58778Lnet/minecraft/class_9487;method_58778(Lnet/minecraft/class_2602;)Vnamed applyLnet/minecraft/class_9487;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
id
public int id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
uuid
Returns the value of theuuidrecord component.- Returns:
- the value of the
uuidrecord component
-
x
public double x()Returns the value of thexrecord component.- Returns:
- the value of the
xrecord component
-
y
public double y()Returns the value of theyrecord component.- Returns:
- the value of the
yrecord component
-
z
public double z()Returns the value of thezrecord component.- Returns:
- the value of the
zrecord component
-
blocks
Returns the value of theblocksrecord component.- Returns:
- the value of the
blocksrecord component
-
biome
Returns the value of thebiomerecord component.- Returns:
- the value of the
biomerecord component
-