Package net.minecraft.client.particle
Record Class ElderGuardianParticleRenderer.State
java.lang.Object
java.lang.Record
net.minecraft.client.particle.ElderGuardianParticleRenderer.State
- Record Components:
model-matrices-renderLayer-color-
- Enclosing class:
ElderGuardianParticleRenderer
@Environment(CLIENT)
private static record ElderGuardianParticleRenderer.State(Model<Unit> model, MatrixStack matrices, RenderLayer renderLayer, int color)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/particle/ElderGuardianParticleRenderer$Stateintermediary net/minecraft/class_11931$class_11932official hcb$anamed modelintermediary comp_4807official anamed matricesintermediary comp_4808official bnamed renderLayerintermediary comp_4809official cnamed colorintermediary comp_4810official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for thecolorrecord component.private final MatrixStackThe field for thematricesrecord component.The field for themodelrecord component.private final RenderLayerThe field for therenderLayerrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateState(Model<Unit> model, MatrixStack matrixStack, RenderLayer renderLayer, int int2) -
Method Summary
Modifier and TypeMethodDescriptionintcolor()Returns the value of thecolorrecord component.create(ElderGuardianParticle particle, Camera camera, float tickProgress) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.matrices()Returns the value of thematricesrecord component.model()Returns the value of themodelrecord component.Returns the value of therenderLayerrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
model
The field for themodelrecord component. -
matrices
The field for thematricesrecord component. -
renderLayer
The field for therenderLayerrecord component. -
color
private final int colorThe field for thecolorrecord component.
-
-
Constructor Details
-
State
-
-
Method Details
-
create
public static ElderGuardianParticleRenderer.State create(ElderGuardianParticle particle, Camera camera, float tickProgress) - Mappings:
Namespace Name Mixin selector named createLnet/minecraft/client/particle/ElderGuardianParticleRenderer$State;create(Lnet/minecraft/client/particle/ElderGuardianParticle;Lnet/minecraft/client/render/Camera;F)Lnet/minecraft/client/particle/ElderGuardianParticleRenderer$State;intermediary method_74277Lnet/minecraft/class_11931$class_11932;method_74277(Lnet/minecraft/class_11930;Lnet/minecraft/class_4184;F)Lnet/minecraft/class_11931$class_11932;official aLhcb$a;a(Lhca;Lfzh;F)Lhcb$a;
-
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 '=='. -
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
matrices
Returns the value of thematricesrecord component.- Returns:
- the value of the
matricesrecord component
-
renderLayer
Returns the value of therenderLayerrecord component.- Returns:
- the value of the
renderLayerrecord component
-
color
public int color()Returns the value of thecolorrecord component.- Returns:
- the value of the
colorrecord component
-