Package net.minecraft.loot
Class LootTableReporter
java.lang.Object
net.minecraft.loot.LootTableReporter
public class LootTableReporter extends Object
- Mappings:
Namespace Name official deq
intermediary net/minecraft/class_58
named net/minecraft/loot/LootTableReporter
-
Field Summary
Fields Modifier and Type Field Description private Function<Identifier,LootCondition>
conditionGetter
private Set<Identifier>
conditions
private LootContextType
contextType
private Multimap<String,String>
messages
private String
name
private Supplier<String>
nameFactory
private Function<Identifier,LootTable>
tableGetter
private Set<Identifier>
tables
-
Constructor Summary
Constructors Constructor Description LootTableReporter(Multimap<String,String> messages, Supplier<String> nameFactory, LootContextType contextType, Function<Identifier,LootCondition> conditionGetter, Set<Identifier> conditions, Function<Identifier,LootTable> tableGetter, Set<Identifier> tables)
LootTableReporter(LootContextType contextType, Function<Identifier,LootCondition> conditionGetter, Function<Identifier,LootTable> tableFactory)
-
Method Summary
Modifier and Type Method Description LootCondition
getCondition(Identifier id)
Multimap<String,String>
getMessages()
private String
getName()
LootTable
getTable(Identifier id)
boolean
hasCondition(Identifier id)
boolean
hasTable(Identifier id)
LootTableReporter
makeChild(String name)
void
report(String message)
void
validateContext(LootContextAware contextAware)
LootTableReporter
withCondition(String name, Identifier id)
LootTableReporter
withContextType(LootContextType contextType)
LootTableReporter
withTable(String name, Identifier id)
-
Field Details
-
messages
- Mappings:
Namespace Name Mixin selector official a
Ldeq;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
- Mappings:
Namespace Name Mixin selector official b
Ldeq;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
- Mappings:
Namespace Name Mixin selector official c
Ldeq;c:Ldgm;
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
- Mappings:
Namespace Name Mixin selector official d
Ldeq;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
- Mappings:
Namespace Name Mixin selector official e
Ldeq;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
- Mappings:
Namespace Name Mixin selector official f
Ldeq;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
- Mappings:
Namespace Name Mixin selector official g
Ldeq;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
- Mappings:
Namespace Name Mixin selector official h
Ldeq;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>
Ldeq;<init>(Ldgm;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>
Ldeq;<init>(Lcom/google/common/collect/Multimap;Ljava/util/function/Supplier;Ldgm;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
- Mappings:
Namespace Name Mixin selector official b
Ldeq;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
- Mappings:
Namespace Name Mixin selector official a
Ldeq;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
- Mappings:
Namespace Name Mixin selector official b
Ldeq;b(Ljava/lang/String;)Ldeq;
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
- Mappings:
Namespace Name Mixin selector official a
Ldeq;a(Ljava/lang/String;Lwb;)Ldeq;
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
- Mappings:
Namespace Name Mixin selector official b
Ldeq;b(Ljava/lang/String;Lwb;)Ldeq;
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
- Mappings:
Namespace Name Mixin selector official a
Ldeq;a(Lwb;)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
- Mappings:
Namespace Name Mixin selector official b
Ldeq;b(Lwb;)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
- Mappings:
Namespace Name Mixin selector official a
Ldeq;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
- Mappings:
Namespace Name Mixin selector official a
Ldeq;a(Ldej;)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
- Mappings:
Namespace Name Mixin selector official c
Ldeq;c(Lwb;)Ldel;
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
- Mappings:
Namespace Name Mixin selector official d
Ldeq;d(Lwb;)Ldha;
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
- Mappings:
Namespace Name Mixin selector official a
Ldeq;a(Ldgm;)Ldeq;
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;
-