Package net.minecraft.village
Enum Class GossipType
- All Implemented Interfaces:
Serializable
,Comparable<GossipType>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Map<String,
GossipType> final int
final int
final String
final int
final int
-
Constructor Summary
ModifierConstructorDescriptionprivate
GossipType
(String p_i50307_3_, int p_i50307_4_, int p_i50307_5_, int p_i50307_6_, int p_i50307_7_) -
Method Summary
Modifier and TypeMethodDescriptionstatic GossipType
static GossipType
Returns the enum constant of this class with the specified name.static GossipType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MAJOR_NEGATIVE
-
MINOR_NEGATIVE
-
MINOR_POSITIVE
-
MAJOR_POSITIVE
-
TRADING
-
-
Field Details
-
id
-
weight
public final int weight -
max
public final int max -
decayPerDay
public final int decayPerDay -
decayPerTransfer
public final int decayPerTransfer -
BY_ID
-
-
Constructor Details
-
GossipType
private GossipType(String p_i50307_3_, int p_i50307_4_, int p_i50307_5_, int p_i50307_6_, int p_i50307_7_)
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
byId
-