Interface LootTableFunction

All Known Implementing Classes:
ConditionedFunctionWrapper
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public interface LootTableFunction
Changes to apply to the stack being produced
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static LootTableFunction IDENTITY  
  • Method Summary

    Modifier and Type Method Description
    ItemStack apply​(ItemStack stack, Data data)
    Applies changes to the stack being produced