Uses of Interface
org.bukkit.block.BlockState
-
Packages that use BlockState Package Description org.bukkit The root package of the Bukkit API, contains generalized API classes.org.bukkit.block Classes used to manipulate the voxels in aworld, including special states.org.bukkit.event.block org.bukkit.event.entity org.bukkit.event.world org.bukkit.inventory.meta The interfaces used when manipulating extra data can can be stored insideitem stacks. -
-
Uses of BlockState in org.bukkit
Methods in org.bukkit that return BlockState Modifier and Type Method Description @NotNull BlockState[]Chunk. getTileEntities()Get a list of all tile entities in the chunk. -
Uses of BlockState in org.bukkit.block
Subinterfaces of BlockState in org.bukkit.block Modifier and Type Interface Description interfaceBannerRepresents a captured state of a banner.interfaceBarrelRepresents a captured state of a Barrel.interfaceBeaconRepresents a captured state of a beacon.interfaceBedDeprecated.does not provide useful information beyond the material itselfinterfaceBeehiveRepresents a captured state of a bee hive.interfaceBellRepresents a captured state of Bell.interfaceBlastFurnaceRepresents a captured state of a blast furnace.interfaceBrewingStandRepresents a captured state of a brewing stand.interfaceCampfireRepresents a captured state of a campfire.interfaceChestRepresents a captured state of a chest.interfaceCommandBlockRepresents a captured state of a command block.interfaceComparatorRepresents a captured state of an on / off comparator.interfaceConduitRepresents a captured state of a conduit.interfaceContainerRepresents a captured state of a container block.interfaceCreatureSpawnerRepresents a captured state of a creature spawner.interfaceDaylightDetectorRepresents a captured state of a (possibly inverted) daylight detector.interfaceDispenserRepresents a captured state of a dispenser.interfaceDropperRepresents a captured state of a dropper.interfaceEnchantingTableRepresents a captured state of an enchanting table.interfaceEnderChestRepresents a captured state of an ender chest.interfaceEndGatewayRepresents a captured state of an end gateway.interfaceEntityBlockStorage<T extends Entity>Represents a captured state of a block which stores entities.interfaceFurnaceRepresents a captured state of a furnace.interfaceHopperRepresents a captured state of a hopper.interfaceJigsawRepresents a captured state of a jigsaw.interfaceJukeboxRepresents a captured state of a jukebox.interfaceLecternRepresents a captured state of a lectern.interfaceShulkerBoxRepresents a captured state of a ShulkerBox.interfaceSignRepresents a captured state of either a SignPost or a WallSign.interfaceSkullRepresents a captured state of a skull block.interfaceSmokerRepresents a captured state of a smoker.interfaceStructureRepresents a structure block that can save and load blocks from a file.interfaceTileStateRepresents a block state that also hosts a tile entity at the given location.Methods in org.bukkit.block that return BlockState Modifier and Type Method Description @NotNull BlockStateBlock. getState()Captures the current state of this block. -
Uses of BlockState in org.bukkit.event.block
Fields in org.bukkit.event.block declared as BlockState Modifier and Type Field Description protected BlockStateBlockPlaceEvent. replacedBlockStateMethods in org.bukkit.event.block that return BlockState Modifier and Type Method Description @NotNull BlockStateBlockPlaceEvent. getBlockReplacedState()Gets the BlockState for the block which was replaced.@NotNull BlockStateBlockDropItemEvent. getBlockState()Gets the BlockState of the block involved in this event before it was broken.@NotNull BlockStateBlockFadeEvent. getNewState()Gets the state of the block that will be fading, melting or disappearing.@NotNull BlockStateBlockGrowEvent. getNewState()Gets the state of the block where it will form or spread to.@NotNull BlockStateMoistureChangeEvent. getNewState()Gets the new state of the affected block.Methods in org.bukkit.event.block that return types with arguments of type BlockState Modifier and Type Method Description @NotNull List<BlockState>BlockFertilizeEvent. getBlocks()Gets a list of all blocks changed by the fertilization.@NotNull List<BlockState>SpongeAbsorbEvent. getBlocks()Get a list of all blocks to be removed by the sponge.@NotNull List<BlockState>BlockMultiPlaceEvent. getReplacedBlockStates()Gets a list of blockstates for all blocks which were replaced by the placement of the new blocks.Constructors in org.bukkit.event.block with parameters of type BlockState Constructor Description BlockDropItemEvent(@NotNull Block block, @NotNull BlockState blockState, @NotNull Player player, @NotNull List<Item> items)BlockFadeEvent(@NotNull Block block, @NotNull BlockState newState)BlockFormEvent(@NotNull Block block, @NotNull BlockState newState)BlockGrowEvent(@NotNull Block block, @NotNull BlockState newState)BlockPlaceEvent(@NotNull Block placedBlock, @NotNull BlockState replacedBlockState, @NotNull Block placedAgainst, @NotNull ItemStack itemInHand, @NotNull Player thePlayer, boolean canBuild)Deprecated.BlockPlaceEvent(@NotNull Block placedBlock, @NotNull BlockState replacedBlockState, @NotNull Block placedAgainst, @NotNull ItemStack itemInHand, @NotNull Player thePlayer, boolean canBuild, @NotNull EquipmentSlot hand)BlockSpreadEvent(@NotNull Block block, @NotNull Block source, @NotNull BlockState newState)EntityBlockFormEvent(@NotNull Entity entity, @NotNull Block block, @NotNull BlockState blockstate)MoistureChangeEvent(@NotNull Block block, @NotNull BlockState newState)Constructor parameters in org.bukkit.event.block with type arguments of type BlockState Constructor Description BlockFertilizeEvent(@NotNull Block theBlock, @Nullable Player player, @NotNull List<BlockState> blocks)BlockMultiPlaceEvent(@NotNull List<BlockState> states, @NotNull Block clicked, @NotNull ItemStack itemInHand, @NotNull Player thePlayer, boolean canBuild)SpongeAbsorbEvent(@NotNull Block block, @NotNull List<BlockState> waterblocks) -
Uses of BlockState in org.bukkit.event.entity
Methods in org.bukkit.event.entity that return types with arguments of type BlockState Modifier and Type Method Description @NotNull List<BlockState>EntityCreatePortalEvent. getBlocks()Deprecated.Gets a list of all blocks associated with the portal.Constructor parameters in org.bukkit.event.entity with type arguments of type BlockState Constructor Description EntityCreatePortalEvent(@NotNull LivingEntity what, @NotNull List<BlockState> blocks, @NotNull PortalType type)Deprecated. -
Uses of BlockState in org.bukkit.event.world
Methods in org.bukkit.event.world that return types with arguments of type BlockState Modifier and Type Method Description @NotNull List<BlockState>PortalCreateEvent. getBlocks()Gets an array list of all the blocks associated with the created portal@NotNull List<BlockState>StructureGrowEvent. getBlocks()Gets a list of all blocks associated with the structure.Constructor parameters in org.bukkit.event.world with type arguments of type BlockState Constructor Description PortalCreateEvent(@NotNull List<BlockState> blocks, @NotNull World world, @NotNull PortalCreateEvent.CreateReason reason)Deprecated.PortalCreateEvent(@NotNull List<BlockState> blocks, @NotNull World world, @Nullable Entity entity, @NotNull PortalCreateEvent.CreateReason reason)StructureGrowEvent(@NotNull Location location, @NotNull TreeType species, boolean bonemeal, @Nullable Player player, @NotNull List<BlockState> blocks) -
Uses of BlockState in org.bukkit.inventory.meta
Methods in org.bukkit.inventory.meta that return BlockState Modifier and Type Method Description @NotNull BlockStateBlockStateMeta. getBlockState()Returns the currently attached block state for this item or creates a new one if one doesn't exist.Methods in org.bukkit.inventory.meta with parameters of type BlockState Modifier and Type Method Description voidBlockStateMeta. setBlockState(@NotNull BlockState blockState)Attaches a copy of the passed block state to the item.
-