接口的使用
org.bukkit.block.BlockState
使用BlockState的程序包
-
org.bukkit中BlockState的使用
返回BlockState的org.bukkit中的方法 -
org.bukkit.block中BlockState的使用
修饰符和类型接口说明interface
代表旗帜(快照)/Represents a captured state of a banner.interface
Represents a captured state of a beacon.interface
代表床(快照)/Represents a captured state of a bed.interface
代表酿造台(快照).interface
代表一个箱子(快照).interface
代表命令方块(快照)/Represents a captured state of a command block.interface
Represents a captured state of an on / off comparator.interface
Represents a captured state of a container block.interface
代表一个刷怪笼(快照).interface
Represents a captured state of a (possibly inverted) daylight detector.interface
代表一个发射器(快照).interface
代表一个投掷器(快照).interface
代表附魔台(快照)/Represents a captured state of an enchanting table.interface
代表末影箱(快照)/Represents a captured state of an ender chest.interface
Represents a captured state of an end gateway.interface
Represents a captured state of a flower pot.interface
代表一个熔炉(快照).interface
代表漏斗(快照).interface
代表一个唱片机(快照).interface
代表音符盒(快照).interface
Represents a captured state of a ShulkerBox.interface
代表一个告示牌或者墙上告示牌(快照).interface
代表一个头颅(快照).interface
Represents a structure block that can save and load blocks from a file.返回BlockState的org.bukkit.block中的方法 -
org.bukkit.event.block中BlockState的使用
声明为BlockState的org.bukkit.event.block中的字段修饰符和类型方法说明BlockPlaceEvent.getBlockReplacedState()
获取方块被放置后的方块状态(BlockState
).BlockFadeEvent.getNewState()
获取因为世界条件消退,融化,消失的方块的状态(BlockState
).BlockGrowEvent.getNewState()
获取这个方块生长之后的新状态.返回变量类型为BlockState的类型的org.bukkit.event.block中的方法参数类型为BlockState的org.bukkit.event.block中的构造器限定符构造器说明BlockFadeEvent
(Block block, BlockState newState) BlockFormEvent
(Block block, BlockState newState) BlockGrowEvent
(Block block, BlockState newState) BlockPlaceEvent
(Block placedBlock, BlockState replacedBlockState, Block placedAgainst, ItemStack itemInHand, Player thePlayer, boolean canBuild) 已过时。BlockPlaceEvent
(Block placedBlock, BlockState replacedBlockState, Block placedAgainst, ItemStack itemInHand, Player thePlayer, boolean canBuild, EquipmentSlot hand) BlockSpreadEvent
(Block block, Block source, BlockState newState) EntityBlockFormEvent
(Entity entity, Block block, BlockState blockstate) 类型变量类型为BlockState的org.bukkit.event.block中的构造器参数限定符构造器说明BlockMultiPlaceEvent
(List<BlockState> states, Block clicked, ItemStack itemInHand, Player thePlayer, boolean canBuild) -
org.bukkit.event.entity中BlockState的使用
返回变量类型为BlockState的类型的org.bukkit.event.entity中的方法类型变量类型为BlockState的org.bukkit.event.entity中的构造器参数 -
org.bukkit.event.world中BlockState的使用
返回变量类型为BlockState的类型的org.bukkit.event.world中的方法类型变量类型为BlockState的org.bukkit.event.world中的构造器参数限定符构造器说明StructureGrowEvent
(Location location, TreeType species, boolean bonemeal, Player player, List<BlockState> blocks) -
org.bukkit.inventory.meta中BlockState的使用
参数类型为BlockState的org.bukkit.inventory.meta中的方法修饰符和类型方法说明void
BlockStateMeta.setBlockState
(BlockState blockState) 将BlockState副本附加到物品上(设置这个物品的BlockState).