Package net.minecraft

Record Class class_8707.Bee

java.lang.Object
java.lang.Record
net.minecraft.class_8707.Bee
Record Components:
uuid -
entityId -
position -
path -
hive -
flower -
travelTicks -
labels -
blacklist -
Enclosing class:
class_8707

public static record class_8707.Bee(UUID uuid, int entityId, Vec3d position, @Nullable Path path, @Nullable BlockPos hive, @Nullable BlockPos flower, int travelTicks, Set<String> labels, List<BlockPos> blacklist) extends Record
Mappings:
Namespace Name
official vl$a
intermediary net/minecraft/class_8707$class_5243
named net/minecraft/class_8707$Bee
official a
intermediary comp_1649
named uuid
official b
intermediary comp_1650
named entityId
official c
intermediary comp_1651
named position
official d
intermediary comp_1652
named path
official e
intermediary comp_1653
named hive
official f
intermediary comp_1654
named flower
official g
intermediary comp_1655
named travelTicks
official h
intermediary comp_1656
named labels
official i
intermediary comp_1657
named blacklist
  • Field Details

  • Constructor Details

    • Bee

      public Bee(PacketByteBuf packetByteBuf)
    • 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> Lvl$a;<init>(Ljava/util/UUID;ILehf;Leaq;Lgv;Lgv;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/class_8707$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

    • method_53030

      public void method_53030(PacketByteBuf packetByteBuf)
      Mappings:
      Namespace Name Mixin selector
      official a Lvl$a;a(Lsh;)V
      intermediary method_53030 Lnet/minecraft/class_8707$class_5243;method_53030(Lnet/minecraft/class_2540;)V
      named method_53030 Lnet/minecraft/class_8707$Bee;method_53030(Lnet/minecraft/network/PacketByteBuf;)V
    • isHiveAt

      public boolean isHiveAt(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lvl$a;a(Lgv;)Z
      intermediary method_27649 Lnet/minecraft/class_8707$class_5243;method_27649(Lnet/minecraft/class_2338;)Z
      named isHiveAt Lnet/minecraft/class_8707$Bee;isHiveAt(Lnet/minecraft/util/math/BlockPos;)Z
    • method_53029

      public String method_53029()
      Mappings:
      Namespace Name Mixin selector
      official a Lvl$a;a()Ljava/lang/String;
      intermediary method_53029 Lnet/minecraft/class_8707$class_5243;method_53029()Ljava/lang/String;
      named method_53029 Lnet/minecraft/class_8707$Bee;method_53029()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
    • position

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

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

      @Nullable public @Nullable BlockPos hive()
      Returns the value of the hive record component.
      Returns:
      the value of the hive record component
    • flower

      @Nullable public @Nullable BlockPos flower()
      Returns the value of the flower record component.
      Returns:
      the value of the flower record component
    • travelTicks

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

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

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