Package net.minecraft.server.world
Record Class LevelPrioritizedQueue.Entry
java.lang.Object
java.lang.Record
net.minecraft.server.world.LevelPrioritizedQueue.Entry
- Record Components:
chunkPos
-tasks
-
- Enclosing class:
LevelPrioritizedQueue
public static record LevelPrioritizedQueue.Entry(long chunkPos, List<Runnable> tasks)
extends Record
- Mappings:
Namespace Name named net/minecraft/server/world/LevelPrioritizedQueue$Entry
intermediary net/minecraft/class_3899$class_10172
official arp$a
named chunkPos
intermediary comp_3140
official a
named tasks
intermediary comp_3141
official b
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
chunkPos()
Returns the value of thechunkPos
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.tasks()
Returns the value of thetasks
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
Entry
-
-
Method Details
-
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 '=='. -
chunkPos
public long chunkPos()Returns the value of thechunkPos
record component.- Returns:
- the value of the
chunkPos
record component
-
tasks
Returns the value of thetasks
record component.- Returns:
- the value of the
tasks
record component
-