Change clock texture usage and implement conversion
|
@ -22,7 +22,11 @@ local random_frame = math.random(0, clock_frames-1)
|
|||
-- Image of all possible faces
|
||||
watch.images = {}
|
||||
for frame=0, clock_frames-1 do
|
||||
table.insert(watch.images, "mcl_clock_clock.png^[verticalframe:"..clock_frames..":"..frame)
|
||||
local sframe = tostring(frame)
|
||||
if string.len(sframe) == 1 then
|
||||
sframe = "0" .. sframe
|
||||
end
|
||||
table.insert(watch.images, "mcl_clock_clock_"..sframe..".png")
|
||||
end
|
||||
|
||||
local function round(num)
|
||||
|
|
Before Width: | Height: | Size: 876 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_00.png
Normal file
After Width: | Height: | Size: 218 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_01.png
Normal file
After Width: | Height: | Size: 218 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_02.png
Normal file
After Width: | Height: | Size: 219 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_03.png
Normal file
After Width: | Height: | Size: 222 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_04.png
Normal file
After Width: | Height: | Size: 222 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_05.png
Normal file
After Width: | Height: | Size: 226 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_06.png
Normal file
After Width: | Height: | Size: 219 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_07.png
Normal file
After Width: | Height: | Size: 239 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_08.png
Normal file
After Width: | Height: | Size: 226 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_09.png
Normal file
After Width: | Height: | Size: 224 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_10.png
Normal file
After Width: | Height: | Size: 236 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_11.png
Normal file
After Width: | Height: | Size: 240 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_12.png
Normal file
After Width: | Height: | Size: 227 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_13.png
Normal file
After Width: | Height: | Size: 234 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_14.png
Normal file
After Width: | Height: | Size: 241 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_15.png
Normal file
After Width: | Height: | Size: 244 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_16.png
Normal file
After Width: | Height: | Size: 244 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_17.png
Normal file
After Width: | Height: | Size: 234 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_18.png
Normal file
After Width: | Height: | Size: 241 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_19.png
Normal file
After Width: | Height: | Size: 232 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_20.png
Normal file
After Width: | Height: | Size: 233 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_21.png
Normal file
After Width: | Height: | Size: 229 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_22.png
Normal file
After Width: | Height: | Size: 240 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_23.png
Normal file
After Width: | Height: | Size: 239 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_24.png
Normal file
After Width: | Height: | Size: 226 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_25.png
Normal file
After Width: | Height: | Size: 225 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_26.png
Normal file
After Width: | Height: | Size: 222 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_27.png
Normal file
After Width: | Height: | Size: 222 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_28.png
Normal file
After Width: | Height: | Size: 218 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_29.png
Normal file
After Width: | Height: | Size: 220 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_30.png
Normal file
After Width: | Height: | Size: 223 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_31.png
Normal file
After Width: | Height: | Size: 218 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_32.png
Normal file
After Width: | Height: | Size: 218 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_33.png
Normal file
After Width: | Height: | Size: 218 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_34.png
Normal file
After Width: | Height: | Size: 220 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_35.png
Normal file
After Width: | Height: | Size: 223 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_36.png
Normal file
After Width: | Height: | Size: 222 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_37.png
Normal file
After Width: | Height: | Size: 226 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_38.png
Normal file
After Width: | Height: | Size: 220 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_39.png
Normal file
After Width: | Height: | Size: 226 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_40.png
Normal file
After Width: | Height: | Size: 236 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_41.png
Normal file
After Width: | Height: | Size: 224 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_42.png
Normal file
After Width: | Height: | Size: 224 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_43.png
Normal file
After Width: | Height: | Size: 240 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_44.png
Normal file
After Width: | Height: | Size: 228 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_45.png
Normal file
After Width: | Height: | Size: 247 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_46.png
Normal file
After Width: | Height: | Size: 240 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_47.png
Normal file
After Width: | Height: | Size: 227 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_48.png
Normal file
After Width: | Height: | Size: 243 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_49.png
Normal file
After Width: | Height: | Size: 226 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_50.png
Normal file
After Width: | Height: | Size: 226 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_51.png
Normal file
After Width: | Height: | Size: 244 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_52.png
Normal file
After Width: | Height: | Size: 224 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_53.png
Normal file
After Width: | Height: | Size: 224 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_54.png
Normal file
After Width: | Height: | Size: 223 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_55.png
Normal file
After Width: | Height: | Size: 223 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_56.png
Normal file
After Width: | Height: | Size: 225 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_57.png
Normal file
After Width: | Height: | Size: 226 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_58.png
Normal file
After Width: | Height: | Size: 221 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_59.png
Normal file
After Width: | Height: | Size: 223 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_60.png
Normal file
After Width: | Height: | Size: 219 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_61.png
Normal file
After Width: | Height: | Size: 225 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_62.png
Normal file
After Width: | Height: | Size: 224 B |
BIN
mods/ITEMS/mcl_clock/textures/mcl_clock_clock_63.png
Normal file
After Width: | Height: | Size: 218 B |
|
@ -50,7 +50,6 @@ Source path,Source file,Target path,Target file,xs,ys,xl,yl,xt,yt,Blacklisted?
|
|||
/assets/minecraft/textures/blocks,cauldron_top.png,/mods/ITEMS/mcl_cauldrons/textures,mcl_cauldrons_cauldron_top.png,,,,,,,
|
||||
/assets/minecraft/textures/blocks,cauldron_side.png,/mods/ITEMS/mcl_cauldrons/textures,mcl_cauldrons_cauldron_side.png,,,,,,,
|
||||
/assets/minecraft/textures/blocks,cauldron_inner.png,/mods/ITEMS/mcl_cauldrons/textures,mcl_cauldrons_cauldron_inner.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock.png,,,,,,,
|
||||
/assets/minecraft/textures/blocks,cocoa_stage_0.png,/mods/ITEMS/mcl_cocoas/textures,mcl_cocoas_cocoa_stage_0.png,,,,,,,y
|
||||
/assets/minecraft/textures/blocks,cocoa_stage_1.png,/mods/ITEMS/mcl_cocoas/textures,mcl_cocoas_cocoa_stage_1.png,,,,,,,y
|
||||
/assets/minecraft/textures/blocks,cocoa_stage_2.png,/mods/ITEMS/mcl_cocoas/textures,mcl_cocoas_cocoa_stage_2.png,,,,,,,y
|
||||
|
@ -622,7 +621,7 @@ Source path,Source file,Target path,Target file,xs,ys,xl,yl,xt,yt,Blacklisted?
|
|||
/assets/minecraft/textures/blocks,observer_top.png,/mods/ITEMS/REDSTONE/mcl_observers/textures,mcl_observers_observer_top.png,,,,,,,
|
||||
/assets/minecraft/textures/items,redstone_dust.png,/mods/ITEMS/REDSTONE/mesecons_wires/textures,redstone_redstone_dust.png,,,,,,,
|
||||
/assets/minecraft/textures/items,repeater.png,/mods/ITEMS/REDSTONE/mesecons_delayer/textures,mesecons_delayer_item.png,,,,,,,
|
||||
/assets/minecraft/textures/items,comparator.png,/mods/ITEMS/REDSTONE/mesecons_comparators/textures,mcl_comparators_item.png,,,,,,,
|
||||
/assets/minecraft/textures/items,comparator.png,/mods/ITEMS/REDSTONE/mcl_comparators/textures,mcl_comparators_item.png,,,,,,,
|
||||
/assets/minecraft/textures/blocks,repeater_off.png,/mods/ITEMS/REDSTONE/mesecons_delayer/textures,mesecons_delayer_off.png,,,,,,,
|
||||
/assets/minecraft/textures/blocks,repeater_on.png,/mods/ITEMS/REDSTONE/mesecons_delayer/textures,mesecons_delayer_on.png,,,,,,,
|
||||
/assets/minecraft/textures/blocks,noteblock.png,/mods/ITEMS/REDSTONE/mesecons_noteblock/textures,mesecons_noteblock.png,,,,,,,
|
||||
|
@ -829,6 +828,70 @@ Source path,Source file,Target path,Target file,xs,ys,xl,yl,xt,yt,Blacklisted?
|
|||
/assets/minecraft/textures/items,compass_29.png,/mods/ITEMS/mcl_compass/textures,mcl_compass_compass_29.png,,,,,,,
|
||||
/assets/minecraft/textures/items,compass_30.png,/mods/ITEMS/mcl_compass/textures,mcl_compass_compass_30.png,,,,,,,
|
||||
/assets/minecraft/textures/items,compass_31.png,/mods/ITEMS/mcl_compass/textures,mcl_compass_compass_31.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_00.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_00.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_01.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_01.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_02.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_02.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_03.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_03.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_04.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_04.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_05.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_05.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_06.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_06.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_07.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_07.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_08.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_08.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_09.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_09.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_10.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_10.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_11.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_11.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_12.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_12.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_13.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_13.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_14.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_14.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_15.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_15.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_16.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_16.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_17.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_17.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_18.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_18.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_19.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_19.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_20.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_20.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_21.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_21.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_22.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_22.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_23.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_23.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_24.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_24.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_25.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_25.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_26.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_26.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_27.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_27.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_28.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_28.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_29.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_29.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_30.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_30.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_31.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_31.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_32.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_32.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_33.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_33.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_34.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_34.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_35.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_35.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_36.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_36.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_37.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_37.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_38.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_38.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_39.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_39.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_40.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_40.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_41.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_41.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_42.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_42.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_43.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_43.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_44.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_44.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_45.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_45.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_46.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_46.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_47.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_47.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_48.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_48.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_49.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_49.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_50.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_50.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_51.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_51.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_52.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_52.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_53.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_53.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_54.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_54.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_55.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_55.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_56.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_56.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_57.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_57.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_58.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_58.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_59.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_59.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_60.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_60.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_61.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_61.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_62.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_62.png,,,,,,,
|
||||
/assets/minecraft/textures/items,clock_63.png,/mods/ITEMS/mcl_clock/textures,mcl_clock_clock_63.png,,,,,,,
|
||||
/assets/minecraft/textures/items,empty_armor_slot_boots.png,/mods/HUD/mcl_inventory/textures,mcl_inventory_empty_armor_slot_boots.png,,,,,,,
|
||||
/assets/minecraft/textures/items,empty_armor_slot_chestplate.png,/mods/HUD/mcl_inventory/textures,mcl_inventory_empty_armor_slot_chestplate.png,,,,,,,
|
||||
/assets/minecraft/textures/items,empty_armor_slot_helmet.png,/mods/HUD/mcl_inventory/textures,mcl_inventory_empty_armor_slot_helmet.png,,,,,,,
|
||||
|
|
|