Uses of Interface
net.minecraft.world.gen.surfacebuilder.MaterialRules.MaterialRule
Package
Description
-
Uses of MaterialRules.MaterialRule in net.minecraft.util.registry
Modifier and TypeFieldDescriptionstatic final Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>>
Registry.MATERIAL_RULE
static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>>>
Registry.MATERIAL_RULE_KEY
-
Uses of MaterialRules.MaterialRule in net.minecraft.world.gen.chunk
Modifier and TypeFieldDescriptionprivate final MaterialRules.MaterialRule
ChunkGeneratorSettings.surfaceRule
The field for thesurfaceRule
record component.Modifier and TypeMethodDescriptionChunkGeneratorSettings.surfaceRule()
Returns the value of thesurfaceRule
record component.ModifierConstructorDescriptionChunkGeneratorSettings
(GenerationShapeConfig generationShapeConfig, BlockState blockState, BlockState blockState2, SimpleNoiseRouter simpleNoiseRouter, MaterialRules.MaterialRule surfaceRule, int seaLevel, boolean mobGenerationDisabled, boolean aquifers, boolean noiseCaves, boolean oreVeins) -
Uses of MaterialRules.MaterialRule in net.minecraft.world.gen.surfacebuilder
Modifier and TypeClassDescriptionprivate static final record
private static final record
private static final record
private static enum
Modifier and TypeFieldDescriptionprivate static final MaterialRules.MaterialRule
VanillaSurfaceRules.AIR
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.BASALT
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.BEDROCK
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.BLACKSTONE
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.CALCITE
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.COARSE_DIRT
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.CRIMSON_NYLIUM
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.DEEPSLATE
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.DIRT
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.END_STONE
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.GRASS_BLOCK
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.GRAVEL
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.ICE
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.LAVA
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.MYCELIUM
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.NETHER_WART_BLOCK
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.NETHERRACK
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.ORANGE_TERRACOTTA
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.PACKED_ICE
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.PODZOL
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.POWDER_SNOW
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.RED_SAND
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.RED_SANDSTONE
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.SAND
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.SANDSTONE
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.SNOW_BLOCK
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.SOUL_SAND
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.SOUL_SOIL
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.STONE
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.TERRACOTTA
private final MaterialRules.MaterialRule
MaterialRules.ConditionMaterialRule.thenRun
The field for thethenRun
record component.private static final MaterialRules.MaterialRule
VanillaSurfaceRules.WARPED_NYLIUM
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.WARPED_WART_BLOCK
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.WATER
private static final MaterialRules.MaterialRule
VanillaSurfaceRules.WHITE_TERRACOTTA
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<MaterialRules.MaterialRule>
MaterialRules.MaterialRule.CODEC
private final List<MaterialRules.MaterialRule>
MaterialRules.SequenceMaterialRule.sequence
The field for thesequence
record component.Modifier and TypeMethodDescriptionstatic MaterialRules.MaterialRule
MaterialRules.block
(BlockState state) private static MaterialRules.MaterialRule
static MaterialRules.MaterialRule
MaterialRules.condition
(MaterialRules.MaterialCondition condition, MaterialRules.MaterialRule rule) static MaterialRules.MaterialRule
VanillaSurfaceRules.createDefaultRule
(boolean surface, boolean bedrockRoof, boolean bedrockFloor) static MaterialRules.MaterialRule
VanillaSurfaceRules.createNetherSurfaceRule()
static MaterialRules.MaterialRule
VanillaSurfaceRules.createOverworldSurfaceRule()
static MaterialRules.MaterialRule
VanillaSurfaceRules.getEndStoneRule()
static MaterialRules.MaterialRule
MaterialRules.sequence
(MaterialRules.MaterialRule[] rules) static MaterialRules.MaterialRule
MaterialRules.terracottaBands()
MaterialRules.ConditionMaterialRule.thenRun()
Returns the value of thethenRun
record component.Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>
MaterialRules.BlockMaterialRule.codec()
com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>
MaterialRules.ConditionMaterialRule.codec()
com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>
MaterialRules.MaterialRule.codec()
com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>
MaterialRules.SequenceMaterialRule.codec()
com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>
MaterialRules.TerracottaBandsMaterialRule.codec()
static com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>
MaterialRules.MaterialRule.registerAndGetDefault
(Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>> registry) MaterialRules.SequenceMaterialRule.sequence()
Returns the value of thesequence
record component.Modifier and TypeMethodDescriptionSurfaceBuilder.applyMaterialRule
(MaterialRules.MaterialRule rule, CarverContext context, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, BlockPos pos, boolean hasFluid) Deprecated.void
SurfaceBuilder.buildSurface
(BiomeAccess biomeAccess, Registry<Biome> biomeRegistry, boolean useLegacyRandom, HeightContext context, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, MaterialRules.MaterialRule surfaceRule) static MaterialRules.MaterialRule
MaterialRules.condition
(MaterialRules.MaterialCondition condition, MaterialRules.MaterialRule rule) static MaterialRules.MaterialRule
MaterialRules.sequence
(MaterialRules.MaterialRule[] rules) Modifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>
MaterialRules.MaterialRule.registerAndGetDefault
(Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>> registry) ModifierConstructorDescription(package private)
ConditionMaterialRule
(MaterialRules.MaterialCondition materialCondition, MaterialRules.MaterialRule materialRule) ModifierConstructorDescription(package private)