Package net.minecraft.client.particle
Record Class BillboardParticleSubmittable.Layer
java.lang.Object
java.lang.Record
net.minecraft.client.particle.BillboardParticleSubmittable.Layer
- Record Components:
vertexOffset-indexCount-
- Enclosing class:
BillboardParticleSubmittable
@Environment(CLIENT)
public static record BillboardParticleSubmittable.Layer(int vertexOffset, int indexCount)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/particle/BillboardParticleSubmittable$Layerintermediary net/minecraft/class_11944$class_12042official ibt$cnamed vertexOffsetintermediary comp_4900official anamed indexCountintermediary comp_4901official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for theindexCountrecord component.private final intThe field for thevertexOffsetrecord 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.intReturns the value of theindexCountrecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of thevertexOffsetrecord component.
-
Field Details
-
vertexOffset
private final int vertexOffsetThe field for thevertexOffsetrecord component. -
indexCount
private final int indexCountThe field for theindexCountrecord component.
-
-
Constructor Details
-
Layer
public Layer(int int2, int int3)
-
-
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 with '=='. -
vertexOffset
public int vertexOffset()Returns the value of thevertexOffsetrecord component.- Returns:
- the value of the
vertexOffsetrecord component
-
indexCount
public int indexCount()Returns the value of theindexCountrecord component.- Returns:
- the value of the
indexCountrecord component
-