Record Class BeeDebugData

java.lang.Object
java.lang.Record
net.minecraft.world.debug.data.BeeDebugData
Record Components:
hivePos -
flowerPos -
travelTicks -
blacklistedHives -

public record BeeDebugData(Optional<BlockPos> hivePos, Optional<BlockPos> flowerPos, int travelTicks, List<BlockPos> blacklistedHives) extends Record
Mappings:
Namespace Name
named net/minecraft/world/debug/data/BeeDebugData
intermediary net/minecraft/class_12005
official bvh
named hivePos
intermediary comp_4834
official b
named flowerPos
intermediary comp_4835
official c
named travelTicks
intermediary comp_4836
official d
named blacklistedHives
intermediary comp_4837
official e
  • Field Details

    • hivePos

      private final Optional<BlockPos> hivePos
      The field for the hivePos record component.
    • flowerPos

      private final Optional<BlockPos> flowerPos
      The field for the flowerPos record component.
    • travelTicks

      private final int travelTicks
      The field for the travelTicks record component.
    • blacklistedHives

      private final List<BlockPos> blacklistedHives
      The field for the blacklistedHives record component.
    • PACKET_CODEC

      public static final PacketCodec<ByteBuf,BeeDebugData> PACKET_CODEC
      Mappings:
      Namespace Name Mixin selector
      named PACKET_CODEC Lnet/minecraft/world/debug/data/BeeDebugData;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_62844 Lnet/minecraft/class_12005;field_62844:Lnet/minecraft/class_9139;
      official a Lbvh;a:Laae;
  • Constructor Details

  • Method Details

    • hivePosEquals

      public boolean hivePosEquals(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named hivePosEquals Lnet/minecraft/world/debug/data/BeeDebugData;hivePosEquals(Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_74548 Lnet/minecraft/class_12005;method_74548(Lnet/minecraft/class_2338;)Z
      official a Lbvh;a(Lja;)Z
    • 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.
    • hivePos

      public Optional<BlockPos> hivePos()
      Returns the value of the hivePos record component.
      Returns:
      the value of the hivePos record component
    • flowerPos

      public Optional<BlockPos> flowerPos()
      Returns the value of the flowerPos record component.
      Returns:
      the value of the flowerPos record component
    • travelTicks

      public int travelTicks()
      Returns the value of the travelTicks record component.
      Returns:
      the value of the travelTicks record component
    • blacklistedHives

      public List<BlockPos> blacklistedHives()
      Returns the value of the blacklistedHives record component.
      Returns:
      the value of the blacklistedHives record component