Skip to content

Commit

Permalink
Take advantage of new feature to sort the creative tab
Browse files Browse the repository at this point in the history
  • Loading branch information
KnightMiner committed Jan 20, 2025
1 parent 44f683d commit 2b2f939
Show file tree
Hide file tree
Showing 28 changed files with 42 additions and 41 deletions.
2 changes: 1 addition & 1 deletion src/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ license="MIT"
[[dependencies.tinkers_things]]
modId="jsonthings"
mandatory=true
versionRange="[0.9.4,)"
versionRange="[0.9.9,)"
ordering="NONE"
side="BOTH"
4 changes: 1 addition & 3 deletions src/things/tinkers_things/block/hematite_block.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@
"explosion_resistance": 1200,
"destroy_time": 50,
"sound_type": "minecraft:ancient_debris",
"item": {
"group": "tinkers_things:tinkers_things"
}
"item": {}
}
32 changes: 30 additions & 2 deletions src/things/tinkers_things/creative_mode_tab/tinkers_things.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
{
"icon": "tinkers_things:chisel",
"before": ["tconstruct:world"],
"translation_key": "itemGroup.tinkers_things.tinkers_things"
"after": ["tconstruct:world"],
"translation_key": "itemGroup.tinkers_things.tinkers_things",
"items": [
"tinkers_things:hematite",
"tinkers_things:hematite_block",
"tinkers_things:molten_hematite_bucket",
"tinkers_things:shield_plating_gold_cast",
"tinkers_things:large_repair_kit_gold_cast",
"tinkers_things:shield_plating_sand_cast",
"tinkers_things:large_repair_kit_sand_cast",
"tinkers_things:shield_plating_red_sand_cast",
"tinkers_things:large_repair_kit_red_sand_cast",
"tinkers_things:sack",
"tinkers_things:chisel",
"tinkers_things:shovel",
"tinkers_things:halberd",
"tinkers_things:blowpipe",
"tinkers_things:shortbow",
"tinkers_things:amethyst_staff",
"tinkers_things:makeshift_helmet",
"tinkers_things:makeshift_chestplate",
"tinkers_things:laminar_helmet",
"tinkers_things:laminar_chestplate",
"tinkers_things:laminar_leggings",
"tinkers_things:laminar_boots",
"tinkers_things:laminar_shield",
"tinkers_things:shield_plating_dummy",
"tinkers_things:shield_plating",
"tinkers_things:large_repair_kit"
]
}
3 changes: 1 addition & 2 deletions src/things/tinkers_things/fluid/molten_hematite.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"type": "flowing",
"bucket": {
"max_stack_size": 1,
"group": "tinkers_things:tinkers_things"
"max_stack_size": 1
},
"block": {
"type": "tconstruct:burning_liquid",
Expand Down
1 change: 0 additions & 1 deletion src/things/tinkers_things/item/amethyst_staff.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
"type": "tconstruct:tool",
"break_blocks_in_creative": true,
"max_stack_size": 1,
"group": "tinkers_things:tinkers_things",
"color_handler": "tconstruct:tool"
}
1 change: 0 additions & 1 deletion src/things/tinkers_things/item/blowpipe.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
"type": "tconstruct:crossbow",
"allow_fireworks": false,
"max_stack_size": 1,
"group": "tinkers_things:tinkers_things",
"color_handler": "tconstruct:tool"
}
1 change: 0 additions & 1 deletion src/things/tinkers_things/item/chisel.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
"type": "tconstruct:tool",
"break_blocks_in_creative": true,
"max_stack_size": 1,
"group": "tinkers_things:tinkers_things",
"color_handler": "tconstruct:tool"
}
1 change: 0 additions & 1 deletion src/things/tinkers_things/item/halberd.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
"type": "tconstruct:tool",
"break_blocks_in_creative": false,
"max_stack_size": 1,
"group": "tinkers_things:tinkers_things",
"color_handler": "tconstruct:tool"
}
3 changes: 1 addition & 2 deletions src/things/tinkers_things/item/hematite.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"type": "minecraft:plain",
"group": "tinkers_things:tinkers_things"
"type": "minecraft:plain"
}
1 change: 0 additions & 1 deletion src/things/tinkers_things/item/laminar_boots.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"slot": "boots",
"equip_sound": "item.armor.equip_generic",
"max_stack_size": 1,
"group": "tinkers_things:tinkers_things",
"model_name": "tinkers_things:laminar",
"color_handler": "tconstruct:tool"
}
1 change: 0 additions & 1 deletion src/things/tinkers_things/item/laminar_chestplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"slot": "chestplate",
"equip_sound": "item.armor.equip_generic",
"max_stack_size": 1,
"group": "tinkers_things:tinkers_things",
"model_name": "tinkers_things:laminar",
"color_handler": "tconstruct:tool"
}
1 change: 0 additions & 1 deletion src/things/tinkers_things/item/laminar_helmet.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"slot": "helmet",
"equip_sound": "item.armor.equip_generic",
"max_stack_size": 1,
"group": "tinkers_things:tinkers_things",
"model_name": "tinkers_things:laminar",
"color_handler": "tconstruct:tool"
}
1 change: 0 additions & 1 deletion src/things/tinkers_things/item/laminar_leggings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"slot": "leggings",
"equip_sound": "item.armor.equip_generic",
"max_stack_size": 1,
"group": "tinkers_things:tinkers_things",
"model_name": "tinkers_things:laminar",
"color_handler": "tconstruct:tool"
}
1 change: 0 additions & 1 deletion src/things/tinkers_things/item/laminar_shield.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
"type": "tconstruct:tool",
"break_blocks_in_creative": true,
"max_stack_size": 1,
"group": "tinkers_things:tinkers_things",
"color_handler": "tconstruct:tool"
}
3 changes: 1 addition & 2 deletions src/things/tinkers_things/item/large_repair_kit.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:repair_kit",
"repair_amount": 9,
"group": "tinkers_things:tinkers_things"
"repair_amount": 9
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:part_cast",
"part": "tinkers_things:large_repair_kit",
"group": "tinkers_things:tinkers_things"
"part": "tinkers_things:large_repair_kit"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:part_cast",
"part": "tinkers_things:large_repair_kit",
"group": "tinkers_things:tinkers_things"
"part": "tinkers_things:large_repair_kit"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:part_cast",
"part": "tinkers_things:large_repair_kit",
"group": "tinkers_things:tinkers_things"
"part": "tinkers_things:large_repair_kit"
}
1 change: 0 additions & 1 deletion src/things/tinkers_things/item/makeshift_chestplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"slot": "chestplate",
"equip_sound": "item.armor.equip_generic",
"max_stack_size": 1,
"group": "tinkers_things:tinkers_things",
"model_name": "tinkers_things:makeshift",
"color_handler": "tconstruct:tool"
}
1 change: 0 additions & 1 deletion src/things/tinkers_things/item/makeshift_helmet.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"slot": "helmet",
"equip_sound": "item.armor.equip_generic",
"max_stack_size": 1,
"group": "tinkers_things:tinkers_things",
"model_name": "tinkers_things:makeshift",
"color_handler": "tconstruct:tool"
}
1 change: 0 additions & 1 deletion src/things/tinkers_things/item/sack.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
"type": "tconstruct:tool",
"break_blocks_in_creative": true,
"max_stack_size": 1,
"group": "tinkers_things:tinkers_things",
"color_handler": "tconstruct:tool"
}
3 changes: 1 addition & 2 deletions src/things/tinkers_things/item/shield_plating.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:tool_part",
"stat_type": "tconstruct:plating_shield",
"group": "tinkers_things:tinkers_things"
"stat_type": "tconstruct:plating_shield"
}
1 change: 0 additions & 1 deletion src/things/tinkers_things/item/shield_plating_dummy.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"type": "minecraft:plain",
"group": "tinkers_things:tinkers_things",
"lore": [
{ "translate": "item.tconstruct.dummy_tool_part.tooltip", "color": "gray" }
]
Expand Down
3 changes: 1 addition & 2 deletions src/things/tinkers_things/item/shield_plating_gold_cast.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:part_cast",
"part": "tinkers_things:shield_plating",
"group": "tinkers_things:tinkers_things"
"part": "tinkers_things:shield_plating"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:part_cast",
"part": "tinkers_things:shield_plating",
"group": "tinkers_things:tinkers_things"
"part": "tinkers_things:shield_plating"
}
3 changes: 1 addition & 2 deletions src/things/tinkers_things/item/shield_plating_sand_cast.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:part_cast",
"part": "tinkers_things:shield_plating",
"group": "tinkers_things:tinkers_things"
"part": "tinkers_things:shield_plating"
}
1 change: 0 additions & 1 deletion src/things/tinkers_things/item/shortbow.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"type": "tconstruct:bow",
"max_stack_size": 1,
"group": "tinkers_things:tinkers_things",
"color_handler": "tconstruct:tool"
}
1 change: 0 additions & 1 deletion src/things/tinkers_things/item/shovel.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
"type": "tconstruct:tool",
"break_blocks_in_creative": true,
"max_stack_size": 1,
"group": "tinkers_things:tinkers_things",
"color_handler": "tconstruct:tool"
}

0 comments on commit 2b2f939

Please sign in to comment.