Package net.minecraft.client.particle
Record Class BillboardParticleSubmittable.Buffers
java.lang.Object
java.lang.Record
net.minecraft.client.particle.BillboardParticleSubmittable.Buffers
- Record Components:
indexCount-dynamicTransforms-layers-
- Enclosing class:
BillboardParticleSubmittable
@Environment(CLIENT)
public static record BillboardParticleSubmittable.Buffers(int indexCount, GpuBufferSlice dynamicTransforms, Map<BillboardParticle.RenderType,BillboardParticleSubmittable.Layer> layers)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/particle/BillboardParticleSubmittable$Buffersintermediary net/minecraft/class_11944$class_12041official ibt$bnamed indexCountintermediary comp_4897official anamed dynamicTransformsintermediary comp_4898official bnamed layersintermediary comp_4899official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final GpuBufferSliceThe field for thedynamicTransformsrecord component.private final intThe field for theindexCountrecord component.private final Map<BillboardParticle.RenderType, BillboardParticleSubmittable.Layer> The field for thelayersrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionBuffers(int int2, GpuBufferSlice gpuBufferSlice, Map<BillboardParticle.RenderType, BillboardParticleSubmittable.Layer> map) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedynamicTransformsrecord component.final 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.layers()Returns the value of thelayersrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
indexCount
private final int indexCountThe field for theindexCountrecord component. -
dynamicTransforms
The field for thedynamicTransformsrecord component. -
layers
The field for thelayersrecord component.
-
-
Constructor Details
-
Buffers
public Buffers(int int2, GpuBufferSlice gpuBufferSlice, Map<BillboardParticle.RenderType, BillboardParticleSubmittable.Layer> map)
-
-
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 '=='. -
indexCount
public int indexCount()Returns the value of theindexCountrecord component.- Returns:
- the value of the
indexCountrecord component
-
dynamicTransforms
Returns the value of thedynamicTransformsrecord component.- Returns:
- the value of the
dynamicTransformsrecord component
-
layers
Returns the value of thelayersrecord component.- Returns:
- the value of the
layersrecord component
-