Class LootTableReporter

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

public class LootTableReporter extends Object
Mappings:
Namespace Name
official dzs
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 Ldzs;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 Ldzs;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 Ldzs;c:Lebr;
      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;
    • dataLookup

      private final LootDataLookup dataLookup
      Mappings:
      Namespace Name Mixin selector
      official d Ldzs;d:Ldzl;
      intermediary field_44504 Lnet/minecraft/class_58;field_44504:Lnet/minecraft/class_8489;
      named dataLookup Lnet/minecraft/loot/LootTableReporter;dataLookup:Lnet/minecraft/loot/LootDataLookup;
    • referenceStack

      private final Set<LootDataKey<?>> referenceStack
      Mappings:
      Namespace Name Mixin selector
      official e Ldzs;e:Ljava/util/Set;
      intermediary field_44505 Lnet/minecraft/class_58;field_44505:Ljava/util/Set;
      named referenceStack Lnet/minecraft/loot/LootTableReporter;referenceStack:Ljava/util/Set;
    • name

      @Nullable private @Nullable String name
      Mappings:
      Namespace Name Mixin selector
      official f Ldzs;f: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, LootDataLookup dataLookup)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldzs;<init>(Lebr;Ldzl;)V
      intermediary <init> Lnet/minecraft/class_58;<init>(Lnet/minecraft/class_176;Lnet/minecraft/class_8489;)V
      named <init> Lnet/minecraft/loot/LootTableReporter;<init>(Lnet/minecraft/loot/context/LootContextType;Lnet/minecraft/loot/LootDataLookup;)V
    • LootTableReporter

      public LootTableReporter(Multimap<String,String> messages, Supplier<String> nameFactory, LootContextType contextType, LootDataLookup dataLookup, Set<LootDataKey<?>> referenceStack)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldzs;<init>(Lcom/google/common/collect/Multimap;Ljava/util/function/Supplier;Lebr;Ldzl;Ljava/util/Set;)V
      intermediary <init> Lnet/minecraft/class_58;<init>(Lcom/google/common/collect/Multimap;Ljava/util/function/Supplier;Lnet/minecraft/class_176;Lnet/minecraft/class_8489;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;Lnet/minecraft/loot/LootDataLookup;Ljava/util/Set;)V
  • Method Details

    • getName

      private String getName()
      Mappings:
      Namespace Name Mixin selector
      official c Ldzs;c()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 Ldzs;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 Ldzs;b(Ljava/lang/String;)Ldzs;
      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;
    • makeChild

      public LootTableReporter makeChild(String name, LootDataKey<?> currentKey)
      Mappings:
      Namespace Name Mixin selector
      official a Ldzs;a(Ljava/lang/String;Ldzj;)Ldzs;
      intermediary method_51219 Lnet/minecraft/class_58;method_51219(Ljava/lang/String;Lnet/minecraft/class_8488;)Lnet/minecraft/class_58;
      named makeChild Lnet/minecraft/loot/LootTableReporter;makeChild(Ljava/lang/String;Lnet/minecraft/loot/LootDataKey;)Lnet/minecraft/loot/LootTableReporter;
    • isInStack

      public boolean isInStack(LootDataKey<?> key)
      Mappings:
      Namespace Name Mixin selector
      official a Ldzs;a(Ldzj;)Z
      intermediary method_51218 Lnet/minecraft/class_58;method_51218(Lnet/minecraft/class_8488;)Z
      named isInStack Lnet/minecraft/loot/LootTableReporter;isInStack(Lnet/minecraft/loot/LootDataKey;)Z
    • getMessages

      public Multimap<String,String> getMessages()
      Mappings:
      Namespace Name Mixin selector
      official a Ldzs;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 Ldzs;a(Ldzi;)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
    • getDataLookup

      public LootDataLookup getDataLookup()
      Mappings:
      Namespace Name Mixin selector
      official b Ldzs;b()Ldzl;
      intermediary method_51220 Lnet/minecraft/class_58;method_51220()Lnet/minecraft/class_8489;
      named getDataLookup Lnet/minecraft/loot/LootTableReporter;getDataLookup()Lnet/minecraft/loot/LootDataLookup;
    • withContextType

      public LootTableReporter withContextType(LootContextType contextType)
      Mappings:
      Namespace Name Mixin selector
      official a Ldzs;a(Lebr;)Ldzs;
      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;