Description
This is the component provided by the NanoFog Terminal block.
Component name: os_nanofog_terminal
.
This is the component provided by the NanoFog Terminal block.
Component name: os_nanofog_terminal
.
set(x:number, y:number, z:number, blockName:string [, blockMetaindex:number]):boolean
sets a fog block in the world
setArea(x1:number, y1:number, z1:number, x2:number, y2:number, z2:number, blockName:string [, blockMetaindex:number]):boolean
sets fog in the defined area, usage like `set` method
reset(x:number, y:number, z:number):boolean
removes a fog block from the world
resetAll():boolean
removes all fog blocks assigned to this terminal from the world
setShield(x:number, y:number, z:number):boolean
sets a block to shield mode (walkthrough possible for anyone)
setSolid(x:number, y:number, z:number):boolean
sets a block to solid mode, walkthroug only possible for entities on the pass filter.
setKnockback(x:number, y:number, z:number, power:number):boolean
sets the power for knockback of entities that aren't allowed to pass the fog, valid values for power [0, 1, 2].
setDamage(x:number, y:number, z:number, powe:number):boolean
sets the amount of damage dealt to entities on the damage filter, valid values for damage [0 - 5]
getMaterial():integer
returns the current material input (the output is not reported)
get(x:number, y:number, z:number):string
tells you if a block is air/nanofog or anything else
setFilter(x:number, y:number, z:number, types:string, allowPass:boolean, damageEntity:boolean, name:string):boolean
sets/removes a filter for the specified entity type/class, all entities of the defined type will be filtered when no name argument is specified.types: player, hostile, animal, item, all
getFilterPass(x:number, y:number, z:number):array
returns the pass filter list for the defined block
getFilterDamage(x:number, y:number, z:number):array
returns the damage filter list for the defined block
getEntityClassNames():array
returns a list of entity class names that can be used in the filter