|
| | LuaABM (int id, const std::vector< std::string > &trigger_contents, const std::vector< std::string > &required_neighbors, const std::vector< std::string > &without_neighbors, float trigger_interval, u32 trigger_chance, bool simple_catch_up, s16 min_y, s16 max_y) |
| |
| virtual const std::vector< std::string > & | getTriggerContents () const |
| |
| virtual const std::vector< std::string > & | getRequiredNeighbors () const |
| |
| virtual const std::vector< std::string > & | getWithoutNeighbors () const |
| |
| virtual float | getTriggerInterval () |
| |
| virtual u32 | getTriggerChance () |
| |
| virtual bool | getSimpleCatchUp () |
| |
| virtual s16 | getMinY () |
| |
| virtual s16 | getMaxY () |
| |
| virtual void | trigger (ServerEnvironment *env, v3s16 p, MapNode n, u32 active_object_count, u32 active_object_count_wider) |
| |
| | ActiveBlockModifier ()=default |
| |
| virtual | ~ActiveBlockModifier ()=default |
| |
| virtual void | trigger (ServerEnvironment *env, v3s16 p, MapNode n) |
| |
◆ LuaABM()
| LuaABM::LuaABM |
( |
int | id, |
|
|
const std::vector< std::string > & | trigger_contents, |
|
|
const std::vector< std::string > & | required_neighbors, |
|
|
const std::vector< std::string > & | without_neighbors, |
|
|
float | trigger_interval, |
|
|
u32 | trigger_chance, |
|
|
bool | simple_catch_up, |
|
|
s16 | min_y, |
|
|
s16 | max_y ) |
|
inline |
◆ getMaxY()
| virtual s16 LuaABM::getMaxY |
( |
| ) |
|
|
inlinevirtual |
◆ getMinY()
| virtual s16 LuaABM::getMinY |
( |
| ) |
|
|
inlinevirtual |
◆ getRequiredNeighbors()
| virtual const std::vector< std::string > & LuaABM::getRequiredNeighbors |
( |
| ) |
const |
|
inlinevirtual |
◆ getSimpleCatchUp()
| virtual bool LuaABM::getSimpleCatchUp |
( |
| ) |
|
|
inlinevirtual |
◆ getTriggerChance()
| virtual u32 LuaABM::getTriggerChance |
( |
| ) |
|
|
inlinevirtual |
◆ getTriggerContents()
| virtual const std::vector< std::string > & LuaABM::getTriggerContents |
( |
| ) |
const |
|
inlinevirtual |
◆ getTriggerInterval()
| virtual float LuaABM::getTriggerInterval |
( |
| ) |
|
|
inlinevirtual |
◆ getWithoutNeighbors()
| virtual const std::vector< std::string > & LuaABM::getWithoutNeighbors |
( |
| ) |
const |
|
inlinevirtual |
◆ trigger()
◆ m_id
◆ m_max_y
◆ m_min_y
◆ m_required_neighbors
| std::vector<std::string> LuaABM::m_required_neighbors |
|
private |
◆ m_simple_catch_up
| bool LuaABM::m_simple_catch_up |
|
private |
◆ m_trigger_chance
| u32 LuaABM::m_trigger_chance |
|
private |
◆ m_trigger_contents
| std::vector<std::string> LuaABM::m_trigger_contents |
|
private |
◆ m_trigger_interval
| float LuaABM::m_trigger_interval |
|
private |
◆ m_without_neighbors
| std::vector<std::string> LuaABM::m_without_neighbors |
|
private |
The documentation for this class was generated from the following file: