Package net.minecraft.world.debug.data
Record Class BeeDebugData
java.lang.Object
java.lang.Record
net.minecraft.world.debug.data.BeeDebugData
- Record Components:
hivePos-flowerPos-travelTicks-blacklistedHives-
public record BeeDebugData(Optional<BlockPos> hivePos, Optional<BlockPos> flowerPos, int travelTicks, List<BlockPos> blacklistedHives)
extends Record
- Mappings:
Namespace Name named net/minecraft/world/debug/data/BeeDebugDataintermediary net/minecraft/class_12005official bvhnamed hivePosintermediary comp_4834official bnamed flowerPosintermediary comp_4835official cnamed travelTicksintermediary comp_4836official dnamed blacklistedHivesintermediary comp_4837official e
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for theblacklistedHivesrecord component.The field for theflowerPosrecord component.The field for thehivePosrecord component.static final PacketCodec<ByteBuf, BeeDebugData> private final intThe field for thetravelTicksrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theblacklistedHivesrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theflowerPosrecord component.final inthashCode()Returns a hash code value for this object.hivePos()Returns the value of thehivePosrecord component.booleanhivePosEquals(BlockPos pos) final StringtoString()Returns a string representation of this record class.intReturns the value of thetravelTicksrecord component.
-
Field Details
-
hivePos
The field for thehivePosrecord component. -
flowerPos
The field for theflowerPosrecord component. -
travelTicks
private final int travelTicksThe field for thetravelTicksrecord component. -
blacklistedHives
The field for theblacklistedHivesrecord component. -
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODECLnet/minecraft/world/debug/data/BeeDebugData;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_62844Lnet/minecraft/class_12005;field_62844:Lnet/minecraft/class_9139;official aLbvh;a:Laae;
-
-
Constructor Details
-
BeeDebugData
-
-
Method Details
-
hivePosEquals
- Mappings:
Namespace Name Mixin selector named hivePosEqualsLnet/minecraft/world/debug/data/BeeDebugData;hivePosEquals(Lnet/minecraft/util/math/BlockPos;)Zintermediary method_74548Lnet/minecraft/class_12005;method_74548(Lnet/minecraft/class_2338;)Zofficial aLbvh;a(Lja;)Z
-
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 '=='. -
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
-
blacklistedHives
Returns the value of theblacklistedHivesrecord component.- Returns:
- the value of the
blacklistedHivesrecord component
-