Expand description
Block behavior implementations for crops and feature-placed vegetation.
ModulesΒ§
- azalea_
block π - bamboo π
- bamboo_
sapling π - base_
coral_ πfan_ block - base_
coral_ πplant_ block - base_
coral_ πwall_ fan_ block - beetroots π
- big_
dripleaf_ πblock - big_
dripleaf_ πstem_ block - bonemealable
- Bonemeal-related traits and helpers for block behaviors.
- bush_
block π - cactus_
block π - Cactus block behavior.
- cactus_
flower_ πblock - Cactus flower block behavior.
- carpet_
block π - carrot π
- cave_
vines_ πblock - cave_
vines_ πplant_ block - chorus_
flower_ πblock - chorus_
plant_ πblock - cocoa_
block π - coral_
block π - coral_
fan_ πblock - coral_
plant_ πblock - coral_
wall_ πfan_ block - crop_
block π - Crop block implementation (wheat, carrots, potatoes, beetroot).
- dirt_
path_ πblock - double_
plant_ πblock - dry_
vegetation_ πblock - eyeblossom_
block π - farmland_
block π - Farmland block implementation.
- firefly_
bush_ πblock - flower_
bed_ πblock - flower_
block π - glow_
lichen_ πblock - growing_
plant_ πbody_ block - growing_
plant_ πhead_ block - hanging_
moss_ πblock - hanging_
roots_ πblock - kelp_
block π - kelp_
plant_ πblock - leaf_
litter_ πblock - leaves_
block π - Leaves block behavior implementation.
- lily_
pad_ πblock - mangrove_
propagule_ πblock - mossy_
carpet_ πblock - mushroom_
block π - nether_
fungus_ πblock - nether_
roots_ πblock - nether_
sprouts π - nether_
wart π - pitcher_
crop π - pointed_
dripstone_ πblock - potato π
- pumpkin_
block π - rooted_
dirt_ πblock - sapling_
block π - sculk_
vein_ πblock - sea_
pickle_ πblock - seagrass_
block π - segmentable_
block π - short_
dry_ πgrass_ block - small_
dripleaf_ πblock - spore_
blossom_ πblock - sugar_
cane π - Sugar Cane block behavior.
- sweet_
berry_ πbush - tall_
dry_ πgrass_ block - tall_
flower_ πblock - tall_
grass_ πblock - tall_
seagrass_ πblock - torchflower π
- twisting_
vines_ πblock - twisting_
vines_ πplant_ block - vegetation_
block π - vine_
block π - weeping_
vines_ πblock - weeping_
vines_ πplant_ block - wither_
rose_ πblock
StructsΒ§
- Azalea
Block - Behavior for azalea blocks.
- Bamboo
Sapling Block - Behavior for the Bamboo Sapling Block
- Bamboo
Stalk Block - Behavior for the Bamboo Stalk Block
- Base
Coral FanBlock - Vanilla
BaseCoralFanBlocksurvival (dead coral fans). - Base
Coral Plant Block - Vanilla
BaseCoralPlantBlocksurvival (dead coral plants such asdead_tube_coral). - Base
Coral Wall FanBlock - Vanilla
BaseCoralWallFanBlocksurvival (dead coral wall fans). - Beetroot
Block - Behavior for the Beetroots Block
- BigDripleaf
Block - Vanilla
BigDripleafBlocksurvival. - BigDripleaf
Stem Block - Vanilla
BigDripleafStemBlocksurvival. - Bush
Block - Vanilla
BushBlocksurvival. - Cactus
Block - Behavior for cactus blocks.
- Cactus
Flower Block - Behavior for cactus flower blocks.
- Carpet
Block - Vanilla
CarpetBlocksurvival and shape updates. - Carrot
Block - Behavior for Carrots
- Cave
Vines Block - Vanilla
CaveVinesBlock(head) survival. - Cave
Vines Plant Block - Vanilla
CaveVinesPlantBlock(body) survival. - Chorus
Flower Block - Vanilla
ChorusFlowerBlocksurvival behavior. - Chorus
Plant Block - Vanilla
ChorusPlantBlockconnection and survival behavior. - Cocoa
Block - Cocoa Block behavior
- Coral
Block - Vanilla
CoralBlocksurvival. - Coral
FanBlock - Vanilla
CoralFanBlocksurvival (live coral fans). - Coral
Plant Block - Vanilla
CoralPlantBlocksurvival (live coral plants such astube_coral). - Coral
Wall FanBlock - Vanilla
CoralWallFanBlocksurvival (live coral wall fans). - Crop
Block - Behavior for crop blocks (wheat, carrots, potatoes).
- Dirt
Path Block - Behavior for dirt path blocks.
- Double
Plant Block - Behavior for vanilla two-block-tall plants.
- DryVegetation
Block - Vanilla
DryVegetationBlockbehavior - Eyeblossom
Block - Vanilla
EyeblossomBlocksurvival and ticking shape. - Farmland
Block - Behavior for farmland blocks.
- Firefly
Bush Block - Vanilla
FireflyBushBlocksurvival. - Flower
BedBlock - Vanilla
FlowerBedBlocksurvival. - Flower
Block - Behavior for most flower blocks.
- Glow
Lichen Block - Vanilla
GlowLichenBlocksurvival. - Hanging
Moss Block - Vanilla
HangingMossBlocksurvival (e.g.pale_hanging_moss). - Hanging
Roots Block - Vanilla
HangingRootsBlocksurvival - Kelp
Block - Vanilla
KelpBlocksurvival and fluid state. - Kelp
Plant Block - Vanilla
KelpPlantBlocksurvival and fluid state. - Leaf
Litter Block - Vanilla
LeafLitterBlockuses sturdy top-face support, not the vegetation tag. - Lily
PadBlock - Vanilla
LilyPadBlocksurvival. - Mangrove
Leaves Block - Mangrove leaves behavior, including hanging propagule growth.
- Mangrove
Propagule Block - Vanilla
MangrovePropaguleBlocksurvival. - Mossy
Carpet Block - Vanilla
MossyCarpetBlocksurvival and side state updates. - Mushroom
Block - Vanilla
MushroomBlocksurvival. - Nether
Fungus Block - Vanilla
NetherFungusBlocksurvival. - Nether
Roots Block - Vanilla
NetherRootsBlocksurvival. - Nether
Sprouts Block - Behavior for Nether Sprouts
- Nether
Wart Block - Behavior for Nether Warts
- Pitcher
Crop Block - Behavior for Pitcher Crops
- Pointed
Dripstone Block - Vanilla
PointedDripstoneBlocksurvival and thickness updates. - Potato
Block - Behavior for Potatoes
- Pumpkin
Block - Behavior for pumpkins.
- Rooted
Dirt Block - Vanilla
RootedDirtBlockbonemeal behavior - Sapling
Block - Vanilla
SaplingBlocksurvival. - Sculk
Vein Block - Vanilla
SculkVeinBlocksurvival. - SeaPickle
Block - Vanilla
SeaPickleBlocksurvival. - Seagrass
Block - Behavior for seagrass blocks.
- Short
DryGrass Block - Vanilla
ShortDryGrassBlocksurvival - Small
Dripleaf Block - Vanilla
SmallDripleafBlocksurvival. - Spore
Blossom Block - Vanilla
SporeBlossomBlocksurvival. - Sugar
Cane Block - Behavior for sugar cane blocks.
- Sulfur
Spike Block - Vanilla
SulfurSpikeBlockbehavior - Sweet
Berry Bush Block - Behavior for Sweet Berry Bushes
- Tall
DryGrass Block - Vanilla
TallDryGrassBlocksurvival - Tall
Flower Block - Behavior for two-block-tall flowers.
- Tall
Grass Block - Behavior for short grass and fern blocks.
- Tall
Seagrass Block - Behavior for tall seagrass blocks.
- Tinted
Particle Leaves Block - Used for oak, spruce, jungle⦠tree leaves.
- Torchflower
Crop Block - Behavior for the Torchflower Block
- Twisting
Vines Block - Vanilla
TwistingVinesBlock(head) survival. - Twisting
Vines Plant Block - Vanilla
TwistingVinesPlantBlock(body) survival. - Untinted
Particle Leaves Block - Used for cherry tree leaves.
- Vine
Block - Vanilla
VineBlocksurvival and neighbor shape updates. - Weeping
Vines Block - Vanilla
WeepingVinesBlock(head) survival. - Weeping
Vines Plant Block - Vanilla
WeepingVinesPlantBlock(body) survival. - Wither
Rose Block - Behavior for wither roses.
- Wool
Carpet Block - Vanilla
WoolCarpetBlockbehavior for dyed wool carpets.
EnumsΒ§
- Eyeblossom
Type - Vanilla open/closed eyeblossom type from
classes.json.
TraitsΒ§
- Vegetation
- Common behavior for vegetation blocks
FunctionsΒ§
- can_
attach_ πto_ multiface - Vanilla
MultifaceBlock.canAttachTo(level, directionTowardsNeighbor, neighborPos, neighborState). - can_
attach_ πto_ multiface_ state - coral_
plant_ πcan_ survive - Vanilla
BaseCoralPlantTypeBlock.canSurvive(alsoBaseCoralFanBlock,CoralPlantBlock,CoralFanBlock). - coral_
scan_ πfor_ water - Vanilla
BaseCoralPlantTypeBlock.scanForWater. - coral_
wall_ πfan_ can_ survive - Vanilla
BaseCoralWallFanBlock.canSurvive. - default_
surviving_ πstate - find_
stalactite_ tip_ above_ cauldron - Searches upward from cauldron position to find an overhanging stalactite tip.
- get_
cauldron_ fill_ fluid_ type - Determines which fluid (water or lava) a stalactite would fill a cauldron with.
- get_
top_ connected_ block - Vanilla equal
getTopConnectedBlock() - growing_
plant_ πcan_ survive - Vanilla
GrowingPlantBlock.canSurvive. - kelp_
can_ πsurvive - multiface_
can_ πsurvive - Vanilla
MultifaceBlock.canSurvive. - multiface_
face_ πproperty - Vanilla
MultifaceBlock.getFaceProperty(faceDirection). - multiface_
has_ πany_ face - nether_
vines_ get_ blocks_ to_ grow_ when_ bonemealed - Vanilla
getBlocksToGrowWhenBonemealed() - schedule_
coral_ πdie_ tick - Vanilla
BaseCoralPlantTypeBlock.tryScheduleDieTick. - survives_
on_ πtag - turn_
to_ πdirt - Turns farmland or a dirt path into dirt.
- update_
multiface_ πshape - water_
source_ πfluid_ state
Type AliasesΒ§
- Block
TagRef π