Record Class DebugBeeInfo
java.lang.Object
java.lang.Record
net.minestom.server.network.debug.info.DebugBeeInfo
-
Field Summary
Fields -
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 theflowerPositionrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thehivePositionrecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of thetravelTicksrecord component.
-
Field Details
-
SERIALIZER
-
-
Constructor Details
-
DebugBeeInfo
public DebugBeeInfo(@Nullable @Nullable Point hivePosition, @Nullable @Nullable Point flowerPosition, int travelTicks, List<Point> blacklistedHives) Creates an instance of aDebugBeeInforecord class.- Parameters:
hivePosition- the value for thehivePositionrecord componentflowerPosition- the value for theflowerPositionrecord componenttravelTicks- the value for thetravelTicksrecord componentblacklistedHives- the value for theblacklistedHivesrecord component
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
hivePosition
-
flowerPosition
-
travelTicks
public int travelTicks()Returns the value of thetravelTicksrecord component.- Returns:
- the value of the
travelTicksrecord component
-
blacklistedHives
-