Class VillagerGossips

java.lang.Object
net.minecraft.village.VillagerGossips

public class VillagerGossips extends Object
Mappings:
Namespace Name
official bbp
intermediary net/minecraft/class_4136
named net/minecraft/village/VillagerGossips
  • Field Details

    • field_30236

      public static final int field_30236
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbbp;a:I
      intermediary field_30236 Lnet/minecraft/class_4136;field_30236:I
      named field_30236 Lnet/minecraft/village/VillagerGossips;field_30236:I
    • entityReputation

      private final Map<UUID,VillagerGossips.Reputation> entityReputation
      Mappings:
      Namespace Name Mixin selector
      official b Lbbp;b:Ljava/util/Map;
      intermediary field_18419 Lnet/minecraft/class_4136;field_18419:Ljava/util/Map;
      named entityReputation Lnet/minecraft/village/VillagerGossips;entityReputation:Ljava/util/Map;
  • Constructor Details

    • VillagerGossips

      public VillagerGossips()
  • Method Details

    • method_35120

      public Map<UUID,Object2IntMap<VillageGossipType>> method_35120()
      Mappings:
      Namespace Name Mixin selector
      official a Lbbp;a()Ljava/util/Map;
      intermediary method_35120 Lnet/minecraft/class_4136;method_35120()Ljava/util/Map;
      named method_35120 Lnet/minecraft/village/VillagerGossips;method_35120()Ljava/util/Map;
    • decay

      public void decay()
      Mappings:
      Namespace Name Mixin selector
      official b Lbbp;b()V
      intermediary method_20651 Lnet/minecraft/class_4136;method_20651()V
      named decay Lnet/minecraft/village/VillagerGossips;decay()V
    • entries

      private Stream<VillagerGossips.GossipEntry> entries()
      Mappings:
      Namespace Name Mixin selector
      official c Lbbp;c()Ljava/util/stream/Stream;
      intermediary method_19074 Lnet/minecraft/class_4136;method_19074()Ljava/util/stream/Stream;
      named entries Lnet/minecraft/village/VillagerGossips;entries()Ljava/util/stream/Stream;
    • pickGossips

      private Collection<VillagerGossips.GossipEntry> pickGossips(Random random, int count)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbp;a(Ljava/util/Random;I)Ljava/util/Collection;
      intermediary method_19070 Lnet/minecraft/class_4136;method_19070(Ljava/util/Random;I)Ljava/util/Collection;
      named pickGossips Lnet/minecraft/village/VillagerGossips;pickGossips(Ljava/util/Random;I)Ljava/util/Collection;
    • getReputationFor

      private VillagerGossips.Reputation getReputationFor(UUID target)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbp;a(Ljava/util/UUID;)Lbbp$a;
      intermediary method_19071 Lnet/minecraft/class_4136;method_19071(Ljava/util/UUID;)Lnet/minecraft/class_4136$class_4137;
      named getReputationFor Lnet/minecraft/village/VillagerGossips;getReputationFor(Ljava/util/UUID;)Lnet/minecraft/village/VillagerGossips$Reputation;
    • shareGossipFrom

      public void shareGossipFrom(VillagerGossips from, Random random, int count)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbp;a(Lbbp;Ljava/util/Random;I)V
      intermediary method_19061 Lnet/minecraft/class_4136;method_19061(Lnet/minecraft/class_4136;Ljava/util/Random;I)V
      named shareGossipFrom Lnet/minecraft/village/VillagerGossips;shareGossipFrom(Lnet/minecraft/village/VillagerGossips;Ljava/util/Random;I)V
    • getReputationFor

      public int getReputationFor(UUID target, Predicate<VillageGossipType> gossipTypeFilter)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbp;a(Ljava/util/UUID;Ljava/util/function/Predicate;)I
      intermediary method_19073 Lnet/minecraft/class_4136;method_19073(Ljava/util/UUID;Ljava/util/function/Predicate;)I
      named getReputationFor Lnet/minecraft/village/VillagerGossips;getReputationFor(Ljava/util/UUID;Ljava/util/function/Predicate;)I
    • method_35122

      public long method_35122(VillageGossipType villageGossipType, DoublePredicate doublePredicate)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbp;a(Lbbq;Ljava/util/function/DoublePredicate;)J
      intermediary method_35122 Lnet/minecraft/class_4136;method_35122(Lnet/minecraft/class_4139;Ljava/util/function/DoublePredicate;)J
      named method_35122 Lnet/minecraft/village/VillagerGossips;method_35122(Lnet/minecraft/village/VillageGossipType;Ljava/util/function/DoublePredicate;)J
    • startGossip

      public void startGossip(UUID target, VillageGossipType type, int value)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbp;a(Ljava/util/UUID;Lbbq;I)V
      intermediary method_19072 Lnet/minecraft/class_4136;method_19072(Ljava/util/UUID;Lnet/minecraft/class_4139;I)V
      named startGossip Lnet/minecraft/village/VillagerGossips;startGossip(Ljava/util/UUID;Lnet/minecraft/village/VillageGossipType;I)V
    • method_35126

      public void method_35126(UUID uUID, VillageGossipType villageGossipType, int int2)
      Mappings:
      Namespace Name Mixin selector
      official b Lbbp;b(Ljava/util/UUID;Lbbq;I)V
      intermediary method_35126 Lnet/minecraft/class_4136;method_35126(Ljava/util/UUID;Lnet/minecraft/class_4139;I)V
      named method_35126 Lnet/minecraft/village/VillagerGossips;method_35126(Ljava/util/UUID;Lnet/minecraft/village/VillageGossipType;I)V
    • method_35124

      public void method_35124(UUID uUID, VillageGossipType villageGossipType)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbp;a(Ljava/util/UUID;Lbbq;)V
      intermediary method_35124 Lnet/minecraft/class_4136;method_35124(Ljava/util/UUID;Lnet/minecraft/class_4139;)V
      named method_35124 Lnet/minecraft/village/VillagerGossips;method_35124(Ljava/util/UUID;Lnet/minecraft/village/VillageGossipType;)V
    • method_35121

      public void method_35121(VillageGossipType villageGossipType)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbp;a(Lbbq;)V
      intermediary method_35121 Lnet/minecraft/class_4136;method_35121(Lnet/minecraft/class_4139;)V
      named method_35121 Lnet/minecraft/village/VillagerGossips;method_35121(Lnet/minecraft/village/VillageGossipType;)V
    • serialize

      public <T> com.mojang.serialization.Dynamic<T> serialize(com.mojang.serialization.DynamicOps<T> dynamicOps)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbp;a(Lcom/mojang/serialization/DynamicOps;)Lcom/mojang/serialization/Dynamic;
      intermediary method_19067 Lnet/minecraft/class_4136;method_19067(Lcom/mojang/serialization/DynamicOps;)Lcom/mojang/serialization/Dynamic;
      named serialize Lnet/minecraft/village/VillagerGossips;serialize(Lcom/mojang/serialization/DynamicOps;)Lcom/mojang/serialization/Dynamic;
    • deserialize

      public void deserialize(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbp;a(Lcom/mojang/serialization/Dynamic;)V
      intermediary method_19066 Lnet/minecraft/class_4136;method_19066(Lcom/mojang/serialization/Dynamic;)V
      named deserialize Lnet/minecraft/village/VillagerGossips;deserialize(Lcom/mojang/serialization/Dynamic;)V
    • max

      private static int max(int left, int right)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbp;a(II)I
      intermediary method_19059 Lnet/minecraft/class_4136;method_19059(II)I
      named max Lnet/minecraft/village/VillagerGossips;max(II)I
    • mergeReputation

      private int mergeReputation(VillageGossipType type, int left, int right)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbp;a(Lbbq;II)I
      intermediary method_19063 Lnet/minecraft/class_4136;method_19063(Lnet/minecraft/class_4139;II)I
      named mergeReputation Lnet/minecraft/village/VillagerGossips;mergeReputation(Lnet/minecraft/village/VillageGossipType;II)I