Skip to content

Commit

Permalink
Remove block name colors
Browse files Browse the repository at this point in the history
  • Loading branch information
ICY105 committed Oct 6, 2024
1 parent 6c52679 commit 7ca7849
Show file tree
Hide file tree
Showing 17 changed files with 26 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

# Summon Entity & Init
execute align xyz run summon minecraft:armor_stand ~0.5 ~0.5 ~0.5 {Tags:["mechanization", "mechanization.machine_crafting_table", "smithed.crafter", "smithed.block"],CustomName:'{"translate":"block.mechanization.machine_crafting_table"}', Marker:1b, Invisible:1b, Invulnerable:1b, NoGravity:1b, DisabledSlots:2039583, ArmorItems:[{},{},{},{id:"minecraft:blast_furnace",Count:1b,components:{"minecraft:custom_model_data":6421005}}]}
setblock ~ ~ ~ minecraft:barrel{CustomName:'[{"translate":"offset.-8","font":"space:default","with":[{"text":"\\uee06","font":"mechanization:gui","color":"white"}]},{"translate":"offset.-256","font":"space:default","with":[{"translate":"block.mechanization.machine_crafting_table","color":"dark_aqua","italic":false,"font":"minecraft:default"}]}]'}
setblock ~ ~ ~ minecraft:barrel{CustomName:'[{"translate":"offset.-8","font":"space:default","with":[{"text":"\\uee06","font":"mechanization:gui","color":"white"}]},{"translate":"offset.-256","font":"space:default","with":[{"translate":"block.mechanization.machine_crafting_table","font":"minecraft:default"}]}]'}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ execute if block ~ ~ ~ minecraft:blast_furnace[facing=east] run summon minecraft
execute if block ~ ~ ~ minecraft:blast_furnace[facing=south] run summon minecraft:item_display ~ ~ ~ {Tags:["mechanization", "mechanization.new", "mechanization.alloy_furnace", "mechanization.redstone_control", "mechanization.upgradable", "mechanization.mufflable", "mechanization.rotatable", "fluid.tank", "energy.receive", "smithed.block"], Rotation:[0.0f,0.0f], CustomName:'{"translate":"block.mechanization.alloy_furnace"}', item:{id:"minecraft:blast_furnace", components:{"minecraft:custom_model_data":6422000}, Count:1b}}
execute if block ~ ~ ~ minecraft:blast_furnace[facing=west] run summon minecraft:item_display ~ ~ ~ {Tags:["mechanization", "mechanization.new", "mechanization.alloy_furnace", "mechanization.redstone_control", "mechanization.upgradable", "mechanization.mufflable", "mechanization.rotatable", "fluid.tank", "energy.receive", "smithed.block"], Rotation:[90.0f,0.0f], CustomName:'{"translate":"block.mechanization.alloy_furnace"}', item:{id:"minecraft:blast_furnace", components:{"minecraft:custom_model_data":6422000}, Count:1b}}

setblock ~ ~ ~ minecraft:barrel[facing=up]{CustomName:'[{"translate":"offset.-8","font":"space:default","with":[{"text":"\\uee0a","font":"mechanization:gui","color":"white"}]},{"translate":"offset.-171","font":"space:default","with":[{"translate":"block.mechanization.alloy_furnace","color":"dark_aqua","italic":false,"font":"minecraft:default"}]}]'}
setblock ~ ~ ~ minecraft:barrel[facing=up]{CustomName:'[{"translate":"offset.-8","font":"space:default","with":[{"text":"\\uee0a","font":"mechanization:gui","color":"white"}]},{"translate":"offset.-171","font":"space:default","with":[{"translate":"block.mechanization.alloy_furnace","font":"minecraft:default"}]}]'}

# init data
scoreboard players set #fluid.io mechanization.data 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ execute if block ~ ~ ~ minecraft:blast_furnace[facing=east] run summon minecraft
execute if block ~ ~ ~ minecraft:blast_furnace[facing=south] run summon minecraft:item_display ~ ~ ~ {Tags:["mechanization", "mechanization.new", "mechanization.arc_furnace", "mechanization.redstone_control", "mechanization.upgradable", "mechanization.mufflable", "mechanization.rotatable", "fluid.tank", "energy.receive", "smithed.block"], Rotation:[0.0f,0.0f], CustomName:'{"translate":"block.mechanization.arc_furnace"}', item:{id:"minecraft:blast_furnace", components:{"minecraft:custom_model_data":6422027}, Count:1b}}
execute if block ~ ~ ~ minecraft:blast_furnace[facing=west] run summon minecraft:item_display ~ ~ ~ {Tags:["mechanization", "mechanization.new", "mechanization.arc_furnace", "mechanization.redstone_control", "mechanization.upgradable", "mechanization.mufflable", "mechanization.rotatable", "fluid.tank", "energy.receive", "smithed.block"], Rotation:[90.0f,0.0f], CustomName:'{"translate":"block.mechanization.arc_furnace"}', item:{id:"minecraft:blast_furnace", components:{"minecraft:custom_model_data":6422027}, Count:1b}}

setblock ~ ~ ~ minecraft:barrel[facing=up]{CustomName:'[{"translate":"offset.-8","font":"space:default","with":[{"text":"\\uee0c","font":"mechanization:gui","color":"white"}]},{"translate":"offset.-171","font":"space:default","with":[{"translate":"block.mechanization.arc_furnace","color":"dark_aqua","italic":false,"font":"minecraft:default"}]}]'}
setblock ~ ~ ~ minecraft:barrel[facing=up]{CustomName:'[{"translate":"offset.-8","font":"space:default","with":[{"text":"\\uee0c","font":"mechanization:gui","color":"white"}]},{"translate":"offset.-171","font":"space:default","with":[{"translate":"block.mechanization.arc_furnace","font":"minecraft:default"}]}]'}

# init data
scoreboard players set #fluid.io mechanization.data 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
summon minecraft:item_display ~ ~ ~ {Tags:["mechanization", "mechanization.new", "mechanization.bio_generator", "mechanization.redstone_control", "mechanization.upgradable", "mechanization.mufflable", "energy.send", "smithed.block"], CustomName:'{"translate":"block.mechanization.bio_generator"}', item:{id:"minecraft:blast_furnace", components:{"minecraft:custom_model_data":6422007}, Count:1b}}

function mechanization:base/utils/init_machine
setblock ~ ~ ~ minecraft:dropper[facing=up]{CustomName:'[{"translate":"block.mechanization.bio_generator","color":"dark_red","italic":false}]'}
setblock ~ ~ ~ minecraft:dropper[facing=up]{CustomName:'[{"translate":"block.mechanization.bio_generator"}]'}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Summon Entity & Init
summon minecraft:item_display ~ ~ ~ {Tags:["mechanization", "mechanization.new", "mechanization.casting_basin", "mechanization.redstone_control", "mechanization.upgradable", "mechanization.mufflable", "fluid.tank", "energy.receive", "smithed.block"], CustomName:'{"translate":"block.mechanization.casting_basin"}', item:{id:"minecraft:blast_furnace", components:{"minecraft:custom_model_data":6422028}, Count:1b}}
setblock ~ ~ ~ minecraft:barrel[facing=up]{CustomName:'[{"translate":"offset.-8","font":"space:default","with":[{"text":"\\uee0d","font":"mechanization:gui","color":"white"}]},{"translate":"offset.-120","font":"space:default","with":[{"translate":"block.mechanization.casting_basin","color":"dark_aqua","italic":false,"font":"minecraft:default"}]}]'}
setblock ~ ~ ~ minecraft:barrel[facing=up]{CustomName:'[{"translate":"offset.-8","font":"space:default","with":[{"text":"\\uee0d","font":"mechanization:gui","color":"white"}]},{"translate":"offset.-120","font":"space:default","with":[{"translate":"block.mechanization.casting_basin","font":"minecraft:default"}]}]'}

# init data
scoreboard players set #fluid.io mechanization.data 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ execute if block ~ ~ ~ minecraft:blast_furnace[facing=east] run summon minecraft
execute if block ~ ~ ~ minecraft:blast_furnace[facing=south] run summon minecraft:item_display ~ ~ ~ {Tags:["mechanization", "mechanization.new", "mechanization.dimensional_generator", "mechanization.redstone_control", "mechanization.upgradable", "mechanization.mufflable", "mechanization.rotatable", "energy.send", "smithed.block"], Rotation:[0.0f,0.0f], CustomName:'{"translate":"block.mechanization.dimensional_generator"}', item:{id:"minecraft:blast_furnace", components:{"minecraft:custom_model_data":6422015}, Count:1b}}
execute if block ~ ~ ~ minecraft:blast_furnace[facing=west] run summon minecraft:item_display ~ ~ ~ {Tags:["mechanization", "mechanization.new", "mechanization.dimensional_generator", "mechanization.redstone_control", "mechanization.upgradable", "mechanization.mufflable", "mechanization.rotatable", "energy.send", "smithed.block"], Rotation:[90.0f,0.0f], CustomName:'{"translate":"block.mechanization.dimensional_generator"}', item:{id:"minecraft:blast_furnace", components:{"minecraft:custom_model_data":6422015}, Count:1b}}

execute if block ~ ~ ~ minecraft:blast_furnace[facing=north] run setblock ~ ~ ~ minecraft:furnace[facing=north]{CustomName:'[{"translate":"block.mechanization.dimensional_generator","color":"dark_purple","italic":false}]'}
execute if block ~ ~ ~ minecraft:blast_furnace[facing=east] run setblock ~ ~ ~ minecraft:furnace[facing=east]{CustomName:'[{"translate":"block.mechanization.dimensional_generator","color":"dark_purple","italic":false}]'}
execute if block ~ ~ ~ minecraft:blast_furnace[facing=south] run setblock ~ ~ ~ minecraft:furnace[facing=south]{CustomName:'[{"translate":"block.mechanization.dimensional_generator","color":"dark_purple","italic":false}]'}
execute if block ~ ~ ~ minecraft:blast_furnace[facing=west] run setblock ~ ~ ~ minecraft:furnace[facing=west]{CustomName:'[{"translate":"block.mechanization.dimensional_generator","color":"dark_purple","italic":false}]'}
execute if block ~ ~ ~ minecraft:blast_furnace[facing=north] run setblock ~ ~ ~ minecraft:furnace[facing=north]{CustomName:'[{"translate":"block.mechanization.dimensional_generator"}]'}
execute if block ~ ~ ~ minecraft:blast_furnace[facing=east] run setblock ~ ~ ~ minecraft:furnace[facing=east]{CustomName:'[{"translate":"block.mechanization.dimensional_generator"}]'}
execute if block ~ ~ ~ minecraft:blast_furnace[facing=south] run setblock ~ ~ ~ minecraft:furnace[facing=south]{CustomName:'[{"translate":"block.mechanization.dimensional_generator"}]'}
execute if block ~ ~ ~ minecraft:blast_furnace[facing=west] run setblock ~ ~ ~ minecraft:furnace[facing=west]{CustomName:'[{"translate":"block.mechanization.dimensional_generator"}]'}

function mechanization:base/utils/init_machine
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ execute if block ~ ~ ~ minecraft:blast_furnace[facing=east] run summon minecraft
execute if block ~ ~ ~ minecraft:blast_furnace[facing=south] run summon minecraft:item_display ~ ~ ~ {Tags:["mechanization", "mechanization.new", "mechanization.electric_furnace", "mechanization.redstone_control", "mechanization.upgradable", "mechanization.mufflable", "mechanization.rotatable", "energy.receive", "smithed.block"], Rotation:[0.0f,0.0f], CustomName:'{"translate":"block.mechanization.electric_furnace"}', item:{id:"minecraft:blast_furnace", components:{"minecraft:custom_model_data":6422003}, Count:1b}}
execute if block ~ ~ ~ minecraft:blast_furnace[facing=west] run summon minecraft:item_display ~ ~ ~ {Tags:["mechanization", "mechanization.new", "mechanization.electric_furnace", "mechanization.redstone_control", "mechanization.upgradable", "mechanization.mufflable", "mechanization.rotatable", "energy.receive", "smithed.block"], Rotation:[90.0f,0.0f], CustomName:'{"translate":"block.mechanization.electric_furnace"}', item:{id:"minecraft:blast_furnace", components:{"minecraft:custom_model_data":6422003}, Count:1b}}

execute if block ~ ~ ~ minecraft:blast_furnace[facing=north] run setblock ~ ~ ~ minecraft:furnace[facing=north]{CustomName:'[{"translate":"block.mechanization.electric_furnace","color":"dark_aqua","italic":false}]'}
execute if block ~ ~ ~ minecraft:blast_furnace[facing=east] run setblock ~ ~ ~ minecraft:furnace[facing=east]{ CustomName:'[{"translate":"block.mechanization.electric_furnace","color":"dark_aqua","italic":false}]'}
execute if block ~ ~ ~ minecraft:blast_furnace[facing=south] run setblock ~ ~ ~ minecraft:furnace[facing=south]{CustomName:'[{"translate":"block.mechanization.electric_furnace","color":"dark_aqua","italic":false}]'}
execute if block ~ ~ ~ minecraft:blast_furnace[facing=west] run setblock ~ ~ ~ minecraft:furnace[facing=west]{ CustomName:'[{"translate":"block.mechanization.electric_furnace","color":"dark_aqua","italic":false}]'}
execute if block ~ ~ ~ minecraft:blast_furnace[facing=north] run setblock ~ ~ ~ minecraft:furnace[facing=north]{CustomName:'[{"translate":"block.mechanization.electric_furnace"}]'}
execute if block ~ ~ ~ minecraft:blast_furnace[facing=east] run setblock ~ ~ ~ minecraft:furnace[facing=east]{ CustomName:'[{"translate":"block.mechanization.electric_furnace"}]'}
execute if block ~ ~ ~ minecraft:blast_furnace[facing=south] run setblock ~ ~ ~ minecraft:furnace[facing=south]{CustomName:'[{"translate":"block.mechanization.electric_furnace"}]'}
execute if block ~ ~ ~ minecraft:blast_furnace[facing=west] run setblock ~ ~ ~ minecraft:furnace[facing=west]{ CustomName:'[{"translate":"block.mechanization.electric_furnace"}]'}

function mechanization:base/utils/init_machine
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Summon Entity & Init
summon minecraft:item_display ~ ~ ~ {Tags:["mechanization", "mechanization.new", "mechanization.enchanting_station", "mechanization.upgradable", "mechanization.mufflable", "fluid.tank", "energy.receive", "smithed.block"], CustomName:'{"translate":"block.mechanization.enchanting_station"}', item:{id:"minecraft:blast_furnace", components:{"minecraft:custom_model_data":6422016}, Count:1b}}
setblock ~ ~ ~ minecraft:barrel[facing=up]{CustomName:'[{"translate":"offset.-8","font":"space:default","with":[{"text":"\\uee0f","font":"mechanization:gui","color":"white"}]},{"translate":"offset.-132","font":"space:default","with":[{"translate":"block.mechanization.enchanting_station","color":"dark_aqua","italic":false,"font":"minecraft:default"}]}]'}
setblock ~ ~ ~ minecraft:barrel[facing=up]{CustomName:'[{"translate":"offset.-8","font":"space:default","with":[{"text":"\\uee0f","font":"mechanization:gui","color":"white"}]},{"translate":"offset.-132","font":"space:default","with":[{"translate":"block.mechanization.enchanting_station","font":"minecraft:default"}]}]'}

# init data
scoreboard players set #fluid.io mechanization.data 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Summon Entity & Init
summon minecraft:item_display ~ ~ ~ {Tags:["mechanization", "mechanization.new", "mechanization.fluid_accumulator", "mechanization.redstone_control", "mechanization.mufflable", "fluid.tank", "smithed.block"], CustomName:'{"translate":"block.mechanization.fluid_accumulator"}', item:{id:"minecraft:blast_furnace", components:{"minecraft:custom_model_data":6422029}, Count:1b}}

setblock ~ ~ ~ minecraft:barrel[facing=up]{CustomName:'[{"translate":"offset.-8","font":"space:default","with":[{"text":"\\uee0b","font":"mechanization:gui","color":"white"}]},{"translate":"offset.-171","font":"space:default","with":[{"translate":"block.mechanization.fluid_accumulator","color":"dark_aqua","italic":false,"font":"minecraft:default"}]}]'}
setblock ~ ~ ~ minecraft:barrel[facing=up]{CustomName:'[{"translate":"offset.-8","font":"space:default","with":[{"text":"\\uee0b","font":"mechanization:gui","color":"white"}]},{"translate":"offset.-171","font":"space:default","with":[{"translate":"block.mechanization.fluid_accumulator","font":"minecraft:default"}]}]'}

# init data
scoreboard players set #fluid.io mechanization.data 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Summon Entity & Init
summon minecraft:item_display ~ ~ ~ {Tags:["mechanization", "mechanization.new", "mechanization.fluid_tank", "mechanization.fluid_tank.t1", "fluid.tank", "smithed.block"], CustomName:'{"translate":"block.mechanization.tier_1_fluid_tank"}', item:{id:"minecraft:leather_boots", components:{"minecraft:custom_model_data":6422822}, Count:1b}}

setblock ~ ~ ~ minecraft:barrel[facing=up]{CustomName:'[{"translate":"offset.-8","font":"space:default","with":[{"text":"\\uee0b","font":"mechanization:gui","color":"white"}]},{"translate":"offset.-171","font":"space:default","with":[{"translate":"block.mechanization.tier_1_fluid_tank","color":"dark_aqua","italic":false,"font":"minecraft:default"}]}]'}
setblock ~ ~ ~ minecraft:barrel[facing=up]{CustomName:'[{"translate":"offset.-8","font":"space:default","with":[{"text":"\\uee0b","font":"mechanization:gui","color":"white"}]},{"translate":"offset.-171","font":"space:default","with":[{"translate":"block.mechanization.tier_1_fluid_tank","font":"minecraft:default"}]}]'}

# init data
scoreboard players set #fluid.io mechanization.data 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Summon Entity & Init
summon minecraft:item_display ~ ~ ~ {Tags:["mechanization", "mechanization.new", "mechanization.fluid_tank", "mechanization.fluid_tank.t2", "fluid.tank", "smithed.block"], CustomName:'{"translate":"block.mechanization.tier_2_fluid_tank"}', item:{id:"minecraft:leather_boots", components:{"minecraft:custom_model_data":6422831}, Count:1b}}

setblock ~ ~ ~ minecraft:barrel[facing=up]{CustomName:'[{"translate":"offset.-8","font":"space:default","with":[{"text":"\\uee0b","font":"mechanization:gui","color":"white"}]},{"translate":"offset.-171","font":"space:default","with":[{"translate":"block.mechanization.tier_2_fluid_tank","color":"dark_red","italic":false,"font":"minecraft:default"}]}]'}
setblock ~ ~ ~ minecraft:barrel[facing=up]{CustomName:'[{"translate":"offset.-8","font":"space:default","with":[{"text":"\\uee0b","font":"mechanization:gui","color":"white"}]},{"translate":"offset.-171","font":"space:default","with":[{"translate":"block.mechanization.tier_2_fluid_tank","font":"minecraft:default"}]}]'}

# init data
scoreboard players set #fluid.io mechanization.data 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Summon Entity & Init
summon minecraft:item_display ~ ~ ~ {Tags:["mechanization", "mechanization.new", "mechanization.fluid_tank", "mechanization.fluid_tank.t3", "fluid.tank", "smithed.block"], CustomName:'{"translate":"block.mechanization.tier_3_fluid_tank"}', item:{id:"minecraft:leather_boots", components:{"minecraft:custom_model_data":6422840}, Count:1b}}

setblock ~ ~ ~ minecraft:barrel[facing=up]{CustomName:'[{"translate":"offset.-8","font":"space:default","with":[{"text":"\\uee16","font":"mechanization:gui","color":"white"}]},{"translate":"offset.-171","font":"space:default","with":[{"translate":"block.mechanization.tier_3_fluid_tank","color":"dark_purple","italic":false,"font":"minecraft:default"}]}]'}
setblock ~ ~ ~ minecraft:barrel[facing=up]{CustomName:'[{"translate":"offset.-8","font":"space:default","with":[{"text":"\\uee16","font":"mechanization:gui","color":"white"}]},{"translate":"offset.-171","font":"space:default","with":[{"translate":"block.mechanization.tier_3_fluid_tank","font":"minecraft:default"}]}]'}

# init data
scoreboard players set #fluid.io mechanization.data 0
Expand Down
Loading

0 comments on commit 7ca7849

Please sign in to comment.