net.minecraft.world.entity.ai.gossip

public class GossipContainer

cco
net.minecraft.world.entity.ai.gossip.GossipContainer
net.minecraft.class_4136
net.minecraft.village.VillagerGossips
net.minecraft.src.C_746_
net.minecraft.world.entity.ai.gossip.Reputation

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public Map<UUID, it.unimi.dsi.fastutil.objects.Object2IntMap<GossipType>>
a()
getGossipEntries()
method_35120()
getEntityReputationAssociatedGossips()
m_148159_()
public void
b()
decay()
method_20651()
decay()
m_26198_()
private Stream<GossipContainer$GossipEntry>
c()
unpack()
method_19074()
entries()
m_26203_()
private Collection<GossipContainer$GossipEntry>
a(ayw arg0, int arg1)
selectGossipsForTransfer(RandomSource arg0, int arg1)
method_19070(class_5819 arg0, int arg1)
pickGossips(Random random, int count)
m_217759_(C_212974_ p_217761_, int arg1)
private GossipContainer$EntityGossips
a(UUID arg0)
getOrCreate(UUID arg0)
method_19071(UUID arg0)
getReputationFor(UUID target)
m_26189_(UUID arg0)
public void
a(cco arg0, ayw 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)
m_217762_(C_746_ p_217764_, C_212974_ p_217765_, int arg2)
public int
a(UUID arg0, Predicate<ccp> arg1)
getReputation(UUID arg0, Predicate<GossipType> arg1)
method_19073(UUID arg0, Predicate<class_4139> arg1)
getReputationFor(UUID target, Predicate<VillageGossipType> gossipTypeFilter)
m_26195_(UUID p_26197_, Predicate<C_751_> arg1)
public long
a(ccp arg0, DoublePredicate arg1)
getCountForType(GossipType arg0, DoublePredicate arg1)
method_35122(class_4139 arg0, DoublePredicate arg1)
getReputationCount(VillageGossipType type, DoublePredicate predicate)
m_148162_(C_751_ p_148164_, DoublePredicate arg1)
public void
a(UUID arg0, ccp 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)
m_26191_(UUID p_26193_, C_751_ p_26194_, int arg2)
public void
b(UUID arg0, ccp 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)
m_148175_(UUID p_148177_, C_751_ p_148178_, int arg2)
public void
a(UUID arg0, ccp arg1)
remove(UUID arg0, GossipType arg1)
method_35124(UUID arg0, class_4139 arg1)
remove(UUID target, VillageGossipType type)
m_148168_(UUID p_148170_, C_751_ arg1)
public void
a(ccp arg0)
remove(GossipType arg0)
method_35121(class_4139 arg0)
remove(VillageGossipType type)
m_148160_(C_751_ arg0)
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)
m_262795_(com.mojang.serialization.DynamicOps<T> arg0)
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)
m_26177_(com.mojang.serialization.Dynamic<?> arg0)
private static int
a(int arg0, int arg1)
mergeValuesForTransfer(int arg0, int arg1)
method_19059(int arg0, int arg1)
max(int left, int right)
m_26158_(int p_26159_, int p_26160_)
private int
a(ccp 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)
m_26167_(C_751_ p_26169_, int p_26170_, int arg2)