Record Class WolfVariant

java.lang.Object
java.lang.Record
net.minecraft.entity.passive.WolfVariant
Record Components:
assetInfo -
spawnConditions -
All Implemented Interfaces:
class_10695<class_10701,class_10699>

public record WolfVariant(WolfVariant.class_10688 assetInfo, class_10702 spawnConditions) extends Record implements class_10695<class_10701,class_10699>
Mappings:
Namespace Name
named net/minecraft/entity/passive/WolfVariant
intermediary net/minecraft/class_9346
official cjv
named assetInfo
intermediary comp_3564
official e
named spawnConditions
intermediary comp_3565
official f
  • Field Details

    • assetInfo

      private final WolfVariant.class_10688 assetInfo
      The field for the assetInfo record component.
    • spawnConditions

      private final class_10702 spawnConditions
      The field for the spawnConditions record component.
    • CODEC

      public static final com.mojang.serialization.Codec<WolfVariant> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/entity/passive/WolfVariant;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_49724 Lnet/minecraft/class_9346;field_49724:Lcom/mojang/serialization/Codec;
      official a Lcjv;a:Lcom/mojang/serialization/Codec;
    • field_56274

      public static final com.mojang.serialization.Codec<WolfVariant> field_56274
      Mappings:
      Namespace Name Mixin selector
      named field_56274 Lnet/minecraft/entity/passive/WolfVariant;field_56274:Lcom/mojang/serialization/Codec;
      intermediary field_56274 Lnet/minecraft/class_9346;field_56274:Lcom/mojang/serialization/Codec;
      official b Lcjv;b:Lcom/mojang/serialization/Codec;
    • ENTRY_CODEC

      public static final com.mojang.serialization.Codec<RegistryEntry<WolfVariant>> ENTRY_CODEC
      Mappings:
      Namespace Name Mixin selector
      named ENTRY_CODEC Lnet/minecraft/entity/passive/WolfVariant;ENTRY_CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_49980 Lnet/minecraft/class_9346;field_49980:Lcom/mojang/serialization/Codec;
      official c Lcjv;c:Lcom/mojang/serialization/Codec;
    • ENTRY_PACKET_CODEC

      public static final PacketCodec<RegistryByteBuf,RegistryEntry<WolfVariant>> ENTRY_PACKET_CODEC
      Mappings:
      Namespace Name Mixin selector
      named ENTRY_PACKET_CODEC Lnet/minecraft/entity/passive/WolfVariant;ENTRY_PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_51944 Lnet/minecraft/class_9346;field_51944:Lnet/minecraft/class_9139;
      official d Lcjv;d:Lyu;
  • Constructor Details

  • Method Details

    • method_67126

      Specified by:
      method_67126 in interface class_10695<class_10701,class_10699>
      Mappings:
      Namespace Name Mixin selector
      named method_67126 Lnet/minecraft/class_10695;method_67126()Ljava/util/List;
      intermediary method_67126 Lnet/minecraft/class_10695;method_67126()Ljava/util/List;
      official a Lcsu;a()Ljava/util/List;
    • 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.
    • assetInfo

      public WolfVariant.class_10688 assetInfo()
      Returns the value of the assetInfo record component.
      Returns:
      the value of the assetInfo record component
    • spawnConditions

      public class_10702 spawnConditions()
      Returns the value of the spawnConditions record component.
      Returns:
      the value of the spawnConditions record component