Package net.minecraft
Record Class class_12190
java.lang.Object
java.lang.Record
net.minecraft.class_12190
- Record Components:
loop-mood-additions-
public record class_12190(Optional<RegistryEntry<SoundEvent>> loop, Optional<BiomeMoodSound> mood, List<BiomeAdditionsSound> additions)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_12190intermediary net/minecraft/class_12190official cdpnamed loopintermediary comp_5125official dnamed moodintermediary comp_5126official enamed additionsintermediary comp_5127official f
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<BiomeAdditionsSound> The field for theadditionsrecord component.static final com.mojang.serialization.Codec<class_12190> static final class_12190static final class_12190private final Optional<RegistryEntry<SoundEvent>> The field for thelooprecord component.private final Optional<BiomeMoodSound> The field for themoodrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_12190(Optional<RegistryEntry<SoundEvent>> loop, Optional<BiomeMoodSound> mood, List<BiomeAdditionsSound> additions) Creates an instance of aclass_12190record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.loop()Returns the value of thelooprecord component.mood()Returns the value of themoodrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
loop
The field for thelooprecord component. -
mood
The field for themoodrecord component. -
additions
The field for theadditionsrecord component. -
field_63684
- Mappings:
Namespace Name Mixin selector named field_63684Lnet/minecraft/class_12190;field_63684:Lnet/minecraft/class_12190;intermediary field_63684Lnet/minecraft/class_12190;field_63684:Lnet/minecraft/class_12190;official aLcdp;a:Lcdp;
-
field_63685
- Mappings:
Namespace Name Mixin selector named field_63685Lnet/minecraft/class_12190;field_63685:Lnet/minecraft/class_12190;intermediary field_63685Lnet/minecraft/class_12190;field_63685:Lnet/minecraft/class_12190;official bLcdp;b:Lcdp;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/class_12190;CODEC:Lcom/mojang/serialization/Codec;intermediary field_63686Lnet/minecraft/class_12190;field_63686:Lcom/mojang/serialization/Codec;official cLcdp;c:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_12190
public class_12190(Optional<RegistryEntry<SoundEvent>> loop, Optional<BiomeMoodSound> mood, List<BiomeAdditionsSound> additions) Creates an instance of aclass_12190record class.
-
-
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). -
loop
Returns the value of thelooprecord component.- Returns:
- the value of the
looprecord component
-
mood
Returns the value of themoodrecord component.- Returns:
- the value of the
moodrecord component
-
additions
Returns the value of theadditionsrecord component.- Returns:
- the value of the
additionsrecord component
-