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

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    static final com.mojang.serialization.MapCodec<SetBlockEntityNBTLootItemFunction>
     

    Von Klasse geerbte Felder net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction

    predicates
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    static net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder<?>
     
    net.minecraft.world.level.storage.loot.functions.LootItemFunctionType<SetBlockEntityNBTLootItemFunction>
     
    net.minecraft.world.item.ItemStack
    run(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, validate

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Von Schnittstelle geerbte Methoden java.util.function.BiFunction

    andThen

    Von Schnittstelle geerbte Methoden net.minecraft.world.level.storage.loot.LootContextUser

    getReferencedContextParams
  • Felddetails

  • 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:
      run in Klasse net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
    • getType

      public net.minecraft.world.level.storage.loot.functions.LootItemFunctionType<SetBlockEntityNBTLootItemFunction> getType()
      Angegeben von:
      getType in Schnittstelle net.minecraft.world.level.storage.loot.functions.LootItemFunction
      Angegeben von:
      getType in Klasse net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction