Expansion for MCBlock
Additional methods for easier modification of block-related loot tables.
Methods
Adds an IItemStack to the drops of this block if it matches the state outlined in the StatePropertiesPredicate.
Return Type: void
Adds an ILootModifier to this block, firing only if it matches the state outlined in the StatePropertiesPredicate.
Return Type: void
Adds an IItemStack to the drops of this block, if it gets broken with the given tool.
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.
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 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 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 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