public enum ReputationType extends Enum<ReputationType>
Villager
.
All types but MAJOR_POSITIVE
are shared to other villagers.
Enum Constant and Description |
---|
MAJOR_NEGATIVE
A gossip with a majorly negative effect.
|
MAJOR_POSITIVE
A gossip with a major positive effect.
|
MINOR_NEGATIVE
A gossip with a minor negative effect.
|
MINOR_POSITIVE
A gossip with a minor positive effect.
|
TRADING
A gossip with a minor positive effect.
|
Modifier and Type | Method and Description |
---|---|
static ReputationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReputationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReputationType MAJOR_NEGATIVE
public static final ReputationType MINOR_NEGATIVE
public static final ReputationType MINOR_POSITIVE
public static final ReputationType MAJOR_POSITIVE
public static final ReputationType TRADING
public static ReputationType[] values()
for (ReputationType c : ReputationType.values()) System.out.println(c);
public static ReputationType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021. All rights reserved.