User Tools

Site Tools


tutorial:blocks

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tutorial:blocks [2021/09/01 19:55] – Changed to 1.17 tool system. legiblesleet827tutorial:blocks [2021/09/01 19:56] legiblesleet827
Line 137: Line 137:
 In minecraft 1.17, there has been a change for breaking blocks. Now, to define harvest tools and harvest levels, we need to use tags. Read about tags at: [[tutorial:tags|Tags Tutorial]]. The tags that we need to add the block to are: In minecraft 1.17, there has been a change for breaking blocks. Now, to define harvest tools and harvest levels, we need to use tags. Read about tags at: [[tutorial:tags|Tags Tutorial]]. The tags that we need to add the block to are:
  
-Harvest tool: src/main/resources/data/minecraft/tags/mineable/<tooltype>.json, Where 'tooltype' can be any of: 'axe', 'pickaxe', 'shovel' ore 'hoe' +  Harvest tool: src/main/resources/data/minecraft/tags/mineable/<tooltype>.json, Where 'tooltype' can be any of: 'axe', 'pickaxe', 'shovel' ore 'hoe' 
-Harvest level: src/main/resources/data/minecraft/tags/needs_<tier>_tool.json, Where 'tier' can be any of: 'stone', 'iron' or 'diamond'+  Harvest level: src/main/resources/data/minecraft/tags/needs_<tier>_tool.json, Where 'tier' can be any of: 'stone', 'iron' or 'diamond'
  
 <code JavaScript src/main/resources/data/minecraft/tags/mineable/pickaxe.json> <code JavaScript src/main/resources/data/minecraft/tags/mineable/pickaxe.json>
tutorial/blocks.txt · Last modified: 2024/06/21 21:37 by ryhon