Package net.minecraft.loot
Class LootTableReporter
java.lang.Object
net.minecraft.loot.LootTableReporter
- Mappings:
Namespace Name official drointermediary net/minecraft/class_58named net/minecraft/loot/LootTableReporter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Function<Identifier,LootCondition> private final Set<Identifier>private final LootContextTypeprivate Stringprivate final Function<Identifier,LootTable> private final Set<Identifier> -
Constructor Summary
ConstructorsConstructorDescriptionLootTableReporter(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 StringgetName()getTable(Identifier id) booleanbooleanhasTable(Identifier id) voidvoidvalidateContext(LootContextAware contextAware) withCondition(String name, Identifier id) withContextType(LootContextType contextType) withTable(String name, Identifier id)
-
Field Details
-
messages
- Mappings:
Namespace Name Mixin selector official aLdro;a:Lcom/google/common/collect/Multimap;intermediary field_965Lnet/minecraft/class_58;field_965:Lcom/google/common/collect/Multimap;named messagesLnet/minecraft/loot/LootTableReporter;messages:Lcom/google/common/collect/Multimap;
-
nameFactory
- Mappings:
Namespace Name Mixin selector official bLdro;b:Ljava/util/function/Supplier;intermediary field_966Lnet/minecraft/class_58;field_966:Ljava/util/function/Supplier;named nameFactoryLnet/minecraft/loot/LootTableReporter;nameFactory:Ljava/util/function/Supplier;
-
contextType
- Mappings:
Namespace Name Mixin selector official cLdro;c:Ldtm;intermediary field_20756Lnet/minecraft/class_58;field_20756:Lnet/minecraft/class_176;named contextTypeLnet/minecraft/loot/LootTableReporter;contextType:Lnet/minecraft/loot/context/LootContextType;
-
conditionGetter
- Mappings:
Namespace Name Mixin selector official dLdro;d:Ljava/util/function/Function;intermediary field_20757Lnet/minecraft/class_58;field_20757:Ljava/util/function/Function;named conditionGetterLnet/minecraft/loot/LootTableReporter;conditionGetter:Ljava/util/function/Function;
-
conditions
- Mappings:
Namespace Name Mixin selector official eLdro;e:Ljava/util/Set;intermediary field_20758Lnet/minecraft/class_58;field_20758:Ljava/util/Set;named conditionsLnet/minecraft/loot/LootTableReporter;conditions:Ljava/util/Set;
-
tableGetter
- Mappings:
Namespace Name Mixin selector official fLdro;f:Ljava/util/function/Function;intermediary field_20759Lnet/minecraft/class_58;field_20759:Ljava/util/function/Function;named tableGetterLnet/minecraft/loot/LootTableReporter;tableGetter:Ljava/util/function/Function;
-
tables
- Mappings:
Namespace Name Mixin selector official gLdro;g:Ljava/util/Set;intermediary field_20760Lnet/minecraft/class_58;field_20760:Ljava/util/Set;named tablesLnet/minecraft/loot/LootTableReporter;tables:Ljava/util/Set;
-
name
- Mappings:
Namespace Name Mixin selector official hLdro;h:Ljava/lang/String;intermediary field_964Lnet/minecraft/class_58;field_964:Ljava/lang/String;named nameLnet/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>Ldro;<init>(Ldtm;Ljava/util/function/Function;Ljava/util/function/Function;)Vintermediary <init>Lnet/minecraft/class_58;<init>(Lnet/minecraft/class_176;Ljava/util/function/Function;Ljava/util/function/Function;)Vnamed <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>Ldro;<init>(Lcom/google/common/collect/Multimap;Ljava/util/function/Supplier;Ldtm;Ljava/util/function/Function;Ljava/util/Set;Ljava/util/function/Function;Ljava/util/Set;)Vintermediary <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;)Vnamed <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 bLdro;b()Ljava/lang/String;intermediary method_359Lnet/minecraft/class_58;method_359()Ljava/lang/String;named getNameLnet/minecraft/loot/LootTableReporter;getName()Ljava/lang/String;
-
report
- Mappings:
Namespace Name Mixin selector official aLdro;a(Ljava/lang/String;)Vintermediary method_360Lnet/minecraft/class_58;method_360(Ljava/lang/String;)Vnamed reportLnet/minecraft/loot/LootTableReporter;report(Ljava/lang/String;)V
-
makeChild
- Mappings:
Namespace Name Mixin selector official bLdro;b(Ljava/lang/String;)Ldro;intermediary method_364Lnet/minecraft/class_58;method_364(Ljava/lang/String;)Lnet/minecraft/class_58;named makeChildLnet/minecraft/loot/LootTableReporter;makeChild(Ljava/lang/String;)Lnet/minecraft/loot/LootTableReporter;
-
withTable
- Mappings:
Namespace Name Mixin selector official aLdro;a(Ljava/lang/String;Laaj;)Ldro;intermediary method_22569Lnet/minecraft/class_58;method_22569(Ljava/lang/String;Lnet/minecraft/class_2960;)Lnet/minecraft/class_58;named withTableLnet/minecraft/loot/LootTableReporter;withTable(Ljava/lang/String;Lnet/minecraft/util/Identifier;)Lnet/minecraft/loot/LootTableReporter;
-
withCondition
- Mappings:
Namespace Name Mixin selector official bLdro;b(Ljava/lang/String;Laaj;)Ldro;intermediary method_22571Lnet/minecraft/class_58;method_22571(Ljava/lang/String;Lnet/minecraft/class_2960;)Lnet/minecraft/class_58;named withConditionLnet/minecraft/loot/LootTableReporter;withCondition(Ljava/lang/String;Lnet/minecraft/util/Identifier;)Lnet/minecraft/loot/LootTableReporter;
-
hasTable
- Mappings:
Namespace Name Mixin selector official aLdro;a(Laaj;)Zintermediary method_22570Lnet/minecraft/class_58;method_22570(Lnet/minecraft/class_2960;)Znamed hasTableLnet/minecraft/loot/LootTableReporter;hasTable(Lnet/minecraft/util/Identifier;)Z
-
hasCondition
- Mappings:
Namespace Name Mixin selector official bLdro;b(Laaj;)Zintermediary method_22572Lnet/minecraft/class_58;method_22572(Lnet/minecraft/class_2960;)Znamed hasConditionLnet/minecraft/loot/LootTableReporter;hasCondition(Lnet/minecraft/util/Identifier;)Z
-
getMessages
- Mappings:
Namespace Name Mixin selector official aLdro;a()Lcom/google/common/collect/Multimap;intermediary method_361Lnet/minecraft/class_58;method_361()Lcom/google/common/collect/Multimap;named getMessagesLnet/minecraft/loot/LootTableReporter;getMessages()Lcom/google/common/collect/Multimap;
-
validateContext
- Mappings:
Namespace Name Mixin selector official aLdro;a(Ldrh;)Vintermediary method_22567Lnet/minecraft/class_58;method_22567(Lnet/minecraft/class_46;)Vnamed validateContextLnet/minecraft/loot/LootTableReporter;validateContext(Lnet/minecraft/loot/context/LootContextAware;)V
-
getTable
- Mappings:
Namespace Name Mixin selector official cLdro;c(Laaj;)Ldrj;intermediary method_22574Lnet/minecraft/class_58;method_22574(Lnet/minecraft/class_2960;)Lnet/minecraft/class_52;named getTableLnet/minecraft/loot/LootTableReporter;getTable(Lnet/minecraft/util/Identifier;)Lnet/minecraft/loot/LootTable;
-
getCondition
- Mappings:
Namespace Name Mixin selector official dLdro;d(Laaj;)Ldua;intermediary method_22576Lnet/minecraft/class_58;method_22576(Lnet/minecraft/class_2960;)Lnet/minecraft/class_5341;named getConditionLnet/minecraft/loot/LootTableReporter;getCondition(Lnet/minecraft/util/Identifier;)Lnet/minecraft/loot/condition/LootCondition;
-
withContextType
- Mappings:
Namespace Name Mixin selector official aLdro;a(Ldtm;)Ldro;intermediary method_22568Lnet/minecraft/class_58;method_22568(Lnet/minecraft/class_176;)Lnet/minecraft/class_58;named withContextTypeLnet/minecraft/loot/LootTableReporter;withContextType(Lnet/minecraft/loot/context/LootContextType;)Lnet/minecraft/loot/LootTableReporter;
-