Class GossipManager

java.lang.Object
net.minecraft.village.GossipManager

public class GossipManager extends Object
  • Field Details

  • Constructor Details

    • GossipManager

      public GossipManager()
  • Method Details

    • decay

      public void decay()
    • unpack

      private Stream<GossipManager.GossipEntry> unpack()
    • selectGossipsForTransfer

      private Collection<GossipManager.GossipEntry> selectGossipsForTransfer(Random p_220920_1_, int p_220920_2_)
    • getOrCreate

      private GossipManager.Gossips getOrCreate(UUID p_220926_1_)
    • transferFrom

      public void transferFrom(GossipManager p_220912_1_, Random p_220912_2_, int p_220912_3_)
    • getReputation

      public int getReputation(UUID p_220921_1_, Predicate<GossipType> p_220921_2_)
    • add

      public void add(UUID p_220916_1_, GossipType p_220916_2_, int p_220916_3_)
    • store

      public <T> com.mojang.serialization.Dynamic<T> store(com.mojang.serialization.DynamicOps<T> p_234058_1_)
    • update

      public void update(com.mojang.serialization.Dynamic<?> p_234057_1_)
    • mergeValuesForTransfer

      private static int mergeValuesForTransfer(int p_220924_0_, int p_220924_1_)
    • mergeValuesForAddition

      private int mergeValuesForAddition(GossipType p_220925_1_, int p_220925_2_, int p_220925_3_)