net.minecraft.world.level.levelgen.feature

public abstract class Feature<FC extends FeatureConfiguration>

csg
net.minecraft.world.level.levelgen.feature.Feature
net.minecraft.class_3031
net.minecraft.unmapped.C_lowstvki
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>
f
NO_OP
field_21590
f_dacdizjw
NO_OP
f_65759_
public static final Feature<TreeConfiguration>
g
TREE
field_24134
f_kabbponp
TREE
f_65760_
public static final AbstractFlowerFeature<RandomPatchConfiguration>
h
FLOWER
field_21219
f_aygfqnba
FLOWER
f_65761_
public static final AbstractFlowerFeature<RandomPatchConfiguration>
i
NO_BONEMEAL_FLOWER
field_26361
f_gwbfgaal
NO_BONEMEAL_FLOWER
f_65762_
public static final Feature<RandomPatchConfiguration>
j
RANDOM_PATCH
field_21220
f_pzurmwnx
RANDOM_PATCH
f_65763_
public static final Feature<BlockPileConfiguration>
k
BLOCK_PILE
field_21221
f_bcqggcjj
BLOCK_PILE
f_65764_
public static final Feature<SpringConfiguration>
l
SPRING
field_13513
f_hiohvcbg
SPRING_FEATURE
f_65765_
public static final Feature<NoneFeatureConfiguration>
m
CHORUS_PLANT
field_13552
f_pnbllqvc
CHORUS_PLANT
f_65766_
public static final Feature<ReplaceBlockConfiguration>
n
REPLACE_SINGLE_BLOCK
field_33615
f_bqdbrpki
REPLACE_SINGLE_BLOCK
f_159732_
public static final Feature<NoneFeatureConfiguration>
o
VOID_START_PLATFORM
field_13591
f_gzbawvde
VOID_START_PLATFORM
f_65768_
public static final Feature<NoneFeatureConfiguration>
p
DESERT_WELL
field_13592
f_ckyfgkhs
DESERT_WELL
f_65769_
public static final Feature<FossilFeatureConfiguration>
q
FOSSIL
field_13516
f_bfjllblk
FOSSIL
f_65770_
public static final Feature<HugeMushroomFeatureConfiguration>
r
HUGE_RED_MUSHROOM
field_13571
f_fovxtpob
HUGE_RED_MUSHROOM
f_65771_
public static final Feature<HugeMushroomFeatureConfiguration>
s
HUGE_BROWN_MUSHROOM
field_13531
f_oiroobzu
HUGE_BROWN_MUSHROOM
f_65772_
public static final Feature<NoneFeatureConfiguration>
t
ICE_SPIKE
field_13562
f_vrqhrdpf
ICE_SPIKE
f_65773_
public static final Feature<NoneFeatureConfiguration>
u
GLOWSTONE_BLOB
field_13568
f_dhxqfdon
GLOWSTONE_BLOB
f_65774_
public static final Feature<NoneFeatureConfiguration>
v
FREEZE_TOP_LAYER
field_13539
f_advidksm
FREEZE_TOP_LAYER
f_65775_
public static final Feature<NoneFeatureConfiguration>
w
VINES
field_13559
f_ndfuuibn
VINES
f_65776_
public static final Feature<GrowingPlantConfiguration>
x
GROWING_PLANT
field_29249
f_qjwcspzb
GROWING_PLANT
f_159733_
public static final Feature<VegetationPatchConfiguration>
y
VEGETATION_PATCH
field_29250
f_lfnkksvb
VEGETATION_PATCH
f_159734_
public static final Feature<VegetationPatchConfiguration>
z
WATERLOGGED_VEGETATION_PATCH
field_29251
f_hmiriigm
WATERLOGGED_VEGETATION_PATCH
f_159735_
public static final Feature<RootSystemConfiguration>
A
ROOT_SYSTEM
field_29252
f_fbmrnron
ROOT_SYSTEM
f_159724_
public static final Feature<GlowLichenConfiguration>
B
GLOW_LICHEN
field_28428
f_nhpxkale
GLOW_LICHEN
f_159725_
public static final Feature<UnderwaterMagmaConfiguration>
C
UNDERWATER_MAGMA
field_28849
f_sgkrmgni
UNDERWATER_MAGMA
f_159726_
public static final Feature<NoneFeatureConfiguration>
D
MONSTER_ROOM
field_13579
f_ttzgprar
MONSTER_ROOM
f_65777_
public static final Feature<NoneFeatureConfiguration>
E
BLUE_ICE
field_13560
f_dchrvokh
BLUE_ICE
f_65778_
public static final Feature<BlockStateConfiguration>
F
ICEBERG
field_13544
f_aalkkfri
ICEBERG
f_65779_
public static final Feature<BlockStateConfiguration>
G
FOREST_ROCK
field_13584
f_ntguekth
FOREST_ROCK
f_65780_
public static final Feature<DiskConfiguration>
H
DISK
field_13509
f_ydypwjow
DISK
f_65781_
public static final Feature<DiskConfiguration>
I
ICE_PATCH
field_13551
f_qhvrclmk
ICE_PATCH
f_65782_
public static final Feature<BlockStateConfiguration>
J
LAKE
field_13573
f_tcxivqgc
LAKE
f_65783_
public static final Feature<OreConfiguration>
K
ORE
field_13517
f_ysakbwll
ORE
f_65731_
public static final Feature<SpikeConfiguration>
L
END_SPIKE
field_13522
f_jolvvgzm
END_SPIKE
f_65732_
public static final Feature<NoneFeatureConfiguration>
M
END_ISLAND
field_13574
f_bxakwmgb
END_ISLAND
f_65733_
public static final Feature<EndGatewayConfiguration>
N
END_GATEWAY
field_13564
f_jspveolc
END_GATEWAY
f_65734_
public static final SeagrassFeature
O
SEAGRASS
field_13567
f_gksoxixh
SEAGRASS
f_65735_
public static final Feature<NoneFeatureConfiguration>
P
KELP
field_13535
f_lhxgcyjx
KELP
f_65736_
public static final Feature<NoneFeatureConfiguration>
Q
CORAL_TREE
field_13525
f_zxglficl
CORAL_TREE
f_65737_
public static final Feature<NoneFeatureConfiguration>
R
CORAL_MUSHROOM
field_13585
f_pepoiiej
CORAL_MUSHROOM
f_65738_
public static final Feature<NoneFeatureConfiguration>
S
CORAL_CLAW
field_13546
f_bkargpfu
CORAL_CLAW
f_65739_
public static final Feature<CountConfiguration>
T
SEA_PICKLE
field_13575
f_ogllvhdl
SEA_PICKLE
f_65740_
public static final Feature<SimpleBlockConfiguration>
U
SIMPLE_BLOCK
field_13518
f_obemeviq
SIMPLE_BLOCK
f_65741_
public static final Feature<ProbabilityFeatureConfiguration>
V
BAMBOO
field_13540
f_pbzjhlzr
BAMBOO
f_65742_
public static final Feature<HugeFungusConfiguration>
W
HUGE_FUNGUS
field_22185
f_idnglpkc
HUGE_FUNGUS
f_65743_
public static final Feature<BlockPileConfiguration>
X
NETHER_FOREST_VEGETATION
field_22186
f_iivauuti
NETHER_FOREST_VEGETATION
f_65744_
public static final Feature<NoneFeatureConfiguration>
Y
WEEPING_VINES
field_22187
f_psyerrzr
WEEPING_VINES
f_65745_
public static final Feature<NoneFeatureConfiguration>
Z
TWISTING_VINES
field_23088
f_ysddtdrl
TWISTING_VINES
f_65746_
public static final Feature<ColumnFeatureConfiguration>
aa
BASALT_COLUMNS
field_23884
f_fkjeqvgc
BASALT_COLUMNS
f_65747_
public static final Feature<DeltaFeatureConfiguration>
ab
DELTA_FEATURE
field_23885
f_drqlqioc
DELTA_FEATURE
f_65748_
public static final Feature<ReplaceSphereConfiguration>
ac
REPLACE_BLOBS
field_23886
f_tadczmps
NETHERRACK_REPLACE_BLOBS
f_65749_
public static final Feature<LayerConfiguration>
ad
FILL_LAYER
field_19201
f_nyrawajy
FILL_LAYER
f_65750_
public static final BonusChestFeature
ae
BONUS_CHEST
field_13526
f_gophxsrq
BONUS_CHEST
f_65751_
public static final Feature<NoneFeatureConfiguration>
af
BASALT_PILLAR
field_22188
f_zfxunzjv
BASALT_PILLAR
f_65752_
public static final Feature<OreConfiguration>
ag
SCATTERED_ORE
field_29061
f_kmbkjwch
SCATTERED_ORE
f_159727_
public static final Feature<RandomFeatureConfiguration>
ah
RANDOM_SELECTOR
field_13593
f_etkmsrpr
RANDOM_SELECTOR
f_65754_
public static final Feature<SimpleRandomFeatureConfiguration>
ai
SIMPLE_RANDOM_SELECTOR
field_13555
f_rnvarksn
SIMPLE_RANDOM_SELECTOR
f_65755_
public static final Feature<RandomBooleanFeatureConfiguration>
aj
RANDOM_BOOLEAN_SELECTOR
field_13550
f_rnftzjka
RANDOM_BOOLEAN_SELECTOR
f_65756_
public static final Feature<DecoratedFeatureConfiguration>
ak
DECORATED
field_21217
f_wwvucxlg
DECORATED
f_65758_
public static final Feature<GeodeConfiguration>
al
GEODE
field_27312
f_hkdoodgf
GEODE
f_159728_
public static final Feature<DripstoneClusterConfiguration>
am
DRIPSTONE_CLUSTER
field_28203
f_oabxzvqq
DRIPSTONE_CLUSTER
f_159729_
public static final Feature<LargeDripstoneConfiguration>
an
LARGE_DRIPSTONE
field_28204
f_oamzamzh
LARGE_DRIPSTONE
f_159730_
public static final Feature<SmallDripstoneConfiguration>
ao
SMALL_DRIPSTONE
field_28205
f_pftocvpy
SMALL_DRIPSTONE
f_159731_
private final com.mojang.serialization.Codec<ConfiguredFeature<FC, Feature<FC>>>
a
configuredCodec
field_24837
f_lamyasuv
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)
m_vmhtgbys(String arg0, F arg1)
register(String name, F feature)
m_65807_(String p_65808_, F p_65809_)
public com.mojang.serialization.Codec<ConfiguredFeature<FC, Feature<FC>>>
a()
configuredCodec()
method_28627()
m_fcdkkgdm()
getCodec()
m_65787_()
public ConfiguredFeature<FC, ?>
b(FC arg0)
configured(FC arg0)
method_23397(FC arg0)
m_mdioqdlz(FC arg0)
configure(FC config)
m_65815_(FC arg0)
protected void
a(bwy arg0, gg arg1, ckt arg2)
setBlock(LevelWriter arg0, BlockPos arg1, BlockState arg2)
method_13153(class_1945 arg0, class_2338 arg1, class_2680 arg2)
m_vfasohaf(C_gtvfupkc arg0, C_hynzadkk arg1, C_txtbiemp 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(ww arg0)
isReplaceable(ResourceLocation arg0)
method_36999(class_2960 arg0)
m_hpcatgjn(C_ncpywfca arg0)
notInBlockTagPredicate(Identifier tagId)
m_159757_(C_5265_ p_159758_)
protected void
a(bxl arg0, gg arg1, ckt arg2, Predicate<ckt> 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)
m_xknzkxwr(C_ldkphtbr arg0, C_hynzadkk arg1, C_txtbiemp arg2, Predicate<C_txtbiemp> 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(csh<FC> arg0)
place(FeaturePlaceContext<FC> arg0)
method_13151(class_5821<FC> arg0)
m_wyvchmaq(C_kihhwquw<FC> arg0)
generate(FeatureContext<FC> context)
m_142674_(C_141361_<FC> arg0)
generate(FeaturePlaceContext<FC> arg0)
protected static boolean
a(ckt arg0)
isStone(BlockState arg0)
method_23395(class_2680 arg0)
m_ugqriinb(C_txtbiemp arg0)
isStone(BlockState state)
m_159747_(C_2064_ p_159748_)
public static boolean
b(ckt arg0)
isDirt(BlockState arg0)
method_23396(class_2680 arg0)
m_wguikwsv(C_txtbiemp arg0)
isSoil(BlockState state)
m_159759_(C_2064_ p_159760_)
public static boolean
a(bww arg0, gg arg1)
isGrassOrDirt(LevelSimulatedReader arg0, BlockPos arg1)
method_27368(class_3746 arg0, class_2338 arg1)
m_fjixizxg(C_agsukcmb arg0, C_hynzadkk arg1)
isSoil(TestableWorld world, BlockPos pos)
m_65788_(C_1604_ p_65789_, C_4675_ p_65790_)
public static boolean
b(bww arg0, gg arg1)
isAir(LevelSimulatedReader arg0, BlockPos arg1)
method_27370(class_3746 arg0, class_2338 arg1)
m_ddfkhrjs(C_agsukcmb arg0, C_hynzadkk arg1)
isAir(TestableWorld world, BlockPos pos)
m_65810_(C_1604_ p_65811_, C_4675_ p_65812_)
public static boolean
a(Function<gg, ckt> arg0, gg arg1, Predicate<ckt> 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)
m_iiboiqyu(Function<C_hynzadkk, C_txtbiemp> arg0, C_hynzadkk arg1, Predicate<C_txtbiemp> 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<gg, ckt> arg0, gg arg1)
isAdjacentToAir(Function<BlockPos, BlockState> arg0, BlockPos arg1)
method_33981(Function<class_2338, class_2680> arg0, class_2338 arg1)
m_dadptovz(Function<C_hynzadkk, C_txtbiemp> arg0, C_hynzadkk arg1)
isExposedToAir(Function<BlockPos, BlockState> posToState, BlockPos pos)
m_159750_(Function<C_4675_, C_2064_> p_159751_, C_4675_ p_159752_)
protected void
a(bxl arg0, gg arg1)
markAboveForPostProcessing(WorldGenLevel arg0, BlockPos arg1)
method_37256(class_5281 arg0, class_2338 arg1)
m_xorqdyrc(C_ldkphtbr arg0, C_hynzadkk arg1)
markBlocksAboveForPostProcessing(StructureWorldAccess world, BlockPos pos)
m_159739_(C_1625_ p_159741_, C_4675_ arg1)