net.minecraft.world.entity.ai.gossip

public class GossipContainer

bbp
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
public static final int
a
DISCARD_THRESHOLD
field_30236
field_30236
f_148158_
private final Map<UUID, GossipContainer$EntityGossips>
b
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()
method_35120()
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(Random arg0, int arg1)
selectGossipsForTransfer(Random arg0, int arg1)
method_19070(Random arg0, int arg1)
pickGossips(Random random, int count)
m_26186_(Random p_26188_, 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(bbp arg0, Random arg1, int arg2)
transferFrom(GossipContainer arg0, Random arg1, int arg2)
method_19061(class_4136 arg0, Random arg1, int arg2)
shareGossipFrom(VillagerGossips from, Random random, int count)
m_26163_(C_746_ p_26165_, Random p_26166_, int arg2)
public int
a(UUID arg0, Predicate<bbq> 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(bbq arg0, DoublePredicate arg1)
getCountForType(GossipType arg0, DoublePredicate arg1)
method_35122(class_4139 arg0, DoublePredicate arg1)
method_35122(VillageGossipType arg0, DoublePredicate arg1)
m_148162_(C_751_ p_148164_, DoublePredicate arg1)
public void
a(UUID arg0, bbq 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, bbq arg1, int arg2)
remove(UUID arg0, GossipType arg1, int arg2)
method_35126(UUID arg0, class_4139 arg1, int arg2)
method_35126(UUID arg0, VillageGossipType arg1, int arg2)
m_148175_(UUID p_148177_, C_751_ p_148178_, int arg2)
public void
a(UUID arg0, bbq arg1)
remove(UUID arg0, GossipType arg1)
method_35124(UUID arg0, class_4139 arg1)
method_35124(UUID arg0, VillageGossipType arg1)
m_148168_(UUID p_148170_, C_751_ arg1)
public void
a(bbq arg0)
remove(GossipType arg0)
method_35121(class_4139 arg0)
method_35121(VillageGossipType arg0)
m_148160_(C_751_ arg0)
public <T> com.mojang.serialization.Dynamic<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> arg0)
m_26179_(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<?> arg0)
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(bbq 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)