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 vl$aintermediary net/minecraft/class_8707$class_5243named net/minecraft/network/packet/s2c/custom/DebugBeeCustomPayload$Beeofficial aintermediary comp_1649named uuidofficial bintermediary comp_1650named entityIdofficial cintermediary comp_1651named posofficial dintermediary comp_1652named pathofficial eintermediary comp_1653named hivePosofficial fintermediary comp_1654named flowerPosofficial gintermediary comp_1655named travelTicksofficial hintermediary comp_1656named goalsofficial iintermediary comp_1657named disallowedHives
-
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 official <init>Lvl$a;<init>(Lsh;)Vintermediary <init>Lnet/minecraft/class_8707$class_5243;<init>(Lnet/minecraft/class_2540;)Vnamed <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>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/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
- 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 writeLnet/minecraft/network/packet/s2c/custom/DebugBeeCustomPayload$Bee;write(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/network/packet/s2c/custom/DebugBeeCustomPayload$Bee;isHiveAt(Lnet/minecraft/util/math/BlockPos;)Z
-
getName
- 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 getNameLnet/minecraft/network/packet/s2c/custom/DebugBeeCustomPayload$Bee;getName()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
-