Skip to content

Commit

Permalink
Merge pull request #11 from German-Immersive-Railroading-Community/op…
Browse files Browse the repository at this point in the history
…timize1.16

Optimized 1.16
  • Loading branch information
MrTroble authored Aug 28, 2021
2 parents 74d446d + 6e5e8dd commit e00413f
Show file tree
Hide file tree
Showing 12 changed files with 8 additions and 112 deletions.
11 changes: 1 addition & 10 deletions src/main/resources/assets/gircredstone/blockstates/acceptor.json
Original file line number Diff line number Diff line change
@@ -1,10 +1 @@
{
"variants": {
"power=false": {
"model": "gircredstone:block/acceptor_off"
},
"power=true": {
"model": "gircredstone:block/acceptor_on"
}
}
}
{"variants": {"power=false": {"model": "gircredstone:acceptor_off"}, "power=true": {"model": "gircredstone:acceptor_on"}}}
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
{
"variants": {
"": {
"model": "gircredstone:block/emitter"
}
}
}
{"variants": {"normal": {"model": "gircredstone:emitter"}}}
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
{
"parent": "block/cube_all",
"textures": {
"all": "gircredstone:blocks/acceptor_off"
}
}
{"parent": "block/cube_all", "textures": {"all": "gircredstone:blocks/acceptor_off"}}
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
{
"parent": "block/cube_all",
"textures": {
"all": "gircredstone:blocks/acceptor_on"
}
}
{"parent": "block/cube_all", "textures": {"all": "gircredstone:blocks/acceptor_on"}}
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
{
"parent": "block/cube_all",
"textures": {
"all": "gircredstone:blocks/emitter"
}
}
{"parent": "block/cube_all", "textures": {"all": "gircredstone:blocks/emitter"}}
30 changes: 1 addition & 29 deletions src/main/resources/assets/gircredstone/recipes/acceptor.json
Original file line number Diff line number Diff line change
@@ -1,29 +1 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"IiI",
"XYX",
"IZI"
],
"key": {
"I": {
"item": "minecraft:redstone_block"
},
"i": {
"item": "minecraft:redstone_torch"
},
"X": {
"item": "minecraft:concrete",
"data": 0
},
"Y": {
"item": "minecraft:obsidian"
},
"Z": {
"item": "minecraft:diamond"
}
},
"result": {
"item": "gircredstone:acceptor"
}
}
{"type": "minecraft:crafting_shaped", "pattern": ["IiI", "XYX", "IZI"], "key": {"I": {"item": "minecraft:redstone_block"}, "i": {"item": "minecraft:redstone_torch"}, "X": {"item": "minecraft:concrete", "data": 0}, "Y": {"item": "minecraft:obsidian"}, "Z": {"item": "minecraft:diamond"}}, "result": {"item": "gircredstone:acceptor"}}
30 changes: 1 addition & 29 deletions src/main/resources/assets/gircredstone/recipes/emitter.json
Original file line number Diff line number Diff line change
@@ -1,29 +1 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"IiI",
"XYX",
"IZI"
],
"key": {
"I": {
"item": "minecraft:redstone_block"
},
"i": {
"item": "minecraft:redstone"
},
"X": {
"item": "minecraft:concrete",
"data": 0
},
"Y": {
"item": "minecraft:obsidian"
},
"Z": {
"item": "minecraft:diamond"
}
},
"result": {
"item": "gircredstone:emitter"
}
}
{"type": "minecraft:crafting_shaped", "pattern": ["IiI", "XYX", "IZI"], "key": {"I": {"item": "minecraft:redstone_block"}, "i": {"item": "minecraft:redstone"}, "X": {"item": "minecraft:concrete", "data": 0}, "Y": {"item": "minecraft:obsidian"}, "Z": {"item": "minecraft:diamond"}}, "result": {"item": "gircredstone:emitter"}}
20 changes: 1 addition & 19 deletions src/main/resources/assets/gircredstone/recipes/linker.json
Original file line number Diff line number Diff line change
@@ -1,19 +1 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
" ",
" I ",
" i "
],
"key": {
"I": {
"item": "minecraft:quartz"
},
"i": {
"item": "minecraft:redstone_torch"
}
},
"result": {
"item": "gircredstone:linker"
}
}
{"type": "minecraft:crafting_shaped", "pattern": [" ", " I ", " i "], "key": {"I": {"item": "minecraft:quartz"}, "i": {"item": "minecraft:redstone_torch"}}, "result": {"item": "gircredstone:linker"}}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e00413f

Please sign in to comment.