Package net.minecraft.world.gen
Class OreVeinSampler
java.lang.Object
net.minecraft.world.gen.OreVeinSampler
- Mappings:
Namespace Name official dkrintermediary net/minecraft/class_6955named net/minecraft/world/gen/OreVeinSampler
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static ChunkNoiseSampler.BlockStateSamplercreate(DensityFunction veinToggle, DensityFunction veinRidged, DensityFunction veinGap, RandomSplitter randomDeriver)
-
Field Details
-
DENSITY_THRESHOLD
private 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 aLdkr;a:Fintermediary field_36620Lnet/minecraft/class_6955;field_36620:Fnamed DENSITY_THRESHOLDLnet/minecraft/world/gen/OreVeinSampler;DENSITY_THRESHOLD:F
-
MAX_DENSITY_INTRUSION
private 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 bLdkr;b:Iintermediary field_36621Lnet/minecraft/class_6955;field_36621:Inamed MAX_DENSITY_INTRUSIONLnet/minecraft/world/gen/OreVeinSampler;MAX_DENSITY_INTRUSION:I
-
LIMINAL_DENSITY_REDUCTION
private 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 cLdkr;c:Dintermediary field_36622Lnet/minecraft/class_6955;field_36622:Dnamed LIMINAL_DENSITY_REDUCTIONLnet/minecraft/world/gen/OreVeinSampler;LIMINAL_DENSITY_REDUCTION:D
-
BLOCK_GENERATION_CHANCE
private 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 dLdkr;d:Fintermediary field_36623Lnet/minecraft/class_6955;field_36623:Fnamed BLOCK_GENERATION_CHANCELnet/minecraft/world/gen/OreVeinSampler;BLOCK_GENERATION_CHANCE:F
-
MIN_ORE_CHANCE
private static final float MIN_ORE_CHANCE- See Also:
- Mappings:
Namespace Name Mixin selector official eLdkr;e:Fintermediary field_36624Lnet/minecraft/class_6955;field_36624:Fnamed MIN_ORE_CHANCELnet/minecraft/world/gen/OreVeinSampler;MIN_ORE_CHANCE:F
-
MAX_ORE_CHANCE
private static final float MAX_ORE_CHANCE- See Also:
- Mappings:
Namespace Name Mixin selector official fLdkr;f:Fintermediary field_36625Lnet/minecraft/class_6955;field_36625:Fnamed MAX_ORE_CHANCELnet/minecraft/world/gen/OreVeinSampler;MAX_ORE_CHANCE:F
-
DENSITY_FOR_MAX_ORE_CHANCE
private static final float DENSITY_FOR_MAX_ORE_CHANCE- See Also:
- Mappings:
Namespace Name Mixin selector official gLdkr;g:Fintermediary field_36626Lnet/minecraft/class_6955;field_36626:Fnamed DENSITY_FOR_MAX_ORE_CHANCELnet/minecraft/world/gen/OreVeinSampler;DENSITY_FOR_MAX_ORE_CHANCE:F
-
RAW_ORE_BLOCK_CHANCE
private static final float RAW_ORE_BLOCK_CHANCE- See Also:
- Mappings:
Namespace Name Mixin selector official hLdkr;h:Fintermediary field_36627Lnet/minecraft/class_6955;field_36627:Fnamed RAW_ORE_BLOCK_CHANCELnet/minecraft/world/gen/OreVeinSampler;RAW_ORE_BLOCK_CHANCE:F
-
VEIN_GAP_THRESHOLD
private static final float VEIN_GAP_THRESHOLD- See Also:
- Mappings:
Namespace Name Mixin selector official iLdkr;i:Fintermediary field_36628Lnet/minecraft/class_6955;field_36628:Fnamed VEIN_GAP_THRESHOLDLnet/minecraft/world/gen/OreVeinSampler;VEIN_GAP_THRESHOLD:F
-
-
Constructor Details
-
OreVeinSampler
private OreVeinSampler()
-
-
Method Details
-
create
protected static ChunkNoiseSampler.BlockStateSampler create(DensityFunction veinToggle, DensityFunction veinRidged, DensityFunction veinGap, RandomSplitter randomDeriver) - Mappings:
Namespace Name Mixin selector official aLdkr;a(Ldka;Ldka;Ldka;Ldku;)Ldkl$c;intermediary method_40548Lnet/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 createLnet/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;
-