Skip to main content

Module prelude

Module prelude 

Source

ModulesΒ§

shapes πŸ”’
vanilla_blocks πŸ”’
vanilla_fluids πŸ”’

StructsΒ§

AttachedToLeavesDecorator πŸ”’
AttachedToLogsDecorator πŸ”’
BambooConfiguration πŸ”’
BasaltColumnsConfiguration πŸ”’
BendingTrunkPlacer πŸ”’
BlobFoliagePlacer πŸ”’
BlockBlobConfiguration πŸ”’
BlockColumnConfiguration πŸ”’
BlockPileConfiguration πŸ”’
BlockPos πŸ”’
A block position.
BlockStateData πŸ”’
Block state data emitted by the feature generator without baking a state id.
BlockStateId πŸ”’
A raw block state id. Using the registry this id can be derived into a block and it’s current properties.
BlockStateProperties πŸ”’
CherryFoliagePlacer πŸ”’
CherryTrunkPlacer πŸ”’
DeltaFeatureConfiguration πŸ”’
DiskConfiguration πŸ”’
DripstoneClusterConfiguration πŸ”’
EndGatewayConfiguration πŸ”’
EndSpike πŸ”’
EndSpikeConfiguration πŸ”’
FallenTreeConfiguration πŸ”’
FluidState πŸ”’
A fluid state instance with amount and falling properties.
FluidStateData πŸ”’
Fluid state data emitted by the feature generator without runtime key lookup.
FossilConfiguration πŸ”’
GeodeBlockSettings πŸ”’
GeodeConfiguration πŸ”’
HugeFungusConfiguration πŸ”’
HugeMushroomConfiguration πŸ”’
Identifier πŸ”’
An identifier used by Minecraft.
LakeConfiguration πŸ”’
LargeDripstoneConfiguration πŸ”’
LazyLock πŸ”’
A value which is initialized on the first access.
LegacyRandom πŸ”’
Legacy Minecraft random number generator based on a Linear Congruential Generator (LCG). This implementation mirrors Java’s java.util.Random which Minecraft originally used.
MangroveRootPlacement πŸ”’
MangroveRootPlacer πŸ”’
MultifaceGrowthConfiguration πŸ”’
NetherForestVegetationConfiguration πŸ”’
NetherrackReplaceBlobsConfiguration πŸ”’
NormalNoise πŸ”’
Vanilla’s 26.3 normal-noise sampler.
OreConfiguration πŸ”’
PerlinSimplexNoise πŸ”’
Multi-octave simplex noise generator.
PlaceOnGroundDecorator πŸ”’
PlacedFeatureData πŸ”’
A placed feature: configured feature plus ordered placement modifiers.
PointedDripstoneConfiguration πŸ”’
PoplarFoliagePlacer πŸ”’
PoplarTrunkPlacer πŸ”’
ProjectedRandomPatchySquareConfiguration πŸ”’
ProjectedRandomPatchySquare β€” projects a random square patch of blocks downward until project_through stops matching.
RandomNeighborSpreadConfiguration πŸ”’
RandomNeighborSpreadFeature β€” spreads a block outward from the origin wherever exactly one accepted-neighbor block is adjacent.
RandomSpreadFoliagePlacer πŸ”’
Registry πŸ”’
RootSystemConfiguration πŸ”’
SculkPatchConfiguration πŸ”’
SeaPickleConfiguration πŸ”’
SeagrassConfiguration πŸ”’
SectionPos πŸ”’
A chunk section position (16x16x16 region).
SimpleBlockConfiguration πŸ”’
SingleBlockPillarConfiguration πŸ”’
SingleBlockPillarFeature β€” grows a pillar of one block, optionally capped with another placed feature.
SpeleothemClusterConfiguration πŸ”’
SpeleothemConfiguration πŸ”’
SpikeConfiguration πŸ”’
SpringConfiguration πŸ”’
SteppedColumnClusterConfiguration πŸ”’
SteppedColumnClusterFeature β€” places a cluster of block columns of varying height/reach (basalt pillars, dripstone-adjacent clusters).
TreeConfiguration πŸ”’
TwistingVinesConfiguration πŸ”’
UnderwaterMagmaConfiguration πŸ”’
UpdateFlags πŸ”’
Flags that control how a block update is processed.
UpwardsBranchingTrunkPlacer πŸ”’
VegetationPatchConfiguration πŸ”’
WorldgenRandom πŸ”’
Vanilla’s WorldgenRandom when constructed for biome decoration.

EnumsΒ§

Axis πŸ”’
An axis in 3D space.
BambooLeaves πŸ”’
BlockHolderSet πŸ”’
Block holder set decoded from vanilla’s holder-set codec shape at build time.
BlockPredicate πŸ”’
Block predicates used by placement modifiers and feature configs.
BlockStateProviderKind πŸ”’
Block-state provider used by features.
ConfiguredFeatureKind πŸ”’
A configured feature kind with its typed configuration.
ConfiguredFeatureRef πŸ”’
A configured feature reference, either a registry entry or an inline configured feature.
CreakingHeartState πŸ”’
Direction πŸ”’
The six cardinal directions in Minecraft.
DoubleBlockHalf πŸ”’
FeatureHeightmap πŸ”’
Heightmap names used by placed feature modifiers.
FeatureSize πŸ”’
FoliagePlacer πŸ”’
IntProvider πŸ”’
An int-valued provider.
PlacedFeatureRef πŸ”’
A placed feature reference, either a registry entry or an inline placed feature.
PlacementModifier πŸ”’
Feature placement modifiers.
RandomSource πŸ”’
A source of random numbers.
RootPlacer πŸ”’
Rotation πŸ”’
Horizontal rotation around the Y axis.
SpeleothemThickness πŸ”’
StructureRuleTestData πŸ”’
Block-state rule tests used by RuleProcessor.
TemperatureModifier πŸ”’
TreeDecorator πŸ”’
TrunkPlacer πŸ”’
VerticalSurface πŸ”’
Vertical surface used by vegetation patches.
WallSide πŸ”’

ConstantsΒ§

DECORATION_STEP_COUNT πŸ”’

StaticsΒ§

REGISTRY πŸ”’

TraitsΒ§

_ πŸ”’
_ πŸ”’
Extension trait for FluidState type-checking methods.
_ πŸ”’
Trait for types stored in a registry, allowing self-lookup of their numeric ID.
_ πŸ”’
Generic trait for registries with a typed entry.
_ πŸ”’
Trait for registries that support tagging entries.
_ πŸ”’
A trait for random number generators.

FunctionsΒ§

fast_floor πŸ”’
Floor function that matches Java behavior.
lerp πŸ”’
Linear interpolation.

Type AliasesΒ§

BiomeRef πŸ”’
BlockRef πŸ”’
FluidRef πŸ”’
FxHashSet πŸ”’
Type alias for a hash set that uses the Fx hashing algorithm.
PlacedFeatureEntryRef πŸ”’
Read-only placed feature reference.