Package | Description |
---|---|
net.minecraft.village |
Modifier and Type | Field and Description |
---|---|
GossipType |
GossipManager.GossipEntry.type |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,GossipType> |
GossipType.BY_ID |
private it.unimi.dsi.fastutil.objects.Object2IntMap<GossipType> |
GossipManager.Gossips.gossipTypeMap |
Modifier and Type | Method and Description |
---|---|
static GossipType |
GossipType.byId(java.lang.String p_220929_0_) |
static GossipType |
GossipType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GossipType[] |
GossipType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
GossipManager.add(java.util.UUID p_220916_1_,
GossipType p_220916_2_,
int p_220916_3_) |
private int |
GossipManager.mergeValuesForAddition(GossipType gossipTypeIn,
int p_220925_2_,
int p_220925_3_) |
void |
GossipManager.Gossips.putGossipType(GossipType p_223531_1_) |
void |
GossipManager.Gossips.removeGossipType(GossipType p_223528_1_) |
Modifier and Type | Method and Description |
---|---|
int |
GossipManager.getReputation(java.util.UUID p_220921_1_,
java.util.function.Predicate<GossipType> p_220921_2_) |
int |
GossipManager.Gossips.weightedValue(java.util.function.Predicate<GossipType> p_220896_1_) |
Constructor and Description |
---|
GossipEntry(java.util.UUID target,
GossipType type,
int value) |