net.minecraft.world.entity.ai.gossip

public class GossipContainer

cei
net.minecraft.world.entity.ai.gossip.GossipContainer
net.minecraft.class_4136
net.minecraft.village.VillagerGossips
net.minecraft.world.entity.ai.gossip.Reputation

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
b
LOGGER
field_41669
LOGGER
public static final int
a
DISCARD_THRESHOLD
field_30236
field_30236
private final Map<UUID, GossipContainer$EntityGossips>
c
gossips
field_18419
entityReputation

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public Map<UUID, it.unimi.dsi.fastutil.objects.Object2IntMap<GossipType>>
a()
getGossipEntries()
method_35120()
getEntityReputationAssociatedGossips()
public void
b()
decay()
method_20651()
decay()
private Stream<GossipContainer$GossipEntry>
c()
unpack()
method_19074()
entries()
private Collection<GossipContainer$GossipEntry>
a(azh arg0, int arg1)
selectGossipsForTransfer(RandomSource arg0, int arg1)
method_19070(class_5819 arg0, int arg1)
pickGossips(Random random, int count)
private GossipContainer$EntityGossips
a(UUID arg0)
getOrCreate(UUID arg0)
method_19071(UUID arg0)
getReputationFor(UUID target)
public void
a(cei arg0, azh arg1, int arg2)
transferFrom(GossipContainer arg0, RandomSource arg1, int arg2)
method_19061(class_4136 arg0, class_5819 arg1, int arg2)
shareGossipFrom(VillagerGossips from, Random random, int count)
public int
a(UUID arg0, Predicate<cej> arg1)
getReputation(UUID arg0, Predicate<GossipType> arg1)
method_19073(UUID arg0, Predicate<class_4139> arg1)
getReputationFor(UUID target, Predicate<VillageGossipType> gossipTypeFilter)
public long
a(cej arg0, DoublePredicate arg1)
getCountForType(GossipType arg0, DoublePredicate arg1)
method_35122(class_4139 arg0, DoublePredicate arg1)
getReputationCount(VillageGossipType type, DoublePredicate predicate)
public void
a(UUID arg0, cej arg1, int arg2)
add(UUID arg0, GossipType arg1, int arg2)
method_19072(UUID arg0, class_4139 arg1, int arg2)
startGossip(UUID target, VillageGossipType type, int value)
public void
b(UUID arg0, cej arg1, int arg2)
remove(UUID arg0, GossipType arg1, int arg2)
method_35126(UUID arg0, class_4139 arg1, int arg2)
removeGossip(UUID target, VillageGossipType type, int value)
public void
a(UUID arg0, cej arg1)
remove(UUID arg0, GossipType arg1)
method_35124(UUID arg0, class_4139 arg1)
remove(UUID target, VillageGossipType type)
public void
a(cej arg0)
remove(GossipType arg0)
method_35121(class_4139 arg0)
remove(VillageGossipType type)
public <T> T
a(com.mojang.serialization.DynamicOps<T> arg0)
store(com.mojang.serialization.DynamicOps<T> arg0)
method_19067(com.mojang.serialization.DynamicOps<T> arg0)
serialize(com.mojang.serialization.DynamicOps<T> ops)
public void
a(com.mojang.serialization.Dynamic<?> arg0)
update(com.mojang.serialization.Dynamic<?> arg0)
method_19066(com.mojang.serialization.Dynamic<?> arg0)
deserialize(com.mojang.serialization.Dynamic<?> dynamic)
private static int
a(int arg0, int arg1)
mergeValuesForTransfer(int arg0, int arg1)
method_19059(int arg0, int arg1)
max(int left, int right)
private int
a(cej arg0, int arg1, int arg2)
mergeValuesForAddition(GossipType arg0, int arg1, int arg2)
method_19063(class_4139 arg0, int arg1, int arg2)
mergeReputation(VillageGossipType type, int left, int right)