User Tools

Site Tools


tutorial:mining_levels

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tutorial:mining_levels [2020/06/14 08:33]
shedaniel
tutorial:mining_levels [2020/06/14 08:34] (current)
shedaniel
Line 36: Line 36:
 </​code>​ </​code>​
  
-==== Disable drops when using the invalid tool (Only for 1.15.x!) ====+==== Disable drops when using the invalid tool (For 1.15.x!) ====
 You will need to set ''​requiresTool''​ in the material of the block, therefore you will want to create a clone for your material. You will need to set ''​requiresTool''​ in the material of the block, therefore you will want to create a clone for your material.
  
Line 48: Line 48:
 new FabricMaterialBuilder(MaterialColor.WOOD).burnable().requiresTool().build() new FabricMaterialBuilder(MaterialColor.WOOD).burnable().requiresTool().build()
 </​code>​ </​code>​
 +
 +==== Disable drops when using the invalid tool (For 1.16.x!) ====
 +
 +You will need to set ''​requiresTool''​ in the settings of the block.
  
 ==== Making a custom tool ==== ==== Making a custom tool ====
tutorial/mining_levels.txt ยท Last modified: 2020/06/14 08:34 by shedaniel