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 cdm
intermediary net/minecraft/class_9346
named net/minecraft/class_9346
official b
intermediary comp_2451
named texture
official c
intermediary comp_2452
named tameTexture
official d
intermediary comp_2453
named angryTexture
official e
intermediary comp_2454
named biomes
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Identifier
The field for theangryTexture
record component.private final RegistryEntryList
<Biome> The field for thebiomes
record component.static final com.mojang.serialization.Codec
<class_9346> private final Identifier
The field for thetameTexture
record component.private final Identifier
The field for thetexture
record component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_9346
(Identifier identifier, Identifier identifier2, Identifier identifier3, RegistryEntryList<Biome> registryEntryList) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theangryTexture
record component.biomes()
Returns the value of thebiomes
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of thetameTexture
record component.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. -
tameTexture
The field for thetameTexture
record component. -
angryTexture
The field for theangryTexture
record component. -
biomes
The field for thebiomes
record component. -
field_49724
- Mappings:
Namespace Name Mixin selector official a
Lcdm;a:Lcom/mojang/serialization/Codec;
intermediary field_49724
Lnet/minecraft/class_9346;field_49724:Lcom/mojang/serialization/Codec;
named field_49724
Lnet/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 thetexture
record component.- Returns:
- the value of the
texture
record component
-
tameTexture
Returns the value of thetameTexture
record component.- Returns:
- the value of the
tameTexture
record component
-
angryTexture
Returns the value of theangryTexture
record component.- Returns:
- the value of the
angryTexture
record component
-
biomes
Returns the value of thebiomes
record component.- Returns:
- the value of the
biomes
record component
-