Package net.minecraft.loot.function
Class SetGoatHornSoundLootFunction
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction
net.minecraft.loot.function.SetGoatHornSoundLootFunction
- All Implemented Interfaces:
BiFunction<ItemStack,
,LootContext, ItemStack> LootContextAware
,LootFunction
- Mappings:
Namespace Name official dta
intermediary net/minecraft/class_7431
named net/minecraft/loot/function/SetGoatHornSoundLootFunction
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.loot.function.ConditionalLootFunction
ConditionalLootFunction.Builder<T extends ConditionalLootFunction.Builder<T>>
-
Field Summary
Fields inherited from class net.minecraft.loot.function.ConditionalLootFunction
conditions
-
Constructor Summary
ConstructorDescriptionSetGoatHornSoundLootFunction
(LootCondition[] lootCondition, TagKey<Instrument> tagKey) -
Method Summary
Modifier and TypeMethodDescriptionstatic ConditionalLootFunction.Builder<?>
builder
(TagKey<Instrument> tagKey) getType()
process
(ItemStack stack, LootContext context) Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction
apply, builder, validate
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_39184
- Mappings:
Namespace Name Mixin selector official a
Ldta;a:Lakh;
intermediary field_39184
Lnet/minecraft/class_7431;field_39184:Lnet/minecraft/class_6862;
named field_39184
Lnet/minecraft/loot/function/SetGoatHornSoundLootFunction;field_39184:Lnet/minecraft/tag/TagKey;
-
-
Constructor Details
-
SetGoatHornSoundLootFunction
SetGoatHornSoundLootFunction(LootCondition[] lootCondition, TagKey<Instrument> tagKey)
-
-
Method Details
-
getType
- Mappings:
Namespace Name Mixin selector official a
Ldsr;a()Ldss;
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;
-
process
- Specified by:
process
in classConditionalLootFunction
- Mappings:
Namespace Name Mixin selector official a
Ldsq;a(Lcaa;Ldrg;)Lcaa;
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;
-
builder
- Mappings:
Namespace Name Mixin selector official a
Ldta;a(Lakh;)Ldsq$a;
intermediary method_43571
Lnet/minecraft/class_7431;method_43571(Lnet/minecraft/class_6862;)Lnet/minecraft/class_120$class_121;
named builder
Lnet/minecraft/loot/function/SetGoatHornSoundLootFunction;builder(Lnet/minecraft/tag/TagKey;)Lnet/minecraft/loot/function/ConditionalLootFunction$Builder;
-