rename textures hardened_clay, wool, mobs_mc
|
@ -49,7 +49,7 @@ local dolphin = {
|
||||||
visual = "mesh",
|
visual = "mesh",
|
||||||
mesh = "extra_mobs_dolphin.b3d",
|
mesh = "extra_mobs_dolphin.b3d",
|
||||||
textures = {
|
textures = {
|
||||||
{"extra_mobs_dolphin.png"}
|
{"mobs_mc_dolphin.png"}
|
||||||
},
|
},
|
||||||
sounds = {
|
sounds = {
|
||||||
},
|
},
|
||||||
|
|
|
@ -27,7 +27,7 @@ local hoglin = {
|
||||||
visual = "mesh",
|
visual = "mesh",
|
||||||
mesh = "extra_mobs_hoglin.b3d",
|
mesh = "extra_mobs_hoglin.b3d",
|
||||||
textures = { {
|
textures = { {
|
||||||
"extra_mobs_hoglin.png",
|
"mobs_mc_hoglin.png",
|
||||||
} },
|
} },
|
||||||
visual_size = {x=3, y=3},
|
visual_size = {x=3, y=3},
|
||||||
sounds = {
|
sounds = {
|
||||||
|
@ -91,7 +91,7 @@ mcl_mobs.register_mob("mobs_mc:hoglin", hoglin)
|
||||||
local zoglin = table.copy(hoglin)
|
local zoglin = table.copy(hoglin)
|
||||||
zoglin.description = S("Zoglin")
|
zoglin.description = S("Zoglin")
|
||||||
zoglin.fire_resistant = 1
|
zoglin.fire_resistant = 1
|
||||||
zoglin.textures = {"extra_mobs_zoglin.png"}
|
zoglin.textures = {"mobs_mc_zoglin.png"}
|
||||||
zoglin.do_custom = function()
|
zoglin.do_custom = function()
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
@ -109,7 +109,7 @@ baby_hoglin.xp_min = 20
|
||||||
baby_hoglin.xp_max = 20
|
baby_hoglin.xp_max = 20
|
||||||
baby_hoglin.visual_size = {x=hoglin.visual_size.x/2, y=hoglin.visual_size.y/2}
|
baby_hoglin.visual_size = {x=hoglin.visual_size.x/2, y=hoglin.visual_size.y/2}
|
||||||
textures = { {
|
textures = { {
|
||||||
"extra_mobs_hoglin.png",
|
"mobs_mc_hoglin.png",
|
||||||
"extra_mobs_trans.png",
|
"extra_mobs_trans.png",
|
||||||
} }
|
} }
|
||||||
baby_hoglin.walk_velocity = 1.2
|
baby_hoglin.walk_velocity = 1.2
|
||||||
|
|
|
@ -56,7 +56,7 @@ local piglin = {
|
||||||
spawn_in_group = 4,
|
spawn_in_group = 4,
|
||||||
spawn_in_group_min = 2,
|
spawn_in_group_min = 2,
|
||||||
textures = { {
|
textures = { {
|
||||||
"extra_mobs_piglin.png",
|
"mobs_mc_piglin.png",
|
||||||
"mcl_bows_bow_2.png",
|
"mcl_bows_bow_2.png",
|
||||||
} },
|
} },
|
||||||
visual_size = {x=1, y=1},
|
visual_size = {x=1, y=1},
|
||||||
|
@ -185,7 +185,7 @@ mcl_mobs.register_mob("mobs_mc:piglin", piglin)
|
||||||
local sword_piglin = table.copy(piglin)
|
local sword_piglin = table.copy(piglin)
|
||||||
sword_piglin.description = S("Sword Piglin")
|
sword_piglin.description = S("Sword Piglin")
|
||||||
sword_piglin.mesh = "extra_mobs_sword_piglin.b3d"
|
sword_piglin.mesh = "extra_mobs_sword_piglin.b3d"
|
||||||
sword_piglin.textures = {"extra_mobs_piglin.png", "default_tool_goldsword.png"}
|
sword_piglin.textures = {"mobs_mc_piglin.png", "default_tool_goldsword.png"}
|
||||||
sword_piglin.on_spawn = function(self)
|
sword_piglin.on_spawn = function(self)
|
||||||
self.gold_items = 0
|
self.gold_items = 0
|
||||||
self.weapon = self.base_texture[2]
|
self.weapon = self.base_texture[2]
|
||||||
|
@ -357,7 +357,7 @@ piglin_brute.lava_damage = 0
|
||||||
piglin_brute.fire_damage = 0
|
piglin_brute.fire_damage = 0
|
||||||
piglin_brute.attack_animals = true
|
piglin_brute.attack_animals = true
|
||||||
piglin_brute.mesh = "extra_mobs_sword_piglin.b3d"
|
piglin_brute.mesh = "extra_mobs_sword_piglin.b3d"
|
||||||
piglin_brute.textures = {"extra_mobs_piglin_brute.png", "default_tool_goldaxe.png", "extra_mobs_trans.png"}
|
piglin_brute.textures = {"mobs_mc_piglin_brute.png", "default_tool_goldaxe.png", "extra_mobs_trans.png"}
|
||||||
piglin_brute.attack_type = "dogfight"
|
piglin_brute.attack_type = "dogfight"
|
||||||
piglin_brute.animation = {
|
piglin_brute.animation = {
|
||||||
stand_speed = 30,
|
stand_speed = 30,
|
||||||
|
|
|
@ -26,7 +26,7 @@ local strider = {
|
||||||
visual = "mesh",
|
visual = "mesh",
|
||||||
mesh = "extra_mobs_strider.b3d",
|
mesh = "extra_mobs_strider.b3d",
|
||||||
textures = { {
|
textures = { {
|
||||||
"extra_mobs_strider.png",
|
"mobs_mc_strider.png",
|
||||||
} },
|
} },
|
||||||
visual_size = {x=3, y=3},
|
visual_size = {x=3, y=3},
|
||||||
sounds = {
|
sounds = {
|
||||||
|
@ -69,10 +69,10 @@ local strider = {
|
||||||
if minetest.find_node_near(self.object:get_pos(), 2, {"mcl_core:lava_source","mcl_core:lava_flowing","mcl_nether:nether_lava_source","mcl_nether:nether_lava_flowing"}) then
|
if minetest.find_node_near(self.object:get_pos(), 2, {"mcl_core:lava_source","mcl_core:lava_flowing","mcl_nether:nether_lava_source","mcl_nether:nether_lava_flowing"}) then
|
||||||
self.walk_velocity = 2
|
self.walk_velocity = 2
|
||||||
self.run_velocity = 4
|
self.run_velocity = 4
|
||||||
self.base_texture[1] = "extra_mobs_strider.png"
|
self.base_texture[1] = "mobs_mc_strider.png"
|
||||||
self.shaking = false
|
self.shaking = false
|
||||||
else
|
else
|
||||||
self.base_texture[1] = "extra_mobs_strider_cold.png"
|
self.base_texture[1] = "mobs_mc_strider_cold.png"
|
||||||
self.walk_velocity = .5
|
self.walk_velocity = .5
|
||||||
self.run_velocity = 1
|
self.run_velocity = 1
|
||||||
self.shaking = true
|
self.shaking = true
|
||||||
|
@ -133,7 +133,7 @@ local strider = {
|
||||||
local item = clicker:get_wielded_item()
|
local item = clicker:get_wielded_item()
|
||||||
if item:get_name() == "mcl_mobitems:saddle" and self.saddle ~= "yes" then
|
if item:get_name() == "mcl_mobitems:saddle" and self.saddle ~= "yes" then
|
||||||
self.base_texture = {
|
self.base_texture = {
|
||||||
"extra_mobs_strider.png",
|
"mobs_mc_strider.png",
|
||||||
"mobs_mc_pig_saddle.png", -- saddle
|
"mobs_mc_pig_saddle.png", -- saddle
|
||||||
}
|
}
|
||||||
self.object:set_properties({
|
self.object:set_properties({
|
||||||
|
@ -201,7 +201,7 @@ baby_strider.collisionbox = {-.3, -0.01, -.3, .3, 0.94, .3}
|
||||||
baby_strider.xp_min = 13
|
baby_strider.xp_min = 13
|
||||||
baby_strider.xp_max = 13
|
baby_strider.xp_max = 13
|
||||||
textures = { {
|
textures = { {
|
||||||
"extra_mobs_strider.png",
|
"mobs_mc_strider.png",
|
||||||
"extra_mobs_trans.png",
|
"extra_mobs_trans.png",
|
||||||
} }
|
} }
|
||||||
baby_strider.walk_velocity = 1.2
|
baby_strider.walk_velocity = 1.2
|
||||||
|
|
|
@ -47,11 +47,11 @@ local function set_textures(self)
|
||||||
end
|
end
|
||||||
self._base_color = base_colors[math.random(#base_colors)]
|
self._base_color = base_colors[math.random(#base_colors)]
|
||||||
self._pattern_color = pattern_colors[math.random(#pattern_colors)]
|
self._pattern_color = pattern_colors[math.random(#pattern_colors)]
|
||||||
self._pattern = "extra_mobs_tropical_fish_pattern_"..self._type.."_"..math.random(6)..".png"
|
self._pattern = "mobs_mc_tropical_fish_pattern_"..self._type.."_"..math.random(6)..".png"
|
||||||
end
|
end
|
||||||
self.object:set_properties({
|
self.object:set_properties({
|
||||||
textures = {
|
textures = {
|
||||||
"(extra_mobs_tropical_fish_"..self._type..".png^[colorize:"..self._base_color..":127)^("..self._pattern.."^[colorize:"..self._pattern_color..")",
|
"(mobs_mc_tropical_fish_"..self._type..".png^[colorize:"..self._base_color..":127)^("..self._pattern.."^[colorize:"..self._pattern_color..")",
|
||||||
},
|
},
|
||||||
mesh="extra_mobs_tropical_fish_"..self._type..".b3d"
|
mesh="extra_mobs_tropical_fish_"..self._type..".b3d"
|
||||||
})
|
})
|
||||||
|
@ -72,7 +72,7 @@ local tropical_fish = {
|
||||||
collisionbox = {-0.2, 0.0, -0.2, 0.2, 0.1, 0.2},
|
collisionbox = {-0.2, 0.0, -0.2, 0.2, 0.1, 0.2},
|
||||||
visual = "mesh",
|
visual = "mesh",
|
||||||
mesh = "extra_mobs_tropical_fish_a.b3d",
|
mesh = "extra_mobs_tropical_fish_a.b3d",
|
||||||
textures = { "extra_mobs_tropical_fish_a.png" }, -- to be populated on_spawn
|
textures = { "mobs_mc_tropical_fish_a.png" }, -- to be populated on_spawn
|
||||||
sounds = {},
|
sounds = {},
|
||||||
animation = {
|
animation = {
|
||||||
stand_start = 0,
|
stand_start = 0,
|
||||||
|
|
|
@ -32,7 +32,7 @@ local cp_tt = S("Turns into concrete on water contact")
|
||||||
minetest.register_node("mcl_colorblocks:hardened_clay", {
|
minetest.register_node("mcl_colorblocks:hardened_clay", {
|
||||||
description = S("Terracotta"),
|
description = S("Terracotta"),
|
||||||
_doc_items_longdesc = S("Terracotta is a basic building material which comes in many different colors. This particular block is uncolored."),
|
_doc_items_longdesc = S("Terracotta is a basic building material which comes in many different colors. This particular block is uncolored."),
|
||||||
tiles = {"hardened_clay.png"},
|
tiles = {"mcl_colorblocks_hardened_clay.png"},
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
groups = {pickaxey=1, hardened_clay=1,building_block=1, material_stone=1},
|
groups = {pickaxey=1, hardened_clay=1,building_block=1, material_stone=1},
|
||||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||||
|
@ -82,7 +82,7 @@ for _, row in ipairs(block.dyes) do
|
||||||
_doc_items_longdesc = ldesc_hc,
|
_doc_items_longdesc = ldesc_hc,
|
||||||
_doc_items_create_entry = create_entry,
|
_doc_items_create_entry = create_entry,
|
||||||
_doc_items_entry_name = ename_hc,
|
_doc_items_entry_name = ename_hc,
|
||||||
tiles = {"hardened_clay_stained_"..name..".png"},
|
tiles = {"mcl_colorblocks_hardened_clay_stained_"..name..".png"},
|
||||||
groups = {pickaxey=1, hardened_clay=1,building_block=1, material_stone=1},
|
groups = {pickaxey=1, hardened_clay=1,building_block=1, material_stone=1},
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||||
|
|
|
@ -6169,7 +6169,7 @@
|
||||||
229,
|
229,
|
||||||
51
|
51
|
||||||
],
|
],
|
||||||
"hardened_clay_stained_pink.png": [
|
"mcl_colorblocks_hardened_clay_stained_pink.png": [
|
||||||
164,
|
164,
|
||||||
79,
|
79,
|
||||||
76
|
76
|
||||||
|
@ -6244,7 +6244,7 @@
|
||||||
151,
|
151,
|
||||||
151
|
151
|
||||||
],
|
],
|
||||||
"hardened_clay_stained_white.png": [
|
"mcl_colorblocks_hardened_clay_stained_white.png": [
|
||||||
213,
|
213,
|
||||||
197,
|
197,
|
||||||
184
|
184
|
||||||
|
@ -6269,17 +6269,17 @@
|
||||||
150,
|
150,
|
||||||
159
|
159
|
||||||
],
|
],
|
||||||
"hardened_clay_stained_purple.png": [
|
"mcl_colorblocks_hardened_clay_stained_purple.png": [
|
||||||
81,
|
81,
|
||||||
71,
|
71,
|
||||||
123
|
123
|
||||||
],
|
],
|
||||||
"hardened_clay_stained_brown.png": [
|
"mcl_colorblocks_hardened_clay_stained_brown.png": [
|
||||||
96,
|
96,
|
||||||
69,
|
69,
|
||||||
61
|
61
|
||||||
],
|
],
|
||||||
"hardened_clay_stained_grey.png": [
|
"mcl_colorblocks_hardened_clay_stained_grey.png": [
|
||||||
110,
|
110,
|
||||||
92,
|
92,
|
||||||
85
|
85
|
||||||
|
@ -6289,7 +6289,7 @@
|
||||||
171,
|
171,
|
||||||
25
|
25
|
||||||
],
|
],
|
||||||
"hardened_clay_stained_blue.png": [
|
"mcl_colorblocks_hardened_clay_stained_blue.png": [
|
||||||
68,
|
68,
|
||||||
91,
|
91,
|
||||||
143
|
143
|
||||||
|
@ -6299,17 +6299,17 @@
|
||||||
225,
|
225,
|
||||||
225
|
225
|
||||||
],
|
],
|
||||||
"hardened_clay_stained_yellow.png": [
|
"mcl_colorblocks_hardened_clay_stained_yellow.png": [
|
||||||
177,
|
177,
|
||||||
128,
|
128,
|
||||||
51
|
51
|
||||||
],
|
],
|
||||||
"hardened_clay_stained_light_blue.png": [
|
"mcl_colorblocks_hardened_clay_stained_light_blue.png": [
|
||||||
91,
|
91,
|
||||||
128,
|
128,
|
||||||
171
|
171
|
||||||
],
|
],
|
||||||
"hardened_clay.png": [
|
"mcl_colorblocks_hardened_clay.png": [
|
||||||
143,
|
143,
|
||||||
104,
|
104,
|
||||||
87
|
87
|
||||||
|
@ -6374,7 +6374,7 @@
|
||||||
162,
|
162,
|
||||||
204
|
204
|
||||||
],
|
],
|
||||||
"hardened_clay_stained_orange.png": [
|
"mcl_colorblocks_hardened_clay_stained_orange.png": [
|
||||||
156,
|
156,
|
||||||
95,
|
95,
|
||||||
69
|
69
|
||||||
|
@ -6389,17 +6389,17 @@
|
||||||
148,
|
148,
|
||||||
176
|
176
|
||||||
],
|
],
|
||||||
"hardened_clay_stained_silver.png": [
|
"mcl_colorblocks_hardened_clay_stained_silver.png": [
|
||||||
149,
|
149,
|
||||||
129,
|
129,
|
||||||
117
|
117
|
||||||
],
|
],
|
||||||
"hardened_clay_stained_red.png": [
|
"mcl_colorblocks_hardened_clay_stained_red.png": [
|
||||||
159,
|
159,
|
||||||
81,
|
81,
|
||||||
66
|
66
|
||||||
],
|
],
|
||||||
"hardened_clay_stained_magenta.png": [
|
"mcl_colorblocks_hardened_clay_stained_magenta.png": [
|
||||||
150,
|
150,
|
||||||
80,
|
80,
|
||||||
85
|
85
|
||||||
|
@ -6414,12 +6414,12 @@
|
||||||
214,
|
214,
|
||||||
215
|
215
|
||||||
],
|
],
|
||||||
"hardened_clay_stained_green.png": [
|
"mcl_colorblocks_hardened_clay_stained_green.png": [
|
||||||
74,
|
74,
|
||||||
101,
|
101,
|
||||||
63
|
63
|
||||||
],
|
],
|
||||||
"hardened_clay_stained_lime.png": [
|
"mcl_colorblocks_hardened_clay_stained_lime.png": [
|
||||||
105,
|
105,
|
||||||
134,
|
134,
|
||||||
73
|
73
|
||||||
|
@ -6444,7 +6444,7 @@
|
||||||
32,
|
32,
|
||||||
159
|
159
|
||||||
],
|
],
|
||||||
"hardened_clay_stained_cyan.png": [
|
"mcl_colorblocks_hardened_clay_stained_cyan.png": [
|
||||||
71,
|
71,
|
||||||
107,
|
107,
|
||||||
123
|
123
|
||||||
|
@ -6484,7 +6484,7 @@
|
||||||
98,
|
98,
|
||||||
103
|
103
|
||||||
],
|
],
|
||||||
"hardened_clay_stained_black.png": [
|
"mcl_colorblocks_hardened_clay_stained_black.png": [
|
||||||
69,
|
69,
|
||||||
52,
|
52,
|
||||||
46
|
46
|
||||||
|
@ -9459,57 +9459,57 @@
|
||||||
84,
|
84,
|
||||||
65
|
65
|
||||||
],
|
],
|
||||||
"wool_dark_grey.png": [
|
"mcl_wool_dark_grey.png": [
|
||||||
96,
|
96,
|
||||||
87,
|
87,
|
||||||
87
|
87
|
||||||
],
|
],
|
||||||
"wool_grey.png": [
|
"mcl_wool_grey.png": [
|
||||||
143,
|
143,
|
||||||
134,
|
134,
|
||||||
134
|
134
|
||||||
],
|
],
|
||||||
"wool_magenta.png": [
|
"mcl_wool_magenta.png": [
|
||||||
140,
|
140,
|
||||||
85,
|
85,
|
||||||
125
|
125
|
||||||
],
|
],
|
||||||
"wool_black.png": [
|
"mcl_wool_black.png": [
|
||||||
45,
|
45,
|
||||||
42,
|
42,
|
||||||
42
|
42
|
||||||
],
|
],
|
||||||
"wool_orange.png": [
|
"mcl_wool_orange.png": [
|
||||||
188,
|
188,
|
||||||
106,
|
106,
|
||||||
45
|
45
|
||||||
],
|
],
|
||||||
"wool_blue.png": [
|
"mcl_wool_blue.png": [
|
||||||
43,
|
43,
|
||||||
73,
|
73,
|
||||||
125
|
125
|
||||||
],
|
],
|
||||||
"wool_yellow.png": [
|
"mcl_wool_yellow.png": [
|
||||||
201,
|
201,
|
||||||
163,
|
163,
|
||||||
69
|
69
|
||||||
],
|
],
|
||||||
"wool_pink.png": [
|
"mcl_wool_pink.png": [
|
||||||
171,
|
171,
|
||||||
91,
|
91,
|
||||||
108
|
108
|
||||||
],
|
],
|
||||||
"wool_dark_green.png": [
|
"mcl_wool_dark_green.png": [
|
||||||
53,
|
53,
|
||||||
91,
|
91,
|
||||||
51
|
51
|
||||||
],
|
],
|
||||||
"wool_brown.png": [
|
"mcl_wool_brown.png": [
|
||||||
86,
|
86,
|
||||||
57,
|
57,
|
||||||
43
|
43
|
||||||
],
|
],
|
||||||
"wool_red.png": [
|
"mcl_wool_red.png": [
|
||||||
132,
|
132,
|
||||||
42,
|
42,
|
||||||
45
|
45
|
||||||
|
@ -9519,7 +9519,7 @@
|
||||||
130,
|
130,
|
||||||
180
|
180
|
||||||
],
|
],
|
||||||
"wool_cyan.png": [
|
"mcl_wool_cyan.png": [
|
||||||
30,
|
30,
|
||||||
94,
|
94,
|
||||||
113
|
113
|
||||||
|
@ -9529,12 +9529,12 @@
|
||||||
151,
|
151,
|
||||||
76
|
76
|
||||||
],
|
],
|
||||||
"wool_white.png": [
|
"mcl_wool_white.png": [
|
||||||
212,
|
212,
|
||||||
199,
|
199,
|
||||||
182
|
182
|
||||||
],
|
],
|
||||||
"wool_violet.png": [
|
"mcl_wool_violet.png": [
|
||||||
77,
|
77,
|
||||||
57,
|
57,
|
||||||
102
|
102
|
||||||
|
|
|
@ -13,20 +13,20 @@ local wool = {}
|
||||||
-- colors available. When crafting, the last recipes will be checked first.
|
-- colors available. When crafting, the last recipes will be checked first.
|
||||||
wool.dyes = {
|
wool.dyes = {
|
||||||
-- name, texture, wool desc., carpet desc., dye, color_group
|
-- name, texture, wool desc., carpet desc., dye, color_group
|
||||||
{"white", "wool_white", S("White Wool"), S("White Carpet"), nil, "unicolor_white"},
|
{"white", "mcl_wool_white", S("White Wool"), S("White Carpet"), nil, "unicolor_white"},
|
||||||
{"grey", "wool_dark_grey", S("Grey Wool"), S("Grey Carpet"), "dark_grey", "unicolor_darkgrey"},
|
{"grey", "mcl_wool_dark_grey", S("Grey Wool"), S("Grey Carpet"), "dark_grey", "unicolor_darkgrey"},
|
||||||
{"silver", "wool_grey", S("Light Grey Wool"), S("Light Grey Carpet"), "grey", "unicolor_grey"},
|
{"silver", "mcl_wool_grey", S("Light Grey Wool"), S("Light Grey Carpet"), "grey", "unicolor_grey"},
|
||||||
{"black", "wool_black", S("Black Wool"), S("Black Carpet"), "black", "unicolor_black"},
|
{"black", "mcl_wool_black", S("Black Wool"), S("Black Carpet"), "black", "unicolor_black"},
|
||||||
{"red", "wool_red", S("Red Wool"), S("Red Carpet"), "red", "unicolor_red"},
|
{"red", "mcl_wool_red", S("Red Wool"), S("Red Carpet"), "red", "unicolor_red"},
|
||||||
{"yellow", "wool_yellow", S("Yellow Wool"), S("Yellow Carpet"), "yellow", "unicolor_yellow"},
|
{"yellow", "mcl_wool_yellow", S("Yellow Wool"), S("Yellow Carpet"), "yellow", "unicolor_yellow"},
|
||||||
{"green", "wool_dark_green", S("Green Wool"), S("Green Carpet"), "dark_green", "unicolor_dark_green"},
|
{"green", "mcl_wool_dark_green", S("Green Wool"), S("Green Carpet"), "dark_green", "unicolor_dark_green"},
|
||||||
{"cyan", "wool_cyan", S("Cyan Wool"), S("Cyan Carpet"), "cyan", "unicolor_cyan"},
|
{"cyan", "mcl_wool_cyan", S("Cyan Wool"), S("Cyan Carpet"), "cyan", "unicolor_cyan"},
|
||||||
{"blue", "wool_blue", S("Blue Wool"), S("Blue Carpet"), "blue", "unicolor_blue"},
|
{"blue", "mcl_wool_blue", S("Blue Wool"), S("Blue Carpet"), "blue", "unicolor_blue"},
|
||||||
{"magenta", "wool_magenta", S("Magenta Wool"), S("Magenta Carpet"), "magenta", "unicolor_red_violet"},
|
{"magenta", "mcl_wool_magenta", S("Magenta Wool"), S("Magenta Carpet"), "magenta", "unicolor_red_violet"},
|
||||||
{"orange", "wool_orange", S("Orange Wool"), S("Orange Carpet"), "orange", "unicolor_orange"},
|
{"orange", "mcl_wool_orange", S("Orange Wool"), S("Orange Carpet"), "orange", "unicolor_orange"},
|
||||||
{"purple", "wool_violet", S("Purple Wool"), S("Purple Carpet"), "violet", "unicolor_violet"},
|
{"purple", "mcl_wool_violet", S("Purple Wool"), S("Purple Carpet"), "violet", "unicolor_violet"},
|
||||||
{"brown", "wool_brown", S("Brown Wool"), S("Brown Carpet"), "brown", "unicolor_dark_orange"},
|
{"brown", "mcl_wool_brown", S("Brown Wool"), S("Brown Carpet"), "brown", "unicolor_dark_orange"},
|
||||||
{"pink", "wool_pink", S("Pink Wool"), S("Pink Carpet"), "pink", "unicolor_light_red"},
|
{"pink", "mcl_wool_pink", S("Pink Wool"), S("Pink Carpet"), "pink", "unicolor_light_red"},
|
||||||
{"lime", "mcl_wool_lime", S("Lime Wool"), S("Lime Carpet"), "green", "unicolor_green"},
|
{"lime", "mcl_wool_lime", S("Lime Wool"), S("Lime Carpet"), "green", "unicolor_green"},
|
||||||
{"light_blue", "mcl_wool_light_blue", S("Light Blue Wool"), S("Light Blue Carpet"), "lightblue", "unicolor_light_blue"},
|
{"light_blue", "mcl_wool_light_blue", S("Light Blue Wool"), S("Light Blue Carpet"), "lightblue", "unicolor_light_blue"},
|
||||||
}
|
}
|
||||||
|
|
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 202 B After Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 202 B After Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 202 B After Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 202 B After Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 437 B After Width: | Height: | Size: 437 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1005 B After Width: | Height: | Size: 1005 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 957 B After Width: | Height: | Size: 957 B |
Before Width: | Height: | Size: 833 B After Width: | Height: | Size: 833 B |
Before Width: | Height: | Size: 189 B After Width: | Height: | Size: 189 B |
Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 223 B |
Before Width: | Height: | Size: 154 B After Width: | Height: | Size: 154 B |
Before Width: | Height: | Size: 180 B After Width: | Height: | Size: 180 B |
Before Width: | Height: | Size: 158 B After Width: | Height: | Size: 158 B |
Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 155 B |
Before Width: | Height: | Size: 146 B After Width: | Height: | Size: 146 B |
Before Width: | Height: | Size: 158 B After Width: | Height: | Size: 158 B |
Before Width: | Height: | Size: 181 B After Width: | Height: | Size: 181 B |
Before Width: | Height: | Size: 166 B After Width: | Height: | Size: 166 B |
Before Width: | Height: | Size: 122 B After Width: | Height: | Size: 122 B |
Before Width: | Height: | Size: 160 B After Width: | Height: | Size: 160 B |
Before Width: | Height: | Size: 166 B After Width: | Height: | Size: 166 B |
Before Width: | Height: | Size: 164 B After Width: | Height: | Size: 164 B |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Script to be used to help solving issue https://git.minetest.land/MineClone2/MineClone2/issues/3392
|
||||||
|
# usage : ./rename_textures_file.sh PrefixNameToChange modeNameToUse
|
||||||
|
bad_mode_name=$1
|
||||||
|
mod=$2
|
||||||
|
HOME="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )/.."
|
||||||
|
|
||||||
|
|
||||||
|
while read texture; do
|
||||||
|
#echo $texture
|
||||||
|
if [[ $texture = $bad_mode_name* ]] ; then
|
||||||
|
mv -- $HOME/textures/$texture $HOME/textures/${texture/$bad_mode_name/$mod}
|
||||||
|
grep -rl $texture $HOME/mods | xargs sed -i 's/'"$texture"'/'"${texture/$bad_mode_name/$mod}"'/g'
|
||||||
|
sed -i '/'"$texture"'/d' ../to_rename
|
||||||
|
fi
|
||||||
|
done < ../to_rename # This file has to be creating from the commands shown in ticket, or use example provided there
|