net.minecraft.world.gen.feature

public abstract class Feature<FC extends FeatureConfig>

cwl
net.minecraft.world.level.levelgen.feature.Feature
net.minecraft.class_3031
net.minecraft.world.gen.feature.Feature
net.minecraft.unmapped.C_lowstvki
net.minecraft.src.C_2247_

Field summary

Modifier and TypeField
public static final Feature<DefaultFeatureConfig>
f
NO_OP
field_21590
NO_OP
f_dacdizjw
f_65759_
public static final Feature<TreeFeatureConfig>
g
TREE
field_24134
TREE
f_kabbponp
f_65760_
public static final Feature<RandomPatchFeatureConfig>
h
FLOWER
field_21219
FLOWER
f_aygfqnba
f_65761_
public static final Feature<RandomPatchFeatureConfig>
i
NO_BONEMEAL_FLOWER
field_26361
NO_BONEMEAL_FLOWER
f_gwbfgaal
f_65762_
public static final Feature<RandomPatchFeatureConfig>
j
RANDOM_PATCH
field_21220
RANDOM_PATCH
f_pzurmwnx
f_65763_
public static final Feature<BlockPileFeatureConfig>
k
BLOCK_PILE
field_21221
BLOCK_PILE
f_bcqggcjj
f_65764_
public static final Feature<SpringFeatureConfig>
l
SPRING
field_13513
SPRING_FEATURE
f_hiohvcbg
f_65765_
public static final Feature<DefaultFeatureConfig>
m
CHORUS_PLANT
field_13552
CHORUS_PLANT
f_pnbllqvc
f_65766_
public static final Feature<EmeraldOreFeatureConfig>
n
REPLACE_SINGLE_BLOCK
field_33615
REPLACE_SINGLE_BLOCK
f_bqdbrpki
f_159732_
public static final Feature<DefaultFeatureConfig>
o
VOID_START_PLATFORM
field_13591
VOID_START_PLATFORM
f_gzbawvde
f_65768_
public static final Feature<DefaultFeatureConfig>
p
DESERT_WELL
field_13592
DESERT_WELL
f_ckyfgkhs
f_65769_
public static final Feature<FossilFeatureConfig>
q
FOSSIL
field_13516
FOSSIL
f_bfjllblk
f_65770_
public static final Feature<HugeMushroomFeatureConfig>
r
HUGE_RED_MUSHROOM
field_13571
HUGE_RED_MUSHROOM
f_fovxtpob
f_65771_
public static final Feature<HugeMushroomFeatureConfig>
s
HUGE_BROWN_MUSHROOM
field_13531
HUGE_BROWN_MUSHROOM
f_oiroobzu
f_65772_
public static final Feature<DefaultFeatureConfig>
t
ICE_SPIKE
field_13562
ICE_SPIKE
f_vrqhrdpf
f_65773_
public static final Feature<DefaultFeatureConfig>
u
GLOWSTONE_BLOB
field_13568
GLOWSTONE_BLOB
f_dhxqfdon
f_65774_
public static final Feature<DefaultFeatureConfig>
v
FREEZE_TOP_LAYER
field_13539
FREEZE_TOP_LAYER
f_advidksm
f_65775_
public static final Feature<DefaultFeatureConfig>
w
VINES
field_13559
VINES
f_ndfuuibn
f_65776_
public static final Feature<BlockColumnFeatureConfig>
x
BLOCK_COLUMN
field_35072
BLOCK_COLUMN
f_lwkpitqs
f_190875_
public static final Feature<VegetationPatchFeatureConfig>
y
VEGETATION_PATCH
field_29250
VEGETATION_PATCH
f_lfnkksvb
f_159734_
public static final Feature<VegetationPatchFeatureConfig>
z
WATERLOGGED_VEGETATION_PATCH
field_29251
WATERLOGGED_VEGETATION_PATCH
f_hmiriigm
f_159735_
public static final Feature<RootSystemFeatureConfig>
A
ROOT_SYSTEM
field_29252
ROOT_SYSTEM
f_fbmrnron
f_159724_
public static final Feature<GlowLichenFeatureConfig>
B
GLOW_LICHEN
field_28428
GLOW_LICHEN
f_nhpxkale
f_159725_
public static final Feature<UnderwaterMagmaFeatureConfig>
C
UNDERWATER_MAGMA
field_28849
UNDERWATER_MAGMA
f_sgkrmgni
f_159726_
public static final Feature<DefaultFeatureConfig>
D
MONSTER_ROOM
field_13579
MONSTER_ROOM
f_ttzgprar
f_65777_
public static final Feature<DefaultFeatureConfig>
E
BLUE_ICE
field_13560
BLUE_ICE
f_dchrvokh
f_65778_
public static final Feature<SingleStateFeatureConfig>
F
ICEBERG
field_13544
ICEBERG
f_aalkkfri
f_65779_
public static final Feature<SingleStateFeatureConfig>
G
FOREST_ROCK
field_13584
FOREST_ROCK
f_ntguekth
f_65780_
public static final Feature<DiskFeatureConfig>
H
DISK
field_13509
DISK
f_ydypwjow
f_65781_
public static final Feature<DiskFeatureConfig>
I
ICE_PATCH
field_13551
ICE_PATCH
f_qhvrclmk
f_65782_
public static final Feature<LakeFeature$Config>
J
LAKE
field_13573
LAKE
f_tcxivqgc
f_65783_
public static final Feature<OreFeatureConfig>
K
ORE
field_13517
ORE
f_ysakbwll
f_65731_
public static final Feature<EndSpikeFeatureConfig>
L
END_SPIKE
field_13522
END_SPIKE
f_jolvvgzm
f_65732_
public static final Feature<DefaultFeatureConfig>
M
END_ISLAND
field_13574
END_ISLAND
f_bxakwmgb
f_65733_
public static final Feature<EndGatewayFeatureConfig>
N
END_GATEWAY
field_13564
END_GATEWAY
f_jspveolc
f_65734_
public static final SeagrassFeature
O
SEAGRASS
field_13567
SEAGRASS
f_gksoxixh
f_65735_
public static final Feature<DefaultFeatureConfig>
P
KELP
field_13535
KELP
f_lhxgcyjx
f_65736_
public static final Feature<DefaultFeatureConfig>
Q
CORAL_TREE
field_13525
CORAL_TREE
f_zxglficl
f_65737_
public static final Feature<DefaultFeatureConfig>
R
CORAL_MUSHROOM
field_13585
CORAL_MUSHROOM
f_pepoiiej
f_65738_
public static final Feature<DefaultFeatureConfig>
S
CORAL_CLAW
field_13546
CORAL_CLAW
f_bkargpfu
f_65739_
public static final Feature<CountConfig>
T
SEA_PICKLE
field_13575
SEA_PICKLE
f_ogllvhdl
f_65740_
public static final Feature<SimpleBlockFeatureConfig>
U
SIMPLE_BLOCK
field_13518
SIMPLE_BLOCK
f_obemeviq
f_65741_
public static final Feature<ProbabilityConfig>
V
BAMBOO
field_13540
BAMBOO
f_pbzjhlzr
f_65742_
public static final Feature<HugeFungusFeatureConfig>
W
HUGE_FUNGUS
field_22185
HUGE_FUNGUS
f_idnglpkc
f_65743_
public static final Feature<NetherForestVegetationFeatureConfig>
X
NETHER_FOREST_VEGETATION
field_22186
NETHER_FOREST_VEGETATION
f_iivauuti
f_65744_
public static final Feature<DefaultFeatureConfig>
Y
WEEPING_VINES
field_22187
WEEPING_VINES
f_psyerrzr
f_65745_
public static final Feature<TwistingVinesFeatureConfig>
Z
TWISTING_VINES
field_23088
TWISTING_VINES
f_ysddtdrl
f_65746_
public static final Feature<BasaltColumnsFeatureConfig>
aa
BASALT_COLUMNS
field_23884
BASALT_COLUMNS
f_fkjeqvgc
f_65747_
public static final Feature<DeltaFeatureConfig>
ab
DELTA_FEATURE
field_23885
DELTA_FEATURE
f_drqlqioc
f_65748_
public static final Feature<ReplaceBlobsFeatureConfig>
ac
REPLACE_BLOBS
field_23886
NETHERRACK_REPLACE_BLOBS
f_tadczmps
f_65749_
public static final Feature<FillLayerFeatureConfig>
ad
FILL_LAYER
field_19201
FILL_LAYER
f_nyrawajy
f_65750_
public static final BonusChestFeature
ae
BONUS_CHEST
field_13526
BONUS_CHEST
f_gophxsrq
f_65751_
public static final Feature<DefaultFeatureConfig>
af
BASALT_PILLAR
field_22188
BASALT_PILLAR
f_zfxunzjv
f_65752_
public static final Feature<OreFeatureConfig>
ag
SCATTERED_ORE
field_29061
SCATTERED_ORE
f_kmbkjwch
f_159727_
public static final Feature<RandomFeatureConfig>
ah
RANDOM_SELECTOR
field_13593
RANDOM_SELECTOR
f_etkmsrpr
f_65754_
public static final Feature<SimpleRandomFeatureConfig>
ai
SIMPLE_RANDOM_SELECTOR
field_13555
SIMPLE_RANDOM_SELECTOR
f_rnvarksn
f_65755_
public static final Feature<RandomBooleanFeatureConfig>
aj
RANDOM_BOOLEAN_SELECTOR
field_13550
RANDOM_BOOLEAN_SELECTOR
f_rnftzjka
f_65756_
public static final Feature<GeodeFeatureConfig>
ak
GEODE
field_27312
GEODE
f_hkdoodgf
f_159728_
public static final Feature<DripstoneClusterFeatureConfig>
al
DRIPSTONE_CLUSTER
field_28203
DRIPSTONE_CLUSTER
f_oabxzvqq
f_159729_
public static final Feature<LargeDripstoneFeatureConfig>
am
LARGE_DRIPSTONE
field_28204
LARGE_DRIPSTONE
f_oamzamzh
f_159730_
public static final Feature<SmallDripstoneFeatureConfig>
an
POINTED_DRIPSTONE
field_28205
POINTED_DRIPSTONE
f_qfdagwlb
f_190874_
private final com.mojang.serialization.Codec<ConfiguredFeature<FC, Feature<FC>>>
a
configuredCodec
field_24837
codec
f_lamyasuv
f_65757_

Constructor summary

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

Method summary

Modifier and TypeMethod
private static <C extends FeatureConfig, F extends Feature<C>> F
a(String o, F o)
register(String arg0, F arg1)
method_13150(String arg0, F arg1)
register(String name, F feature)
m_vmhtgbys(String arg0, F arg1)
m_65807_(String p_65808_, F p_65809_)
public com.mojang.serialization.Codec<ConfiguredFeature<FC, Feature<FC>>>
a()
configuredCodec()
method_28627()
getCodec()
m_fcdkkgdm()
m_65787_()
public ConfiguredFeature<FC, ?>
a(FC arg0)
configured(FC arg0)
method_23397(FC arg0)
configure(FC config)
m_mdioqdlz(FC arg0)
m_65815_(FC arg0)
protected void
a(cal o, gh o, coc 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_vfasohaf(C_gtvfupkc arg0, C_hynzadkk arg1, C_txtbiemp arg2)
m_5974_(C_1606_ p_65792_, C_4675_ p_65793_, C_2064_ arg2)
public static Predicate<BlockState>
a(yh o)
isReplaceable(ResourceLocation arg0)
method_36999(class_2960 arg0)
notInBlockTagPredicate(Identifier tagId)
m_hpcatgjn(C_ncpywfca arg0)
m_159757_(C_5265_ p_159758_)
protected void
a(cav o, gh o, coc o, Predicate<coc> 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_xknzkxwr(C_ldkphtbr arg0, C_hynzadkk arg1, C_txtbiemp arg2, Predicate<C_txtbiemp> arg3)
m_159742_(C_1625_ p_159744_, C_4675_ p_159745_, C_2064_ p_159746_, Predicate<C_2064_> arg3)
public abstract boolean
a(cwn<FC> arg0)
place(FeaturePlaceContext<FC> arg0)
method_13151(class_5821<FC> arg0)
generate(FeatureContext<FC> context)
m_wyvchmaq(C_kihhwquw<FC> arg0)
m_142674_(C_141361_<FC> arg0)
protected static boolean
a(coc o)
isStone(BlockState arg0)
method_23395(class_2680 arg0)
isStone(BlockState state)
m_ugqriinb(C_txtbiemp arg0)
m_159747_(C_2064_ p_159748_)
public static boolean
b(coc o)
isDirt(BlockState arg0)
method_23396(class_2680 arg0)
isSoil(BlockState state)
m_wguikwsv(C_txtbiemp arg0)
m_159759_(C_2064_ p_159760_)
public static boolean
a(caj o, gh o)
isGrassOrDirt(LevelSimulatedReader arg0, BlockPos arg1)
method_27368(class_3746 arg0, class_2338 arg1)
isSoil(TestableWorld world, BlockPos pos)
m_fjixizxg(C_agsukcmb arg0, C_hynzadkk arg1)
m_65788_(C_1604_ p_65789_, C_4675_ p_65790_)
public static boolean
b(caj o, gh o)
isAir(LevelSimulatedReader arg0, BlockPos arg1)
method_27370(class_3746 arg0, class_2338 arg1)
isAir(TestableWorld world, BlockPos pos)
m_ddfkhrjs(C_agsukcmb arg0, C_hynzadkk arg1)
m_65810_(C_1604_ p_65811_, C_4675_ p_65812_)
public static boolean
a(Function<gh, coc> o, gh o, Predicate<coc> o)
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_iiboiqyu(Function<C_hynzadkk, C_txtbiemp> arg0, C_hynzadkk arg1, Predicate<C_txtbiemp> arg2)
m_159753_(Function<C_4675_, C_2064_> p_159754_, C_4675_ p_159755_, Predicate<C_2064_> p_159756_)
public static boolean
a(Function<gh, coc> o, gh o)
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_dadptovz(Function<C_hynzadkk, C_txtbiemp> arg0, C_hynzadkk arg1)
m_159750_(Function<C_4675_, C_2064_> p_159751_, C_4675_ p_159752_)
protected void
a(cav o, gh arg1)
markAboveForPostProcessing(WorldGenLevel arg0, BlockPos arg1)
method_37256(class_5281 arg0, class_2338 arg1)
markBlocksAboveForPostProcessing(StructureWorldAccess world, BlockPos pos)
m_xorqdyrc(C_ldkphtbr arg0, C_hynzadkk arg1)
m_159739_(C_1625_ p_159741_, C_4675_ arg1)