public enum GossipType extends java.lang.Enum<GossipType>
| Enum Constant and Description | 
|---|
MAJOR_NEGATIVE  | 
MAJOR_POSITIVE  | 
MINOR_NEGATIVE  | 
MINOR_POSITIVE  | 
TRADING  | 
| Modifier and Type | Field and Description | 
|---|---|
private static java.util.Map<java.lang.String,GossipType> | 
BY_ID  | 
int | 
decayPerDay  | 
int | 
decayPerTransfer  | 
java.lang.String | 
id  | 
int | 
max  | 
int | 
weight  | 
| Modifier and Type | Method and Description | 
|---|---|
static GossipType | 
byId(java.lang.String p_220929_0_)  | 
static GossipType | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static GossipType[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final GossipType MAJOR_NEGATIVE
public static final GossipType MINOR_NEGATIVE
public static final GossipType MINOR_POSITIVE
public static final GossipType MAJOR_POSITIVE
public static final GossipType TRADING
public final java.lang.String id
public final int weight
public final int max
public final int decayPerDay
public final int decayPerTransfer
private static final java.util.Map<java.lang.String,GossipType> BY_ID
public static GossipType[] values()
for (GossipType c : GossipType.values()) System.out.println(c);
public static GossipType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@Nullable public static GossipType byId(java.lang.String p_220929_0_)