Record Class BatchingEntityRenderCommandQueue.RenderLayerAndOrder
java.lang.Object
java.lang.Record
net.minecraft.client.render.entity.command.BatchingEntityRenderCommandQueue.RenderLayerAndOrder
- Record Components:
renderType-order-
- Enclosing class:
BatchingEntityRenderCommandQueue
@Environment(CLIENT)
private static record BatchingEntityRenderCommandQueue.RenderLayerAndOrder(RenderLayer renderType, int order)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/entity/command/BatchingEntityRenderCommandQueue$RenderLayerAndOrderintermediary net/minecraft/class_11661$class_11671official hbp$jnamed renderTypeintermediary comp_4512official anamed orderintermediary comp_4513official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for theorderrecord component.private final RenderLayerThe field for therenderTyperecord component. -
Constructor Summary
Constructors -
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.intorder()Returns the value of theorderrecord component.Returns the value of therenderTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
renderType
The field for therenderTyperecord component. -
order
private final int orderThe field for theorderrecord component.
-
-
Constructor Details
-
RenderLayerAndOrder
RenderLayerAndOrder(RenderLayer renderLayer, int int2)
-
-
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 '=='. -
renderType
Returns the value of therenderTyperecord component.- Returns:
- the value of the
renderTyperecord component
-
order
public int order()Returns the value of theorderrecord component.- Returns:
- the value of the
orderrecord component
-