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 dbr
intermediary net/minecraft/class_5873
named net/minecraft/world/gen/carver/CarverContext
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ChunkNoiseSampler
private final MaterialRules.MaterialRule
private final NoiseConfig
private final DynamicRegistryManager
-
Constructor Summary
ConstructorDescriptionCarverContext
(NoiseChunkGenerator noiseChunkGenerator, DynamicRegistryManager registryManager, HeightLimitView heightLimitView, ChunkNoiseSampler chunkNoiseSampler, NoiseConfig noiseConfig, MaterialRules.MaterialRule materialRule) -
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
-
registryManager
- Mappings:
Namespace Name Mixin selector official a
Ldbr;a:Lhn;
intermediary field_35299
Lnet/minecraft/class_5873;field_35299:Lnet/minecraft/class_5455;
named registryManager
Lnet/minecraft/world/gen/carver/CarverContext;registryManager:Lnet/minecraft/util/registry/DynamicRegistryManager;
-
chunkNoiseSampler
- Mappings:
Namespace Name Mixin selector official b
Ldbr;b:Lczx;
intermediary field_35703
Lnet/minecraft/class_5873;field_35703:Lnet/minecraft/class_6568;
named chunkNoiseSampler
Lnet/minecraft/world/gen/carver/CarverContext;chunkNoiseSampler:Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;
-
noiseConfig
- Mappings:
Namespace Name Mixin selector official c
Ldbr;c:Ldah;
intermediary field_37706
Lnet/minecraft/class_5873;field_37706:Lnet/minecraft/class_7138;
named noiseConfig
Lnet/minecraft/world/gen/carver/CarverContext;noiseConfig:Lnet/minecraft/world/gen/noise/NoiseConfig;
-
materialRule
- Mappings:
Namespace Name Mixin selector official d
Ldbr;d:Ldak$o;
intermediary field_37707
Lnet/minecraft/class_5873;field_37707:Lnet/minecraft/class_6686$class_6708;
named materialRule
Lnet/minecraft/world/gen/carver/CarverContext;materialRule:Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRule;
-
-
Constructor Details
-
CarverContext
public CarverContext(NoiseChunkGenerator noiseChunkGenerator, DynamicRegistryManager registryManager, HeightLimitView heightLimitView, ChunkNoiseSampler chunkNoiseSampler, NoiseConfig noiseConfig, MaterialRules.MaterialRule materialRule) - Mappings:
Namespace Name Mixin selector official <init>
Ldbr;<init>(Lczw;Lhn;Lcgc;Lczx;Ldah;Ldak$o;)V
intermediary <init>
Lnet/minecraft/class_5873;<init>(Lnet/minecraft/class_3754;Lnet/minecraft/class_5455;Lnet/minecraft/class_5539;Lnet/minecraft/class_6568;Lnet/minecraft/class_7138;Lnet/minecraft/class_6686$class_6708;)V
named <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;Lnet/minecraft/world/gen/noise/NoiseConfig;Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRule;)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 a
Ldbr;a(Ljava/util/function/Function;Lcwm;Lgt;Z)Ljava/util/Optional;
intermediary method_39114
Lnet/minecraft/class_5873;method_39114(Ljava/util/function/Function;Lnet/minecraft/class_2791;Lnet/minecraft/class_2338;Z)Ljava/util/Optional;
named applyMaterialRule
Lnet/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 c
Ldbr;c()Lhn;
intermediary method_39115
Lnet/minecraft/class_5873;method_39115()Lnet/minecraft/class_5455;
named getRegistryManager
Lnet/minecraft/world/gen/carver/CarverContext;getRegistryManager()Lnet/minecraft/util/registry/DynamicRegistryManager;
-
getNoiseConfig
- Mappings:
Namespace Name Mixin selector official d
Ldbr;d()Ldah;
intermediary method_41570
Lnet/minecraft/class_5873;method_41570()Lnet/minecraft/class_7138;
named getNoiseConfig
Lnet/minecraft/world/gen/carver/CarverContext;getNoiseConfig()Lnet/minecraft/world/gen/noise/NoiseConfig;
-