Package net.minecraft
Record Class class_9346
java.lang.Object
java.lang.Record
net.minecraft.class_9346
- Record Components:
texture-tameTexture-angryTexture-biomes-
public record class_9346(Identifier texture, Identifier tameTexture, Identifier angryTexture, RegistryEntryList<Biome> biomes)
extends Record
- Mappings:
Namespace Name official cdmintermediary net/minecraft/class_9346named net/minecraft/class_9346official bintermediary comp_2451named textureofficial cintermediary comp_2452named tameTextureofficial dintermediary comp_2453named angryTextureofficial eintermediary comp_2454named biomes
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IdentifierThe field for theangryTexturerecord component.private final RegistryEntryList<Biome> The field for thebiomesrecord component.static final com.mojang.serialization.Codec<class_9346> private final IdentifierThe field for thetameTexturerecord component.private final IdentifierThe field for thetexturerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_9346(Identifier identifier, Identifier identifier2, Identifier identifier3, RegistryEntryList<Biome> registryEntryList) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theangryTexturerecord component.biomes()Returns the value of thebiomesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thetameTexturerecord 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. -
tameTexture
The field for thetameTexturerecord component. -
angryTexture
The field for theangryTexturerecord component. -
biomes
The field for thebiomesrecord component. -
field_49724
- Mappings:
Namespace Name Mixin selector official aLcdm;a:Lcom/mojang/serialization/Codec;intermediary field_49724Lnet/minecraft/class_9346;field_49724:Lcom/mojang/serialization/Codec;named field_49724Lnet/minecraft/class_9346;field_49724:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_9346
public class_9346(Identifier identifier, Identifier identifier2, Identifier identifier3, RegistryEntryList<Biome> registryEntryList)
-
-
Method Details
-
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
-
tameTexture
Returns the value of thetameTexturerecord component.- Returns:
- the value of the
tameTexturerecord component
-
angryTexture
Returns the value of theangryTexturerecord component.- Returns:
- the value of the
angryTexturerecord component
-
biomes
Returns the value of thebiomesrecord component.- Returns:
- the value of the
biomesrecord component
-