Package net.minecraft.world.gen
Class OreVeinSampler
java.lang.Object
net.minecraft.world.gen.OreVeinSampler
- Mappings:
- Namespace - Name - official - dhu- intermediary - net/minecraft/class_6955- named - net/minecraft/world/gen/OreVeinSampler
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final floatThe probability that a given block will be replaced by an ore vein, given that the density check has passed.private static final floatprivate static final floatThe density threshold required to generate any blocks as part of an ore vein.private static final doubleThe decrease in density at the minimum or maximum height compared to the maximum density.private static final intThe number of blocks away from the minimum or maximum height at which ores in an ore vein generates at the maximum density.private static final floatprivate static final floatprivate static final floatprivate static final float
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected static ChunkNoiseSampler.BlockStateSamplercreate(DensityFunction veinToggle, DensityFunction veinRidged, DensityFunction veinGap, RandomSplitter randomDeriver) 
- 
Field Details- 
DENSITY_THRESHOLDprivate static final float DENSITY_THRESHOLDThe density threshold required to generate any blocks as part of an ore vein.- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldhu;a:F- intermediary - field_36620- Lnet/minecraft/class_6955;field_36620:F- named - DENSITY_THRESHOLD- Lnet/minecraft/world/gen/OreVeinSampler;DENSITY_THRESHOLD:F
 
- 
MAX_DENSITY_INTRUSIONprivate static final int MAX_DENSITY_INTRUSIONThe number of blocks away from the minimum or maximum height at which ores in an ore vein generates at the maximum density.- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldhu;b:I- intermediary - field_36621- Lnet/minecraft/class_6955;field_36621:I- named - MAX_DENSITY_INTRUSION- Lnet/minecraft/world/gen/OreVeinSampler;MAX_DENSITY_INTRUSION:I
 
- 
LIMINAL_DENSITY_REDUCTIONprivate static final double LIMINAL_DENSITY_REDUCTIONThe decrease in density at the minimum or maximum height compared to the maximum density.- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - c- Ldhu;c:D- intermediary - field_36622- Lnet/minecraft/class_6955;field_36622:D- named - LIMINAL_DENSITY_REDUCTION- Lnet/minecraft/world/gen/OreVeinSampler;LIMINAL_DENSITY_REDUCTION:D
 
- 
BLOCK_GENERATION_CHANCEprivate static final float BLOCK_GENERATION_CHANCEThe probability that a given block will be replaced by an ore vein, given that the density check has passed.- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - d- Ldhu;d:F- intermediary - field_36623- Lnet/minecraft/class_6955;field_36623:F- named - BLOCK_GENERATION_CHANCE- Lnet/minecraft/world/gen/OreVeinSampler;BLOCK_GENERATION_CHANCE:F
 
- 
MIN_ORE_CHANCEprivate static final float MIN_ORE_CHANCE- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - e- Ldhu;e:F- intermediary - field_36624- Lnet/minecraft/class_6955;field_36624:F- named - MIN_ORE_CHANCE- Lnet/minecraft/world/gen/OreVeinSampler;MIN_ORE_CHANCE:F
 
- 
MAX_ORE_CHANCEprivate static final float MAX_ORE_CHANCE- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - f- Ldhu;f:F- intermediary - field_36625- Lnet/minecraft/class_6955;field_36625:F- named - MAX_ORE_CHANCE- Lnet/minecraft/world/gen/OreVeinSampler;MAX_ORE_CHANCE:F
 
- 
DENSITY_FOR_MAX_ORE_CHANCEprivate static final float DENSITY_FOR_MAX_ORE_CHANCE- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - g- Ldhu;g:F- intermediary - field_36626- Lnet/minecraft/class_6955;field_36626:F- named - DENSITY_FOR_MAX_ORE_CHANCE- Lnet/minecraft/world/gen/OreVeinSampler;DENSITY_FOR_MAX_ORE_CHANCE:F
 
- 
RAW_ORE_BLOCK_CHANCEprivate static final float RAW_ORE_BLOCK_CHANCE- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - h- Ldhu;h:F- intermediary - field_36627- Lnet/minecraft/class_6955;field_36627:F- named - RAW_ORE_BLOCK_CHANCE- Lnet/minecraft/world/gen/OreVeinSampler;RAW_ORE_BLOCK_CHANCE:F
 
- 
VEIN_GAP_THRESHOLDprivate static final float VEIN_GAP_THRESHOLD- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - i- Ldhu;i:F- intermediary - field_36628- Lnet/minecraft/class_6955;field_36628:F- named - VEIN_GAP_THRESHOLD- Lnet/minecraft/world/gen/OreVeinSampler;VEIN_GAP_THRESHOLD:F
 
 
- 
- 
Constructor Details- 
OreVeinSamplerprivate OreVeinSampler()
 
- 
- 
Method Details- 
createprotected static ChunkNoiseSampler.BlockStateSampler create(DensityFunction veinToggle, DensityFunction veinRidged, DensityFunction veinGap, RandomSplitter randomDeriver) - Mappings:
- Namespace - Name - Mixin selector - official - a- Ldhu;a(Ldhd;Ldhd;Ldhd;Ldhx;)Ldho$c;- intermediary - method_40548- Lnet/minecraft/class_6955;method_40548(Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;Lnet/minecraft/class_6574;)Lnet/minecraft/class_6568$class_6569;- named - create- Lnet/minecraft/world/gen/OreVeinSampler;create(Lnet/minecraft/world/gen/densityfunction/DensityFunction;Lnet/minecraft/world/gen/densityfunction/DensityFunction;Lnet/minecraft/world/gen/densityfunction/DensityFunction;Lnet/minecraft/util/math/random/RandomSplitter;)Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler$BlockStateSampler;
 
 
-