Record Class DebugBeeInfo
java.lang.Object
java.lang.Record
org.geysermc.mcprotocollib.protocol.data.game.debug.DebugBeeInfo
- All Implemented Interfaces:
DebugInfo
-
Constructor Summary
ConstructorsConstructorDescriptionDebugBeeInfo(@Nullable org.cloudburstmc.math.vector.Vector3i hivePos, @Nullable org.cloudburstmc.math.vector.Vector3i flowerPos, int travelTicks, List<org.cloudburstmc.math.vector.Vector3i> blacklistedHives) Creates an instance of aDebugBeeInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionList<org.cloudburstmc.math.vector.Vector3i>Returns the value of theblacklistedHivesrecord component.final booleanIndicates whether some other object is "equal to" this one.@Nullable org.cloudburstmc.math.vector.Vector3iReturns the value of theflowerPosrecord component.getType()final inthashCode()Returns a hash code value for this object.@Nullable org.cloudburstmc.math.vector.Vector3ihivePos()Returns the value of thehivePosrecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of thetravelTicksrecord component.
-
Constructor Details
-
DebugBeeInfo
public DebugBeeInfo(@Nullable @Nullable org.cloudburstmc.math.vector.Vector3i hivePos, @Nullable @Nullable org.cloudburstmc.math.vector.Vector3i flowerPos, int travelTicks, List<org.cloudburstmc.math.vector.Vector3i> blacklistedHives) Creates an instance of aDebugBeeInforecord class.- Parameters:
hivePos- the value for thehivePosrecord componentflowerPos- the value for theflowerPosrecord componenttravelTicks- the value for thetravelTicksrecord componentblacklistedHives- the value for theblacklistedHivesrecord component
-
-
Method Details
-
getType
-
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
@Nullable public @Nullable org.cloudburstmc.math.vector.Vector3i hivePos()Returns the value of thehivePosrecord component.- Returns:
- the value of the
hivePosrecord component
-
flowerPos
@Nullable public @Nullable org.cloudburstmc.math.vector.Vector3i 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
-