Package net.minecraft.village
Class GossipManager.Gossips
- java.lang.Object
-
- net.minecraft.village.GossipManager.Gossips
-
- Enclosing class:
- GossipManager
static class GossipManager.Gossips extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private it.unimi.dsi.fastutil.objects.Object2IntMap<GossipType>
entries
-
Constructor Summary
Constructors Modifier Constructor Description private
Gossips()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decay()
boolean
isEmpty()
void
makeSureValueIsntTooLowOrTooHigh(GossipType p_223531_1_)
void
remove(GossipType p_223528_1_)
java.util.stream.Stream<GossipManager.GossipEntry>
unpack(java.util.UUID p_220895_1_)
int
weightedValue(java.util.function.Predicate<GossipType> p_220896_1_)
-
-
-
Field Detail
-
entries
private final it.unimi.dsi.fastutil.objects.Object2IntMap<GossipType> entries
-
-
Method Detail
-
weightedValue
public int weightedValue(java.util.function.Predicate<GossipType> p_220896_1_)
-
unpack
public java.util.stream.Stream<GossipManager.GossipEntry> unpack(java.util.UUID p_220895_1_)
-
decay
public void decay()
-
isEmpty
public boolean isEmpty()
-
makeSureValueIsntTooLowOrTooHigh
public void makeSureValueIsntTooLowOrTooHigh(GossipType p_223531_1_)
-
remove
public void remove(GossipType p_223528_1_)
-
-