Uses of Interface
dev.wyck.worldgen.surface.SurfaceRule
Packages that use SurfaceRule
Package
Description
-
Uses of SurfaceRule in dev.wyck.worldgen.noise.types
Methods in dev.wyck.worldgen.noise.types that return SurfaceRuleModifier and TypeMethodDescriptionNoiseGeneratorSettings.surfaceRule()The main surface rule to place blocks in the terrain.Methods in dev.wyck.worldgen.noise.types with parameters of type SurfaceRuleModifier and TypeMethodDescriptionstatic NoiseGeneratorSettingsNoiseGeneratorSettings.of(@Nullable ResourceKey resourceKey, NoiseSettings noiseSettings, BlockData defaultBlock, BlockData defaultFluid, NoiseRouter noiseRouter, SurfaceRule surfaceRule, List<ClimatePoint> spawnTarget, int seaLevel, boolean disableMobGeneration, boolean aquifersEnabled, boolean oreVeinsEnabled, boolean useLegacyRandomSource) Creates a new noise generator settings.NoiseGeneratorSettings.Builder.surfaceRule(SurfaceRule surfaceRule) Sets the surface rule. -
Uses of SurfaceRule in dev.wyck.worldgen.surface.condition
Subinterfaces of SurfaceRule in dev.wyck.worldgen.surface.conditionModifier and TypeInterfaceDescriptioninterfaceChecks if the current position is above the preliminary surface level — a Y-level usually a few blocks below the main surface, ignoring noise caves.interfaceChecks the biome at the current position.interfaceA surface condition source — the predicate family (SurfaceRules.ConditionSource) that gates where aRuleSourceapplies.interfacePasses for columns where the surface depth is 0.interfaceComputes the noise value of the current column using a specified noise and checks if it is between the min and max threshold.interfaceInverts a surface condition, passing when the nested condition fails.interfaceA Paper surface condition that follows the vanilla bedrock gradient unless flat bedrock generation is enabled for the world.interfaceChecks if the current position is a steep face on the north or east sides of a mountain.interfaceChecks if the current position is within a specified distance from the surface, either upward or downward, using terrain depth.interfaceChecks if the current block is in a biome that is cold enough for snowfall.interfaceCompares the current Y position with a messy transition, just like the deepslate and bedrock transitions.interfaceChecks if the current position is above water, based on terrain depth.interfaceChecks if the current position is above a specified height (exclusive). -
Uses of SurfaceRule in dev.wyck.worldgen.surface.rule
Subinterfaces of SurfaceRule in dev.wyck.worldgen.surface.ruleModifier and TypeInterfaceDescriptioninterfaceThe badlands banded-terracotta rule.interfacePlaces the given block's default state at the surface.interfaceApplies a rule only when a condition holds.interfaceA surface rule source — the tree (SurfaceRules.RuleSource) that decides which block is placed at the surface during generation.interfaceEvaluates rules in order, using the first that applies.