Package net.minecraft
Record Class class_10823
java.lang.Object
java.lang.Record
net.minecraft.class_10823
- Record Components:
ambientSound-deathSound-growlSound-hurtSound-pantSound-whineSound-
public record class_10823(RegistryEntry<SoundEvent> ambientSound, RegistryEntry<SoundEvent> deathSound, RegistryEntry<SoundEvent> growlSound, RegistryEntry<SoundEvent> hurtSound, RegistryEntry<SoundEvent> pantSound, RegistryEntry<SoundEvent> whineSound)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_10823intermediary net/minecraft/class_10823official cmcnamed ambientSoundintermediary comp_3779official enamed deathSoundintermediary comp_3780official fnamed growlSoundintermediary comp_3781official gnamed hurtSoundintermediary comp_3782official hnamed pantSoundintermediary comp_3783official inamed whineSoundintermediary comp_3784official j
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RegistryEntry<SoundEvent> The field for theambientSoundrecord component.private final RegistryEntry<SoundEvent> The field for thedeathSoundrecord component.static final com.mojang.serialization.Codec<class_10823> static final com.mojang.serialization.Codec<class_10823> static final com.mojang.serialization.Codec<RegistryEntry<class_10823>> static final PacketCodec<RegistryByteBuf, RegistryEntry<class_10823>> private final RegistryEntry<SoundEvent> The field for thegrowlSoundrecord component.private final RegistryEntry<SoundEvent> The field for thehurtSoundrecord component.private final RegistryEntry<SoundEvent> The field for thepantSoundrecord component.private final RegistryEntry<SoundEvent> The field for thewhineSoundrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_10823(RegistryEntry<SoundEvent> registryEntry, RegistryEntry<SoundEvent> registryEntry2, RegistryEntry<SoundEvent> registryEntry3, RegistryEntry<SoundEvent> registryEntry4, RegistryEntry<SoundEvent> registryEntry5, RegistryEntry<SoundEvent> registryEntry6) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theambientSoundrecord component.Returns the value of thedeathSoundrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegrowlSoundrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thehurtSoundrecord component.private static com.mojang.serialization.Codec<class_10823> Returns the value of thepantSoundrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thewhineSoundrecord component.
-
Field Details
-
ambientSound
The field for theambientSoundrecord component. -
deathSound
The field for thedeathSoundrecord component. -
growlSound
The field for thegrowlSoundrecord component. -
hurtSound
The field for thehurtSoundrecord component. -
pantSound
The field for thepantSoundrecord component. -
whineSound
The field for thewhineSoundrecord component. -
field_57076
- Mappings:
Namespace Name Mixin selector named field_57076Lnet/minecraft/class_10823;field_57076:Lcom/mojang/serialization/Codec;intermediary field_57076Lnet/minecraft/class_10823;field_57076:Lcom/mojang/serialization/Codec;official aLcmc;a:Lcom/mojang/serialization/Codec;
-
field_57077
- Mappings:
Namespace Name Mixin selector named field_57077Lnet/minecraft/class_10823;field_57077:Lcom/mojang/serialization/Codec;intermediary field_57077Lnet/minecraft/class_10823;field_57077:Lcom/mojang/serialization/Codec;official bLcmc;b:Lcom/mojang/serialization/Codec;
-
field_57078
- Mappings:
Namespace Name Mixin selector named field_57078Lnet/minecraft/class_10823;field_57078:Lcom/mojang/serialization/Codec;intermediary field_57078Lnet/minecraft/class_10823;field_57078:Lcom/mojang/serialization/Codec;official cLcmc;c:Lcom/mojang/serialization/Codec;
-
field_57079
- Mappings:
Namespace Name Mixin selector named field_57079Lnet/minecraft/class_10823;field_57079:Lnet/minecraft/network/codec/PacketCodec;intermediary field_57079Lnet/minecraft/class_10823;field_57079:Lnet/minecraft/class_9139;official dLcmc;d:Lyw;
-
-
Constructor Details
-
class_10823
public class_10823(RegistryEntry<SoundEvent> registryEntry, RegistryEntry<SoundEvent> registryEntry2, RegistryEntry<SoundEvent> registryEntry3, RegistryEntry<SoundEvent> registryEntry4, RegistryEntry<SoundEvent> registryEntry5, RegistryEntry<SoundEvent> registryEntry6)
-
-
Method Details
-
method_68134
- Mappings:
Namespace Name Mixin selector named method_68134Lnet/minecraft/class_10823;method_68134()Lcom/mojang/serialization/Codec;intermediary method_68134Lnet/minecraft/class_10823;method_68134()Lcom/mojang/serialization/Codec;official gLcmc;g()Lcom/mojang/serialization/Codec;
-
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). -
ambientSound
Returns the value of theambientSoundrecord component.- Returns:
- the value of the
ambientSoundrecord component
-
deathSound
Returns the value of thedeathSoundrecord component.- Returns:
- the value of the
deathSoundrecord component
-
growlSound
Returns the value of thegrowlSoundrecord component.- Returns:
- the value of the
growlSoundrecord component
-
hurtSound
Returns the value of thehurtSoundrecord component.- Returns:
- the value of the
hurtSoundrecord component
-
pantSound
Returns the value of thepantSoundrecord component.- Returns:
- the value of the
pantSoundrecord component
-
whineSound
Returns the value of thewhineSoundrecord component.- Returns:
- the value of the
whineSoundrecord component
-