Package vazkii.botania.common.loot
Class BindUuid
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
vazkii.botania.common.loot.BindUuid
- All Implemented Interfaces:
BiFunction<net.minecraft.world.item.ItemStack,,net.minecraft.world.level.storage.loot.LootContext, net.minecraft.world.item.ItemStack> net.minecraft.world.level.storage.loot.functions.LootItemFunction,net.minecraft.world.level.storage.loot.LootContextUser
public class BindUuid
extends net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder<T extends net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder<T>> -
Field Summary
FieldsFields inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
predicates -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.storage.loot.functions.LootItemFunctionType<? extends BindUuid> getType()@NotNull net.minecraft.world.item.ItemStackrun(@NotNull net.minecraft.world.item.ItemStack stack, @NotNull net.minecraft.world.level.storage.loot.LootContext context) Methods inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
apply, commonFields, simpleBuilder, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThenMethods inherited from interface net.minecraft.world.level.storage.loot.LootContextUser
getReferencedContextParams
-
Field Details
-
CODEC
-
-
Constructor Details
-
BindUuid
public BindUuid(List<net.minecraft.world.level.storage.loot.predicates.LootItemCondition> predicates)
-
-
Method Details
-
run
@NotNull public @NotNull net.minecraft.world.item.ItemStack run(@NotNull @NotNull net.minecraft.world.item.ItemStack stack, @NotNull @NotNull net.minecraft.world.level.storage.loot.LootContext context) - Specified by:
runin classnet.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
-
getType
public net.minecraft.world.level.storage.loot.functions.LootItemFunctionType<? extends BindUuid> getType()- Specified by:
getTypein interfacenet.minecraft.world.level.storage.loot.functions.LootItemFunction- Specified by:
getTypein classnet.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
-