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 abz
intermediary net/minecraft/class_9487
named net/minecraft/class_9487
official b
intermediary comp_2556
named id
official c
intermediary comp_2557
named uuid
official d
intermediary comp_2558
named x
official e
intermediary comp_2559
named y
official f
intermediary comp_2560
named z
official g
intermediary comp_2561
named blocks
official h
intermediary comp_2562
named biome
  • Field Details

    • id

      private final int id
      The field for the id record component.
    • uuid

      private final UUID uuid
      The field for the uuid record component.
    • x

      private final double x
      The field for the x record component.
    • y

      private final double y
      The field for the y record component.
    • z

      private final double z
      The field for the z record component.
    • blocks

      private final class_9514 blocks
      The field for the blocks record component.
    • biome

      private final RegistryEntry<Biome> biome
      The field for the biome record component.
    • field_50261

      public static final PacketCodec<RegistryByteBuf,class_9487> field_50261
      Mappings:
      Namespace Name Mixin selector
      official a Labz;a:Lzc;
      intermediary field_50261 Lnet/minecraft/class_9487;field_50261:Lnet/minecraft/class_9139;
      named field_50261 Lnet/minecraft/class_9487;field_50261:Lnet/minecraft/network/codec/PacketCodec;
  • Constructor Details

    • class_9487

      public class_9487(class_9511 class_9511)
    • 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

      public PacketType<class_9487> getPacketId()
      Specified by:
      getPacketId in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lzl;a()Lzn;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      named getPacketId Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Labz;a(Labw;)V
      intermediary method_58778 Lnet/minecraft/class_9487;method_58778(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/class_9487;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • id

      public int id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • uuid

      public UUID uuid()
      Returns the value of the uuid record component.
      Returns:
      the value of the uuid record component
    • x

      public double x()
      Returns the value of the x record component.
      Returns:
      the value of the x record component
    • y

      public double y()
      Returns the value of the y record component.
      Returns:
      the value of the y record component
    • z

      public double z()
      Returns the value of the z record component.
      Returns:
      the value of the z record component
    • blocks

      public class_9514 blocks()
      Returns the value of the blocks record component.
      Returns:
      the value of the blocks record component
    • biome

      public RegistryEntry<Biome> biome()
      Returns the value of the biome record component.
      Returns:
      the value of the biome record component