IBlockIsTransparent

Link to iblockistransparent

This class was added by a mod with mod-id contenttweaker. 因此,如果要使用此功能,则需要安装此mod。

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import mods.contenttweaker.functions.IBlockIsTransparent;

Static Properties

Link to static-properties

名称类型可获得可设置描述
名称
ALWAYS_FALSE
类型
IBlockIsTransparent
可获得
true
可设置
false
描述
No Description Provided
名称
ALWAYS_TRUE
类型
IBlockIsTransparent
可获得
true
可设置
false
描述
No Description Provided

Name: apply

Return Type: boolean

ZenScript
Copy
IBlockIsTransparent.apply(thisBlock as CoTBlockAdvanced, state as MCBlockState) as boolean
参数类型描述
参数
thisBlock
类型
CoTBlockAdvanced
描述
No Description Provided
参数
state
类型
MCBlockState #MC方块状态
描述
No Description Provided