Klasse SetBlockEntityNBTLootItemFunction
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
info.u_team.u_team_core.intern.loot_item_function.SetBlockEntityNBTLootItemFunction
- Alle implementierten Schnittstellen:
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 SetBlockEntityNBTLootItemFunction
extends net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen 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>> -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final com.mojang.serialization.MapCodec<SetBlockEntityNBTLootItemFunction> Von Klasse geerbte Felder net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
predicates -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder<?> builder()net.minecraft.world.level.storage.loot.functions.LootItemFunctionType<SetBlockEntityNBTLootItemFunction> getType()net.minecraft.world.item.ItemStackrun(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.storage.loot.LootContext context) Von Klasse geerbte Methoden net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
apply, commonFields, simpleBuilder, validateVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden java.util.function.BiFunction
andThenVon Schnittstelle geerbte Methoden net.minecraft.world.level.storage.loot.LootContextUser
getReferencedContextParams
-
Felddetails
-
CODEC
-
-
Methodendetails
-
builder
public static net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder<?> builder() -
run
public net.minecraft.world.item.ItemStack run(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.storage.loot.LootContext context) - Angegeben von:
runin Klassenet.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
-
getType
public net.minecraft.world.level.storage.loot.functions.LootItemFunctionType<SetBlockEntityNBTLootItemFunction> getType()- Angegeben von:
getTypein Schnittstellenet.minecraft.world.level.storage.loot.functions.LootItemFunction- Angegeben von:
getTypein Klassenet.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
-