Package net.minecraft
Record Class class_10448.class_10450
java.lang.Object
java.lang.Record
net.minecraft.class_10448.class_10450
- Record Components:
property-scale-entries-fallback-
- All Implemented Interfaces:
class_10439.class_10441,class_10526
- Enclosing class:
class_10448
@Environment(CLIENT)
public static record class_10448.class_10450(ModelPredicateProvider property, float scale, List<class_10448.class_10449> entries, Optional<class_10439.class_10441> fallback)
extends Record
implements class_10439.class_10441
- Mappings:
Namespace Name named net/minecraft/class_10448$class_10450intermediary net/minecraft/class_10448$class_10450official hbn$bnamed propertyintermediary comp_3395official bnamed scaleintermediary comp_3396official cnamed entriesintermediary comp_3397official dnamed fallbackintermediary comp_3398official e
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_10526
class_10526.Resolver -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<class_10448.class_10449> The field for theentriesrecord component.private final Optional<class_10439.class_10441> The field for thefallbackrecord component.static final com.mojang.serialization.MapCodec<class_10448.class_10450> private final ModelPredicateProviderThe field for thepropertyrecord component.private final floatThe field for thescalerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_10450(ModelPredicateProvider modelPredicateProvider, float float2, List<class_10448.class_10449> list, Optional<class_10439.class_10441> optional) -
Method Summary
Modifier and TypeMethodDescriptionentries()Returns the value of theentriesrecord component.final booleanIndicates whether some other object is "equal to" this one.fallback()Returns the value of thefallbackrecord component.final inthashCode()Returns a hash code value for this object.com.mojang.serialization.MapCodec<class_10448.class_10450> method_65587(class_10439.class_10440 class_10440) property()Returns the value of thepropertyrecord component.voidresolve(class_10526.Resolver resolver) floatscale()Returns the value of thescalerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
property
The field for thepropertyrecord component. -
scale
private final float scaleThe field for thescalerecord component. -
entries
The field for theentriesrecord component. -
fallback
The field for thefallbackrecord component. -
field_55361
- Mappings:
Namespace Name Mixin selector named field_55361Lnet/minecraft/class_10448$class_10450;field_55361:Lcom/mojang/serialization/MapCodec;intermediary field_55361Lnet/minecraft/class_10448$class_10450;field_55361:Lcom/mojang/serialization/MapCodec;official aLhbn$b;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_10450
public class_10450(ModelPredicateProvider modelPredicateProvider, float float2, List<class_10448.class_10449> list, Optional<class_10439.class_10441> optional)
-
-
Method Details
-
method_65585
- Specified by:
method_65585in interfaceclass_10439.class_10441- Mappings:
Namespace Name Mixin selector named method_65585Lnet/minecraft/class_10439$class_10441;method_65585()Lcom/mojang/serialization/MapCodec;intermediary method_65585Lnet/minecraft/class_10439$class_10441;method_65585()Lcom/mojang/serialization/MapCodec;official aLhbi$b;a()Lcom/mojang/serialization/MapCodec;
-
method_65587
- Specified by:
method_65587in interfaceclass_10439.class_10441- Mappings:
Namespace Name Mixin selector named method_65587Lnet/minecraft/class_10439$class_10441;method_65587(Lnet/minecraft/class_10439$class_10440;)Lnet/minecraft/class_10439;intermediary method_65587Lnet/minecraft/class_10439$class_10441;method_65587(Lnet/minecraft/class_10439$class_10440;)Lnet/minecraft/class_10439;official aLhbi$b;a(Lhbi$a;)Lhbi;
-
resolve
- Specified by:
resolvein interfaceclass_10526- Mappings:
Namespace Name Mixin selector named resolveLnet/minecraft/class_10526;resolve(Lnet/minecraft/class_10526$Resolver;)Vintermediary method_62326Lnet/minecraft/class_10526;method_62326(Lnet/minecraft/class_10526$class_10103;)Vofficial aLhhd;a(Lhhd$a;)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 '=='. -
property
Returns the value of thepropertyrecord component.- Returns:
- the value of the
propertyrecord component
-
scale
public float scale()Returns the value of thescalerecord component.- Returns:
- the value of the
scalerecord component
-
entries
Returns the value of theentriesrecord component.- Returns:
- the value of the
entriesrecord component
-
fallback
Returns the value of thefallbackrecord component.- Returns:
- the value of the
fallbackrecord component
-