IMobSpawnerBaseLogic
Link to imobspawnerbaselogic
The IMobSpawnerBaseLogic object contains all kinds of information on how and where to spawn something for mob spawners.
Импорт класса
Link to импорт-класса
It might be required to import the class to avoid errors.
import crafttweaker.tileentity.IMobSpawnerBaseLogic;
Геттеры/сеттеры
Link to геттерысеттеры
ZenGetter | ZenSetter | Описание | Тип |
---|---|---|---|
ZenGetter nbtData | ZenSetter nbtData | Описание NBT Data for the spawner. (See below) | Тип IData |
ZenGetter entityDefinition | ZenSetter entityDefinition | Описание Entity Definition to be spawned. | Тип IEntityDefinition |
ZenGetter world | ZenSetter | Описание World that the spawner belongs to. | Тип IWorld |
ZenGetter blockPos | ZenSetter | Описание The position of the spawner block. | Тип IBlockPos |
ZenMethods
Link to zenmethods
ZenScript Copyvoid updateSpawner(); // Updates the spawner for spawning an entity and ticking down the spawn timer.
void setDelayToMin(); // Sets the delay of the spawner to the minimum delay for the next spawn.