mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 22:03:45 +01:00
Basic command block animation
This commit is contained in:
parent
31dee9a35d
commit
0ab3ca5477
@ -176,8 +176,7 @@ end
|
|||||||
|
|
||||||
minetest.register_node("mesecons_commandblock:commandblock_off", {
|
minetest.register_node("mesecons_commandblock:commandblock_off", {
|
||||||
description = "Command Block",
|
description = "Command Block",
|
||||||
tiles = {"jeija_commandblock_off.png"},
|
tiles = {{name="jeija_commandblock_off.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=2}}},
|
||||||
inventory_image = minetest.inventorycube("jeija_commandblock_off.png"),
|
|
||||||
groups = {mesecon_effector_off=1, not_in_creative_inventory=1, oddly_breakable_by_hand=5},
|
groups = {mesecon_effector_off=1, not_in_creative_inventory=1, oddly_breakable_by_hand=5},
|
||||||
drop = "",
|
drop = "",
|
||||||
diggable = false,
|
diggable = false,
|
||||||
@ -194,7 +193,7 @@ minetest.register_node("mesecons_commandblock:commandblock_off", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("mesecons_commandblock:commandblock_on", {
|
minetest.register_node("mesecons_commandblock:commandblock_on", {
|
||||||
tiles = {"jeija_commandblock_on.png"},
|
tiles = {{name="jeija_commandblock_off.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=2}}},
|
||||||
groups = {mesecon_effector_on=1, not_in_creative_inventory=1, oddly_breakable_by_hand=5},
|
groups = {mesecon_effector_on=1, not_in_creative_inventory=1, oddly_breakable_by_hand=5},
|
||||||
drop = "",
|
drop = "",
|
||||||
on_blast = function() end,
|
on_blast = function() end,
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 513 B After Width: | Height: | Size: 916 B |
Binary file not shown.
Before Width: | Height: | Size: 513 B After Width: | Height: | Size: 916 B |
Loading…
Reference in New Issue
Block a user