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$aintermediary net/minecraft/class_8707$class_5243named net/minecraft/class_8707$Beeofficial aintermediary comp_1649named uuidofficial bintermediary comp_1650named entityIdofficial cintermediary comp_1651named positionofficial dintermediary comp_1652named pathofficial eintermediary comp_1653named hiveofficial fintermediary comp_1654named flowerofficial gintermediary comp_1655named travelTicksofficial hintermediary comp_1656named labelsofficial iintermediary comp_1657named blacklist
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for theblacklistrecord component.private final intThe field for theentityIdrecord component.The field for theflowerrecord component.The field for thehiverecord component.The field for thelabelsrecord component.The field for thepathrecord component.private final Vec3dThe field for thepositionrecord component.private final intThe field for thetravelTicksrecord component.private final UUIDThe field for theuuidrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theblacklistrecord component.intentityId()Returns the value of theentityIdrecord component.final booleanIndicates whether some other object is "equal to" this one.flower()Returns the value of theflowerrecord component.final inthashCode()Returns a hash code value for this object.hive()Returns the value of thehiverecord component.booleanlabels()Returns the value of thelabelsrecord component.voidmethod_53030(PacketByteBuf packetByteBuf) path()Returns the value of thepathrecord component.position()Returns the value of thepositionrecord component.toString()Returns a string representation of this record class.intReturns the value of thetravelTicksrecord component.uuid()Returns the value of theuuidrecord component.
-
Field Details
-
uuid
The field for theuuidrecord component. -
entityId
private final int entityIdThe field for theentityIdrecord component. -
position
The field for thepositionrecord component. -
path
The field for thepathrecord component. -
hive
The field for thehiverecord component. -
flower
The field for theflowerrecord component. -
travelTicks
private final int travelTicksThe field for thetravelTicksrecord component. -
labels
The field for thelabelsrecord component. -
blacklist
The field for theblacklistrecord component.
-
-
Constructor Details
-
Bee
-
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;)Vintermediary <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;)Vnamed <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
- Mappings:
Namespace Name Mixin selector official aLvl$a;a(Lsh;)Vintermediary method_53030Lnet/minecraft/class_8707$class_5243;method_53030(Lnet/minecraft/class_2540;)Vnamed method_53030Lnet/minecraft/class_8707$Bee;method_53030(Lnet/minecraft/network/PacketByteBuf;)V
-
isHiveAt
- Mappings:
Namespace Name Mixin selector official aLvl$a;a(Lgv;)Zintermediary method_27649Lnet/minecraft/class_8707$class_5243;method_27649(Lnet/minecraft/class_2338;)Znamed isHiveAtLnet/minecraft/class_8707$Bee;isHiveAt(Lnet/minecraft/util/math/BlockPos;)Z
-
method_53029
- Mappings:
Namespace Name Mixin selector official aLvl$a;a()Ljava/lang/String;intermediary method_53029Lnet/minecraft/class_8707$class_5243;method_53029()Ljava/lang/String;named method_53029Lnet/minecraft/class_8707$Bee;method_53029()Ljava/lang/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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
uuid
Returns the value of theuuidrecord component.- Returns:
- the value of the
uuidrecord component
-
entityId
public int entityId()Returns the value of theentityIdrecord component.- Returns:
- the value of the
entityIdrecord component
-
position
Returns the value of thepositionrecord component.- Returns:
- the value of the
positionrecord component
-
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
hive
Returns the value of thehiverecord component.- Returns:
- the value of the
hiverecord component
-
flower
Returns the value of theflowerrecord component.- Returns:
- the value of the
flowerrecord component
-
travelTicks
public int travelTicks()Returns the value of thetravelTicksrecord component.- Returns:
- the value of the
travelTicksrecord component
-
labels
Returns the value of thelabelsrecord component.- Returns:
- the value of the
labelsrecord component
-
blacklist
Returns the value of theblacklistrecord component.- Returns:
- the value of the
blacklistrecord component
-