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$Beeintermediary net/minecraft/class_8707$class_5243official aaf$anamed uuidintermediary comp_1649official anamed entityIdintermediary comp_1650official bnamed posintermediary comp_1651official cnamed pathintermediary comp_1652official dnamed hivePosintermediary comp_1653official enamed flowerPosintermediary comp_1654official fnamed travelTicksintermediary comp_1655official gnamed goalsintermediary comp_1656official hnamed disallowedHivesintermediary comp_1657official i
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for thedisallowedHivesrecord component.private final intThe field for theentityIdrecord component.The field for theflowerPosrecord component.The field for thegoalsrecord component.The field for thehivePosrecord component.The field for thepathrecord component.private final Vec3dThe field for theposrecord 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 thedisallowedHivesrecord component.intentityId()Returns the value of theentityIdrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theflowerPosrecord component.getName()goals()Returns the value of thegoalsrecord component.final inthashCode()Returns a hash code value for this object.hivePos()Returns the value of thehivePosrecord component.booleanpath()Returns the value of thepathrecord component.pos()Returns the value of theposrecord component.toString()Returns a string representation of this record class.intReturns the value of thetravelTicksrecord component.uuid()Returns the value of theuuidrecord component.voidwrite(PacketByteBuf buf)
-
Field Details
-
uuid
The field for theuuidrecord component. -
entityId
private final int entityIdThe field for theentityIdrecord component. -
pos
The field for theposrecord component. -
path
The field for thepathrecord component. -
hivePos
The field for thehivePosrecord component. -
flowerPos
The field for theflowerPosrecord component. -
travelTicks
private final int travelTicksThe field for thetravelTicksrecord component. -
goals
The field for thegoalsrecord component. -
disallowedHives
The field for thedisallowedHivesrecord component.
-
-
Constructor Details
-
Bee
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/network/packet/s2c/custom/DebugBeeCustomPayload$Bee;<init>(Lnet/minecraft/network/PacketByteBuf;)Vintermediary <init>Lnet/minecraft/class_8707$class_5243;<init>(Lnet/minecraft/class_2540;)Vofficial <init>Laaf$a;<init>(Lvw;)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;)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;)Vofficial <init>Laaf$a;<init>(Ljava/util/UUID;ILexc;Leps;Ljd;Ljd;ILjava/util/Set;Ljava/util/List;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named writeLnet/minecraft/network/packet/s2c/custom/DebugBeeCustomPayload$Bee;write(Lnet/minecraft/network/PacketByteBuf;)Vintermediary method_53030Lnet/minecraft/class_8707$class_5243;method_53030(Lnet/minecraft/class_2540;)Vofficial aLaaf$a;a(Lvw;)V
-
isHiveAt
- Mappings:
Namespace Name Mixin selector named isHiveAtLnet/minecraft/network/packet/s2c/custom/DebugBeeCustomPayload$Bee;isHiveAt(Lnet/minecraft/util/math/BlockPos;)Zintermediary method_27649Lnet/minecraft/class_8707$class_5243;method_27649(Lnet/minecraft/class_2338;)Zofficial aLaaf$a;a(Ljd;)Z
-
getName
- Mappings:
Namespace Name Mixin selector named getNameLnet/minecraft/network/packet/s2c/custom/DebugBeeCustomPayload$Bee;getName()Ljava/lang/String;intermediary method_53029Lnet/minecraft/class_8707$class_5243;method_53029()Ljava/lang/String;official aLaaf$a;a()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
-
pos
Returns the value of theposrecord component.- Returns:
- the value of the
posrecord component
-
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
hivePos
Returns the value of thehivePosrecord component.- Returns:
- the value of the
hivePosrecord component
-
flowerPos
Returns the value of theflowerPosrecord component.- Returns:
- the value of the
flowerPosrecord component
-
travelTicks
public int travelTicks()Returns the value of thetravelTicksrecord component.- Returns:
- the value of the
travelTicksrecord component
-
goals
Returns the value of thegoalsrecord component.- Returns:
- the value of the
goalsrecord component
-
disallowedHives
Returns the value of thedisallowedHivesrecord component.- Returns:
- the value of the
disallowedHivesrecord component
-