Package net.minecraft.world.gen.carver
Class CarverContext
java.lang.Object
net.minecraft.world.gen.HeightContext
net.minecraft.world.gen.carver.CarverContext
- Mappings:
Namespace Name official cvwintermediary net/minecraft/class_5873named net/minecraft/world/gen/carver/CarverContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final NoiseChunkGeneratorprivate final ChunkNoiseSamplerprivate final DynamicRegistryManager -
Constructor Summary
ConstructorsConstructorDescriptionCarverContext(NoiseChunkGenerator chunkGenerator, DynamicRegistryManager registryManager, HeightLimitView heightLimitView, ChunkNoiseSampler chunkNoiseSampler) -
Method Summary
Modifier and TypeMethodDescriptionapplyMaterialRule(Function<BlockPos, RegistryEntry<Biome>> posToBiome, Chunk chunk, BlockPos pos, boolean hasFluid) Deprecated.Deprecated.Methods inherited from class net.minecraft.world.gen.HeightContext
getHeight, getMinY
-
Field Details
-
chunkGenerator
- Mappings:
Namespace Name Mixin selector official aLcvw;a:Lctz;intermediary field_35298Lnet/minecraft/class_5873;field_35298:Lnet/minecraft/class_3754;named chunkGeneratorLnet/minecraft/world/gen/carver/CarverContext;chunkGenerator:Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;
-
registryManager
- Mappings:
Namespace Name Mixin selector official bLcvw;b:Lhc;intermediary field_35299Lnet/minecraft/class_5873;field_35299:Lnet/minecraft/class_5455;named registryManagerLnet/minecraft/world/gen/carver/CarverContext;registryManager:Lnet/minecraft/util/registry/DynamicRegistryManager;
-
chunkNoiseSampler
- Mappings:
Namespace Name Mixin selector official cLcvw;c:Lcua;intermediary field_35703Lnet/minecraft/class_5873;field_35703:Lnet/minecraft/class_6568;named chunkNoiseSamplerLnet/minecraft/world/gen/carver/CarverContext;chunkNoiseSampler:Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;
-
-
Constructor Details
-
CarverContext
public CarverContext(NoiseChunkGenerator chunkGenerator, DynamicRegistryManager registryManager, HeightLimitView heightLimitView, ChunkNoiseSampler chunkNoiseSampler) - Mappings:
Namespace Name Mixin selector official <init>Lcvw;<init>(Lctz;Lhc;Lcax;Lcua;)Vintermediary <init>Lnet/minecraft/class_5873;<init>(Lnet/minecraft/class_3754;Lnet/minecraft/class_5455;Lnet/minecraft/class_5539;Lnet/minecraft/class_6568;)Vnamed <init>Lnet/minecraft/world/gen/carver/CarverContext;<init>(Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;Lnet/minecraft/util/registry/DynamicRegistryManager;Lnet/minecraft/world/HeightLimitView;Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;)V
-
-
Method Details
-
applyMaterialRule
@Deprecated public Optional<BlockState> applyMaterialRule(Function<BlockPos, RegistryEntry<Biome>> posToBiome, Chunk chunk, BlockPos pos, boolean hasFluid) Deprecated.- Mappings:
Namespace Name Mixin selector official aLcvw;a(Ljava/util/function/Function;Lcqq;Lgj;Z)Ljava/util/Optional;intermediary method_39114Lnet/minecraft/class_5873;method_39114(Ljava/util/function/Function;Lnet/minecraft/class_2791;Lnet/minecraft/class_2338;Z)Ljava/util/Optional;named applyMaterialRuleLnet/minecraft/world/gen/carver/CarverContext;applyMaterialRule(Ljava/util/function/Function;Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/util/math/BlockPos;Z)Ljava/util/Optional;
-
getRegistryManager
Deprecated.- Mappings:
Namespace Name Mixin selector official cLcvw;c()Lhc;intermediary method_39115Lnet/minecraft/class_5873;method_39115()Lnet/minecraft/class_5455;named getRegistryManagerLnet/minecraft/world/gen/carver/CarverContext;getRegistryManager()Lnet/minecraft/util/registry/DynamicRegistryManager;
-