Interface AppendLootModifier

All Superinterfaces:
BlockEntityModifier, Wrapper

@NullMarked @AsOf("3.4.0") public interface AppendLootModifier extends BlockEntityModifier
Gives the block entity a loot table, as trail ruins do for suspicious gravel.
Since:
3.4.0
See Also:
  • Method Details

    • lootTable

      @AsOf("3.4.0") ResourceKey lootTable()
      The loot table given to the block entity.
      Returns:
      the key of the loot table
      Since:
      3.4.0
    • of

      @AsOf("3.4.0") static AppendLootModifier of(ResourceKey lootTable)
      Creates a new append-loot modifier.
      Parameters:
      lootTable - the key of the loot table
      Returns:
      the modifier
      Since:
      3.4.0