net.minecraft.world.level.levelgen.feature.configurations

public class OreConfiguration

implements FeatureConfiguration

cvu
net.minecraft.world.level.levelgen.feature.configurations.OreConfiguration
net.minecraft.class_3124
net.minecraft.world.gen.feature.OreFeatureConfig
net.minecraft.src.C_2347_
net.minecraft.world.level.levelgen.feature.configurations.WorldGenFeatureOreConfiguration

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<OreConfiguration>
a
CODEC
field_24896
CODEC
f_67837_
public final List<OreConfiguration$TargetBlockState>
b
targetStates
field_29063
targets
f_161005_
public final int
c
size
field_13723
size
f_67839_
public final float
d
discardChanceOnAirExposure
field_29064
discardOnAirChance
f_161006_

Constructor summary

ModifierConstructor
public (List<OreConfiguration$TargetBlockState> targets, int size, float discardOnAirChance)
public (List<OreConfiguration$TargetBlockState> targets, int size)
public (RuleTest test, BlockState state, int size, float discardOnAirChance)
public (RuleTest test, BlockState state, int size)

Method summary

Modifier and TypeMethod
public static OreConfiguration$TargetBlockState
a(dcn arg0, cks arg1)
target(RuleTest arg0, BlockState arg1)
method_33994(class_3825 arg0, class_2680 arg1)
createTarget(RuleTest test, BlockState state)
m_161021_(C_2625_ p_161022_, C_2064_ p_161023_)