selery ~master (2019-01-01T00:21:55Z)
Dub
Repo
SwitchingBlock
selery
block
redstone
Undocumented in source.
class
SwitchingBlock :
MineableBlock
(
bool
restoneOnly
= false
) {
this
(sul.blocks.Block data, MiningTool miningTool, Drop drop, block_t change);
static if
(
!restoneOnly
)
bool
onInteract
(Player player, Item item, BlockPosition position, ubyte face);
}
Constructors
this
this
(sul.blocks.Block data, MiningTool miningTool, Drop drop, block_t change)
Undocumented in source.
Members
Functions
onInteract
bool
onInteract
(Player player, Item item, BlockPosition position, ubyte face)
Undocumented in source. Be warned that the author may not have intended to support it.
Inherited Members
From MineableBlock
drops
Slot
[]
drops
(World world, Player player, Item item)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
selery
block
redstone
classes
SwitchingBlock