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$Bee
intermediary net/minecraft/class_8707$class_5243
official abb$a
named uuid
intermediary comp_1649
official a
named entityId
intermediary comp_1650
official b
named pos
intermediary comp_1651
official c
named path
intermediary comp_1652
official d
named hivePos
intermediary comp_1653
official e
named flowerPos
intermediary comp_1654
official f
named travelTicks
intermediary comp_1655
official g
named goals
intermediary comp_1656
official h
named disallowedHives
intermediary comp_1657
official i
-
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 named <init>
Lnet/minecraft/network/packet/s2c/custom/DebugBeeCustomPayload$Bee;<init>(Lnet/minecraft/network/PacketByteBuf;)V
intermediary <init>
Lnet/minecraft/class_8707$class_5243;<init>(Lnet/minecraft/class_2540;)V
official <init>
Labb$a;<init>(Lws;)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;)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
official <init>
Labb$a;<init>(Ljava/util/UUID;ILfbx;Leuk;Ljh;Ljh;ILjava/util/Set;Ljava/util/List;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/s2c/custom/DebugBeeCustomPayload$Bee;write(Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_53030
Lnet/minecraft/class_8707$class_5243;method_53030(Lnet/minecraft/class_2540;)V
official a
Labb$a;a(Lws;)V
-
isHiveAt
- Mappings:
Namespace Name Mixin selector named isHiveAt
Lnet/minecraft/network/packet/s2c/custom/DebugBeeCustomPayload$Bee;isHiveAt(Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_27649
Lnet/minecraft/class_8707$class_5243;method_27649(Lnet/minecraft/class_2338;)Z
official a
Labb$a;a(Ljh;)Z
-
getName
- Mappings:
Namespace Name Mixin selector named getName
Lnet/minecraft/network/packet/s2c/custom/DebugBeeCustomPayload$Bee;getName()Ljava/lang/String;
intermediary method_53029
Lnet/minecraft/class_8707$class_5243;method_53029()Ljava/lang/String;
official a
Labb$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 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
-