Package net.minecraft.world.chunk
Record Class Chunk.TickSchedulers
java.lang.Object
java.lang.Record
net.minecraft.world.chunk.Chunk.TickSchedulers
- Record Components:
- blocks-
- fluids-
- Enclosing class:
- Chunk
public static record Chunk.TickSchedulers(SerializableTickScheduler<Block> blocks, SerializableTickScheduler<Fluid> fluids)
extends Record
- Mappings:
- Namespace - Name - official - ddx$a- intermediary - net/minecraft/class_2791$class_6745- named - net/minecraft/world/chunk/Chunk$TickSchedulers- official - a- intermediary - comp_239- named - blocks- official - b- intermediary - comp_240- named - fluids
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final SerializableTickScheduler<Block>The field for theblocksrecord component.private final SerializableTickScheduler<Fluid>The field for thefluidsrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionTickSchedulers(SerializableTickScheduler<Block> serializableTickScheduler, SerializableTickScheduler<Fluid> serializableTickScheduler2) 
- 
Method SummaryModifier and TypeMethodDescriptionblocks()Returns the value of theblocksrecord component.final booleanIndicates whether some other object is "equal to" this one.fluids()Returns the value of thefluidsrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
- 
Field Details
- 
Constructor Details- 
TickSchedulerspublic TickSchedulers(SerializableTickScheduler<Block> serializableTickScheduler, SerializableTickScheduler<Fluid> serializableTickScheduler2) 
 
- 
- 
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. All components in this record class are compared withObjects::equals(Object,Object).
- 
blocksReturns the value of theblocksrecord component.- Returns:
- the value of the blocksrecord component
 
- 
fluidsReturns the value of thefluidsrecord component.- Returns:
- the value of the fluidsrecord component
 
 
-