Record Class OrderedRenderCommandQueueImpl.BlockStateModelCommand
java.lang.Object
java.lang.Record
net.minecraft.client.render.command.OrderedRenderCommandQueueImpl.BlockStateModelCommand
- Record Components:
matricesEntry-renderLayer-model-r-g-b-lightCoords-overlayCoords-outlineColor-
- Enclosing class:
OrderedRenderCommandQueueImpl
@Environment(CLIENT)
public static record OrderedRenderCommandQueueImpl.BlockStateModelCommand(MatrixStack.Entry matricesEntry, RenderLayer renderLayer, BlockStateModel model, float r, float g, float b, int lightCoords, int overlayCoords, int outlineColor)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/command/OrderedRenderCommandQueueImpl$BlockStateModelCommandintermediary net/minecraft/class_11661$class_11662official hgz$anamed matricesEntryintermediary comp_4476official anamed renderLayerintermediary comp_4477official bnamed modelintermediary comp_4478official cnamed rintermediary comp_4479official dnamed gintermediary comp_4480official enamed bintermediary comp_4481official fnamed lightCoordsintermediary comp_4482official gnamed overlayCoordsintermediary comp_4483official hnamed outlineColorintermediary comp_4659official i
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final floatThe field for thebrecord component.private final floatThe field for thegrecord component.private final intThe field for thelightCoordsrecord component.private final MatrixStack.EntryThe field for thematricesEntryrecord component.private final BlockStateModelThe field for themodelrecord component.private final intThe field for theoutlineColorrecord component.private final intThe field for theoverlayCoordsrecord component.private final floatThe field for therrecord component.private final RenderLayerThe field for therenderLayerrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionBlockStateModelCommand(MatrixStack.Entry entry, RenderLayer renderLayer, BlockStateModel blockStateModel, float float2, float float3, float float4, int int2, int int3, int int4) -
Method Summary
Modifier and TypeMethodDescriptionfloatb()Returns the value of thebrecord component.final booleanIndicates whether some other object is "equal to" this one.floatg()Returns the value of thegrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of thelightCoordsrecord component.Returns the value of thematricesEntryrecord component.model()Returns the value of themodelrecord component.intReturns the value of theoutlineColorrecord component.intReturns the value of theoverlayCoordsrecord component.floatr()Returns the value of therrecord component.Returns the value of therenderLayerrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
matricesEntry
The field for thematricesEntryrecord component. -
renderLayer
The field for therenderLayerrecord component. -
model
The field for themodelrecord component. -
r
private final float rThe field for therrecord component. -
g
private final float gThe field for thegrecord component. -
b
private final float bThe field for thebrecord component. -
lightCoords
private final int lightCoordsThe field for thelightCoordsrecord component. -
overlayCoords
private final int overlayCoordsThe field for theoverlayCoordsrecord component. -
outlineColor
private final int outlineColorThe field for theoutlineColorrecord component.
-
-
Constructor Details
-
BlockStateModelCommand
public BlockStateModelCommand(MatrixStack.Entry entry, RenderLayer renderLayer, BlockStateModel blockStateModel, float float2, float float3, float float4, int int2, int int3, int int4)
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
matricesEntry
Returns the value of thematricesEntryrecord component.- Returns:
- the value of the
matricesEntryrecord component
-
renderLayer
Returns the value of therenderLayerrecord component.- Returns:
- the value of the
renderLayerrecord component
-
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
r
public float r()Returns the value of therrecord component.- Returns:
- the value of the
rrecord component
-
g
public float g()Returns the value of thegrecord component.- Returns:
- the value of the
grecord component
-
b
public float b()Returns the value of thebrecord component.- Returns:
- the value of the
brecord component
-
lightCoords
public int lightCoords()Returns the value of thelightCoordsrecord component.- Returns:
- the value of the
lightCoordsrecord component
-
overlayCoords
public int overlayCoords()Returns the value of theoverlayCoordsrecord component.- Returns:
- the value of the
overlayCoordsrecord component
-
outlineColor
public int outlineColor()Returns the value of theoutlineColorrecord component.- Returns:
- the value of the
outlineColorrecord component
-