Class VillagerGossips.Reputation

java.lang.Object
net.minecraft.village.VillagerGossips.Reputation
Enclosing class:
VillagerGossips

private static class VillagerGossips.Reputation extends Object
Mappings:
Namespace Name
official box$a
intermediary net/minecraft/class_4136$class_4137
named net/minecraft/village/VillagerGossips$Reputation
  • Field Details

    • associatedGossip

      final Object2IntMap<VillageGossipType> associatedGossip
      Mappings:
      Namespace Name Mixin selector
      official a Lbox$a;a:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      intermediary field_18420 Lnet/minecraft/class_4136$class_4137;field_18420:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      named associatedGossip Lnet/minecraft/village/VillagerGossips$Reputation;associatedGossip:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
  • Constructor Details

    • Reputation

      Reputation()
  • Method Details

    • getValueFor

      public int getValueFor(Predicate<VillageGossipType> gossipTypeFilter)
      Mappings:
      Namespace Name Mixin selector
      official a Lbox$a;a(Ljava/util/function/Predicate;)I
      intermediary method_19081 Lnet/minecraft/class_4136$class_4137;method_19081(Ljava/util/function/Predicate;)I
      named getValueFor Lnet/minecraft/village/VillagerGossips$Reputation;getValueFor(Ljava/util/function/Predicate;)I
    • entriesFor

      public Stream<VillagerGossips.GossipEntry> entriesFor(UUID target)
      Mappings:
      Namespace Name Mixin selector
      official a Lbox$a;a(Ljava/util/UUID;)Ljava/util/stream/Stream;
      intermediary method_19079 Lnet/minecraft/class_4136$class_4137;method_19079(Ljava/util/UUID;)Ljava/util/stream/Stream;
      named entriesFor Lnet/minecraft/village/VillagerGossips$Reputation;entriesFor(Ljava/util/UUID;)Ljava/util/stream/Stream;
    • decay

      public void decay()
      Mappings:
      Namespace Name Mixin selector
      official a Lbox$a;a()V
      intermediary method_20652 Lnet/minecraft/class_4136$class_4137;method_20652()V
      named decay Lnet/minecraft/village/VillagerGossips$Reputation;decay()V
    • isObsolete

      public boolean isObsolete()
      Mappings:
      Namespace Name Mixin selector
      official b Lbox$a;b()Z
      intermediary method_20654 Lnet/minecraft/class_4136$class_4137;method_20654()Z
      named isObsolete Lnet/minecraft/village/VillagerGossips$Reputation;isObsolete()Z
    • clamp

      public void clamp(VillageGossipType gossipType)
      Mappings:
      Namespace Name Mixin selector
      official a Lbox$a;a(Lboy;)V
      intermediary method_20653 Lnet/minecraft/class_4136$class_4137;method_20653(Lnet/minecraft/class_4139;)V
      named clamp Lnet/minecraft/village/VillagerGossips$Reputation;clamp(Lnet/minecraft/village/VillageGossipType;)V
    • remove

      public void remove(VillageGossipType gossipType)
      Mappings:
      Namespace Name Mixin selector
      official b Lbox$a;b(Lboy;)V
      intermediary method_20655 Lnet/minecraft/class_4136$class_4137;method_20655(Lnet/minecraft/class_4139;)V
      named remove Lnet/minecraft/village/VillagerGossips$Reputation;remove(Lnet/minecraft/village/VillageGossipType;)V