Record Class DebugBeeCustomPayload.Bee

java.lang.Object
java.lang.Record
net.minecraft.network.packet.s2c.custom.DebugBeeCustomPayload.Bee
Record Components:
uuid -
entityId -
pos -
path -
hivePos -
flowerPos -
travelTicks -
goals -
disallowedHives -
Enclosing class:
DebugBeeCustomPayload

public static record DebugBeeCustomPayload.Bee(UUID uuid, int entityId, Vec3d pos, @Nullable Path path, @Nullable BlockPos hivePos, @Nullable BlockPos flowerPos, int travelTicks, Set<String> goals, List<BlockPos> disallowedHives) extends Record
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/custom/DebugBeeCustomPayload$Bee
intermediary net/minecraft/class_8707$class_5243
official abb$a
named uuid
intermediary comp_1649
official a
named entityId
intermediary comp_1650
official b
named pos
intermediary comp_1651
official c
named path
intermediary comp_1652
official d
named hivePos
intermediary comp_1653
official e
named flowerPos
intermediary comp_1654
official f
named travelTicks
intermediary comp_1655
official g
named goals
intermediary comp_1656
official h
named disallowedHives
intermediary comp_1657
official i
  • Field Details

  • Constructor Details

    • Bee

      public Bee(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/custom/DebugBeeCustomPayload$Bee;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_8707$class_5243;<init>(Lnet/minecraft/class_2540;)V
      official <init> Labb$a;<init>(Lws;)V
    • Bee

      public Bee(UUID uuid, int entityId, Vec3d vec3d, @Nullable @Nullable Path path, @Nullable @Nullable BlockPos hive, @Nullable @Nullable BlockPos flower, int travelTicks, Set<String> set, List<BlockPos> list)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/custom/DebugBeeCustomPayload$Bee;<init>(Ljava/util/UUID;ILnet/minecraft/util/math/Vec3d;Lnet/minecraft/entity/ai/pathing/Path;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;ILjava/util/Set;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_8707$class_5243;<init>(Ljava/util/UUID;ILnet/minecraft/class_243;Lnet/minecraft/class_11;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;ILjava/util/Set;Ljava/util/List;)V
      official <init> Labb$a;<init>(Ljava/util/UUID;ILfbx;Leuk;Ljh;Ljh;ILjava/util/Set;Ljava/util/List;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/custom/DebugBeeCustomPayload$Bee;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_53030 Lnet/minecraft/class_8707$class_5243;method_53030(Lnet/minecraft/class_2540;)V
      official a Labb$a;a(Lws;)V
    • isHiveAt

      public boolean isHiveAt(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named isHiveAt Lnet/minecraft/network/packet/s2c/custom/DebugBeeCustomPayload$Bee;isHiveAt(Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_27649 Lnet/minecraft/class_8707$class_5243;method_27649(Lnet/minecraft/class_2338;)Z
      official a Labb$a;a(Ljh;)Z
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/network/packet/s2c/custom/DebugBeeCustomPayload$Bee;getName()Ljava/lang/String;
      intermediary method_53029 Lnet/minecraft/class_8707$class_5243;method_53029()Ljava/lang/String;
      official a Labb$a;a()Ljava/lang/String;
    • toString

      public 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.
    • uuid

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

      public int entityId()
      Returns the value of the entityId record component.
      Returns:
      the value of the entityId record component
    • pos

      public Vec3d pos()
      Returns the value of the pos record component.
      Returns:
      the value of the pos record component
    • path

      @Nullable public @Nullable Path path()
      Returns the value of the path record component.
      Returns:
      the value of the path record component
    • hivePos

      @Nullable public @Nullable BlockPos hivePos()
      Returns the value of the hivePos record component.
      Returns:
      the value of the hivePos record component
    • flowerPos

      @Nullable public @Nullable 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
    • goals

      public Set<String> goals()
      Returns the value of the goals record component.
      Returns:
      the value of the goals record component
    • disallowedHives

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