Record Class OrderedRenderCommandQueueImpl.BlendedModelCommand<S>
java.lang.Object
java.lang.Record
net.minecraft.client.render.command.OrderedRenderCommandQueueImpl.BlendedModelCommand<S>
- Record Components:
model-renderType-position-
- Enclosing class:
OrderedRenderCommandQueueImpl
@Environment(CLIENT)
public static record OrderedRenderCommandQueueImpl.BlendedModelCommand<S>(OrderedRenderCommandQueueImpl.ModelCommand<S> model, RenderLayer renderType, Vector3f position)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/command/OrderedRenderCommandQueueImpl$BlendedModelCommandintermediary net/minecraft/class_11661$class_11744official hgz$nnamed modelintermediary comp_4615official anamed renderTypeintermediary comp_4616official bnamed positionintermediary comp_4618official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final OrderedRenderCommandQueueImpl.ModelCommand<S> The field for themodelrecord component.private final Vector3fThe field for thepositionrecord component.private final RenderLayerThe field for therenderTyperecord component. -
Constructor Summary
ConstructorsConstructorDescriptionBlendedModelCommand(OrderedRenderCommandQueueImpl.ModelCommand<S> modelCommand, RenderLayer renderLayer, Vector3f vector3f) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.model()Returns the value of themodelrecord component.position()Returns the value of thepositionrecord component.Returns the value of therenderTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
model
The field for themodelrecord component. -
renderType
The field for therenderTyperecord component. -
position
The field for thepositionrecord component.
-
-
Constructor Details
-
BlendedModelCommand
public BlendedModelCommand(OrderedRenderCommandQueueImpl.ModelCommand<S> modelCommand, RenderLayer renderLayer, Vector3f vector3f)
-
-
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). -
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
renderType
Returns the value of therenderTyperecord component.- Returns:
- the value of the
renderTyperecord component
-
position
Returns the value of thepositionrecord component.- Returns:
- the value of the
positionrecord component
-