net.minecraft.world.level.levelgen.feature

public abstract class Feature<FC extends FeatureConfiguration>

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