Enum Class VillageGossipType

java.lang.Object
java.lang.Enum<VillageGossipType>
net.minecraft.village.VillageGossipType
All Implemented Interfaces:
Serializable, Comparable<VillageGossipType>, Constable, StringIdentifiable

public enum VillageGossipType extends Enum<VillageGossipType> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/village/VillageGossipType
intermediary net/minecraft/class_4139
official ccn
  • Enum Constant Details

    • MAJOR_NEGATIVE

      public static final VillageGossipType MAJOR_NEGATIVE
      Mappings:
      Namespace Name Mixin selector
      named MAJOR_NEGATIVE Lnet/minecraft/village/VillageGossipType;MAJOR_NEGATIVE:Lnet/minecraft/village/VillageGossipType;
      intermediary field_18424 Lnet/minecraft/class_4139;field_18424:Lnet/minecraft/class_4139;
      official a Lccn;a:Lccn;
    • MINOR_NEGATIVE

      public static final VillageGossipType MINOR_NEGATIVE
      Mappings:
      Namespace Name Mixin selector
      named MINOR_NEGATIVE Lnet/minecraft/village/VillageGossipType;MINOR_NEGATIVE:Lnet/minecraft/village/VillageGossipType;
      intermediary field_18425 Lnet/minecraft/class_4139;field_18425:Lnet/minecraft/class_4139;
      official b Lccn;b:Lccn;
    • MINOR_POSITIVE

      public static final VillageGossipType MINOR_POSITIVE
      Mappings:
      Namespace Name Mixin selector
      named MINOR_POSITIVE Lnet/minecraft/village/VillageGossipType;MINOR_POSITIVE:Lnet/minecraft/village/VillageGossipType;
      intermediary field_18426 Lnet/minecraft/class_4139;field_18426:Lnet/minecraft/class_4139;
      official c Lccn;c:Lccn;
    • MAJOR_POSITIVE

      public static final VillageGossipType MAJOR_POSITIVE
      Mappings:
      Namespace Name Mixin selector
      named MAJOR_POSITIVE Lnet/minecraft/village/VillageGossipType;MAJOR_POSITIVE:Lnet/minecraft/village/VillageGossipType;
      intermediary field_18427 Lnet/minecraft/class_4139;field_18427:Lnet/minecraft/class_4139;
      official d Lccn;d:Lccn;
    • TRADING

      public static final VillageGossipType TRADING
      Mappings:
      Namespace Name Mixin selector
      named TRADING Lnet/minecraft/village/VillageGossipType;TRADING:Lnet/minecraft/village/VillageGossipType;
      intermediary field_18428 Lnet/minecraft/class_4139;field_18428:Lnet/minecraft/class_4139;
      official e Lccn;e:Lccn;
  • Field Details

    • MAX_TRADING_REPUTATION

      public static final int MAX_TRADING_REPUTATION
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MAX_TRADING_REPUTATION Lnet/minecraft/village/VillageGossipType;MAX_TRADING_REPUTATION:I
      intermediary field_30240 Lnet/minecraft/class_4139;field_30240:I
      official f Lccn;f:I
    • TRADING_GOSSIP_SHARE_DECREMENT

      public static final int TRADING_GOSSIP_SHARE_DECREMENT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named TRADING_GOSSIP_SHARE_DECREMENT Lnet/minecraft/village/VillageGossipType;TRADING_GOSSIP_SHARE_DECREMENT:I
      intermediary field_30241 Lnet/minecraft/class_4139;field_30241:I
      official g Lccn;g:I
    • TRADING_GOSSIP_DECAY

      public static final int TRADING_GOSSIP_DECAY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named TRADING_GOSSIP_DECAY Lnet/minecraft/village/VillageGossipType;TRADING_GOSSIP_DECAY:I
      intermediary field_30242 Lnet/minecraft/class_4139;field_30242:I
      official h Lccn;h:I
    • CODEC

      public static final com.mojang.serialization.Codec<VillageGossipType> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/village/VillageGossipType;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_41672 Lnet/minecraft/class_4139;field_41672:Lcom/mojang/serialization/Codec;
      official n Lccn;n:Lcom/mojang/serialization/Codec;
    • key

      public final String key
      Mappings:
      Namespace Name Mixin selector
      named key Lnet/minecraft/village/VillageGossipType;key:Ljava/lang/String;
      intermediary field_18430 Lnet/minecraft/class_4139;field_18430:Ljava/lang/String;
      official i Lccn;i:Ljava/lang/String;
    • multiplier

      public final int multiplier
      Mappings:
      Namespace Name Mixin selector
      named multiplier Lnet/minecraft/village/VillageGossipType;multiplier:I
      intermediary field_18431 Lnet/minecraft/class_4139;field_18431:I
      official j Lccn;j:I
    • maxValue

      public final int maxValue
      Mappings:
      Namespace Name Mixin selector
      named maxValue Lnet/minecraft/village/VillageGossipType;maxValue:I
      intermediary field_18432 Lnet/minecraft/class_4139;field_18432:I
      official k Lccn;k:I
    • decay

      public final int decay
      Mappings:
      Namespace Name Mixin selector
      named decay Lnet/minecraft/village/VillageGossipType;decay:I
      intermediary field_19354 Lnet/minecraft/class_4139;field_19354:I
      official l Lccn;l:I
    • shareDecrement

      public final int shareDecrement
      Mappings:
      Namespace Name Mixin selector
      named shareDecrement Lnet/minecraft/village/VillageGossipType;shareDecrement:I
      intermediary field_18434 Lnet/minecraft/class_4139;field_18434:I
      official m Lccn;m:I
  • Constructor Details

    • VillageGossipType

      private VillageGossipType(String key, int multiplier, int maxReputation, int decay, int shareDecrement)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/village/VillageGossipType;<init>(Ljava/lang/String;ILjava/lang/String;IIII)V
      intermediary <init> Lnet/minecraft/class_4139;<init>(Ljava/lang/String;ILjava/lang/String;IIII)V
      official <init> Lccn;<init>(Ljava/lang/String;ILjava/lang/String;IIII)V
  • Method Details

    • values

      public static VillageGossipType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static VillageGossipType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lazj;c()Ljava/lang/String;