Package net.minecraft
Record Class class_10809
java.lang.Object
java.lang.Record
net.minecraft.class_10809
- Record Components:
usesBlockLight-particleIcon-transforms-
@Environment(CLIENT)
public record class_10809(boolean usesBlockLight, Sprite particleIcon, ModelTransformation transforms)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_10809intermediary net/minecraft/class_10809official hgenamed usesBlockLightintermediary comp_3766official anamed particleIconintermediary comp_3767official bnamed transformsintermediary comp_3768official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SpriteThe field for theparticleIconrecord component.private final ModelTransformationThe field for thetransformsrecord component.private final booleanThe field for theusesBlockLightrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_10809(boolean bool, Sprite sprite, ModelTransformation modelTransformation) -
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.voidmethod_68000(ItemRenderState.LayerRenderState layerRenderState, ModelTransformationMode modelTransformationMode) static class_10809method_68001(Baker baker, class_10819 class_10819, ModelTextures modelTextures) Returns the value of theparticleIconrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransformsrecord component.booleanReturns the value of theusesBlockLightrecord component.
-
Field Details
-
usesBlockLight
private final boolean usesBlockLightThe field for theusesBlockLightrecord component. -
particleIcon
The field for theparticleIconrecord component. -
transforms
The field for thetransformsrecord component.
-
-
Constructor Details
-
class_10809
-
-
Method Details
-
method_68001
public static class_10809 method_68001(Baker baker, class_10819 class_10819, ModelTextures modelTextures) - Mappings:
Namespace Name Mixin selector named method_68001Lnet/minecraft/class_10809;method_68001(Lnet/minecraft/client/render/model/Baker;Lnet/minecraft/class_10819;Lnet/minecraft/client/render/model/ModelTextures;)Lnet/minecraft/class_10809;intermediary method_68001Lnet/minecraft/class_10809;method_68001(Lnet/minecraft/class_7775;Lnet/minecraft/class_10819;Lnet/minecraft/class_10419;)Lnet/minecraft/class_10809;official aLhge;a(Lhls;Lhmc;Lgsg;)Lhge;
-
method_68000
public void method_68000(ItemRenderState.LayerRenderState layerRenderState, ModelTransformationMode modelTransformationMode) - Mappings:
Namespace Name Mixin selector named method_68000Lnet/minecraft/class_10809;method_68000(Lnet/minecraft/client/render/item/ItemRenderState$LayerRenderState;Lnet/minecraft/item/ModelTransformationMode;)Vintermediary method_68000Lnet/minecraft/class_10809;method_68000(Lnet/minecraft/class_10444$class_10446;Lnet/minecraft/class_811;)Vofficial aLhge;a(Lhgc$b;Lczi;)V
-
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 '=='. -
usesBlockLight
public boolean usesBlockLight()Returns the value of theusesBlockLightrecord component.- Returns:
- the value of the
usesBlockLightrecord component
-
particleIcon
Returns the value of theparticleIconrecord component.- Returns:
- the value of the
particleIconrecord component
-
transforms
Returns the value of thetransformsrecord component.- Returns:
- the value of the
transformsrecord component
-