Expand description
Block behavior implementations for vanilla blocks.
The actual behavior registration is auto-generated from classes.json.
See src/generated/behaviors.rs for the generated registration code.
Re-exportsΒ§
pub use vegetation::AzaleaBlock;pub use vegetation::BambooSaplingBlock;pub use vegetation::BambooStalkBlock;pub use vegetation::BeetrootBlock;pub use vegetation::CactusBlock;pub use vegetation::CactusFlowerBlock;pub use vegetation::CarrotBlock;pub use vegetation::CocoaBlock;pub use vegetation::CoralBlock;pub use vegetation::CropBlock;pub use vegetation::DoublePlantBlock;pub use vegetation::FlowerBlock;pub use vegetation::MangroveLeavesBlock;pub use vegetation::NetherSproutsBlock;pub use vegetation::NetherWartBlock;pub use vegetation::PitcherCropBlock;pub use vegetation::PotatoBlock;pub use vegetation::PumpkinBlock;pub use vegetation::RootedDirtBlock;pub use vegetation::SeagrassBlock;pub use vegetation::SugarCaneBlock;pub use vegetation::SweetBerryBushBlock;pub use vegetation::TallFlowerBlock;pub use vegetation::TallGrassBlock;pub use vegetation::TallSeagrassBlock;pub use vegetation::TintedParticleLeavesBlock;pub use vegetation::TorchflowerCropBlock;pub use vegetation::UntintedParticleLeavesBlock;pub use vegetation::BaseCoralFanBlock;pub use vegetation::BaseCoralPlantBlock;pub use vegetation::BaseCoralWallFanBlock;pub use vegetation::BigDripleafBlock;pub use vegetation::BigDripleafStemBlock;pub use vegetation::BushBlock;pub use vegetation::CarpetBlock;pub use vegetation::CaveVinesBlock;pub use vegetation::CaveVinesPlantBlock;pub use vegetation::ChorusFlowerBlock;pub use vegetation::ChorusPlantBlock;pub use vegetation::CoralFanBlock;pub use vegetation::CoralPlantBlock;pub use vegetation::CoralWallFanBlock;pub use vegetation::DirtPathBlock;pub use vegetation::DryVegetationBlock;pub use vegetation::EyeblossomBlock;pub use vegetation::EyeblossomType;pub use vegetation::FarmlandBlock;pub use vegetation::FireflyBushBlock;pub use vegetation::FlowerBedBlock;pub use vegetation::GlowLichenBlock;pub use vegetation::HangingMossBlock;pub use vegetation::HangingRootsBlock;pub use vegetation::KelpBlock;pub use vegetation::KelpPlantBlock;pub use vegetation::LeafLitterBlock;pub use vegetation::LilyPadBlock;pub use vegetation::MangrovePropaguleBlock;pub use vegetation::MossyCarpetBlock;pub use vegetation::MushroomBlock;pub use vegetation::NetherFungusBlock;pub use vegetation::NetherRootsBlock;pub use vegetation::PointedDripstoneBlock;pub use vegetation::SaplingBlock;pub use vegetation::SculkVeinBlock;pub use vegetation::SeaPickleBlock;pub use vegetation::ShortDryGrassBlock;pub use vegetation::SmallDripleafBlock;pub use vegetation::SporeBlossomBlock;pub use vegetation::SulfurSpikeBlock;pub use vegetation::TallDryGrassBlock;pub use vegetation::TwistingVinesBlock;pub use vegetation::TwistingVinesPlantBlock;pub use vegetation::VineBlock;pub use vegetation::WeepingVinesBlock;pub use vegetation::WeepingVinesPlantBlock;pub use vegetation::WitherRoseBlock;pub use vegetation::WoolCarpetBlock;
ModulesΒ§
- building π
- colored π
- container π
- decoration π
- fluid π
- portal π
- redstone π
- utils π
- vegetation
- Block behavior implementations for crops and feature-placed vegetation.
StructsΒ§
- Amethyst
Block - Vanilla
AmethystBlockbehavior shared by amethyst blocks and clusters. - Amethyst
Cluster Block - Behavior for vanilla amethyst clusters blocks.
- Anvil
Block - Behavior for Anvils
- Barrel
Block - Behavior for barrel blocks.
- Barrier
Block - Vanilla
BarrierBlockliquid-container behavior. - BedBlock
- Behavior for beds.
- Beehive
Block - Behavior for beehive and bee nest blocks.
- Bubble
Column Block - Vanilla
BubbleColumnBlockcolumn propagation and fluid state. - Budding
Amethyst Block - Behavior for vanilla budding amethyst blocks.
- Button
Block - Behavior for all button block variants.
- Cake
Block - Behavior for Cakes TODO:
- Campfire
Block - Behavior for campfires and soul campfires.
- Candle
Block - Behavior for all Candle type blocks
- Candle
Cake Block - Behavior for Candle Cakes TODO:
- Cauldron
Block - Vanilla empty cauldron behavior.
- Ceiling
Hanging Sign Block - Behavior for ceiling hanging sign blocks.
- Chain
Block - Behavior for chain blocks (iron chain, waxed copper chains).
- Comparator
Block - Vanilla
ComparatorBlock, including persisted output and item-frame input. - Composter
Block - Vanilla composter behavior required by analog signal readers.
- Copper
Bulb Block - Vanilla
CopperBulbBlock, used directly by waxed bulb variants. - Crafting
Table Block - Behavior for the crafting table block.
- Daylight
Detector Block - Vanilla
DaylightDetectorBlockbehavior. - Detector
Rail Block - Vanilla detector rail digital behavior.
- Door
Block - Behavior for vanilla door blocks.
- EndGateway
Block - Vanilla
EndGatewayBlockreplacement behavior. - EndPortal
Block - Vanilla
EndPortalBlockreplacement behavior. - EndPortal
Frame Block - Behavior for end portal frame blocks.
- Fence
Block - Behavior for fence blocks.
- Fence
Gate Block - Behavior for all fence gate variants.
- Fire
Block - Behavior for fire blocks.
- Glazed
Terracotta Block - Vanilla
GlazedTerracottaBlockplacement facing. - HayBlock
- Behavior for hay blocks.
- Honey
Block - Behavior for honey blocks.
- IceBlock
- Vanilla
IceBlockbehavior. - Iron
Bars Block - Behavior for bar blocks.
- Ladder
Block - Behavior for ladders.
- Lava
Cauldron Block - Behavior for lava cauldrons.
- Layered
Cauldron Block - Vanilla layered water and powder-snow cauldron behavior.
- Lever
Block - Vanilla
LeverBlocksource behavior. - Liquid
Block - Behavior for liquid blocks (water and lava).
- Magma
Block - Behavior for magma blocks.
- Moving
Piston Block - Vanilla transient moving-piston block.
- MudBlock
- Behavior for mud blocks.
- Nether
Portal Block - Behavior for the nether portal block.
- Note
Block - Vanilla
NoteBlock, including tuning, redstone playback, and instrument selection. - Observer
Block - Vanilla
ObserverBlocktwo-game-tick pulse behavior. - Piston
Base Block - Vanilla
PistonBaseBlockshared by normal and sticky pistons. - Piston
Head Block - Vanilla piston-head block.
- Potent
Sulfur Block - Vanilla
PotentSulfurBlockbehavior - Powder
Snow Block - Behavior for powder snow blocks.
- Powered
Block - Vanilla
PoweredBlock, used by the redstone block. - Powered
Rail Block - Vanilla powered-rail behavior, also used by activator rails.
- Pressure
Plate Block - Vanilla on/off pressure plates, including wood and stone variants.
- Rail
Block - Vanilla ordinary rail, including ordered curve and junction switching.
- RedStone
OreBlock - Vanilla
RedStoneOreBlockbehavior shared by both ore variants. - RedStone
Wire Block - Vanilla
RedStoneWireBlockusingDefaultRedstoneWireEvaluator. - Redstone
Lamp Block - Vanilla
RedstoneLampBlock, including its delayed turn-off edge. - Redstone
Torch Block - Standing redstone torch (
redstone_torch). - Redstone
Wall Torch Block - Wall redstone torch (
redstone_wall_torch). - Repeater
Block - Vanilla
RepeaterBlock, including side locking and scheduled pulse behavior. - Respawn
Anchor Block - Vanilla respawn-anchor behavior required by analog signal readers.
- Rotated
Pillar Block - Behavior for rotated pillar blocks (logs, pillars, etc.).
- Scaffolding
Block - Vanilla scaffolding collision-shape behavior.
- Slab
Block - Behavior for slab blocks.
- Slime
Block - Behavior for slime blocks.
- Snow
Layer Block - Vanilla
SnowLayerBlocksurvival. - Soul
Fire Block - Behavior for soul fire survival.
- Sponge
Block - Sponge behavior
- Stained
Glass Pane Block - All glass colored pane blocks
- Stair
Block - Behavior for stair blocks.
- Standing
Sign Block - Behavior for standing sign blocks (placed on ground).
- Target
Block - Vanilla
TargetBlockbehavior. - Torch
Block - Behavior for standing torch blocks (torch,
soul_torch,copper_torch). - Trap
Door Block - Behavior for vanilla trapdoor blocks.
- Trip
Wire Block - Vanilla
TripWireBlockbehavior. - Trip
Wire Hook Block - Vanilla
TripWireHookBlockbehavior. - Wall
Block - Behavior for wall blocks.
- Wall
Hanging Sign Block - Behavior for wall hanging sign blocks.
- Wall
Sign Block - Behavior for wall sign blocks (attached to walls).
- Wall
Torch Block - Behavior for wall torch blocks (
wall_torch,soul_wall_torch,copper_wall_torch). - Waterlogged
Transparent Block - Vanilla
WaterloggedTransparentBlockbehavior. - Weathering
Copper - Composable helper for copper weathering/oxidation logic.
- Weathering
Copper Bars Block - Behavior for copper bar blocks.
- Weathering
Copper Bulb Block - Unwaxed copper bulbs with vanilla oxidation behavior.
- Weathering
Copper Chain Block - Behavior for weathering copper chain blocks.
- Weathering
Copper Door Block - Weathering copper doors share door behavior and add copper aging.
- Weathering
Copper Full Block - Block behavior for
WeatheringCopperFullBlock - Weathering
Copper Grate Block - Vanilla
WeatheringCopperGrateBlockbehavior. - Weathering
Copper Slab Block - Weathering copper slabs share slab shape/fluid behavior and add copper aging.
- Weathering
Copper Stair Block - Weathering copper stairs share the stair shape rules and add copper aging.
- Weathering
Copper Trap Door Block - Behavior for vanilla copper trapdoor blocks.
- WebBlock
- Behavior for cobwebs.
- Weighted
Pressure Plate Block - Vanilla weighted pressure plate with analog output based on entity count.
- WetSponge
Block - Wet sponge behavior
EnumsΒ§
- Pressure
Plate Sensitivity - Vanilla
BlockSetType.PressurePlateSensitivityvalues. - Weather
State - Oxidation stages for copper blocks, matching vanillaβs
WeatheringCopper.WeatherState.