Package net.minecraft.world.gen
Class OreVeinSampler
java.lang.Object
net.minecraft.world.gen.OreVeinSampler
- Mappings:
Namespace Name named net/minecraft/world/gen/OreVeinSamplerintermediary net/minecraft/class_6955official dzi
-
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 named DENSITY_THRESHOLDLnet/minecraft/world/gen/OreVeinSampler;DENSITY_THRESHOLD:Fintermediary field_36620Lnet/minecraft/class_6955;field_36620:Fofficial aLdzi;a: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 named MAX_DENSITY_INTRUSIONLnet/minecraft/world/gen/OreVeinSampler;MAX_DENSITY_INTRUSION:Iintermediary field_36621Lnet/minecraft/class_6955;field_36621:Iofficial bLdzi;b: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 named LIMINAL_DENSITY_REDUCTIONLnet/minecraft/world/gen/OreVeinSampler;LIMINAL_DENSITY_REDUCTION:Dintermediary field_36622Lnet/minecraft/class_6955;field_36622:Dofficial cLdzi;c: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 named BLOCK_GENERATION_CHANCELnet/minecraft/world/gen/OreVeinSampler;BLOCK_GENERATION_CHANCE:Fintermediary field_36623Lnet/minecraft/class_6955;field_36623:Fofficial dLdzi;d:F
-
MIN_ORE_CHANCE
private static final float MIN_ORE_CHANCE- See Also:
- Mappings:
Namespace Name Mixin selector named MIN_ORE_CHANCELnet/minecraft/world/gen/OreVeinSampler;MIN_ORE_CHANCE:Fintermediary field_36624Lnet/minecraft/class_6955;field_36624:Fofficial eLdzi;e:F
-
MAX_ORE_CHANCE
private static final float MAX_ORE_CHANCE- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_ORE_CHANCELnet/minecraft/world/gen/OreVeinSampler;MAX_ORE_CHANCE:Fintermediary field_36625Lnet/minecraft/class_6955;field_36625:Fofficial fLdzi;f:F
-
DENSITY_FOR_MAX_ORE_CHANCE
private static final float DENSITY_FOR_MAX_ORE_CHANCE- See Also:
- Mappings:
Namespace Name Mixin selector named DENSITY_FOR_MAX_ORE_CHANCELnet/minecraft/world/gen/OreVeinSampler;DENSITY_FOR_MAX_ORE_CHANCE:Fintermediary field_36626Lnet/minecraft/class_6955;field_36626:Fofficial gLdzi;g:F
-
RAW_ORE_BLOCK_CHANCE
private static final float RAW_ORE_BLOCK_CHANCE- See Also:
- Mappings:
Namespace Name Mixin selector named RAW_ORE_BLOCK_CHANCELnet/minecraft/world/gen/OreVeinSampler;RAW_ORE_BLOCK_CHANCE:Fintermediary field_36627Lnet/minecraft/class_6955;field_36627:Fofficial hLdzi;h:F
-
VEIN_GAP_THRESHOLD
private static final float VEIN_GAP_THRESHOLD- See Also:
- Mappings:
Namespace Name Mixin selector named VEIN_GAP_THRESHOLDLnet/minecraft/world/gen/OreVeinSampler;VEIN_GAP_THRESHOLD:Fintermediary field_36628Lnet/minecraft/class_6955;field_36628:Fofficial iLdzi;i: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 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;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;official aLdzi;a(Ldyr;Ldyr;Ldyr;Ldzl;)Ldzc$c;
-