Package net.minecraft.client.render
Record Class ChunkRenderingDataPreparer.PreparerState
java.lang.Object
java.lang.Record
net.minecraft.client.render.ChunkRenderingDataPreparer.PreparerState
- Record Components:
storage
-events
-
- Enclosing class:
ChunkRenderingDataPreparer
@Environment(CLIENT)
private static record ChunkRenderingDataPreparer.PreparerState(ChunkRenderingDataPreparer.RenderableChunks storage, ChunkRenderingDataPreparer.Events events)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/ChunkRenderingDataPreparer$PreparerState
intermediary net/minecraft/class_8679$class_8681
official glz$b
named storage
intermediary comp_1620
official a
named events
intermediary comp_1621
official b
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ChunkRenderingDataPreparer.Events
The field for theevents
record component.private final ChunkRenderingDataPreparer.RenderableChunks
The field for thestorage
record component. -
Constructor Summary
ModifierConstructorDescription(package private)
PreparerState
(BuiltChunkStorage storage) private
PreparerState
(ChunkRenderingDataPreparer.RenderableChunks renderableChunks, ChunkRenderingDataPreparer.Events events) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.events()
Returns the value of theevents
record component.final int
hashCode()
Returns a hash code value for this object.storage()
Returns the value of thestorage
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
PreparerState
PreparerState(BuiltChunkStorage storage) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/ChunkRenderingDataPreparer$PreparerState;<init>(Lnet/minecraft/client/render/BuiltChunkStorage;)V
intermediary <init>
Lnet/minecraft/class_8679$class_8681;<init>(Lnet/minecraft/class_769;)V
official <init>
Lglz$b;<init>(Lgmi;)V
-
PreparerState
private PreparerState(ChunkRenderingDataPreparer.RenderableChunks renderableChunks, ChunkRenderingDataPreparer.Events events)
-
-
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)
. -
storage
Returns the value of thestorage
record component.- Returns:
- the value of the
storage
record component
-
events
Returns the value of theevents
record component.- Returns:
- the value of the
events
record component
-