net.minecraft.world.level.levelgen.feature

public abstract class Feature<FC extends FeatureConfiguration>

efz
net.minecraft.world.level.levelgen.feature.Feature
net.minecraft.class_3031
net.minecraft.world.gen.feature.Feature
net.minecraft.world.level.levelgen.feature.WorldGenerator

Field summary

Modifier and TypeField
public static final Feature<NoneFeatureConfiguration>
e
NO_OP
field_21590
NO_OP
public static final Feature<TreeConfiguration>
f
TREE
field_24134
TREE
public static final Feature<RandomPatchConfiguration>
g
FLOWER
field_21219
FLOWER
public static final Feature<RandomPatchConfiguration>
h
NO_BONEMEAL_FLOWER
field_26361
NO_BONEMEAL_FLOWER
public static final Feature<RandomPatchConfiguration>
i
RANDOM_PATCH
field_21220
RANDOM_PATCH
public static final Feature<BlockPileConfiguration>
j
BLOCK_PILE
field_21221
BLOCK_PILE
public static final Feature<SpringConfiguration>
k
SPRING
field_13513
SPRING_FEATURE
public static final Feature<NoneFeatureConfiguration>
l
CHORUS_PLANT
field_13552
CHORUS_PLANT
public static final Feature<ReplaceBlockConfiguration>
m
REPLACE_SINGLE_BLOCK
field_33615
REPLACE_SINGLE_BLOCK
public static final Feature<NoneFeatureConfiguration>
n
VOID_START_PLATFORM
field_13591
VOID_START_PLATFORM
public static final Feature<NoneFeatureConfiguration>
o
DESERT_WELL
field_13592
DESERT_WELL
public static final Feature<FossilFeatureConfiguration>
p
FOSSIL
field_13516
FOSSIL
public static final Feature<HugeMushroomFeatureConfiguration>
q
HUGE_RED_MUSHROOM
field_13571
HUGE_RED_MUSHROOM
public static final Feature<HugeMushroomFeatureConfiguration>
r
HUGE_BROWN_MUSHROOM
field_13531
HUGE_BROWN_MUSHROOM
public static final Feature<NoneFeatureConfiguration>
s
ICE_SPIKE
field_13562
ICE_SPIKE
public static final Feature<NoneFeatureConfiguration>
t
GLOWSTONE_BLOB
field_13568
GLOWSTONE_BLOB
public static final Feature<NoneFeatureConfiguration>
u
FREEZE_TOP_LAYER
field_13539
FREEZE_TOP_LAYER
public static final Feature<NoneFeatureConfiguration>
v
VINES
field_13559
VINES
public static final Feature<BlockColumnConfiguration>
w
BLOCK_COLUMN
field_35072
BLOCK_COLUMN
public static final Feature<VegetationPatchConfiguration>
x
VEGETATION_PATCH
field_29250
VEGETATION_PATCH
public static final Feature<VegetationPatchConfiguration>
y
WATERLOGGED_VEGETATION_PATCH
field_29251
WATERLOGGED_VEGETATION_PATCH
public static final Feature<RootSystemConfiguration>
z
ROOT_SYSTEM
field_29252
ROOT_SYSTEM
public static final Feature<MultifaceGrowthConfiguration>
A
MULTIFACE_GROWTH
field_28428
MULTIFACE_GROWTH
public static final Feature<UnderwaterMagmaConfiguration>
B
UNDERWATER_MAGMA
field_28849
UNDERWATER_MAGMA
public static final Feature<NoneFeatureConfiguration>
C
MONSTER_ROOM
field_13579
MONSTER_ROOM
public static final Feature<NoneFeatureConfiguration>
D
BLUE_ICE
field_13560
BLUE_ICE
public static final Feature<BlockStateConfiguration>
E
ICEBERG
field_13544
ICEBERG
public static final Feature<BlockStateConfiguration>
F
FOREST_ROCK
field_13584
FOREST_ROCK
public static final Feature<DiskConfiguration>
G
DISK
field_13509
DISK
public static final Feature<LakeFeature$Configuration>
H
LAKE
field_13573
LAKE
public static final Feature<OreConfiguration>
I
ORE
field_13517
ORE
public static final Feature<NoneFeatureConfiguration>
J
END_PLATFORM
field_52289
END_PLATFORM
public static final Feature<SpikeConfiguration>
K
END_SPIKE
field_13522
END_SPIKE
public static final Feature<NoneFeatureConfiguration>
L
END_ISLAND
field_13574
END_ISLAND
public static final Feature<EndGatewayConfiguration>
M
END_GATEWAY
field_13564
END_GATEWAY
public static final SeagrassFeature
N
SEAGRASS
field_13567
SEAGRASS
public static final Feature<NoneFeatureConfiguration>
O
KELP
field_13535
KELP
public static final Feature<NoneFeatureConfiguration>
P
CORAL_TREE
field_13525
CORAL_TREE
public static final Feature<NoneFeatureConfiguration>
Q
CORAL_MUSHROOM
field_13585
CORAL_MUSHROOM
public static final Feature<NoneFeatureConfiguration>
R
CORAL_CLAW
field_13546
CORAL_CLAW
public static final Feature<CountConfiguration>
S
SEA_PICKLE
field_13575
SEA_PICKLE
public static final Feature<SimpleBlockConfiguration>
T
SIMPLE_BLOCK
field_13518
SIMPLE_BLOCK
public static final Feature<ProbabilityFeatureConfiguration>
U
BAMBOO
field_13540
BAMBOO
public static final Feature<HugeFungusConfiguration>
V
HUGE_FUNGUS
field_22185
HUGE_FUNGUS
public static final Feature<NetherForestVegetationConfig>
W
NETHER_FOREST_VEGETATION
field_22186
NETHER_FOREST_VEGETATION
public static final Feature<NoneFeatureConfiguration>
X
WEEPING_VINES
field_22187
WEEPING_VINES
public static final Feature<TwistingVinesConfig>
Y
TWISTING_VINES
field_23088
TWISTING_VINES
public static final Feature<ColumnFeatureConfiguration>
Z
BASALT_COLUMNS
field_23884
BASALT_COLUMNS
public static final Feature<DeltaFeatureConfiguration>
aa
DELTA_FEATURE
field_23885
DELTA_FEATURE
public static final Feature<ReplaceSphereConfiguration>
ab
REPLACE_BLOBS
field_23886
NETHERRACK_REPLACE_BLOBS
public static final Feature<LayerConfiguration>
ac
FILL_LAYER
field_19201
FILL_LAYER
public static final BonusChestFeature
ad
BONUS_CHEST
field_13526
BONUS_CHEST
public static final Feature<NoneFeatureConfiguration>
ae
BASALT_PILLAR
field_22188
BASALT_PILLAR
public static final Feature<OreConfiguration>
af
SCATTERED_ORE
field_29061
SCATTERED_ORE
public static final Feature<RandomFeatureConfiguration>
ag
RANDOM_SELECTOR
field_13593
RANDOM_SELECTOR
public static final Feature<SimpleRandomFeatureConfiguration>
ah
SIMPLE_RANDOM_SELECTOR
field_13555
SIMPLE_RANDOM_SELECTOR
public static final Feature<RandomBooleanFeatureConfiguration>
ai
RANDOM_BOOLEAN_SELECTOR
field_13550
RANDOM_BOOLEAN_SELECTOR
public static final Feature<GeodeConfiguration>
aj
GEODE
field_27312
GEODE
public static final Feature<DripstoneClusterConfiguration>
ak
DRIPSTONE_CLUSTER
field_28203
DRIPSTONE_CLUSTER
public static final Feature<LargeDripstoneConfiguration>
al
LARGE_DRIPSTONE
field_28204
LARGE_DRIPSTONE
public static final Feature<PointedDripstoneConfiguration>
am
POINTED_DRIPSTONE
field_28205
POINTED_DRIPSTONE
public static final Feature<SculkPatchConfiguration>
an
SCULK_PATCH
field_37708
SCULK_PATCH
private final com.mojang.serialization.MapCodec<ConfiguredFeature<FC, Feature<FC>>>
a
configuredCodec
field_24837
codec

Constructor summary

ModifierConstructor
public (com.mojang.serialization.Codec<FC> configCodec)

Method summary

Modifier and TypeMethod
private static <C extends FeatureConfiguration, F extends Feature<C>> F
a(String arg0, F arg1)
register(String arg0, F arg1)
method_13150(String arg0, F arg1)
register(String name, F feature)
public com.mojang.serialization.MapCodec<ConfiguredFeature<FC, Feature<FC>>>
a()
configuredCodec()
method_28627()
getCodec()
protected void
a(dgr arg0, ji arg1, dwy arg2)
setBlock(LevelWriter arg0, BlockPos arg1, BlockState arg2)
method_13153(class_1945 arg0, class_2338 arg1, class_2680 arg2)
setBlockState(ModifiableWorld world, BlockPos pos, BlockState state)
public static Predicate<BlockState>
a(axf<djn> arg0)
isReplaceable(TagKey<Block> arg0)
method_36999(class_6862<class_2248> arg0)
notInBlockTagPredicate(TagKey<Block> tag)
protected void
a(dhh arg0, ji arg1, dwy arg2, Predicate<dwy> arg3)
safeSetBlock(WorldGenLevel arg0, BlockPos arg1, BlockState arg2, Predicate<BlockState> arg3)
method_36998(class_5281 arg0, class_2338 arg1, class_2680 arg2, Predicate<class_2680> arg3)
setBlockStateIf(StructureWorldAccess world, BlockPos pos, BlockState state, Predicate<BlockState> predicate)
public abstract boolean
a(egb<FC> arg0)
place(FeaturePlaceContext<FC> arg0)
method_13151(class_5821<FC> arg0)
generate(FeatureContext<FC> context)
public boolean
a(FC arg0, dhh arg1, dyu arg2, azh arg3, ji arg4)
place(FC arg0, WorldGenLevel arg1, ChunkGenerator arg2, RandomSource arg3, BlockPos arg4)
method_40163(FC arg0, class_5281 arg1, class_2794 arg2, class_5819 arg3, class_2338 arg4)
generateIfValid(FC config, StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos pos)
protected static boolean
a(dwy arg0)
isStone(BlockState arg0)
method_23395(class_2680 arg0)
isStone(BlockState state)
public static boolean
b(dwy arg0)
isDirt(BlockState arg0)
method_23396(class_2680 arg0)
isSoil(BlockState state)
public static boolean
a(dgp arg0, ji arg1)
isGrassOrDirt(LevelSimulatedReader arg0, BlockPos arg1)
method_27368(class_3746 arg0, class_2338 arg1)
isSoil(TestableWorld world, BlockPos pos)
public static boolean
a(Function<ji, dwy> arg0, ji arg1, Predicate<dwy> arg2)
checkNeighbors(Function<BlockPos, BlockState> arg0, BlockPos arg1, Predicate<BlockState> arg2)
method_33982(Function<class_2338, class_2680> arg0, class_2338 arg1, Predicate<class_2680> arg2)
testAdjacentStates(Function<BlockPos, BlockState> posToState, BlockPos pos, Predicate<BlockState> predicate)
public static boolean
a(Function<ji, dwy> arg0, ji arg1)
isAdjacentToAir(Function<BlockPos, BlockState> arg0, BlockPos arg1)
method_33981(Function<class_2338, class_2680> arg0, class_2338 arg1)
isExposedToAir(Function<BlockPos, BlockState> posToState, BlockPos pos)
protected void
a(dhh arg0, ji arg1)
markAboveForPostProcessing(WorldGenLevel arg0, BlockPos arg1)
method_37256(class_5281 arg0, class_2338 arg1)
markBlocksAboveForPostProcessing(StructureWorldAccess world, BlockPos pos)