Uses of Interface
net.minecraft.world.gen.surfacebuilder.MaterialRules.MaterialCondition
-
Uses of MaterialRules.MaterialCondition in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final Registry
<com.mojang.serialization.MapCodec<? extends MaterialRules.MaterialCondition>> Registries.MATERIAL_CONDITION
static final RegistryKey
<Registry<com.mojang.serialization.MapCodec<? extends MaterialRules.MaterialCondition>>> RegistryKeys.MATERIAL_CONDITION
-
Uses of MaterialRules.MaterialCondition in net.minecraft.world.gen.surfacebuilder
Modifier and TypeClassDescriptionprivate static final record
private static final class
private static enum
private static final record
private static final record
private static enum
private static final record
private static enum
private static enum
private static final record
private static final record
Modifier and TypeFieldDescriptionprivate final MaterialRules.MaterialCondition
MaterialRules.ConditionMaterialRule.ifTrue
The field for theifTrue
record component.static final MaterialRules.MaterialCondition
MaterialRules.STONE_DEPTH_CEILING
static final MaterialRules.MaterialCondition
MaterialRules.STONE_DEPTH_CEILING_WITH_SURFACE_DEPTH
static final MaterialRules.MaterialCondition
MaterialRules.STONE_DEPTH_FLOOR
static final MaterialRules.MaterialCondition
MaterialRules.STONE_DEPTH_FLOOR_WITH_SURFACE_DEPTH
static final MaterialRules.MaterialCondition
MaterialRules.STONE_DEPTH_FLOOR_WITH_SURFACE_DEPTH_RANGE_30
static final MaterialRules.MaterialCondition
MaterialRules.STONE_DEPTH_FLOOR_WITH_SURFACE_DEPTH_RANGE_6
private final MaterialRules.MaterialCondition
MaterialRules.NotMaterialCondition.target
The field for thetarget
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<MaterialRules.MaterialCondition> MaterialRules.MaterialCondition.CODEC
Modifier and TypeMethodDescriptionMaterialRules.aboveYWithStoneDepth
(YOffset anchor, int runDepthMultiplier) MaterialRules.biome
(RegistryKey<Biome>[] biomes) MaterialRules.hole()
MaterialRules.ConditionMaterialRule.ifTrue()
Returns the value of theifTrue
record component.MaterialRules.noiseThreshold
(RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> noise, double min) MaterialRules.noiseThreshold
(RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> noise, double min, double max) MaterialRules.not
(MaterialRules.MaterialCondition target) MaterialRules.steepSlope()
MaterialRules.stoneDepth
(int offset, boolean addSurfaceDepth, int secondaryDepthRange, VerticalSurfaceType verticalSurfaceType) MaterialRules.stoneDepth
(int offset, boolean addSurfaceDepth, VerticalSurfaceType verticalSurfaceType) MaterialRules.surface()
private static MaterialRules.MaterialCondition
VanillaSurfaceRules.surfaceNoiseThreshold
(double min) MaterialRules.NotMaterialCondition.target()
Returns the value of thetarget
record component.MaterialRules.temperature()
MaterialRules.verticalGradient
(String id, YOffset trueAtAndBelow, YOffset falseAtAndAbove) MaterialRules.water
(int offset, int runDepthMultiplier) MaterialRules.waterWithStoneDepth
(int offset, int runDepthMultiplier) Modifier and TypeMethodDescriptionCodecHolder
<? extends MaterialRules.MaterialCondition> MaterialRules.AboveYMaterialCondition.codec()
CodecHolder
<? extends MaterialRules.MaterialCondition> MaterialRules.BiomeMaterialCondition.codec()
CodecHolder
<? extends MaterialRules.MaterialCondition> MaterialRules.HoleMaterialCondition.codec()
CodecHolder
<? extends MaterialRules.MaterialCondition> MaterialRules.MaterialCondition.codec()
CodecHolder
<? extends MaterialRules.MaterialCondition> MaterialRules.NoiseThresholdMaterialCondition.codec()
CodecHolder
<? extends MaterialRules.MaterialCondition> MaterialRules.NotMaterialCondition.codec()
CodecHolder
<? extends MaterialRules.MaterialCondition> MaterialRules.SteepMaterialCondition.codec()
CodecHolder
<? extends MaterialRules.MaterialCondition> MaterialRules.StoneDepthMaterialCondition.codec()
CodecHolder
<? extends MaterialRules.MaterialCondition> MaterialRules.SurfaceMaterialCondition.codec()
CodecHolder
<? extends MaterialRules.MaterialCondition> MaterialRules.TemperatureMaterialCondition.codec()
CodecHolder
<? extends MaterialRules.MaterialCondition> MaterialRules.VerticalGradientMaterialCondition.codec()
CodecHolder
<? extends MaterialRules.MaterialCondition> MaterialRules.WaterMaterialCondition.codec()
static com.mojang.serialization.MapCodec
<? extends MaterialRules.MaterialCondition> MaterialRules.MaterialCondition.registerAndGetDefault
(Registry<com.mojang.serialization.MapCodec<? extends MaterialRules.MaterialCondition>> registry) Modifier and TypeMethodDescriptionstatic MaterialRules.MaterialRule
MaterialRules.condition
(MaterialRules.MaterialCondition condition, MaterialRules.MaterialRule rule) MaterialRules.not
(MaterialRules.MaterialCondition target) Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends MaterialRules.MaterialCondition> MaterialRules.MaterialCondition.registerAndGetDefault
(Registry<com.mojang.serialization.MapCodec<? extends MaterialRules.MaterialCondition>> registry) ModifierConstructorDescription(package private)
ConditionMaterialRule
(MaterialRules.MaterialCondition materialCondition, MaterialRules.MaterialRule materialRule) (package private)
NotMaterialCondition
(MaterialRules.MaterialCondition materialCondition)