Class LootTableReporter

java.lang.Object
net.minecraft.loot.LootTableReporter

public class LootTableReporter extends Object
Mappings:
Namespace Name
official djv
intermediary net/minecraft/class_58
named net/minecraft/loot/LootTableReporter
  • Field Details

    • messages

      private final Multimap<String,String> messages
      Mappings:
      Namespace Name Mixin selector
      official a Ldjv;a:Lcom/google/common/collect/Multimap;
      intermediary field_965 Lnet/minecraft/class_58;field_965:Lcom/google/common/collect/Multimap;
      named messages Lnet/minecraft/loot/LootTableReporter;messages:Lcom/google/common/collect/Multimap;
    • nameFactory

      private final Supplier<String> nameFactory
      Mappings:
      Namespace Name Mixin selector
      official b Ldjv;b:Ljava/util/function/Supplier;
      intermediary field_966 Lnet/minecraft/class_58;field_966:Ljava/util/function/Supplier;
      named nameFactory Lnet/minecraft/loot/LootTableReporter;nameFactory:Ljava/util/function/Supplier;
    • contextType

      private final LootContextType contextType
      Mappings:
      Namespace Name Mixin selector
      official c Ldjv;c:Ldls;
      intermediary field_20756 Lnet/minecraft/class_58;field_20756:Lnet/minecraft/class_176;
      named contextType Lnet/minecraft/loot/LootTableReporter;contextType:Lnet/minecraft/loot/context/LootContextType;
    • conditionGetter

      private final Function<Identifier,LootCondition> conditionGetter
      Mappings:
      Namespace Name Mixin selector
      official d Ldjv;d:Ljava/util/function/Function;
      intermediary field_20757 Lnet/minecraft/class_58;field_20757:Ljava/util/function/Function;
      named conditionGetter Lnet/minecraft/loot/LootTableReporter;conditionGetter:Ljava/util/function/Function;
    • conditions

      private final Set<Identifier> conditions
      Mappings:
      Namespace Name Mixin selector
      official e Ldjv;e:Ljava/util/Set;
      intermediary field_20758 Lnet/minecraft/class_58;field_20758:Ljava/util/Set;
      named conditions Lnet/minecraft/loot/LootTableReporter;conditions:Ljava/util/Set;
    • tableGetter

      private final Function<Identifier,LootTable> tableGetter
      Mappings:
      Namespace Name Mixin selector
      official f Ldjv;f:Ljava/util/function/Function;
      intermediary field_20759 Lnet/minecraft/class_58;field_20759:Ljava/util/function/Function;
      named tableGetter Lnet/minecraft/loot/LootTableReporter;tableGetter:Ljava/util/function/Function;
    • tables

      private final Set<Identifier> tables
      Mappings:
      Namespace Name Mixin selector
      official g Ldjv;g:Ljava/util/Set;
      intermediary field_20760 Lnet/minecraft/class_58;field_20760:Ljava/util/Set;
      named tables Lnet/minecraft/loot/LootTableReporter;tables:Ljava/util/Set;
    • name

      private String name
      Mappings:
      Namespace Name Mixin selector
      official h Ldjv;h:Ljava/lang/String;
      intermediary field_964 Lnet/minecraft/class_58;field_964:Ljava/lang/String;
      named name Lnet/minecraft/loot/LootTableReporter;name:Ljava/lang/String;
  • Constructor Details

    • LootTableReporter

      public LootTableReporter(LootContextType contextType, Function<Identifier,LootCondition> conditionGetter, Function<Identifier,LootTable> tableFactory)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldjv;<init>(Ldls;Ljava/util/function/Function;Ljava/util/function/Function;)V
      intermediary <init> Lnet/minecraft/class_58;<init>(Lnet/minecraft/class_176;Ljava/util/function/Function;Ljava/util/function/Function;)V
      named <init> Lnet/minecraft/loot/LootTableReporter;<init>(Lnet/minecraft/loot/context/LootContextType;Ljava/util/function/Function;Ljava/util/function/Function;)V
    • LootTableReporter

      public LootTableReporter(Multimap<String,String> messages, Supplier<String> nameFactory, LootContextType contextType, Function<Identifier,LootCondition> conditionGetter, Set<Identifier> conditions, Function<Identifier,LootTable> tableGetter, Set<Identifier> tables)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldjv;<init>(Lcom/google/common/collect/Multimap;Ljava/util/function/Supplier;Ldls;Ljava/util/function/Function;Ljava/util/Set;Ljava/util/function/Function;Ljava/util/Set;)V
      intermediary <init> Lnet/minecraft/class_58;<init>(Lcom/google/common/collect/Multimap;Ljava/util/function/Supplier;Lnet/minecraft/class_176;Ljava/util/function/Function;Ljava/util/Set;Ljava/util/function/Function;Ljava/util/Set;)V
      named <init> Lnet/minecraft/loot/LootTableReporter;<init>(Lcom/google/common/collect/Multimap;Ljava/util/function/Supplier;Lnet/minecraft/loot/context/LootContextType;Ljava/util/function/Function;Ljava/util/Set;Ljava/util/function/Function;Ljava/util/Set;)V
  • Method Details

    • getName

      private String getName()
      Mappings:
      Namespace Name Mixin selector
      official b Ldjv;b()Ljava/lang/String;
      intermediary method_359 Lnet/minecraft/class_58;method_359()Ljava/lang/String;
      named getName Lnet/minecraft/loot/LootTableReporter;getName()Ljava/lang/String;
    • report

      public void report(String message)
      Mappings:
      Namespace Name Mixin selector
      official a Ldjv;a(Ljava/lang/String;)V
      intermediary method_360 Lnet/minecraft/class_58;method_360(Ljava/lang/String;)V
      named report Lnet/minecraft/loot/LootTableReporter;report(Ljava/lang/String;)V
    • makeChild

      public LootTableReporter makeChild(String name)
      Mappings:
      Namespace Name Mixin selector
      official b Ldjv;b(Ljava/lang/String;)Ldjv;
      intermediary method_364 Lnet/minecraft/class_58;method_364(Ljava/lang/String;)Lnet/minecraft/class_58;
      named makeChild Lnet/minecraft/loot/LootTableReporter;makeChild(Ljava/lang/String;)Lnet/minecraft/loot/LootTableReporter;
    • withTable

      public LootTableReporter withTable(String name, Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Ldjv;a(Ljava/lang/String;Lyb;)Ldjv;
      intermediary method_22569 Lnet/minecraft/class_58;method_22569(Ljava/lang/String;Lnet/minecraft/class_2960;)Lnet/minecraft/class_58;
      named withTable Lnet/minecraft/loot/LootTableReporter;withTable(Ljava/lang/String;Lnet/minecraft/util/Identifier;)Lnet/minecraft/loot/LootTableReporter;
    • withCondition

      public LootTableReporter withCondition(String name, Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official b Ldjv;b(Ljava/lang/String;Lyb;)Ldjv;
      intermediary method_22571 Lnet/minecraft/class_58;method_22571(Ljava/lang/String;Lnet/minecraft/class_2960;)Lnet/minecraft/class_58;
      named withCondition Lnet/minecraft/loot/LootTableReporter;withCondition(Ljava/lang/String;Lnet/minecraft/util/Identifier;)Lnet/minecraft/loot/LootTableReporter;
    • hasTable

      public boolean hasTable(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Ldjv;a(Lyb;)Z
      intermediary method_22570 Lnet/minecraft/class_58;method_22570(Lnet/minecraft/class_2960;)Z
      named hasTable Lnet/minecraft/loot/LootTableReporter;hasTable(Lnet/minecraft/util/Identifier;)Z
    • hasCondition

      public boolean hasCondition(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official b Ldjv;b(Lyb;)Z
      intermediary method_22572 Lnet/minecraft/class_58;method_22572(Lnet/minecraft/class_2960;)Z
      named hasCondition Lnet/minecraft/loot/LootTableReporter;hasCondition(Lnet/minecraft/util/Identifier;)Z
    • getMessages

      public Multimap<String,String> getMessages()
      Mappings:
      Namespace Name Mixin selector
      official a Ldjv;a()Lcom/google/common/collect/Multimap;
      intermediary method_361 Lnet/minecraft/class_58;method_361()Lcom/google/common/collect/Multimap;
      named getMessages Lnet/minecraft/loot/LootTableReporter;getMessages()Lcom/google/common/collect/Multimap;
    • validateContext

      public void validateContext(LootContextAware contextAware)
      Mappings:
      Namespace Name Mixin selector
      official a Ldjv;a(Ldjo;)V
      intermediary method_22567 Lnet/minecraft/class_58;method_22567(Lnet/minecraft/class_46;)V
      named validateContext Lnet/minecraft/loot/LootTableReporter;validateContext(Lnet/minecraft/loot/context/LootContextAware;)V
    • getTable

      @Nullable public @Nullable LootTable getTable(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official c Ldjv;c(Lyb;)Ldjq;
      intermediary method_22574 Lnet/minecraft/class_58;method_22574(Lnet/minecraft/class_2960;)Lnet/minecraft/class_52;
      named getTable Lnet/minecraft/loot/LootTableReporter;getTable(Lnet/minecraft/util/Identifier;)Lnet/minecraft/loot/LootTable;
    • getCondition

      @Nullable public @Nullable LootCondition getCondition(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official d Ldjv;d(Lyb;)Ldmg;
      intermediary method_22576 Lnet/minecraft/class_58;method_22576(Lnet/minecraft/class_2960;)Lnet/minecraft/class_5341;
      named getCondition Lnet/minecraft/loot/LootTableReporter;getCondition(Lnet/minecraft/util/Identifier;)Lnet/minecraft/loot/condition/LootCondition;
    • withContextType

      public LootTableReporter withContextType(LootContextType contextType)
      Mappings:
      Namespace Name Mixin selector
      official a Ldjv;a(Ldls;)Ldjv;
      intermediary method_22568 Lnet/minecraft/class_58;method_22568(Lnet/minecraft/class_176;)Lnet/minecraft/class_58;
      named withContextType Lnet/minecraft/loot/LootTableReporter;withContextType(Lnet/minecraft/loot/context/LootContextType;)Lnet/minecraft/loot/LootTableReporter;