Package net.minecraft.loot
Class LootTableReporter
java.lang.Object
net.minecraft.loot.LootTableReporter
- Mappings:
Namespace Name official dyz
intermediary net/minecraft/class_58
named net/minecraft/loot/LootTableReporter
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Function<Identifier,
LootCondition> private final Set<Identifier>
private final LootContextType
private String
private final Function<Identifier,
LootTable> private final Set<Identifier>
-
Constructor Summary
ConstructorDescriptionLootTableReporter
(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 TypeMethodDescriptionprivate String
getName()
getTable
(Identifier id) boolean
boolean
hasTable
(Identifier id) void
void
validateContext
(LootContextAware contextAware) withCondition
(String name, Identifier id) withContextType
(LootContextType contextType) withTable
(String name, Identifier id)
-
Field Details
-
messages
- Mappings:
Namespace Name Mixin selector official a
Ldyz;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
Ldyz;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
Ldyz;c:Leax;
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
Ldyz;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
Ldyz;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
Ldyz;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
Ldyz;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
Ldyz;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>
Ldyz;<init>(Leax;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>
Ldyz;<init>(Lcom/google/common/collect/Multimap;Ljava/util/function/Supplier;Leax;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
Ldyz;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
Ldyz;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
Ldyz;b(Ljava/lang/String;)Ldyz;
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
Ldyz;a(Ljava/lang/String;Ladd;)Ldyz;
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
Ldyz;b(Ljava/lang/String;Ladd;)Ldyz;
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
Ldyz;a(Ladd;)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
Ldyz;b(Ladd;)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
Ldyz;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
Ldyz;a(Ldys;)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
Ldyz;c(Ladd;)Ldyu;
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
Ldyz;d(Ladd;)Lebl;
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
Ldyz;a(Leax;)Ldyz;
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;
-