Package net.minecraft.world.gen
Class OreVeinGenerator
java.lang.Object
net.minecraft.world.gen.OreVeinGenerator
- Mappings:
Namespace Name official crlintermediary net/minecraft/class_6353named net/minecraft/world/gen/OreVeinGenerator
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlockStateprivate static final floatprivate static final intprivate static final doubleprivate final DoublePerlinNoiseSamplerprivate static final floatprivate static final floatprivate final intprivate static final floatprivate final intprivate final intprivate static final floatprivate static final floatprivate static final floatprivate static final doubleprivate static final floatprivate static final floatprivate final DoublePerlinNoiseSamplerprivate final DoublePerlinNoiseSamplerprivate static final floatprivate final DoublePerlinNoiseSamplerprivate final int -
Constructor Summary
ConstructorsConstructorDescriptionOreVeinGenerator(long seed, BlockState defaultState, int horizontalNoiseResolution, int verticalNoiseResolution, int minY) -
Method Summary
Modifier and TypeMethodDescriptionprivate @Nullable OreVeinGenerator.VeinTypegetVeinType(double oreFrequencyNoise, int y) voidsample(double[] buffer, int x, int z, DoublePerlinNoiseSampler sampler, double scale, int minY, int noiseSizeY) sample(WorldGenRandom random, int x, int y, int z, double oreFrequencyNoise, double firstOrePlacementNoise, double secondOrePlacementNoise) voidsampleFirstOrePlacementNoise(double[] buffer, int x, int z, int minY, int noiseSizeY) voidsampleOreFrequencyNoise(double[] buffer, int x, int z, int minY, int noiseSizeY) voidsampleSecondOrePlacementNoise(double[] buffer, int x, int z, int minY, int noiseSizeY) private booleanshouldPlaceOreBlock(double firstOrePlacementNoise, double secondOrePlacementNoise)
-
Field Details
-
field_33588
private static final float field_33588- See Also:
- Mappings:
Namespace Name Mixin selector official aLcrl;a:Fintermediary field_33588Lnet/minecraft/class_6353;field_33588:Fnamed field_33588Lnet/minecraft/world/gen/OreVeinGenerator;field_33588:F
-
ORE_PLACEMENT_NOISE_SCALE
private static final float ORE_PLACEMENT_NOISE_SCALE- See Also:
- Mappings:
Namespace Name Mixin selector official bLcrl;b:Fintermediary field_33589Lnet/minecraft/class_6353;field_33589:Fnamed ORE_PLACEMENT_NOISE_SCALELnet/minecraft/world/gen/OreVeinGenerator;ORE_PLACEMENT_NOISE_SCALE:F
-
ORE_PLACEMENT_NOISE_THRESHOLD
private static final float ORE_PLACEMENT_NOISE_THRESHOLD- See Also:
- Mappings:
Namespace Name Mixin selector official cLcrl;c:Fintermediary field_33590Lnet/minecraft/class_6353;field_33590:Fnamed ORE_PLACEMENT_NOISE_THRESHOLDLnet/minecraft/world/gen/OreVeinGenerator;ORE_PLACEMENT_NOISE_THRESHOLD:F
-
FREQUENCY_NOISE_THRESHOLD
private static final float FREQUENCY_NOISE_THRESHOLD- See Also:
- Mappings:
Namespace Name Mixin selector official dLcrl;d:Fintermediary field_33591Lnet/minecraft/class_6353;field_33591:Fnamed FREQUENCY_NOISE_THRESHOLDLnet/minecraft/world/gen/OreVeinGenerator;FREQUENCY_NOISE_THRESHOLD:F
-
ORE_FREQUENCY_NOISE_SCALE
private static final double ORE_FREQUENCY_NOISE_SCALE- See Also:
- Mappings:
Namespace Name Mixin selector official eLcrl;e:Dintermediary field_33694Lnet/minecraft/class_6353;field_33694:Dnamed ORE_FREQUENCY_NOISE_SCALELnet/minecraft/world/gen/OreVeinGenerator;ORE_FREQUENCY_NOISE_SCALE:D
-
field_33695
private static final int field_33695- See Also:
- Mappings:
Namespace Name Mixin selector official fLcrl;f:Iintermediary field_33695Lnet/minecraft/class_6353;field_33695:Inamed field_33695Lnet/minecraft/world/gen/OreVeinGenerator;field_33695:I
-
field_33696
private static final double field_33696- See Also:
- Mappings:
Namespace Name Mixin selector official gLcrl;g:Dintermediary field_33696Lnet/minecraft/class_6353;field_33696:Dnamed field_33696Lnet/minecraft/world/gen/OreVeinGenerator;field_33696:D
-
GENERATION_CHANCE
private static final float GENERATION_CHANCE- See Also:
- Mappings:
Namespace Name Mixin selector official hLcrl;h:Fintermediary field_33592Lnet/minecraft/class_6353;field_33592:Fnamed GENERATION_CHANCELnet/minecraft/world/gen/OreVeinGenerator;GENERATION_CHANCE:F
-
ORE_CHANCE_START
private static final float ORE_CHANCE_START- See Also:
- Mappings:
Namespace Name Mixin selector official iLcrl;i:Fintermediary field_33662Lnet/minecraft/class_6353;field_33662:Fnamed ORE_CHANCE_STARTLnet/minecraft/world/gen/OreVeinGenerator;ORE_CHANCE_START:F
-
ORE_CHANCE_END
private static final float ORE_CHANCE_END- See Also:
- Mappings:
Namespace Name Mixin selector official jLcrl;j:Fintermediary field_33663Lnet/minecraft/class_6353;field_33663:Fnamed ORE_CHANCE_ENDLnet/minecraft/world/gen/OreVeinGenerator;ORE_CHANCE_END:F
-
MAX_ORE_CHANCE_NOISE_THRESHOLD
private static final float MAX_ORE_CHANCE_NOISE_THRESHOLD- See Also:
- Mappings:
Namespace Name Mixin selector official kLcrl;k:Fintermediary field_33664Lnet/minecraft/class_6353;field_33664:Fnamed MAX_ORE_CHANCE_NOISE_THRESHOLDLnet/minecraft/world/gen/OreVeinGenerator;MAX_ORE_CHANCE_NOISE_THRESHOLD:F
-
RAW_ORE_CHANCE
private static final float RAW_ORE_CHANCE- See Also:
- Mappings:
Namespace Name Mixin selector official lLcrl;l:Fintermediary field_33665Lnet/minecraft/class_6353;field_33665:Fnamed RAW_ORE_CHANCELnet/minecraft/world/gen/OreVeinGenerator;RAW_ORE_CHANCE:F
-
ORE_CHANCE_THRESHOLD
private static final float ORE_CHANCE_THRESHOLD- See Also:
- Mappings:
Namespace Name Mixin selector official mLcrl;m:Fintermediary field_33666Lnet/minecraft/class_6353;field_33666:Fnamed ORE_CHANCE_THRESHOLDLnet/minecraft/world/gen/OreVeinGenerator;ORE_CHANCE_THRESHOLD:F
-
maxY
private final int maxY- Mappings:
Namespace Name Mixin selector official nLcrl;n:Iintermediary field_33595Lnet/minecraft/class_6353;field_33595:Inamed maxYLnet/minecraft/world/gen/OreVeinGenerator;maxY:I
-
minY
private final int minY- Mappings:
Namespace Name Mixin selector official oLcrl;o:Iintermediary field_33596Lnet/minecraft/class_6353;field_33596:Inamed minYLnet/minecraft/world/gen/OreVeinGenerator;minY:I
-
defaultState
- Mappings:
Namespace Name Mixin selector official pLcrl;p:Lcma;intermediary field_33597Lnet/minecraft/class_6353;field_33597:Lnet/minecraft/class_2680;named defaultStateLnet/minecraft/world/gen/OreVeinGenerator;defaultState:Lnet/minecraft/block/BlockState;
-
oreFrequencyNoiseSampler
- Mappings:
Namespace Name Mixin selector official qLcrl;q:Ldfk;intermediary field_33598Lnet/minecraft/class_6353;field_33598:Lnet/minecraft/class_5216;named oreFrequencyNoiseSamplerLnet/minecraft/world/gen/OreVeinGenerator;oreFrequencyNoiseSampler:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
-
firstOrePlacementNoiseSampler
- Mappings:
Namespace Name Mixin selector official rLcrl;r:Ldfk;intermediary field_33599Lnet/minecraft/class_6353;field_33599:Lnet/minecraft/class_5216;named firstOrePlacementNoiseSamplerLnet/minecraft/world/gen/OreVeinGenerator;firstOrePlacementNoiseSampler:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
-
secondOrePlacementNoiseSampler
- Mappings:
Namespace Name Mixin selector official sLcrl;s:Ldfk;intermediary field_33600Lnet/minecraft/class_6353;field_33600:Lnet/minecraft/class_5216;named secondOrePlacementNoiseSamplerLnet/minecraft/world/gen/OreVeinGenerator;secondOrePlacementNoiseSampler:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
-
oreChanceNoiseSampler
- Mappings:
Namespace Name Mixin selector official tLcrl;t:Ldfk;intermediary field_33667Lnet/minecraft/class_6353;field_33667:Lnet/minecraft/class_5216;named oreChanceNoiseSamplerLnet/minecraft/world/gen/OreVeinGenerator;oreChanceNoiseSampler:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
-
horizontalNoiseResolution
private final int horizontalNoiseResolution- Mappings:
Namespace Name Mixin selector official uLcrl;u:Iintermediary field_33601Lnet/minecraft/class_6353;field_33601:Inamed horizontalNoiseResolutionLnet/minecraft/world/gen/OreVeinGenerator;horizontalNoiseResolution:I
-
verticalNoiseResolution
private final int verticalNoiseResolution- Mappings:
Namespace Name Mixin selector official vLcrl;v:Iintermediary field_33602Lnet/minecraft/class_6353;field_33602:Inamed verticalNoiseResolutionLnet/minecraft/world/gen/OreVeinGenerator;verticalNoiseResolution:I
-
-
Constructor Details
-
OreVeinGenerator
public OreVeinGenerator(long seed, BlockState defaultState, int horizontalNoiseResolution, int verticalNoiseResolution, int minY) - Mappings:
Namespace Name Mixin selector official <init>Lcrl;<init>(JLcma;III)Vintermediary <init>Lnet/minecraft/class_6353;<init>(JLnet/minecraft/class_2680;III)Vnamed <init>Lnet/minecraft/world/gen/OreVeinGenerator;<init>(JLnet/minecraft/block/BlockState;III)V
-
-
Method Details
-
sampleOreFrequencyNoise
public void sampleOreFrequencyNoise(double[] buffer, int x, int z, int minY, int noiseSizeY) - Mappings:
Namespace Name Mixin selector official aLcrl;a([DIIII)Vintermediary method_36401Lnet/minecraft/class_6353;method_36401([DIIII)Vnamed sampleOreFrequencyNoiseLnet/minecraft/world/gen/OreVeinGenerator;sampleOreFrequencyNoise([DIIII)V
-
sampleFirstOrePlacementNoise
public void sampleFirstOrePlacementNoise(double[] buffer, int x, int z, int minY, int noiseSizeY) - Mappings:
Namespace Name Mixin selector official bLcrl;b([DIIII)Vintermediary method_36404Lnet/minecraft/class_6353;method_36404([DIIII)Vnamed sampleFirstOrePlacementNoiseLnet/minecraft/world/gen/OreVeinGenerator;sampleFirstOrePlacementNoise([DIIII)V
-
sampleSecondOrePlacementNoise
public void sampleSecondOrePlacementNoise(double[] buffer, int x, int z, int minY, int noiseSizeY) - Mappings:
Namespace Name Mixin selector official cLcrl;c([DIIII)Vintermediary method_36405Lnet/minecraft/class_6353;method_36405([DIIII)Vnamed sampleSecondOrePlacementNoiseLnet/minecraft/world/gen/OreVeinGenerator;sampleSecondOrePlacementNoise([DIIII)V
-
sample
public void sample(double[] buffer, int x, int z, DoublePerlinNoiseSampler sampler, double scale, int minY, int noiseSizeY) - Mappings:
Namespace Name Mixin selector official aLcrl;a([DIILdfk;DII)Vintermediary method_36402Lnet/minecraft/class_6353;method_36402([DIILnet/minecraft/class_5216;DII)Vnamed sampleLnet/minecraft/world/gen/OreVeinGenerator;sample([DIILnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;DII)V
-
sample
public BlockState sample(WorldGenRandom random, int x, int y, int z, double oreFrequencyNoise, double firstOrePlacementNoise, double secondOrePlacementNoise) - Mappings:
Namespace Name Mixin selector official aLcrl;a(Lcro;IIIDDD)Lcma;intermediary method_36400Lnet/minecraft/class_6353;method_36400(Lnet/minecraft/class_5819;IIIDDD)Lnet/minecraft/class_2680;named sampleLnet/minecraft/world/gen/OreVeinGenerator;sample(Lnet/minecraft/world/gen/WorldGenRandom;IIIDDD)Lnet/minecraft/block/BlockState;
-
shouldPlaceOreBlock
private boolean shouldPlaceOreBlock(double firstOrePlacementNoise, double secondOrePlacementNoise) - Mappings:
Namespace Name Mixin selector official aLcrl;a(DD)Zintermediary method_36398Lnet/minecraft/class_6353;method_36398(DD)Znamed shouldPlaceOreBlockLnet/minecraft/world/gen/OreVeinGenerator;shouldPlaceOreBlock(DD)Z
-
getVeinType
- Mappings:
Namespace Name Mixin selector official aLcrl;a(DI)Lcrl$a;intermediary method_36397Lnet/minecraft/class_6353;method_36397(DI)Lnet/minecraft/class_6353$class_6354;named getVeinTypeLnet/minecraft/world/gen/OreVeinGenerator;getVeinType(DI)Lnet/minecraft/world/gen/OreVeinGenerator$VeinType;
-