Add steel and black stone pressure plate

light and heavy weighted pressure plate don't work the same as in minecraft. They dont give signal proportional to entities number.
Modified heavey weighted pressure plate so it detect all entities as in minecraft wiki.
This commit is contained in:
3raven 2022-04-09 03:21:38 +00:00
parent 45c3889316
commit 3129379fe9
1 changed files with 28 additions and 2 deletions

View File

@ -203,6 +203,19 @@ mesecon.register_pressure_plate(
{ player = true, mob = true },
S("A stone pressure plate is a redstone component which supplies its surrounding blocks with redstone power while a player or mob stands on top of it. It is not triggered by anything else."))
mesecon.register_pressure_plate(
"mesecons_pressureplates:pressure_plate_polished_blackstone",
S("Polished Blackstone Pressure Plate"),
{"mcl_blackstone_polished.png"},
{"mcl_blackstone_polished.png"},
"default_stone.png",
nil,
{{"mcl_blackstone:blackstone_polished", "mcl_blackstone:blackstone_polished"}},
mcl_sounds.node_sound_stone_defaults(),
{pickaxey=1, material_stone=1},
{ player = true, mob = true },
S("A polished blackstone pressure plate is a redstone component which supplies its surrounding blocks with redstone power while a player or mob stands on top of it. It is not triggered by anything else."))
mesecon.register_pressure_plate(
"mesecons_pressureplates:pressure_plate_gold",
S("Light-Weighted Pressure Plate"),
@ -213,5 +226,18 @@ mesecon.register_pressure_plate(
{{"mcl_core:gold_ingot", "mcl_core:gold_ingot"}},
mcl_sounds.node_sound_metal_defaults(),
{pickaxey=1},
{ player = true, mob = true },
S("A light-weighted pressure plate is a redstone component which supplies its surrounding blocks with redstone power while a player or mob stands on top of it. It is not triggered by anything else."))
nil,
S("A light-weighted pressure plate is a redstone component which supplies its surrounding blocks with redstone power while any movable object (including dropped items, players and mobs) rests on top of it."))
mesecon.register_pressure_plate(
"mesecons_pressureplates:pressure_plate_iron",
S("Heavy-Weighted Pressure Plate"),
{"default_steel_block.png"},
{"default_steel_block.png"},
"default_steel_block.png",
nil,
{{"mcl_core:iron_ingot", "mcl_core:iron_ingot"}},
mcl_sounds.node_sound_metal_defaults(),
{pickaxey=1},
nil,
S("A heavy-weighted pressure plate is a redstone component which supplies its surrounding blocks with redstone power while any movable object (including dropped items, players and mobs) rests on top of it."))