Record Class ShulkerBoxModelRenderer.Unbaked
java.lang.Object
java.lang.Record
net.minecraft.client.render.item.model.special.ShulkerBoxModelRenderer.Unbaked
- Record Components:
texture-openness-facing-
- All Implemented Interfaces:
SpecialModelRenderer.Unbaked
- Enclosing class:
ShulkerBoxModelRenderer
@Environment(CLIENT)
public static record ShulkerBoxModelRenderer.Unbaked(Identifier texture, float openness, Direction facing)
extends Record
implements SpecialModelRenderer.Unbaked
- Mappings:
Namespace Name named net/minecraft/client/render/item/model/special/ShulkerBoxModelRenderer$Unbakedintermediary net/minecraft/class_10511$class_10512official hjs$anamed textureintermediary comp_3422official bnamed opennessintermediary comp_3423official cnamed facingintermediary comp_3424official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<ShulkerBoxModelRenderer.Unbaked> private final DirectionThe field for thefacingrecord component.private final floatThe field for theopennessrecord component.private final IdentifierThe field for thetexturerecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbake(LoadedEntityModels entityModels) final booleanIndicates whether some other object is "equal to" this one.facing()Returns the value of thefacingrecord component.com.mojang.serialization.MapCodec<ShulkerBoxModelRenderer.Unbaked> getCodec()final inthashCode()Returns a hash code value for this object.floatopenness()Returns the value of theopennessrecord component.texture()Returns the value of thetexturerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
texture
The field for thetexturerecord component. -
openness
private final float opennessThe field for theopennessrecord component. -
facing
The field for thefacingrecord component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/client/render/item/model/special/ShulkerBoxModelRenderer$Unbaked;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_55448Lnet/minecraft/class_10511$class_10512;field_55448:Lcom/mojang/serialization/MapCodec;official aLhjs$a;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
Unbaked
public Unbaked() -
Unbaked
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/item/model/special/ShulkerBoxModelRenderer$Unbaked;<init>(Lnet/minecraft/util/DyeColor;)Vintermediary <init>Lnet/minecraft/class_10511$class_10512;<init>(Lnet/minecraft/class_1767;)Vofficial <init>Lhjs$a;<init>(Lczi;)V
-
Unbaked
-
-
Method Details
-
getCodec
- Specified by:
getCodecin interfaceSpecialModelRenderer.Unbaked- Mappings:
Namespace Name Mixin selector named getCodecLnet/minecraft/client/render/item/model/special/SpecialModelRenderer$Unbaked;getCodec()Lcom/mojang/serialization/MapCodec;intermediary method_65696Lnet/minecraft/class_10515$class_10516;method_65696()Lcom/mojang/serialization/MapCodec;official aLhju$a;a()Lcom/mojang/serialization/MapCodec;
-
bake
- Specified by:
bakein interfaceSpecialModelRenderer.Unbaked- Mappings:
Namespace Name Mixin selector named bakeLnet/minecraft/client/render/item/model/special/SpecialModelRenderer$Unbaked;bake(Lnet/minecraft/client/render/entity/model/LoadedEntityModels;)Lnet/minecraft/client/render/item/model/special/SpecialModelRenderer;intermediary method_65698Lnet/minecraft/class_10515$class_10516;method_65698(Lnet/minecraft/class_5599;)Lnet/minecraft/class_10515;official aLhju$a;a(Lgkn;)Lhju;
-
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 '=='. -
texture
Returns the value of thetexturerecord component.- Returns:
- the value of the
texturerecord component
-
openness
public float openness()Returns the value of theopennessrecord component.- Returns:
- the value of the
opennessrecord component
-
facing
Returns the value of thefacingrecord component.- Returns:
- the value of the
facingrecord component
-