Skip to content

pocketmine\block\utils ​

Classes ​

NameKindSummary
Ageableinterface
AgeableTraittraitThis trait is used for blocks that have an age property
AlwaysWaterloggedTrait 5.46.0traitFor Waterlogged blocks that only exist inside a water source (kelp, seagrass)
AmethystTraittrait
AnalogRedstoneSignalEmitterinterface
AnalogRedstoneSignalEmitterTraittrait
AnyFacinginterface
AnyFacingTraittrait
ArchaeologyLoot 5.46.0classLoot for suspicious sand and gravel
BannerPatternLayerclassContains information about a pattern layer on a banner
BannerPatternTypeenumTODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only
BellAttachmentTypeenumTODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only
BlockEventHelperclassHelper class to call block changing events and apply the results to the world
BrewingStandSlotenumTODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only
CandleTraittrait
CarpetVineGrowth 5.46.0enum
ChiseledBookshelfSlotenum
Coloredinterface
ColoredTraittrait
ComparatorReadable 5.46.0interfaceImplemented by blocks which a redstone comparator can read (cake, composter, lectern
CopperMaterialinterfaceRepresents copper blocks that have oxidized and waxed variations
CopperOxidationenumTODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only
CopperTraittrait
CoralMaterialinterface
CoralTypeenumTODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only
CoralTypeTraittrait
CrafterOrientation 5.46.0enumOrientation of a crafter: the direction its front faces and the direction its top points to (Bedrock block state "orientation", e
CreakingHeartState 5.46.0enumState of a creaking heart (https://minecraft
CropGrowthHelperclass
DetectorRailActivator 5.46.0interfaceImplemented by entities which activate detector rails: in vanilla, only minecarts do (see \pocketmine\entity\vehicle\AbstractMinecart)
DirtTypeenumTODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only
DripleafStateenumTODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only
DripstoneThickness 5.46.0enumShape of a pointed dripstone (or sulfur spike) block, from the tip of the formation to its base
DyeColorenumTODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only
FacesOppositePlacingPlayerTraittrait
Fallableinterface
FallableTraittraitThis trait handles falling behaviour for blocks that need them
FortuneDropHelperclass
FroglightTypeenumTODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only
HorizontalConnections 5.46.0interfaceImplemented by blocks whose horizontal connections (minecraft:connection_* block states since 1
HorizontalConnectionsTrait 5.46.0traitShared logic for blocks whose horizontal connections (fences, glass panes, iron bars, trip wire,
HorizontalFacinginterface
HorizontalFacingTraittrait
ItemTransfer 5.46.0classMoves 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
LeavesTypeenumTODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only
LeverFacingenumTODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only
Lightableinterface
LightableTraittrait
MinimumCostFlowCalculatorclassCalculates the path(s) of least resistance for liquid flow
MobHeadTypeenumTODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only
MultiAnyFacinginterface
MultiAnyFacingTraittraitUsed by blocks that can have multiple target faces in the area of one solid block, such as covering three sides of a corner
MultiAnySupportTraittraitUsed by blocks that have multiple support requirements in the area of one solid block, such as covering three sides of a corner
MushroomBlockTypeenumTODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only
PillarRotationinterface
PillarRotationTraittrait
PistonPushReaction 5.46.0enumHow a block reacts to being moved by a piston (Bedrock Edition rules)
PistonStructureResolver 5.46.0classFinds 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.0enumActivity state of a potent sulfur block (Bedrock 1
PoweredByRedstoneinterface
PoweredByRedstoneTraittrait
RailConnectionInfoclass
RailPoweredByRedstoneTraittraitPowered and activator rails: powered directly, or through a line of up to 8 rails of the same type leading to a directly powered one
RecordTypeenumTODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only
SaplingTypeenumTODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only
SculkSpreader 5.46.0classSpreads 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.0enumPosition of a powered shelf inside a chain of up to three connected shelves, as seen by a player facing the shelves' front
SignLikeRotationinterface
SignLikeRotationTraittrait
SignTextclass
SlabTypeenumTODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only
StairShapeenumTODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only
StaticSupportTraittraitUsed by blocks which always have the same support requirements no matter what state they are in
SupportTypeenumTODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only
VaultState 5.46.0enumState of a vault (https://minecraft
WallConnectionTypeenumTODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only
Waterlogged 5.46.0interfaceA block that can share its space with a water source (kelp, seagrass, sea pickles under water)
WaterloggedHelper 5.46.0classShared behaviour of Waterlogged blocks
WoodMaterialinterface
WoodTypeenumTODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only
WoodTypeTraittrait

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.