Class DeepslateBlockSource

java.lang.Object
net.minecraft.world.gen.DeepslateBlockSource
All Implemented Interfaces:
BlockSource

public class DeepslateBlockSource extends Object implements BlockSource
Mappings:
Namespace Name
official cpm
intermediary net/minecraft/class_5842
named net/minecraft/world/gen/DeepslateBlockSource
  • Field Details

    • DEFAULT_MIN_Y

      private static final int DEFAULT_MIN_Y
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official a Lcpm;a:I
      intermediary field_31468 Lnet/minecraft/class_5842;field_31468:I
      named DEFAULT_MIN_Y Lnet/minecraft/world/gen/DeepslateBlockSource;DEFAULT_MIN_Y:I
    • MAX_Y

      private static final int MAX_Y
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official b Lcpm;b:I
      intermediary field_31469 Lnet/minecraft/class_5842;field_31469:I
      named MAX_Y Lnet/minecraft/world/gen/DeepslateBlockSource;MAX_Y:I
    • random

      private final ChunkRandom random
      Mappings:
      Namespace Name Mixin selector
      official c Lcpm;c:Lcqm;
      intermediary field_28909 Lnet/minecraft/class_5842;field_28909:Lnet/minecraft/class_2919;
      named random Lnet/minecraft/world/gen/DeepslateBlockSource;random:Lnet/minecraft/world/gen/ChunkRandom;
    • seed

      private final long seed
      Mappings:
      Namespace Name Mixin selector
      official d Lcpm;d:J
      intermediary field_28910 Lnet/minecraft/class_5842;field_28910:J
      named seed Lnet/minecraft/world/gen/DeepslateBlockSource;seed:J
    • defaultBlock

      private final BlockState defaultBlock
      Mappings:
      Namespace Name Mixin selector
      official e Lcpm;e:Lcks;
      intermediary field_28911 Lnet/minecraft/class_5842;field_28911:Lnet/minecraft/class_2680;
      named defaultBlock Lnet/minecraft/world/gen/DeepslateBlockSource;defaultBlock:Lnet/minecraft/block/BlockState;
    • deepslateState

      private final BlockState deepslateState
      Mappings:
      Namespace Name Mixin selector
      official f Lcpm;f:Lcks;
      intermediary field_28912 Lnet/minecraft/class_5842;field_28912:Lnet/minecraft/class_2680;
      named deepslateState Lnet/minecraft/world/gen/DeepslateBlockSource;deepslateState:Lnet/minecraft/block/BlockState;
    • settings

      private final ChunkGeneratorSettings settings
      Mappings:
      Namespace Name Mixin selector
      official g Lcpm;g:Lcpu;
      intermediary field_33513 Lnet/minecraft/class_5842;field_33513:Lnet/minecraft/class_5284;
      named settings Lnet/minecraft/world/gen/DeepslateBlockSource;settings:Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;
  • Constructor Details

    • DeepslateBlockSource

      public DeepslateBlockSource(long seed, BlockState defaultBlock, BlockState deepslateState, ChunkGeneratorSettings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcpm;<init>(JLcks;Lcks;Lcpu;)V
      intermediary <init> Lnet/minecraft/class_5842;<init>(JLnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_5284;)V
      named <init> Lnet/minecraft/world/gen/DeepslateBlockSource;<init>(JLnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;)V
  • Method Details

    • sample

      public BlockState sample(int x, int y, int z)
      Specified by:
      sample in interface BlockSource
      Mappings:
      Namespace Name Mixin selector
      official getBaseBlock Lcpg;getBaseBlock(III)Lcks;
      intermediary method_33831 Lnet/minecraft/class_5840;method_33831(III)Lnet/minecraft/class_2680;
      named sample Lnet/minecraft/world/gen/BlockSource;sample(III)Lnet/minecraft/block/BlockState;