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_10823
intermediary net/minecraft/class_10823
official cmc
named ambientSound
intermediary comp_3779
official e
named deathSound
intermediary comp_3780
official f
named growlSound
intermediary comp_3781
official g
named hurtSound
intermediary comp_3782
official h
named pantSound
intermediary comp_3783
official i
named whineSound
intermediary comp_3784
official j
  • Field Details

    • ambientSound

      private final RegistryEntry<SoundEvent> ambientSound
      The field for the ambientSound record component.
    • deathSound

      private final RegistryEntry<SoundEvent> deathSound
      The field for the deathSound record component.
    • growlSound

      private final RegistryEntry<SoundEvent> growlSound
      The field for the growlSound record component.
    • hurtSound

      private final RegistryEntry<SoundEvent> hurtSound
      The field for the hurtSound record component.
    • pantSound

      private final RegistryEntry<SoundEvent> pantSound
      The field for the pantSound record component.
    • whineSound

      private final RegistryEntry<SoundEvent> whineSound
      The field for the whineSound record component.
    • field_57076

      public static final com.mojang.serialization.Codec<class_10823> field_57076
      Mappings:
      Namespace Name Mixin selector
      named field_57076 Lnet/minecraft/class_10823;field_57076:Lcom/mojang/serialization/Codec;
      intermediary field_57076 Lnet/minecraft/class_10823;field_57076:Lcom/mojang/serialization/Codec;
      official a Lcmc;a:Lcom/mojang/serialization/Codec;
    • field_57077

      public static final com.mojang.serialization.Codec<class_10823> field_57077
      Mappings:
      Namespace Name Mixin selector
      named field_57077 Lnet/minecraft/class_10823;field_57077:Lcom/mojang/serialization/Codec;
      intermediary field_57077 Lnet/minecraft/class_10823;field_57077:Lcom/mojang/serialization/Codec;
      official b Lcmc;b:Lcom/mojang/serialization/Codec;
    • field_57078

      public static final com.mojang.serialization.Codec<RegistryEntry<class_10823>> field_57078
      Mappings:
      Namespace Name Mixin selector
      named field_57078 Lnet/minecraft/class_10823;field_57078:Lcom/mojang/serialization/Codec;
      intermediary field_57078 Lnet/minecraft/class_10823;field_57078:Lcom/mojang/serialization/Codec;
      official c Lcmc;c:Lcom/mojang/serialization/Codec;
    • field_57079

      public static final PacketCodec<RegistryByteBuf,RegistryEntry<class_10823>> field_57079
      Mappings:
      Namespace Name Mixin selector
      named field_57079 Lnet/minecraft/class_10823;field_57079:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_57079 Lnet/minecraft/class_10823;field_57079:Lnet/minecraft/class_9139;
      official d Lcmc;d:Lyw;
  • Constructor Details

  • Method Details

    • method_68134

      private static com.mojang.serialization.Codec<class_10823> method_68134()
      Mappings:
      Namespace Name Mixin selector
      named method_68134 Lnet/minecraft/class_10823;method_68134()Lcom/mojang/serialization/Codec;
      intermediary method_68134 Lnet/minecraft/class_10823;method_68134()Lcom/mojang/serialization/Codec;
      official g Lcmc;g()Lcom/mojang/serialization/Codec;
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • ambientSound

      public RegistryEntry<SoundEvent> ambientSound()
      Returns the value of the ambientSound record component.
      Returns:
      the value of the ambientSound record component
    • deathSound

      public RegistryEntry<SoundEvent> deathSound()
      Returns the value of the deathSound record component.
      Returns:
      the value of the deathSound record component
    • growlSound

      public RegistryEntry<SoundEvent> growlSound()
      Returns the value of the growlSound record component.
      Returns:
      the value of the growlSound record component
    • hurtSound

      public RegistryEntry<SoundEvent> hurtSound()
      Returns the value of the hurtSound record component.
      Returns:
      the value of the hurtSound record component
    • pantSound

      public RegistryEntry<SoundEvent> pantSound()
      Returns the value of the pantSound record component.
      Returns:
      the value of the pantSound record component
    • whineSound

      public RegistryEntry<SoundEvent> whineSound()
      Returns the value of the whineSound record component.
      Returns:
      the value of the whineSound record component