net.minecraft.world.level.levelgen.feature

public abstract class Feature<FC extends FeatureConfiguration>

eba
net.minecraft.world.level.levelgen.feature.Feature
net.minecraft.class_3031
net.minecraft.world.gen.feature.Feature
net.minecraft.src.C_2247_
net.minecraft.world.level.levelgen.feature.WorldGenerator

Field summary

Modifier and TypeField
public static final Feature<NoneFeatureConfiguration>
e
NO_OP
field_21590
NO_OP
f_65759_
public static final Feature<TreeConfiguration>
f
TREE
field_24134
TREE
f_65760_
public static final Feature<RandomPatchConfiguration>
g
FLOWER
field_21219
FLOWER
f_65761_
public static final Feature<RandomPatchConfiguration>
h
NO_BONEMEAL_FLOWER
field_26361
NO_BONEMEAL_FLOWER
f_65762_
public static final Feature<RandomPatchConfiguration>
i
RANDOM_PATCH
field_21220
RANDOM_PATCH
f_65763_
public static final Feature<BlockPileConfiguration>
j
BLOCK_PILE
field_21221
BLOCK_PILE
f_65764_
public static final Feature<SpringConfiguration>
k
SPRING
field_13513
SPRING_FEATURE
f_65765_
public static final Feature<NoneFeatureConfiguration>
l
CHORUS_PLANT
field_13552
CHORUS_PLANT
f_65766_
public static final Feature<ReplaceBlockConfiguration>
m
REPLACE_SINGLE_BLOCK
field_33615
REPLACE_SINGLE_BLOCK
f_159732_
public static final Feature<NoneFeatureConfiguration>
n
VOID_START_PLATFORM
field_13591
VOID_START_PLATFORM
f_65768_
public static final Feature<NoneFeatureConfiguration>
o
DESERT_WELL
field_13592
DESERT_WELL
f_65769_
public static final Feature<FossilFeatureConfiguration>
p
FOSSIL
field_13516
FOSSIL
f_65770_
public static final Feature<HugeMushroomFeatureConfiguration>
q
HUGE_RED_MUSHROOM
field_13571
HUGE_RED_MUSHROOM
f_65771_
public static final Feature<HugeMushroomFeatureConfiguration>
r
HUGE_BROWN_MUSHROOM
field_13531
HUGE_BROWN_MUSHROOM
f_65772_
public static final Feature<NoneFeatureConfiguration>
s
ICE_SPIKE
field_13562
ICE_SPIKE
f_65773_
public static final Feature<NoneFeatureConfiguration>
t
GLOWSTONE_BLOB
field_13568
GLOWSTONE_BLOB
f_65774_
public static final Feature<NoneFeatureConfiguration>
u
FREEZE_TOP_LAYER
field_13539
FREEZE_TOP_LAYER
f_65775_
public static final Feature<NoneFeatureConfiguration>
v
VINES
field_13559
VINES
f_65776_
public static final Feature<BlockColumnConfiguration>
w
BLOCK_COLUMN
field_35072
BLOCK_COLUMN
f_190875_
public static final Feature<VegetationPatchConfiguration>
x
VEGETATION_PATCH
field_29250
VEGETATION_PATCH
f_159734_
public static final Feature<VegetationPatchConfiguration>
y
WATERLOGGED_VEGETATION_PATCH
field_29251
WATERLOGGED_VEGETATION_PATCH
f_159735_
public static final Feature<RootSystemConfiguration>
z
ROOT_SYSTEM
field_29252
ROOT_SYSTEM
f_159724_
public static final Feature<MultifaceGrowthConfiguration>
A
MULTIFACE_GROWTH
field_28428
MULTIFACE_GROWTH
f_225026_
public static final Feature<UnderwaterMagmaConfiguration>
B
UNDERWATER_MAGMA
field_28849
UNDERWATER_MAGMA
f_159726_
public static final Feature<NoneFeatureConfiguration>
C
MONSTER_ROOM
field_13579
MONSTER_ROOM
f_65777_
public static final Feature<NoneFeatureConfiguration>
D
BLUE_ICE
field_13560
BLUE_ICE
f_65778_
public static final Feature<BlockStateConfiguration>
E
ICEBERG
field_13544
ICEBERG
f_65779_
public static final Feature<BlockStateConfiguration>
F
FOREST_ROCK
field_13584
FOREST_ROCK
f_65780_
public static final Feature<DiskConfiguration>
G
DISK
field_13509
DISK
f_65781_
public static final Feature<LakeFeature$Configuration>
H
LAKE
field_13573
LAKE
f_65783_
public static final Feature<OreConfiguration>
I
ORE
field_13517
ORE
f_65731_
public static final Feature<SpikeConfiguration>
J
END_SPIKE
field_13522
END_SPIKE
f_65732_
public static final Feature<NoneFeatureConfiguration>
K
END_ISLAND
field_13574
END_ISLAND
f_65733_
public static final Feature<EndGatewayConfiguration>
L
END_GATEWAY
field_13564
END_GATEWAY
f_65734_
public static final SeagrassFeature
M
SEAGRASS
field_13567
SEAGRASS
f_65735_
public static final Feature<NoneFeatureConfiguration>
N
KELP
field_13535
KELP
f_65736_
public static final Feature<NoneFeatureConfiguration>
O
CORAL_TREE
field_13525
CORAL_TREE
f_65737_
public static final Feature<NoneFeatureConfiguration>
P
CORAL_MUSHROOM
field_13585
CORAL_MUSHROOM
f_65738_
public static final Feature<NoneFeatureConfiguration>
Q
CORAL_CLAW
field_13546
CORAL_CLAW
f_65739_
public static final Feature<CountConfiguration>
R
SEA_PICKLE
field_13575
SEA_PICKLE
f_65740_
public static final Feature<SimpleBlockConfiguration>
S
SIMPLE_BLOCK
field_13518
SIMPLE_BLOCK
f_65741_
public static final Feature<ProbabilityFeatureConfiguration>
T
BAMBOO
field_13540
BAMBOO
f_65742_
public static final Feature<HugeFungusConfiguration>
U
HUGE_FUNGUS
field_22185
HUGE_FUNGUS
f_65743_
public static final Feature<NetherForestVegetationConfig>
V
NETHER_FOREST_VEGETATION
field_22186
NETHER_FOREST_VEGETATION
f_65744_
public static final Feature<NoneFeatureConfiguration>
W
WEEPING_VINES
field_22187
WEEPING_VINES
f_65745_
public static final Feature<TwistingVinesConfig>
X
TWISTING_VINES
field_23088
TWISTING_VINES
f_65746_
public static final Feature<ColumnFeatureConfiguration>
Y
BASALT_COLUMNS
field_23884
BASALT_COLUMNS
f_65747_
public static final Feature<DeltaFeatureConfiguration>
Z
DELTA_FEATURE
field_23885
DELTA_FEATURE
f_65748_
public static final Feature<ReplaceSphereConfiguration>
aa
REPLACE_BLOBS
field_23886
NETHERRACK_REPLACE_BLOBS
f_65749_
public static final Feature<LayerConfiguration>
ab
FILL_LAYER
field_19201
FILL_LAYER
f_65750_
public static final BonusChestFeature
ac
BONUS_CHEST
field_13526
BONUS_CHEST
f_65751_
public static final Feature<NoneFeatureConfiguration>
ad
BASALT_PILLAR
field_22188
BASALT_PILLAR
f_65752_
public static final Feature<OreConfiguration>
ae
SCATTERED_ORE
field_29061
SCATTERED_ORE
f_159727_
public static final Feature<RandomFeatureConfiguration>
af
RANDOM_SELECTOR
field_13593
RANDOM_SELECTOR
f_65754_
public static final Feature<SimpleRandomFeatureConfiguration>
ag
SIMPLE_RANDOM_SELECTOR
field_13555
SIMPLE_RANDOM_SELECTOR
f_65755_
public static final Feature<RandomBooleanFeatureConfiguration>
ah
RANDOM_BOOLEAN_SELECTOR
field_13550
RANDOM_BOOLEAN_SELECTOR
f_65756_
public static final Feature<GeodeConfiguration>
ai
GEODE
field_27312
GEODE
f_159728_
public static final Feature<DripstoneClusterConfiguration>
aj
DRIPSTONE_CLUSTER
field_28203
DRIPSTONE_CLUSTER
f_159729_
public static final Feature<LargeDripstoneConfiguration>
ak
LARGE_DRIPSTONE
field_28204
LARGE_DRIPSTONE
f_159730_
public static final Feature<PointedDripstoneConfiguration>
al
POINTED_DRIPSTONE
field_28205
POINTED_DRIPSTONE
f_190874_
public static final Feature<SculkPatchConfiguration>
am
SCULK_PATCH
field_37708
SCULK_PATCH
f_225027_
private final com.mojang.serialization.MapCodec<ConfiguredFeature<FC, Feature<FC>>>
a
configuredCodec
field_24837
codec
f_65757_

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)
m_65807_(String p_65808_, F p_65809_)
public com.mojang.serialization.MapCodec<ConfiguredFeature<FC, Feature<FC>>>
a()
configuredCodec()
method_28627()
getCodec()
m_65787_()
protected void
a(dci arg0, iz arg1, dse 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)
m_5974_(C_1606_ p_65792_, C_4675_ p_65793_, C_2064_ arg2)
public static Predicate<BlockState>
a(axf<dfb> arg0)
isReplaceable(TagKey<Block> arg0)
method_36999(class_6862<class_2248> arg0)
notInBlockTagPredicate(TagKey<Block> tag)
m_204735_(C_203208_<C_1706_> p_204736_)
protected void
a(dcv arg0, iz arg1, dse arg2, Predicate<dse> 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)
m_159742_(C_1625_ p_159744_, C_4675_ p_159745_, C_2064_ p_159746_, Predicate<C_2064_> arg3)
public abstract boolean
a(ebc<FC> arg0)
place(FeaturePlaceContext<FC> arg0)
method_13151(class_5821<FC> arg0)
generate(FeatureContext<FC> context)
m_142674_(C_141361_<FC> arg0)
public boolean
a(FC arg0, dcv arg1, dub arg2, azh arg3, iz 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)
m_225028_(FC p_225030_, C_1625_ p_225031_, C_2118_ p_225032_, C_212974_ p_225033_, C_4675_ arg4)
protected static boolean
a(dse arg0)
isStone(BlockState arg0)
method_23395(class_2680 arg0)
isStone(BlockState state)
m_159747_(C_2064_ p_159748_)
public static boolean
b(dse arg0)
isDirt(BlockState arg0)
method_23396(class_2680 arg0)
isSoil(BlockState state)
m_159759_(C_2064_ p_159760_)
public static boolean
a(dcg arg0, iz arg1)
isGrassOrDirt(LevelSimulatedReader arg0, BlockPos arg1)
method_27368(class_3746 arg0, class_2338 arg1)
isSoil(TestableWorld world, BlockPos pos)
m_65788_(C_1604_ p_65789_, C_4675_ p_65790_)
public static boolean
a(Function<iz, dse> arg0, iz arg1, Predicate<dse> 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)
m_159753_(Function<C_4675_, C_2064_> p_159754_, C_4675_ p_159755_, Predicate<C_2064_> p_159756_)
public static boolean
a(Function<iz, dse> arg0, iz 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)
m_159750_(Function<C_4675_, C_2064_> p_159751_, C_4675_ p_159752_)
protected void
a(dcv arg0, iz arg1)
markAboveForPostProcessing(WorldGenLevel arg0, BlockPos arg1)
method_37256(class_5281 arg0, class_2338 arg1)
markBlocksAboveForPostProcessing(StructureWorldAccess world, BlockPos pos)
m_159739_(C_1625_ p_159741_, C_4675_ arg1)