pocketmine\block\utils
Classes
| Name | Kind | Summary |
|---|---|---|
| Ageable | interface | |
| AgeableTrait | trait | This trait is used for blocks that have an age property |
| AlwaysWaterloggedTrait 5.46.0 | trait | For Waterlogged blocks that only exist inside a water source (kelp, seagrass) |
| AmethystTrait | trait | |
| AnalogRedstoneSignalEmitter | interface | |
| AnalogRedstoneSignalEmitterTrait | trait | |
| AnyFacing | interface | |
| AnyFacingTrait | trait | |
| ArchaeologyLoot 5.46.0 | class | Loot for suspicious sand and gravel |
| BannerPatternLayer | class | Contains information about a pattern layer on a banner |
| BannerPatternType | enum | TODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only |
| BellAttachmentType | enum | TODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only |
| BlockEventHelper | class | Helper class to call block changing events and apply the results to the world |
| BrewingStandSlot | enum | TODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only |
| CandleTrait | trait | |
| CarpetVineGrowth 5.46.0 | enum | |
| ChiseledBookshelfSlot | enum | |
| Colored | interface | |
| ColoredTrait | trait | |
| ComparatorReadable 5.46.0 | interface | Implemented by blocks which a redstone comparator can read (cake, composter, lectern |
| CopperMaterial | interface | Represents copper blocks that have oxidized and waxed variations |
| CopperOxidation | enum | TODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only |
| CopperTrait | trait | |
| CoralMaterial | interface | |
| CoralType | enum | TODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only |
| CoralTypeTrait | trait | |
| CrafterOrientation 5.46.0 | enum | Orientation of a crafter: the direction its front faces and the direction its top points to (Bedrock block state "orientation", e |
| CreakingHeartState 5.46.0 | enum | State of a creaking heart (https://minecraft |
| CropGrowthHelper | class | |
| DetectorRailActivator 5.46.0 | interface | Implemented by entities which activate detector rails: in vanilla, only minecarts do (see \pocketmine\entity\vehicle\AbstractMinecart) |
| DirtType | enum | TODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only |
| DripleafState | enum | TODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only |
| DripstoneThickness 5.46.0 | enum | Shape of a pointed dripstone (or sulfur spike) block, from the tip of the formation to its base |
| DyeColor | enum | TODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only |
| FacesOppositePlacingPlayerTrait | trait | |
| Fallable | interface | |
| FallableTrait | trait | This trait handles falling behaviour for blocks that need them |
| FortuneDropHelper | class | |
| FroglightType | enum | TODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only |
| HorizontalConnections 5.46.0 | interface | Implemented by blocks whose horizontal connections (minecraft:connection_* block states since 1 |
| HorizontalConnectionsTrait 5.46.0 | trait | Shared logic for blocks whose horizontal connections (fences, glass panes, iron bars, trip wire, |
| HorizontalFacing | interface | |
| HorizontalFacingTrait | trait | |
| ItemTransfer 5.46.0 | class | Moves items in and out of containers the way hoppers, droppers and crafters do: one item at a time, through a given face of the container, f |
| LeavesType | enum | TODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only |
| LeverFacing | enum | TODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only |
| Lightable | interface | |
| LightableTrait | trait | |
| MinimumCostFlowCalculator | class | Calculates the path(s) of least resistance for liquid flow |
| MobHeadType | enum | TODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only |
| MultiAnyFacing | interface | |
| MultiAnyFacingTrait | trait | Used by blocks that can have multiple target faces in the area of one solid block, such as covering three sides of a corner |
| MultiAnySupportTrait | trait | Used by blocks that have multiple support requirements in the area of one solid block, such as covering three sides of a corner |
| MushroomBlockType | enum | TODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only |
| PillarRotation | interface | |
| PillarRotationTrait | trait | |
| PistonPushReaction 5.46.0 | enum | How a block reacts to being moved by a piston (Bedrock Edition rules) |
| PistonStructureResolver 5.46.0 | class | Finds the blocks moved and destroyed by a piston: the line of blocks in front of it, plus the blocks dragged along by slime and honey blocks |
| PotentSulfurState 5.46.0 | enum | Activity state of a potent sulfur block (Bedrock 1 |
| PoweredByRedstone | interface | |
| PoweredByRedstoneTrait | trait | |
| RailConnectionInfo | class | |
| RailPoweredByRedstoneTrait | trait | Powered and activator rails: powered directly, or through a line of up to 8 rails of the same type leading to a directly powered one |
| RecordType | enum | TODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only |
| SaplingType | enum | TODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only |
| SculkSpreader 5.46.0 | class | Spreads sculk from a sculk catalyst with the experience of the mobs dying near it: port of Java's SculkSpreader (level spreader), its charge |
| ShelfChainPart 5.46.0 | enum | Position of a powered shelf inside a chain of up to three connected shelves, as seen by a player facing the shelves' front |
| SignLikeRotation | interface | |
| SignLikeRotationTrait | trait | |
| SignText | class | |
| SlabType | enum | TODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only |
| StairShape | enum | TODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only |
| StaticSupportTrait | trait | Used by blocks which always have the same support requirements no matter what state they are in |
| SupportType | enum | TODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only |
| VaultState 5.46.0 | enum | State of a vault (https://minecraft |
| WallConnectionType | enum | TODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only |
| Waterlogged 5.46.0 | interface | A block that can share its space with a water source (kelp, seagrass, sea pickles under water) |
| WaterloggedHelper 5.46.0 | class | Shared behaviour of Waterlogged blocks |
| WoodMaterial | interface | |
| WoodType | enum | TODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only |
| WoodTypeTrait | trait |
