Record Class ChunkDataEvent
java.lang.Object
java.lang.Record
meteordevelopment.meteorclient.events.world.ChunkDataEvent
-
Constructor Summary
ConstructorsConstructorDescriptionChunkDataEvent(net.minecraft.world.level.chunk.LevelChunk chunk) Creates an instance of aChunkDataEventrecord class. -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.chunk.LevelChunkchunk()Returns the value of thechunkrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ChunkDataEvent
public ChunkDataEvent(net.minecraft.world.level.chunk.LevelChunk chunk) Creates an instance of aChunkDataEventrecord class.- Parameters:
chunk- the value for thechunkrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
chunk
public net.minecraft.world.level.chunk.LevelChunk chunk()Returns the value of thechunkrecord component.- Returns:
- the value of the
chunkrecord component
-