static class VillagerGossips.Reputation extends Object
Modifier and Type | Field and Description |
---|---|
private it.unimi.dsi.fastutil.objects.Object2IntMap<VillageGossipType> |
associatedGossip |
Modifier | Constructor and Description |
---|---|
private |
Reputation() |
Modifier and Type | Method and Description |
---|---|
void |
clamp(VillageGossipType gossipType) |
void |
decay() |
Stream<VillagerGossips.GossipEntry> |
entriesFor(UUID target) |
int |
getValueFor(Predicate<VillageGossipType> gossipTypeFilter) |
boolean |
isObsolete() |
void |
remove(VillageGossipType gossipType) |
private final it.unimi.dsi.fastutil.objects.Object2IntMap<VillageGossipType> associatedGossip
public int getValueFor(Predicate<VillageGossipType> gossipTypeFilter)
public Stream<VillagerGossips.GossipEntry> entriesFor(UUID target)
public void decay()
public boolean isObsolete()
public void clamp(VillageGossipType gossipType)
public void remove(VillageGossipType gossipType)