Package net.minecraft.entity.passive
Record Class FrogVariant
java.lang.Object
java.lang.Record
net.minecraft.entity.passive.FrogVariant
- Record Components:
texture-
- Mappings:
Namespace Name official ceaintermediary net/minecraft/class_7106named net/minecraft/entity/passive/FrogVariantofficial dintermediary comp_707named texture
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RegistryKey<FrogVariant> static final RegistryKey<FrogVariant> private final IdentifierThe field for thetexturerecord component.static final RegistryKey<FrogVariant> -
Constructor Summary
Constructors -
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.private static RegistryKey<FrogVariant> private static FrogVariantregister(Registry<FrogVariant> registry, RegistryKey<FrogVariant> key, String id) static FrogVariantregisterAndGetDefault(Registry<FrogVariant> registry) 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. -
TEMPERATE
- Mappings:
Namespace Name Mixin selector official aLcea;a:Lakg;intermediary field_37462Lnet/minecraft/class_7106;field_37462:Lnet/minecraft/class_5321;named TEMPERATELnet/minecraft/entity/passive/FrogVariant;TEMPERATE:Lnet/minecraft/registry/RegistryKey;
-
WARM
- Mappings:
Namespace Name Mixin selector official bLcea;b:Lakg;intermediary field_37463Lnet/minecraft/class_7106;field_37463:Lnet/minecraft/class_5321;named WARMLnet/minecraft/entity/passive/FrogVariant;WARM:Lnet/minecraft/registry/RegistryKey;
-
COLD
- Mappings:
Namespace Name Mixin selector official cLcea;c:Lakg;intermediary field_37464Lnet/minecraft/class_7106;field_37464:Lnet/minecraft/class_5321;named COLDLnet/minecraft/entity/passive/FrogVariant;COLD:Lnet/minecraft/registry/RegistryKey;
-
-
Constructor Details
-
FrogVariant
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official aLcea;a(Ljava/lang/String;)Lakg;intermediary method_58368Lnet/minecraft/class_7106;method_58368(Ljava/lang/String;)Lnet/minecraft/class_5321;named ofLnet/minecraft/entity/passive/FrogVariant;of(Ljava/lang/String;)Lnet/minecraft/registry/RegistryKey;
-
registerAndGetDefault
- Mappings:
Namespace Name Mixin selector official aLcea;a(Ljj;)Lcea;intermediary method_58369Lnet/minecraft/class_7106;method_58369(Lnet/minecraft/class_2378;)Lnet/minecraft/class_7106;named registerAndGetDefaultLnet/minecraft/entity/passive/FrogVariant;registerAndGetDefault(Lnet/minecraft/registry/Registry;)Lnet/minecraft/entity/passive/FrogVariant;
-
register
private static FrogVariant register(Registry<FrogVariant> registry, RegistryKey<FrogVariant> key, String id) - Mappings:
Namespace Name Mixin selector official aLcea;a(Ljj;Lakg;Ljava/lang/String;)Lcea;intermediary method_43091Lnet/minecraft/class_7106;method_43091(Lnet/minecraft/class_2378;Lnet/minecraft/class_5321;Ljava/lang/String;)Lnet/minecraft/class_7106;named registerLnet/minecraft/entity/passive/FrogVariant;register(Lnet/minecraft/registry/Registry;Lnet/minecraft/registry/RegistryKey;Ljava/lang/String;)Lnet/minecraft/entity/passive/FrogVariant;
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
texture
Returns the value of thetexturerecord component.- Returns:
- the value of the
texturerecord component
-