Skip to content

Commit

Permalink
Refactring and port to 1.20.4
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMCCrazyMan committed Feb 20, 2024
1 parent 594e43d commit 7c0cb1a
Show file tree
Hide file tree
Showing 388 changed files with 11,655 additions and 331 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions src/generated/resources/assets/examplemod/lang/en_us.json

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"variants": {
"facing=east,lit=false": {
"model": "usefulmachinery:block/coal_generator",
"y": 90
},
"facing=east,lit=true": {
"model": "usefulmachinery:block/coal_generator_on",
"y": 90
},
"facing=north,lit=false": {
"model": "usefulmachinery:block/coal_generator"
},
"facing=north,lit=true": {
"model": "usefulmachinery:block/coal_generator_on"
},
"facing=south,lit=false": {
"model": "usefulmachinery:block/coal_generator",
"y": 180
},
"facing=south,lit=true": {
"model": "usefulmachinery:block/coal_generator_on",
"y": 180
},
"facing=west,lit=false": {
"model": "usefulmachinery:block/coal_generator",
"y": 270
},
"facing=west,lit=true": {
"model": "usefulmachinery:block/coal_generator_on",
"y": 270
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"variants": {
"facing=east,lit=false": {
"model": "usefulmachinery:block/compactor",
"y": 90
},
"facing=east,lit=true": {
"model": "usefulmachinery:block/compactor_on",
"y": 90
},
"facing=north,lit=false": {
"model": "usefulmachinery:block/compactor"
},
"facing=north,lit=true": {
"model": "usefulmachinery:block/compactor_on"
},
"facing=south,lit=false": {
"model": "usefulmachinery:block/compactor",
"y": 180
},
"facing=south,lit=true": {
"model": "usefulmachinery:block/compactor_on",
"y": 180
},
"facing=west,lit=false": {
"model": "usefulmachinery:block/compactor",
"y": 270
},
"facing=west,lit=true": {
"model": "usefulmachinery:block/compactor_on",
"y": 270
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "usefulmachinery:block/redstone_block"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"variants": {
"facing=east,lit=false": {
"model": "usefulmachinery:block/crusher",
"y": 90
},
"facing=east,lit=true": {
"model": "usefulmachinery:block/crusher_on",
"y": 90
},
"facing=north,lit=false": {
"model": "usefulmachinery:block/crusher"
},
"facing=north,lit=true": {
"model": "usefulmachinery:block/crusher_on"
},
"facing=south,lit=false": {
"model": "usefulmachinery:block/crusher",
"y": 180
},
"facing=south,lit=true": {
"model": "usefulmachinery:block/crusher_on",
"y": 180
},
"facing=west,lit=false": {
"model": "usefulmachinery:block/crusher",
"y": 270
},
"facing=west,lit=true": {
"model": "usefulmachinery:block/crusher_on",
"y": 270
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"variants": {
"facing=east,lit=false": {
"model": "usefulmachinery:block/electric_smelter",
"y": 90
},
"facing=east,lit=true": {
"model": "usefulmachinery:block/electric_smelter_on",
"y": 90
},
"facing=north,lit=false": {
"model": "usefulmachinery:block/electric_smelter"
},
"facing=north,lit=true": {
"model": "usefulmachinery:block/electric_smelter_on"
},
"facing=south,lit=false": {
"model": "usefulmachinery:block/electric_smelter",
"y": 180
},
"facing=south,lit=true": {
"model": "usefulmachinery:block/electric_smelter_on",
"y": 180
},
"facing=west,lit=false": {
"model": "usefulmachinery:block/electric_smelter",
"y": 270
},
"facing=west,lit=true": {
"model": "usefulmachinery:block/electric_smelter_on",
"y": 270
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"variants": {
"facing=east,lit=false": {
"model": "usefulmachinery:block/lava_generator",
"y": 90
},
"facing=east,lit=true": {
"model": "usefulmachinery:block/lava_generator_on",
"y": 90
},
"facing=north,lit=false": {
"model": "usefulmachinery:block/lava_generator"
},
"facing=north,lit=true": {
"model": "usefulmachinery:block/lava_generator_on"
},
"facing=south,lit=false": {
"model": "usefulmachinery:block/lava_generator",
"y": 180
},
"facing=south,lit=true": {
"model": "usefulmachinery:block/lava_generator_on",
"y": 180
},
"facing=west,lit=false": {
"model": "usefulmachinery:block/lava_generator",
"y": 270
},
"facing=west,lit=true": {
"model": "usefulmachinery:block/lava_generator_on",
"y": 270
}
}
}
42 changes: 42 additions & 0 deletions src/generated/resources/assets/usefulmachinery/lang/en_us.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"block.usefulmachinery.coal_generator": "Coal Generator",
"block.usefulmachinery.compactor": "Compactor",
"block.usefulmachinery.creative_power_cell": "Creative Power Cell",
"block.usefulmachinery.crusher": "Crusher",
"block.usefulmachinery.electric_smelter": "Electric Smelter",
"block.usefulmachinery.lava_generator": "Lava Generator",
"container.usefulmachinery.coal_generator": "Coal Generator",
"container.usefulmachinery.compactor": "Compactor",
"container.usefulmachinery.crusher": "Crusher",
"container.usefulmachinery.electric_smelter": "Electric Smelter",
"container.usefulmachinery.lava_generator": "Lava Generator",
"item.usefulmachinery.battery": "Battery",
"item.usefulmachinery.compactor_kit": "Compactor Kit",
"item.usefulmachinery.efficiency_upgrade": "Efficiency Upgrade",
"item.usefulmachinery.machine_frame": "Machine Frame",
"item.usefulmachinery.precision_upgrade": "Precision Upgrade",
"item.usefulmachinery.sustained_upgrade": "Sustained Upgrade",
"item.usefulmachinery.tier_upgrade_basic": "Basic Upgrade",
"item.usefulmachinery.tier_upgrade_factory": "Factory Upgrade",
"item.usefulmachinery.tier_upgrade_overkill": "Overkill Upgrade",
"item.usefulmachinery.tier_upgrade_reinforced": "Reinforced Upgrade",
"itemGroup.usefulmachinery.base": "Useful Machinery",
"jei.usefulmachinery.compacting": "Compacting",
"jei.usefulmachinery.crushing": "Crushing",
"jei.usefulmachinery.electric_smelting": "Electric Smelting",
"jei.usefulmachinery.fuel": "Fuel for RF",
"misc.usefulmachinery.compact_block": "Block Former",
"misc.usefulmachinery.compact_gear": "Gear Manufacturing",
"misc.usefulmachinery.compact_plate": "Plate Press",
"misc.usefulmachinery.empty": "Empty",
"misc.usefulmachinery.energy": "%s FE",
"misc.usefulmachinery.energyWithMax": "%s / %s FE",
"misc.usefulmachinery.fluidWithMax": "%s / %s mB",
"misc.usefulmachinery.fluidWithMaxName": "%s, %s / %s mB",
"misc.usefulmachinery.redstoneMode": "Redstone Mode, %s",
"stat.usefulmachinery.interact_with_coal_generator": "Interactions with Coal Generator",
"stat.usefulmachinery.interact_with_compactor": "Interactions with Compactor",
"stat.usefulmachinery.interact_with_crusher": "Interactions with Crusher",
"stat.usefulmachinery.interact_with_electric_smelter": "Interactions with Electric Smelter",
"stat.usefulmachinery.interact_with_lava_generator": "Interactions with Lava Generator"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"parent": "usefulmachinery:block/machine_block",
"render_type": "minecraft:cutout",
"textures": {
"front": "usefulmachinery:block/coal_generator_front"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"parent": "usefulmachinery:block/machine_block",
"render_type": "minecraft:cutout",
"textures": {
"front": "usefulmachinery:block/coal_generator_front_on"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"parent": "usefulmachinery:block/machine_block",
"render_type": "minecraft:cutout",
"textures": {
"front": "usefulmachinery:block/compactor_front"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"parent": "usefulmachinery:block/machine_block",
"render_type": "minecraft:cutout",
"textures": {
"front": "usefulmachinery:block/compactor_front_on"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"parent": "usefulmachinery:block/machine_block",
"render_type": "minecraft:cutout",
"textures": {
"front": "usefulmachinery:block/crusher_front"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"parent": "usefulmachinery:block/machine_block",
"render_type": "minecraft:cutout",
"textures": {
"front": "usefulmachinery:block/crusher_front_on"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"parent": "usefulmachinery:block/machine_block",
"render_type": "minecraft:cutout",
"textures": {
"front": "usefulmachinery:block/electric_smelter_front"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"parent": "usefulmachinery:block/machine_block",
"render_type": "minecraft:cutout",
"textures": {
"front": "usefulmachinery:block/electric_smelter_front_on"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"parent": "usefulmachinery:block/machine_block",
"render_type": "minecraft:cutout",
"textures": {
"front": "usefulmachinery:block/lava_generator_front"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"parent": "usefulmachinery:block/machine_block",
"render_type": "minecraft:cutout",
"textures": {
"front": "usefulmachinery:block/lava_generator_front_on"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "minecraft:block/cauldron_inner"
"all": "minecraft:block/redstone_block"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "examplemod:item/example_item"
"layer0": "usefulmachinery:item/battery"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "usefulmachinery:block/coal_generator"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "usefulmachinery:block/compactor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "usefulfoundation:item/lead_plate",
"layer1": "usefulfoundation:item/gold_gear"
}
}
Loading

0 comments on commit 7c0cb1a

Please sign in to comment.