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 Summary
Modifier and TypeFieldDescriptionThe field for thedisallowedHives
record component.private final int
The field for theentityId
record component.The field for theflowerPos
record component.The field for thegoals
record component.The field for thehivePos
record component.The field for thepath
record component.private final Vec3d
The field for thepos
record component.private final int
The field for thetravelTicks
record component.private final UUID
The field for theuuid
record component. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedisallowedHives
record component.int
entityId()
Returns the value of theentityId
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of theflowerPos
record component.getName()
goals()
Returns the value of thegoals
record component.final int
hashCode()
Returns a hash code value for this object.hivePos()
Returns the value of thehivePos
record component.boolean
path()
Returns the value of thepath
record component.pos()
Returns the value of thepos
record component.toString()
Returns a string representation of this record class.int
Returns the value of thetravelTicks
record component.uuid()
Returns the value of theuuid
record component.void
write
(PacketByteBuf buf)
-
Field Details
-
uuid
The field for theuuid
record component. -
entityId
private final int entityIdThe field for theentityId
record component. -
pos
The field for thepos
record component. -
path
The field for thepath
record component. -
hivePos
The field for thehivePos
record component. -
flowerPos
The field for theflowerPos
record component. -
travelTicks
private final int travelTicksThe field for thetravelTicks
record component. -
goals
The field for thegoals
record component. -
disallowedHives
The field for thedisallowedHives
record component.
-
-
Constructor Details
-
Bee
- 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
- 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
- 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
- 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
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 theuuid
record component.- Returns:
- the value of the
uuid
record component
-
entityId
public int entityId()Returns the value of theentityId
record component.- Returns:
- the value of the
entityId
record component
-
pos
Returns the value of thepos
record component.- Returns:
- the value of the
pos
record component
-
path
Returns the value of thepath
record component.- Returns:
- the value of the
path
record component
-
hivePos
Returns the value of thehivePos
record component.- Returns:
- the value of the
hivePos
record component
-
flowerPos
Returns the value of theflowerPos
record component.- Returns:
- the value of the
flowerPos
record component
-
travelTicks
public int travelTicks()Returns the value of thetravelTicks
record component.- Returns:
- the value of the
travelTicks
record component
-
goals
Returns the value of thegoals
record component.- Returns:
- the value of the
goals
record component
-
disallowedHives
Returns the value of thedisallowedHives
record component.- Returns:
- the value of the
disallowedHives
record component
-