Record Class FeatureFrameContext
java.lang.Object
java.lang.Record
net.minecraft.client.renderer.feature.FeatureFrameContext
public record FeatureFrameContext(OptionsRenderState options, Font font, BlockStateModelSet blockStateModelSet, BlockColors blockColors, TextureManager textureManager, AtlasManager atlasManager, GpuTextureView lightmap, StagedVertexBuffer stagedVertexBuffer)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AtlasManagerThe field for theatlasManagerrecord component.private final BlockColorsThe field for theblockColorsrecord component.private final BlockStateModelSetThe field for theblockStateModelSetrecord component.private final FontThe field for thefontrecord component.private final GpuTextureViewThe field for thelightmaprecord component.private final OptionsRenderStateThe field for theoptionsrecord component.private final StagedVertexBufferThe field for thestagedVertexBufferrecord component.private final TextureManagerThe field for thetextureManagerrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionFeatureFrameContext(OptionsRenderState options, Font font, BlockStateModelSet blockStateModelSet, BlockColors blockColors, TextureManager textureManager, AtlasManager atlasManager, GpuTextureView lightmap, StagedVertexBuffer stagedVertexBuffer) Creates an instance of aFeatureFrameContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theatlasManagerrecord component.Returns the value of theblockColorsrecord component.Returns the value of theblockStateModelSetrecord component.final booleanIndicates whether some other object is "equal to" this one.font()Returns the value of thefontrecord component.final inthashCode()Returns a hash code value for this object.lightmap()Returns the value of thelightmaprecord component.options()Returns the value of theoptionsrecord component.Returns the value of thestagedVertexBufferrecord component.Returns the value of thetextureManagerrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
options
The field for theoptionsrecord component. -
font
The field for thefontrecord component. -
blockStateModelSet
The field for theblockStateModelSetrecord component. -
blockColors
The field for theblockColorsrecord component. -
textureManager
The field for thetextureManagerrecord component. -
atlasManager
The field for theatlasManagerrecord component. -
lightmap
The field for thelightmaprecord component. -
stagedVertexBuffer
The field for thestagedVertexBufferrecord component.
-
-
Constructor Details
-
FeatureFrameContext
public FeatureFrameContext(OptionsRenderState options, Font font, BlockStateModelSet blockStateModelSet, BlockColors blockColors, TextureManager textureManager, AtlasManager atlasManager, GpuTextureView lightmap, StagedVertexBuffer stagedVertexBuffer) Creates an instance of aFeatureFrameContextrecord class.- Parameters:
options- the value for theoptionsrecord componentfont- the value for thefontrecord componentblockStateModelSet- the value for theblockStateModelSetrecord componentblockColors- the value for theblockColorsrecord componenttextureManager- the value for thetextureManagerrecord componentatlasManager- the value for theatlasManagerrecord componentlightmap- the value for thelightmaprecord componentstagedVertexBuffer- the value for thestagedVertexBufferrecord 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). -
options
Returns the value of theoptionsrecord component.- Returns:
- the value of the
optionsrecord component
-
font
Returns the value of thefontrecord component.- Returns:
- the value of the
fontrecord component
-
blockStateModelSet
Returns the value of theblockStateModelSetrecord component.- Returns:
- the value of the
blockStateModelSetrecord component
-
blockColors
Returns the value of theblockColorsrecord component.- Returns:
- the value of the
blockColorsrecord component
-
textureManager
Returns the value of thetextureManagerrecord component.- Returns:
- the value of the
textureManagerrecord component
-
atlasManager
Returns the value of theatlasManagerrecord component.- Returns:
- the value of the
atlasManagerrecord component
-
lightmap
Returns the value of thelightmaprecord component.- Returns:
- the value of the
lightmaprecord component
-
stagedVertexBuffer
Returns the value of thestagedVertexBufferrecord component.- Returns:
- the value of the
stagedVertexBufferrecord component
-