Enum Class GossipType

java.lang.Object
java.lang.Enum<GossipType>
net.minecraft.world.entity.ai.gossip.GossipType
All Implemented Interfaces:
Serializable, Comparable<GossipType>, Constable

public enum GossipType extends Enum<GossipType>
  • Enum Constant Details

    • MAJOR_NEGATIVE

      public static final GossipType MAJOR_NEGATIVE
    • MINOR_NEGATIVE

      public static final GossipType MINOR_NEGATIVE
    • MINOR_POSITIVE

      public static final GossipType MINOR_POSITIVE
    • MAJOR_POSITIVE

      public static final GossipType MAJOR_POSITIVE
    • TRADING

      public static final GossipType TRADING
  • Field Details

    • REPUTATION_CHANGE_PER_EVENT

      public static final int REPUTATION_CHANGE_PER_EVENT
      See Also:
      Constant Field Values
    • REPUTATION_CHANGE_PER_EVERLASTING_MEMORY

      public static final int REPUTATION_CHANGE_PER_EVERLASTING_MEMORY
      See Also:
      Constant Field Values
    • REPUTATION_CHANGE_PER_TRADE

      public static final int REPUTATION_CHANGE_PER_TRADE
      See Also:
      Constant Field Values
    • id

      public final String id
    • weight

      public final int weight
    • max

      public final int max
    • decayPerDay

      public final int decayPerDay
    • decayPerTransfer

      public final int decayPerTransfer
    • BY_ID

      private static final Map<String,​GossipType> BY_ID
  • Constructor Details

    • GossipType

      private GossipType(String p_26284_, int p_26285_, int p_26286_, int p_26287_, int p_26288_)
  • Method Details

    • values

      public static GossipType[] 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 GossipType 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
    • byId

      @Nullable public static GossipType byId(String p_26292_)