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 named net/minecraft/entity/passive/FrogVariant
intermediary net/minecraft/class_7106
official cfs
named texture
intermediary comp_707
official d
-
Field Summary
Modifier and TypeFieldDescriptionstatic final RegistryKey
<FrogVariant> static final RegistryKey
<FrogVariant> private final Identifier
The field for thetexture
record component.static final RegistryKey
<FrogVariant> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.private static RegistryKey
<FrogVariant> private static FrogVariant
register
(Registry<FrogVariant> registry, RegistryKey<FrogVariant> key, String id) static FrogVariant
registerAndGetDefault
(Registry<FrogVariant> registry) texture()
Returns the value of thetexture
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
texture
The field for thetexture
record component. -
TEMPERATE
- Mappings:
Namespace Name Mixin selector named TEMPERATE
Lnet/minecraft/entity/passive/FrogVariant;TEMPERATE:Lnet/minecraft/registry/RegistryKey;
intermediary field_37462
Lnet/minecraft/class_7106;field_37462:Lnet/minecraft/class_5321;
official a
Lcfs;a:Lale;
-
WARM
- Mappings:
Namespace Name Mixin selector named WARM
Lnet/minecraft/entity/passive/FrogVariant;WARM:Lnet/minecraft/registry/RegistryKey;
intermediary field_37463
Lnet/minecraft/class_7106;field_37463:Lnet/minecraft/class_5321;
official b
Lcfs;b:Lale;
-
COLD
- Mappings:
Namespace Name Mixin selector named COLD
Lnet/minecraft/entity/passive/FrogVariant;COLD:Lnet/minecraft/registry/RegistryKey;
intermediary field_37464
Lnet/minecraft/class_7106;field_37464:Lnet/minecraft/class_5321;
official c
Lcfs;c:Lale;
-
-
Constructor Details
-
FrogVariant
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/minecraft/entity/passive/FrogVariant;of(Ljava/lang/String;)Lnet/minecraft/registry/RegistryKey;
intermediary method_58368
Lnet/minecraft/class_7106;method_58368(Ljava/lang/String;)Lnet/minecraft/class_5321;
official a
Lcfs;a(Ljava/lang/String;)Lale;
-
registerAndGetDefault
- Mappings:
Namespace Name Mixin selector named registerAndGetDefault
Lnet/minecraft/entity/passive/FrogVariant;registerAndGetDefault(Lnet/minecraft/registry/Registry;)Lnet/minecraft/entity/passive/FrogVariant;
intermediary method_58369
Lnet/minecraft/class_7106;method_58369(Lnet/minecraft/class_2378;)Lnet/minecraft/class_7106;
official a
Lcfs;a(Ljv;)Lcfs;
-
register
private static FrogVariant register(Registry<FrogVariant> registry, RegistryKey<FrogVariant> key, String id) - Mappings:
Namespace Name Mixin selector named register
Lnet/minecraft/entity/passive/FrogVariant;register(Lnet/minecraft/registry/Registry;Lnet/minecraft/registry/RegistryKey;Ljava/lang/String;)Lnet/minecraft/entity/passive/FrogVariant;
intermediary method_43091
Lnet/minecraft/class_7106;method_43091(Lnet/minecraft/class_2378;Lnet/minecraft/class_5321;Ljava/lang/String;)Lnet/minecraft/class_7106;
official a
Lcfs;a(Ljv;Lale;Ljava/lang/String;)Lcfs;
-
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 thetexture
record component.- Returns:
- the value of the
texture
record component
-