Uses of Interface
dev.wyck.wrapper.worldgen.placement.PlacementModifier
Packages that use PlacementModifier
-
Uses of PlacementModifier in dev.wyck.wrapper.worldgen.placement
Classes in dev.wyck.wrapper.worldgen.placement that implement PlacementModifierModifier and TypeClassDescriptionstatic final recordstatic final recordstatic final recordstatic 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.placement that return PlacementModifierModifier and TypeMethodDescriptionstatic PlacementModifierPlacementModifier.biomeFilter()Creates a placement modifier that filters positions based on the biome.static PlacementModifierPlacementModifier.blockPredicateFilter(BlockPredicate predicate) Keeps positions that satisfy the given block predicate.static PlacementModifierPlacementModifier.count(int count) Repeats placement a fixed number of times.static PlacementModifierPlacementModifier.count(IntProvider count) Repeats placement a number of times sampled from the count provider.static PlacementModifierPlacementModifier.environmentScan(BlockFace directionOfSearch, BlockPredicate targetCondition, int maxSteps) Scans vertically for a target condition, allowing the default search condition.static PlacementModifierPlacementModifier.environmentScan(BlockFace directionOfSearch, BlockPredicate targetCondition, BlockPredicate allowedSearchCondition, int maxSteps) Scans vertically for a target condition while an allowed search condition holds.static PlacementModifierPlacementModifier.fixedPlacement(BlockVector... positions) Creates a fixed placement modifier that defines positions where blocks or features will be placed.static PlacementModifierPlacementModifier.heightmap(HeightmapType heightmap) Creates a placement modifier that filters positions based on a specified heightmap type.static PlacementModifierPlacementModifier.heightRange(HeightProvider height) Creates a placement modifier that defines a range of vertical heights where placement is allowed.static PlacementModifierPlacementModifier.heightRangeTriangle(VerticalAnchor minInclusive, VerticalAnchor maxInclusive) Creates a height range placement modifier using a triangular distribution between the specified minimum and maximum vertical anchors.static PlacementModifierPlacementModifier.heightRangeUniform(VerticalAnchor minInclusive, VerticalAnchor maxInclusive) Creates a PlacementModifier that defines a uniform height range for placement between the specified minimum and maximum vertical anchors, inclusive.static PlacementModifierPlacementModifier.inSquare()Creates a placement modifier that ensures placement occurs within a square grid.static PlacementModifierPlacementModifier.noiseBasedCount(int noiseToCountRatio, double noiseFactor, double noiseOffset) Creates a placement modifier that selects positions based on noise settings.static PlacementModifierPlacementModifier.noiseThresholdCount(double noiseLevel, int belowNoise, int aboveNoise) Creates a placement modifier that adjusts placement based on a noise threshold.static PlacementModifierPlacementModifier.randomOffset(IntProvider xzSpread, IntProvider ySpread) Randomly offsets the position by the given spreads.static PlacementModifierPlacementModifier.randomOffsetHorizontal(IntProvider xzSpread) Randomly offsets the position horizontally only.static PlacementModifierPlacementModifier.randomOffsetTriangle(int xzRange, int yRange) Randomly offsets the position using triangular spreads over the given ranges.static PlacementModifierPlacementModifier.randomOffsetVertical(IntProvider ySpread) Randomly offsets the position vertically only.static PlacementModifierPlacementModifier.rarityFilter(int chance) Filters a position based on a specified chance value, allowing positions to be kept with a probability of 1/chance.static PlacementModifierPlacementModifier.surfaceRelativeThreshold(HeightmapType heightmap, int minInclusive, int maxInclusive) Creates a placement modifier that filters positions based on their relative surface height using the specified heightmap type and a range of inclusive minimum and maximum height thresholds.static PlacementModifierPlacementModifier.surfaceWaterDepth(int maxWaterDepth) Creates a placement modifier that filters positions based on their surface water depth.Methods in dev.wyck.wrapper.worldgen.placement that return types with arguments of type PlacementModifierModifier and TypeMethodDescriptionPlacedFeature.Custom.placement()Returns the value of theplacementrecord component.Methods in dev.wyck.wrapper.worldgen.placement with parameters of type PlacementModifierModifier and TypeMethodDescriptionPlacedFeature.FeatureBuilder.modifier(PlacementModifier placement) static PlacedFeaturePlacedFeature.of(ConfiguredFeature feature, PlacementModifier... placements) Authors a placed feature from a configured feature and a list of modifiers.PlacedFeature.FeatureBuilder.placements(PlacementModifier... placements) PlacementModifier.Factory.toNms(PlacementModifier modifier) Method parameters in dev.wyck.wrapper.worldgen.placement with type arguments of type PlacementModifierModifier and TypeMethodDescriptionstatic PlacedFeaturePlacedFeature.of(ConfiguredFeature feature, List<PlacementModifier> placements) Authors a placed feature from a configured feature and a list of modifiers.PlacedFeature.FeatureBuilder.placements(List<PlacementModifier> placements) Constructor parameters in dev.wyck.wrapper.worldgen.placement with type arguments of type PlacementModifierModifierConstructorDescriptionCustom(ConfiguredFeature feature, List<PlacementModifier> placement) Creates an instance of aCustomrecord class.