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
official xw$a
intermediary net/minecraft/class_8707$class_5243
named net/minecraft/network/packet/s2c/custom/DebugBeeCustomPayload$Bee
official a
intermediary comp_1649
named uuid
official b
intermediary comp_1650
named entityId
official c
intermediary comp_1651
named pos
official d
intermediary comp_1652
named path
official e
intermediary comp_1653
named hivePos
official f
intermediary comp_1654
named flowerPos
official g
intermediary comp_1655
named travelTicks
official h
intermediary comp_1656
named goals
official i
intermediary comp_1657
named disallowedHives
  • Field Details

  • Constructor Details

    • Bee

      public Bee(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxw$a;<init>(Lui;)V
      intermediary <init> Lnet/minecraft/class_8707$class_5243;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/custom/DebugBeeCustomPayload$Bee;<init>(Lnet/minecraft/network/PacketByteBuf;)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
      official <init> Lxw$a;<init>(Ljava/util/UUID;ILelt;Lefg;Lhx;Lhx;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
      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
  • Method Details

    • write

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

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

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official a Lxw$a;a()Ljava/lang/String;
      intermediary method_53029 Lnet/minecraft/class_8707$class_5243;method_53029()Ljava/lang/String;
      named getName Lnet/minecraft/network/packet/s2c/custom/DebugBeeCustomPayload$Bee;getName()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