abm - Uberi/MineTest-API GitHub Wiki

abm

Description

Active Block Modifier

Syntax

{
	-- In the following two fields, also group:groupname will work.
	nodenames = {"default:lava_source"},
	neighbors = {"default:water_source", "default:water_flowing"}, -- (any of these)
	^ If left out or empty, any neighbor will do
	interval = 1.0, -- (operation interval)
	chance = 1, -- (chance of trigger is 1.0/this)
	action = func(pos, node, active_object_count, active_object_count_wider),
}
⚠️ **GitHub.com Fallback** ⚠️