Uses of Interface
dev.wyck.wrapper.worldgen.surface.SurfaceCondition
Packages that use SurfaceCondition
-
Uses of SurfaceCondition in dev.wyck.wrapper.worldgen.surface
Classes in dev.wyck.wrapper.worldgen.surface that implement SurfaceConditionModifier and TypeClassDescriptionstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordMethods in dev.wyck.wrapper.worldgen.surface that return SurfaceConditionModifier and TypeMethodDescriptionstatic SurfaceConditionSurfaceCondition.abovePreliminarySurface()Matches above the preliminary surface level.SurfaceRule.Condition.condition()Returns the value of theconditionrecord component.static SurfaceConditionSurfaceCondition.hole()Matches in surface holes.static SurfaceConditionSurfaceCondition.isBiome(List<ResourceKey> biomes) Matches when the current biome is one of the given biomes.static SurfaceConditionSurfaceCondition.noiseCondition(ResourceKey noise, double minThreshold) Matches when a registered noise sampled at this position is at or above the threshold.static SurfaceConditionSurfaceCondition.noiseCondition(ResourceKey noise, double minThreshold, double maxThreshold) Matches when a registered noise sampled at this position is within the threshold range.static SurfaceConditionSurfaceCondition.not(SurfaceCondition target) Inverts another condition.static SurfaceConditionSurfaceCondition.steep()Matches on steep terrain.static SurfaceConditionSurfaceCondition.stoneDepth(int offset, boolean addSurfaceDepth, int secondaryDepthRange, SurfaceCondition.CaveSurface surfaceType) Matches within a given depth of stone from the floor or ceiling, with a secondary depth range.static SurfaceConditionSurfaceCondition.stoneDepth(int offset, boolean addSurfaceDepth, SurfaceCondition.CaveSurface surfaceType) Matches within a given depth of stone from the floor or ceiling.SurfaceCondition.Not.target()Returns the value of thetargetrecord component.static SurfaceConditionSurfaceCondition.temperature()Matches where the biome is cold enough to snow.static SurfaceConditionSurfaceCondition.verticalGradient(String randomName, VerticalAnchor trueAtAndBelow, VerticalAnchor falseAtAndAbove) A noisy vertical gradient that is true below one anchor and false above another, fading between.static SurfaceConditionSurfaceCondition.waterBlockCheck(int offset, int surfaceDepthMultiplier) Matches relative to the water level at the current block.static SurfaceConditionSurfaceCondition.waterStartCheck(int offset, int surfaceDepthMultiplier) Matches relative to the water level at the column start.static SurfaceConditionSurfaceCondition.yBlockCheck(VerticalAnchor anchor, int surfaceDepthMultiplier) Matches at or above a vertical anchor, evaluated per block.static SurfaceConditionSurfaceCondition.yStartCheck(VerticalAnchor anchor, int surfaceDepthMultiplier) Matches at or above a vertical anchor, evaluated at the column start.Methods in dev.wyck.wrapper.worldgen.surface with parameters of type SurfaceConditionModifier and TypeMethodDescriptionstatic SurfaceRuleSurfaceRule.ifTrue(SurfaceCondition condition, SurfaceRule then) Applies a rule only when a condition holds.static SurfaceConditionSurfaceCondition.not(SurfaceCondition target) Inverts another condition.SurfaceCondition.Factory.toNms(SurfaceCondition condition) Constructors in dev.wyck.wrapper.worldgen.surface with parameters of type SurfaceConditionModifierConstructorDescriptionCondition(SurfaceCondition condition, SurfaceRule then) Creates an instance of aConditionrecord class.Not(SurfaceCondition target) Creates an instance of aNotrecord class.