Package net.minecraft.world.gen
Class OreVeinGenerator
java.lang.Object
net.minecraft.world.gen.OreVeinGenerator
- Mappings:
Namespace Name official cqd
intermediary net/minecraft/class_6353
named net/minecraft/world/gen/OreVeinGenerator
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BlockState
private static final float
private static final int
private static final double
private final DoublePerlinNoiseSampler
private static final float
private static final float
private final int
private static final float
private final int
private final int
private static final float
private static final float
private static final float
private static final double
private static final float
private static final float
private final DoublePerlinNoiseSampler
private final DoublePerlinNoiseSampler
private static final float
private final DoublePerlinNoiseSampler
private final int
-
Constructor Summary
ConstructorDescriptionOreVeinGenerator
(long seed, BlockState defaultState, int horizontalNoiseResolution, int verticalNoiseResolution, int minY) -
Method Summary
Modifier and TypeMethodDescriptionprivate @Nullable OreVeinGenerator.VeinType
getVeinType
(double oreFrequencyNoise, int y) void
sample
(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) void
sampleFirstOrePlacementNoise
(double[] buffer, int x, int z, int minY, int noiseSizeY) void
sampleOreFrequencyNoise
(double[] buffer, int x, int z, int minY, int noiseSizeY) void
sampleSecondOrePlacementNoise
(double[] buffer, int x, int z, int minY, int noiseSizeY) private boolean
shouldPlaceOreBlock
(double firstOrePlacementNoise, double secondOrePlacementNoise)
-
Field Details
-
field_33588
private static final float field_33588- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lcqd;a:F
intermediary field_33588
Lnet/minecraft/class_6353;field_33588:F
named field_33588
Lnet/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 b
Lcqd;b:F
intermediary field_33589
Lnet/minecraft/class_6353;field_33589:F
named ORE_PLACEMENT_NOISE_SCALE
Lnet/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 c
Lcqd;c:F
intermediary field_33590
Lnet/minecraft/class_6353;field_33590:F
named ORE_PLACEMENT_NOISE_THRESHOLD
Lnet/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 d
Lcqd;d:F
intermediary field_33591
Lnet/minecraft/class_6353;field_33591:F
named FREQUENCY_NOISE_THRESHOLD
Lnet/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 e
Lcqd;e:D
intermediary field_33694
Lnet/minecraft/class_6353;field_33694:D
named ORE_FREQUENCY_NOISE_SCALE
Lnet/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 f
Lcqd;f:I
intermediary field_33695
Lnet/minecraft/class_6353;field_33695:I
named field_33695
Lnet/minecraft/world/gen/OreVeinGenerator;field_33695:I
-
field_33696
private static final double field_33696- See Also:
- Mappings:
Namespace Name Mixin selector official g
Lcqd;g:D
intermediary field_33696
Lnet/minecraft/class_6353;field_33696:D
named field_33696
Lnet/minecraft/world/gen/OreVeinGenerator;field_33696:D
-
GENERATION_CHANCE
private static final float GENERATION_CHANCE- See Also:
- Mappings:
Namespace Name Mixin selector official h
Lcqd;h:F
intermediary field_33592
Lnet/minecraft/class_6353;field_33592:F
named GENERATION_CHANCE
Lnet/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 i
Lcqd;i:F
intermediary field_33662
Lnet/minecraft/class_6353;field_33662:F
named ORE_CHANCE_START
Lnet/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 j
Lcqd;j:F
intermediary field_33663
Lnet/minecraft/class_6353;field_33663:F
named ORE_CHANCE_END
Lnet/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 k
Lcqd;k:F
intermediary field_33664
Lnet/minecraft/class_6353;field_33664:F
named MAX_ORE_CHANCE_NOISE_THRESHOLD
Lnet/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 l
Lcqd;l:F
intermediary field_33665
Lnet/minecraft/class_6353;field_33665:F
named RAW_ORE_CHANCE
Lnet/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 m
Lcqd;m:F
intermediary field_33666
Lnet/minecraft/class_6353;field_33666:F
named ORE_CHANCE_THRESHOLD
Lnet/minecraft/world/gen/OreVeinGenerator;ORE_CHANCE_THRESHOLD:F
-
maxY
private final int maxY- Mappings:
Namespace Name Mixin selector official n
Lcqd;n:I
intermediary field_33595
Lnet/minecraft/class_6353;field_33595:I
named maxY
Lnet/minecraft/world/gen/OreVeinGenerator;maxY:I
-
minY
private final int minY- Mappings:
Namespace Name Mixin selector official o
Lcqd;o:I
intermediary field_33596
Lnet/minecraft/class_6353;field_33596:I
named minY
Lnet/minecraft/world/gen/OreVeinGenerator;minY:I
-
defaultState
- Mappings:
Namespace Name Mixin selector official p
Lcqd;p:Lckt;
intermediary field_33597
Lnet/minecraft/class_6353;field_33597:Lnet/minecraft/class_2680;
named defaultState
Lnet/minecraft/world/gen/OreVeinGenerator;defaultState:Lnet/minecraft/block/BlockState;
-
oreFrequencyNoiseSampler
- Mappings:
Namespace Name Mixin selector official q
Lcqd;q:Lddw;
intermediary field_33598
Lnet/minecraft/class_6353;field_33598:Lnet/minecraft/class_5216;
named oreFrequencyNoiseSampler
Lnet/minecraft/world/gen/OreVeinGenerator;oreFrequencyNoiseSampler:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
-
firstOrePlacementNoiseSampler
- Mappings:
Namespace Name Mixin selector official r
Lcqd;r:Lddw;
intermediary field_33599
Lnet/minecraft/class_6353;field_33599:Lnet/minecraft/class_5216;
named firstOrePlacementNoiseSampler
Lnet/minecraft/world/gen/OreVeinGenerator;firstOrePlacementNoiseSampler:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
-
secondOrePlacementNoiseSampler
- Mappings:
Namespace Name Mixin selector official s
Lcqd;s:Lddw;
intermediary field_33600
Lnet/minecraft/class_6353;field_33600:Lnet/minecraft/class_5216;
named secondOrePlacementNoiseSampler
Lnet/minecraft/world/gen/OreVeinGenerator;secondOrePlacementNoiseSampler:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
-
oreChanceNoiseSampler
- Mappings:
Namespace Name Mixin selector official t
Lcqd;t:Lddw;
intermediary field_33667
Lnet/minecraft/class_6353;field_33667:Lnet/minecraft/class_5216;
named oreChanceNoiseSampler
Lnet/minecraft/world/gen/OreVeinGenerator;oreChanceNoiseSampler:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
-
horizontalNoiseResolution
private final int horizontalNoiseResolution- Mappings:
Namespace Name Mixin selector official u
Lcqd;u:I
intermediary field_33601
Lnet/minecraft/class_6353;field_33601:I
named horizontalNoiseResolution
Lnet/minecraft/world/gen/OreVeinGenerator;horizontalNoiseResolution:I
-
verticalNoiseResolution
private final int verticalNoiseResolution- Mappings:
Namespace Name Mixin selector official v
Lcqd;v:I
intermediary field_33602
Lnet/minecraft/class_6353;field_33602:I
named verticalNoiseResolution
Lnet/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>
Lcqd;<init>(JLckt;III)V
intermediary <init>
Lnet/minecraft/class_6353;<init>(JLnet/minecraft/class_2680;III)V
named <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 a
Lcqd;a([DIIII)V
intermediary method_36401
Lnet/minecraft/class_6353;method_36401([DIIII)V
named sampleOreFrequencyNoise
Lnet/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 b
Lcqd;b([DIIII)V
intermediary method_36404
Lnet/minecraft/class_6353;method_36404([DIIII)V
named sampleFirstOrePlacementNoise
Lnet/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 c
Lcqd;c([DIIII)V
intermediary method_36405
Lnet/minecraft/class_6353;method_36405([DIIII)V
named sampleSecondOrePlacementNoise
Lnet/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 a
Lcqd;a([DIILddw;DII)V
intermediary method_36402
Lnet/minecraft/class_6353;method_36402([DIILnet/minecraft/class_5216;DII)V
named sample
Lnet/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 a
Lcqd;a(Lcqg;IIIDDD)Lckt;
intermediary method_36400
Lnet/minecraft/class_6353;method_36400(Lnet/minecraft/class_5819;IIIDDD)Lnet/minecraft/class_2680;
named sample
Lnet/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 a
Lcqd;a(DD)Z
intermediary method_36398
Lnet/minecraft/class_6353;method_36398(DD)Z
named shouldPlaceOreBlock
Lnet/minecraft/world/gen/OreVeinGenerator;shouldPlaceOreBlock(DD)Z
-
getVeinType
- Mappings:
Namespace Name Mixin selector official a
Lcqd;a(DI)Lcqd$a;
intermediary method_36397
Lnet/minecraft/class_6353;method_36397(DI)Lnet/minecraft/class_6353$class_6354;
named getVeinType
Lnet/minecraft/world/gen/OreVeinGenerator;getVeinType(DI)Lnet/minecraft/world/gen/OreVeinGenerator$VeinType;
-