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 - aql$a- named - chunkPos- intermediary - comp_3140- official - a- named - tasks- intermediary - comp_3141- official - b
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionlongchunkPos()Returns the value of thechunkPosrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.tasks()Returns the value of thetasksrecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details
- 
Constructor Details- 
Entry
 
- 
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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 '=='.
- 
chunkPospublic long chunkPos()Returns the value of thechunkPosrecord component.- Returns:
- the value of the chunkPosrecord component
 
- 
tasksReturns the value of thetasksrecord component.- Returns:
- the value of the tasksrecord component
 
 
-