Package net.minecraft

Record Class class_8718.class_8719

java.lang.Object
java.lang.Record
net.minecraft.class_8718.class_8719
Record Components:
pos -
hiveType -
occupantCount -
honeyLevel -
sedated -
Enclosing class:
class_8718

public static record class_8718.class_8719(BlockPos pos, String hiveType, int occupantCount, int honeyLevel, boolean sedated) extends Record
Mappings:
Namespace Name
official vv$a
intermediary net/minecraft/class_8718$class_8719
named net/minecraft/class_8718$class_8719
official a
intermediary comp_1694
named pos
official b
intermediary comp_1695
named hiveType
official c
intermediary comp_1696
named occupantCount
official d
intermediary comp_1697
named honeyLevel
official e
intermediary comp_1698
named sedated
  • Field Details

    • pos

      private final BlockPos pos
      The field for the pos record component.
    • hiveType

      private final String hiveType
      The field for the hiveType record component.
    • occupantCount

      private final int occupantCount
      The field for the occupantCount record component.
    • honeyLevel

      private final int honeyLevel
      The field for the honeyLevel record component.
    • sedated

      private final boolean sedated
      The field for the sedated record component.
  • Constructor Details

    • class_8719

      public class_8719(PacketByteBuf packetByteBuf)
    • class_8719

      public class_8719(BlockPos blockPos, String string, int int2, int int3, boolean bool)
  • Method Details

    • method_53036

      public void method_53036(PacketByteBuf packetByteBuf)
      Mappings:
      Namespace Name Mixin selector
      official a Lvv$a;a(Lsh;)V
      intermediary method_53036 Lnet/minecraft/class_8718$class_8719;method_53036(Lnet/minecraft/class_2540;)V
      named method_53036 Lnet/minecraft/class_8718$class_8719;method_53036(Lnet/minecraft/network/PacketByteBuf;)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.
    • pos

      public BlockPos pos()
      Returns the value of the pos record component.
      Returns:
      the value of the pos record component
    • hiveType

      public String hiveType()
      Returns the value of the hiveType record component.
      Returns:
      the value of the hiveType record component
    • occupantCount

      public int occupantCount()
      Returns the value of the occupantCount record component.
      Returns:
      the value of the occupantCount record component
    • honeyLevel

      public int honeyLevel()
      Returns the value of the honeyLevel record component.
      Returns:
      the value of the honeyLevel record component
    • sedated

      public boolean sedated()
      Returns the value of the sedated record component.
      Returns:
      the value of the sedated record component