Package net.minecraft
Class class_8492
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction
net.minecraft.class_8492
- All Implemented Interfaces:
BiFunction<ItemStack,
,LootContext, ItemStack> LootContextAware
,LootFunction
- Mappings:
Namespace Name official eag
intermediary net/minecraft/class_8492
named net/minecraft/class_8492
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.loot.function.ConditionalLootFunction
ConditionalLootFunction.Builder<T extends ConditionalLootFunction.Builder<T>>, ConditionalLootFunction.Serializer<T extends ConditionalLootFunction>
-
Field Summary
FieldsFields inherited from class net.minecraft.loot.function.ConditionalLootFunction
conditions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()
static ConditionalLootFunction.Builder<?>
method_51224
(Identifier identifier) protected ItemStack
process
(ItemStack stack, LootContext context) void
validate
(LootTableReporter reporter) Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction
apply, builder
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiFunction
andThen
Methods inherited from interface net.minecraft.loot.context.LootContextAware
getRequiredParameters
-
Field Details
-
field_44506
- Mappings:
Namespace Name Mixin selector official a
Leag;a:Lorg/slf4j/Logger;
intermediary field_44506
Lnet/minecraft/class_8492;field_44506:Lorg/slf4j/Logger;
named field_44506
Lnet/minecraft/class_8492;field_44506:Lorg/slf4j/Logger;
-
field_44507
- Mappings:
Namespace Name Mixin selector official b
Leag;b:Lacp;
intermediary field_44507
Lnet/minecraft/class_8492;field_44507:Lnet/minecraft/class_2960;
named field_44507
Lnet/minecraft/class_8492;field_44507:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
class_8492
class_8492(LootCondition[] lootCondition, Identifier identifier)
-
-
Method Details
-
getType
- Mappings:
Namespace Name Mixin selector official b
Leak;b()Leal;
intermediary method_29321
Lnet/minecraft/class_117;method_29321()Lnet/minecraft/class_5339;
named getType
Lnet/minecraft/loot/function/LootFunction;getType()Lnet/minecraft/loot/function/LootFunctionType;
-
validate
- Specified by:
validate
in interfaceLootContextAware
- Overrides:
validate
in classConditionalLootFunction
- Mappings:
Namespace Name Mixin selector official a
Ldyx;a(Ldzg;)V
intermediary method_292
Lnet/minecraft/class_46;method_292(Lnet/minecraft/class_58;)V
named validate
Lnet/minecraft/loot/context/LootContextAware;validate(Lnet/minecraft/loot/LootTableReporter;)V
-
process
- Specified by:
process
in classConditionalLootFunction
- Mappings:
Namespace Name Mixin selector official a
Leaj;a(Lcfm;Ldyw;)Lcfm;
intermediary method_522
Lnet/minecraft/class_120;method_522(Lnet/minecraft/class_1799;Lnet/minecraft/class_47;)Lnet/minecraft/class_1799;
named process
Lnet/minecraft/loot/function/ConditionalLootFunction;process(Lnet/minecraft/item/ItemStack;Lnet/minecraft/loot/context/LootContext;)Lnet/minecraft/item/ItemStack;
-
method_51224
- Mappings:
Namespace Name Mixin selector official a
Leag;a(Lacp;)Leaj$a;
intermediary method_51224
Lnet/minecraft/class_8492;method_51224(Lnet/minecraft/class_2960;)Lnet/minecraft/class_120$class_121;
named method_51224
Lnet/minecraft/class_8492;method_51224(Lnet/minecraft/util/Identifier;)Lnet/minecraft/loot/function/ConditionalLootFunction$Builder;
-