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(List<Tick<Block>> blocks, List<Tick<Fluid>> fluids)
extends Record
- Mappings:
Namespace Name named net/minecraft/world/chunk/Chunk$TickSchedulers
intermediary net/minecraft/class_2791$class_6745
official dzp$a
named blocks
intermediary comp_239
official a
named fluids
intermediary comp_240
official b
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionblocks()
Returns the value of theblocks
record component.final boolean
Indicates whether some other object is "equal to" this one.fluids()
Returns the value of thefluids
record component.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
TickSchedulers
-
-
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. All components in this record class are compared withObjects::equals(Object,Object)
. -
blocks
Returns the value of theblocks
record component.- Returns:
- the value of the
blocks
record component
-
fluids
Returns the value of thefluids
record component.- Returns:
- the value of the
fluids
record component
-