Record Class SceneMeshFeatureRenderer.Layer
java.lang.Object
java.lang.Record
guideme.scene.SceneMeshFeatureRenderer.Layer
- Enclosing class:
SceneMeshFeatureRenderer
public static record SceneMeshFeatureRenderer.Layer(net.minecraft.client.renderer.chunk.ChunkSectionLayer layer, guideme.scene.RecordingVertexConsumer geometry)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionLayer(net.minecraft.client.renderer.chunk.ChunkSectionLayer layer, guideme.scene.RecordingVertexConsumer geometry) Creates an instance of aLayerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.guideme.scene.RecordingVertexConsumergeometry()Returns the value of thegeometryrecord component.final inthashCode()Returns a hash code value for this object.net.minecraft.client.renderer.chunk.ChunkSectionLayerlayer()Returns the value of thelayerrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Layer
public Layer(net.minecraft.client.renderer.chunk.ChunkSectionLayer layer, guideme.scene.RecordingVertexConsumer geometry) Creates an instance of aLayerrecord class.- Parameters:
layer- the value for thelayerrecord componentgeometry- the value for thegeometryrecord 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). -
layer
public net.minecraft.client.renderer.chunk.ChunkSectionLayer layer()Returns the value of thelayerrecord component.- Returns:
- the value of the
layerrecord component
-
geometry
public guideme.scene.RecordingVertexConsumer geometry()Returns the value of thegeometryrecord component.- Returns:
- the value of the
geometryrecord component
-