Expansion for MCBlockState
Additional methods for easier modification of block state-related loot tables.
方法
Adds a list of IItemStacks to the drops for this block, ignoring the current state.
Return Type: void
Adds an IItemStack to the drops of the current block, only if it matches the current block state precisely.
Return Type: void
Adds a list of IItemStacks to the drops of the current block, only if it matches the current block state precisely.
Return Type: void
Adds an ILootModifier to the current block, only if it matches the current block state precisely.
Return Type: void
Adds an IItemStack to the drops of this block, if it gets broken with the given tool and matches the current block state precisely.
Parameters that may be attached the tool such as count, damage, or NBT data are ignored.
Return Type: void
Adds a list of IItemStacks to the drops of this block, if it gets broken with the given tool and matches the current block state precisely.
Parameters that may be attached the tool such as count, damage, or NBT data are ignored.
Return Type: void
Adds an ILootModifier that fires if this block state gets broken with the given tool.
Parameters that may be attached to the tool such as count, damage, or NBT data are ignored.
Return Type: void
Adds an ILootModifier that fires if this block state gets broken with the given tool, optionally considering its damage.
Additional parameters that may be attached to the tool, such as NBT or count, are ignored.
Return Type: void
Adds an ILootModifier that fires if this block state gets broken with the given tool, optionally considering its damage or NBT.
Additional parameters that may be attached to the tool, such as count, are ignored.
Return Type: void