Package net.minecraft
Record Class class_10511.class_10512
java.lang.Object
java.lang.Record
net.minecraft.class_10511.class_10512
- Record Components:
texture-openness-orientation-
- All Implemented Interfaces:
class_10515.class_10516
- Enclosing class:
class_10511
@Environment(CLIENT)
public static record class_10511.class_10512(Identifier texture, float openness, Direction orientation)
extends Record
implements class_10515.class_10516
- Mappings:
Namespace Name named net/minecraft/class_10511$class_10512intermediary net/minecraft/class_10511$class_10512official hdm$anamed textureintermediary comp_3422official bnamed opennessintermediary comp_3423official cnamed orientationintermediary comp_3424official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<class_10511.class_10512> private final floatThe field for theopennessrecord component.private final DirectionThe field for theorientationrecord component.private final IdentifierThe field for thetexturerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_10512(DyeColor dyeColor) class_10512(Identifier identifier, float float2, Direction direction) -
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.com.mojang.serialization.MapCodec<class_10511.class_10512> class_10515<?> method_65698(EntityModelLoader entityModelLoader) floatopenness()Returns the value of theopennessrecord component.Returns the value of theorientationrecord 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. -
orientation
The field for theorientationrecord component. -
field_55448
- Mappings:
Namespace Name Mixin selector named field_55448Lnet/minecraft/class_10511$class_10512;field_55448:Lcom/mojang/serialization/MapCodec;intermediary field_55448Lnet/minecraft/class_10511$class_10512;field_55448:Lcom/mojang/serialization/MapCodec;official aLhdm$a;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_10512
public class_10512() -
class_10512
-
class_10512
-
-
Method Details
-
method_65696
- Specified by:
method_65696in interfaceclass_10515.class_10516- Mappings:
Namespace Name Mixin selector named method_65696Lnet/minecraft/class_10515$class_10516;method_65696()Lcom/mojang/serialization/MapCodec;intermediary method_65696Lnet/minecraft/class_10515$class_10516;method_65696()Lcom/mojang/serialization/MapCodec;official aLhdo$a;a()Lcom/mojang/serialization/MapCodec;
-
method_65698
- Specified by:
method_65698in interfaceclass_10515.class_10516- Mappings:
Namespace Name Mixin selector named method_65698Lnet/minecraft/class_10515$class_10516;method_65698(Lnet/minecraft/client/render/entity/model/EntityModelLoader;)Lnet/minecraft/class_10515;intermediary method_65698Lnet/minecraft/class_10515$class_10516;method_65698(Lnet/minecraft/class_5599;)Lnet/minecraft/class_10515;official aLhdo$a;a(Lgey;)Lhdo;
-
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
-
orientation
Returns the value of theorientationrecord component.- Returns:
- the value of the
orientationrecord component
-