接口的使用
org.bukkit.block.data.AnaloguePowerable
使用AnaloguePowerable的程序包
-
org.bukkit.block中AnaloguePowerable的使用
类型参数类型为AnaloguePowerable的org.bukkit.block中的字段修饰符和类型字段说明static final BlockType.Typed<AnaloguePowerable>BlockType.HEAVY_WEIGHTED_PRESSURE_PLATEBlockData:AnaloguePowerablestatic final BlockType.Typed<AnaloguePowerable>BlockType.LIGHT_WEIGHTED_PRESSURE_PLATEBlockData:AnaloguePowerablestatic final BlockType.Typed<AnaloguePowerable>BlockType.TARGETBlockData:AnaloguePowerable -
org.bukkit.block.data.type中AnaloguePowerable的使用
修饰符和类型接口说明interfaceinterface'inverted' 值表示阳光探测器是否被调整了反转模式, 即在光照不足时再激活.interface'north', 'east', 'south', 'west' 代表该红石线与临近方块连接的方式.interface'sculk_sensor_phase' indicates the current operational phase of the sensor.