net.minecraft.world.gen

public record OreVeinSampler

implements MaterialRule

net.minecraft.world.level.levelgen.material.rule.OreVeinRule
net.minecraft.world.level.levelgen.material.rule.OreVeinRule
net.minecraft.class_6955
net.minecraft.world.gen.OreVeinSampler

Field summary

Modifier and TypeField
private final BlockState
oreBlock
oreBlock
comp_1_1373
oreBlock
private final BlockState
rawOreBlock
rawOreBlock
comp_1_1374
rawOreBlock
private final BlockState
fillerBlock
fillerBlock
comp_1_1371
fillerBlock
private final float
rawOreChance
rawOreChance
comp_1_1375
rawOreChance
private final DensityFunction
density
density
comp_1_1370
density
private final DensityFunction
richness
richness
comp_1_1376
richness
private final DensityFunction
fillerGap
fillerGap
comp_1_1372
fillerGap
public static final float
VEININESS_THRESHOLD
VEININESS_THRESHOLD
field_36620
DENSITY_THRESHOLD
public static final int
EDGE_ROUNDOFF_BEGIN
EDGE_ROUNDOFF_BEGIN
field_36621
MAX_DENSITY_INTRUSION
public static final float
MAX_EDGE_ROUNDOFF
MAX_EDGE_ROUNDOFF
field_36622
LIMINAL_DENSITY_REDUCTION
public static final float
VEIN_SOLIDNESS
VEIN_SOLIDNESS
field_36623
BLOCK_GENERATION_CHANCE
public static final float
MIN_RICHNESS
MIN_RICHNESS
field_36624
MIN_ORE_CHANCE
public static final float
MAX_RICHNESS
MAX_RICHNESS
field_36625
MAX_ORE_CHANCE
public static final float
MAX_RICHNESS_THRESHOLD
MAX_RICHNESS_THRESHOLD
field_36626
DENSITY_FOR_MAX_ORE_CHANCE
private static final float
CHANCE_OF_RAW_ORE_BLOCK
CHANCE_OF_RAW_ORE_BLOCK
field_36627
RAW_ORE_BLOCK_CHANCE
public static final float
SKIP_ORE_IF_GAP_NOISE_IS_BELOW
SKIP_ORE_IF_GAP_NOISE_IS_BELOW
field_36628
VEIN_GAP_THRESHOLD
public static final com.mojang.serialization.MapCodec<OreVeinSampler>
CODEC
CODEC
field_1_9101
CODEC

Constructor summary

ModifierConstructor
public (BlockState oreBlock, BlockState rawOreBlock, BlockState fillerBlock, float rawOreChance, DensityFunction density, DensityFunction richness, DensityFunction fillerGap)

Method summary

Modifier and TypeMethod
public BlockStateRule
compile(MaterialRuleContext context)
compile(MaterialRuleContext context)
method_1_10098(class_6694 arg0)
getBlockStateRule(MaterialRuleContext arg0)
public com.mojang.serialization.MapCodec<OreVeinSampler>
codec()
codec()
method_39061()
codec()
public BlockState
oreBlock()
oreBlock()
comp_1_1373()
oreBlock()
public BlockState
rawOreBlock()
rawOreBlock()
comp_1_1374()
rawOreBlock()
public BlockState
fillerBlock()
fillerBlock()
comp_1_1371()
fillerBlock()
public float
rawOreChance()
rawOreChance()
comp_1_1375()
rawOreChance()
public DensityFunction
density()
density()
comp_1_1370()
density()
public DensityFunction
richness()
richness()
comp_1_1376()
richness()
public DensityFunction
fillerGap()
fillerGap()
comp_1_1372()
fillerGap()