Class OreConfiguration
java.lang.Object
net.minecraft.world.level.levelgen.feature.configurations.OreConfiguration
- All Implemented Interfaces:
FeatureConfiguration
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<OreConfiguration>
float
int
Fields inherited from interface net.minecraft.world.level.levelgen.feature.configurations.FeatureConfiguration
NONE
-
Constructor Summary
ConstructorDescriptionOreConfiguration(List<OreConfiguration.TargetBlockState> p_161013_, int p_161014_)
OreConfiguration(List<OreConfiguration.TargetBlockState> p_161016_, int p_161017_, float p_161018_)
OreConfiguration(RuleTest p_67843_, BlockState p_67844_, int p_67845_)
OreConfiguration(RuleTest p_161008_, BlockState p_161009_, int p_161010_, float p_161011_)
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.levelgen.feature.configurations.FeatureConfiguration
getFeatures
-
Field Details
-
CODEC
-
targetStates
-
size
public final int size -
discardChanceOnAirExposure
public final float discardChanceOnAirExposure
-
-
Constructor Details
-
OreConfiguration
public OreConfiguration(List<OreConfiguration.TargetBlockState> p_161016_, int p_161017_, float p_161018_) -
OreConfiguration
-
OreConfiguration
-
OreConfiguration
-
-
Method Details
-
target
-