Class VillagerGossips

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

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

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/village/VillagerGossips;LOGGER:Lorg/slf4j/Logger;
      intermediary field_41669 Lnet/minecraft/class_4136;field_41669:Lorg/slf4j/Logger;
      official b Lccc;b:Lorg/slf4j/Logger;
    • field_30236

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

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

    • VillagerGossips

      public VillagerGossips()
  • Method Details

    • getEntityReputationAssociatedGossips

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

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

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

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

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

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

      public int getReputationFor(UUID target, Predicate<VillageGossipType> gossipTypeFilter)
      Mappings:
      Namespace Name Mixin selector
      named getReputationFor Lnet/minecraft/village/VillagerGossips;getReputationFor(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
      official a Lccc;a(Ljava/util/UUID;Ljava/util/function/Predicate;)I
    • getReputationCount

      public long getReputationCount(VillageGossipType type, DoublePredicate predicate)
      Mappings:
      Namespace Name Mixin selector
      named getReputationCount Lnet/minecraft/village/VillagerGossips;getReputationCount(Lnet/minecraft/village/VillageGossipType;Ljava/util/function/DoublePredicate;)J
      intermediary method_35122 Lnet/minecraft/class_4136;method_35122(Lnet/minecraft/class_4139;Ljava/util/function/DoublePredicate;)J
      official a Lccc;a(Lccd;Ljava/util/function/DoublePredicate;)J
    • startGossip

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

      public void removeGossip(UUID target, VillageGossipType type, int value)
      Mappings:
      Namespace Name Mixin selector
      named removeGossip Lnet/minecraft/village/VillagerGossips;removeGossip(Ljava/util/UUID;Lnet/minecraft/village/VillageGossipType;I)V
      intermediary method_35126 Lnet/minecraft/class_4136;method_35126(Ljava/util/UUID;Lnet/minecraft/class_4139;I)V
      official b Lccc;b(Ljava/util/UUID;Lccd;I)V
    • remove

      public void remove(UUID target, VillageGossipType type)
      Mappings:
      Namespace Name Mixin selector
      named remove Lnet/minecraft/village/VillagerGossips;remove(Ljava/util/UUID;Lnet/minecraft/village/VillageGossipType;)V
      intermediary method_35124 Lnet/minecraft/class_4136;method_35124(Ljava/util/UUID;Lnet/minecraft/class_4139;)V
      official a Lccc;a(Ljava/util/UUID;Lccd;)V
    • remove

      public void remove(VillageGossipType type)
      Mappings:
      Namespace Name Mixin selector
      named remove Lnet/minecraft/village/VillagerGossips;remove(Lnet/minecraft/village/VillageGossipType;)V
      intermediary method_35121 Lnet/minecraft/class_4136;method_35121(Lnet/minecraft/class_4139;)V
      official a Lccc;a(Lccd;)V
    • serialize

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

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

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

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