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.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 AbstractFlowerFeature<RandomPatchConfiguration>
h
FLOWER
field_21219
FLOWER
f_65761_
public static final AbstractFlowerFeature<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<GrowingPlantConfiguration>
x
GROWING_PLANT
field_29249
GROWING_PLANT
f_159733_
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<GlowLichenConfiguration>
B
GLOW_LICHEN
field_28428
GLOW_LICHEN
f_159725_
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<DiskConfiguration>
I
ICE_PATCH
field_13551
ICE_PATCH
f_65782_
public static final Feature<BlockStateConfiguration>
J
LAKE
field_13573
LAKE
f_65783_
public static final Feature<OreConfiguration>
K
ORE
field_13517
ORE
f_65731_
public static final Feature<SpikeConfiguration>
L
END_SPIKE
field_13522
END_SPIKE
f_65732_
public static final Feature<NoneFeatureConfiguration>
M
END_ISLAND
field_13574
END_ISLAND
f_65733_
public static final Feature<EndGatewayConfiguration>
N
END_GATEWAY
field_13564
END_GATEWAY
f_65734_
public static final SeagrassFeature
O
SEAGRASS
field_13567
SEAGRASS
f_65735_
public static final Feature<NoneFeatureConfiguration>
P
KELP
field_13535
KELP
f_65736_
public static final Feature<NoneFeatureConfiguration>
Q
CORAL_TREE
field_13525
CORAL_TREE
f_65737_
public static final Feature<NoneFeatureConfiguration>
R
CORAL_MUSHROOM
field_13585
CORAL_MUSHROOM
f_65738_
public static final Feature<NoneFeatureConfiguration>
S
CORAL_CLAW
field_13546
CORAL_CLAW
f_65739_
public static final Feature<CountConfiguration>
T
SEA_PICKLE
field_13575
SEA_PICKLE
f_65740_
public static final Feature<SimpleBlockConfiguration>
U
SIMPLE_BLOCK
field_13518
SIMPLE_BLOCK
f_65741_
public static final Feature<ProbabilityFeatureConfiguration>
V
BAMBOO
field_13540
BAMBOO
f_65742_
public static final Feature<HugeFungusConfiguration>
W
HUGE_FUNGUS
field_22185
HUGE_FUNGUS
f_65743_
public static final Feature<BlockPileConfiguration>
X
NETHER_FOREST_VEGETATION
field_22186
NETHER_FOREST_VEGETATION
f_65744_
public static final Feature<NoneFeatureConfiguration>
Y
WEEPING_VINES
field_22187
WEEPING_VINES
f_65745_
public static final Feature<NoneFeatureConfiguration>
Z
TWISTING_VINES
field_23088
TWISTING_VINES
f_65746_
public static final Feature<ColumnFeatureConfiguration>
aa
BASALT_COLUMNS
field_23884
BASALT_COLUMNS
f_65747_
public static final Feature<DeltaFeatureConfiguration>
ab
DELTA_FEATURE
field_23885
DELTA_FEATURE
f_65748_
public static final Feature<ReplaceSphereConfiguration>
ac
REPLACE_BLOBS
field_23886
NETHERRACK_REPLACE_BLOBS
f_65749_
public static final Feature<LayerConfiguration>
ad
FILL_LAYER
field_19201
FILL_LAYER
f_65750_
public static final BonusChestFeature
ae
BONUS_CHEST
field_13526
BONUS_CHEST
f_65751_
public static final Feature<NoneFeatureConfiguration>
af
BASALT_PILLAR
field_22188
BASALT_PILLAR
f_65752_
public static final Feature<OreConfiguration>
ag
SCATTERED_ORE
field_29061
SCATTERED_ORE
f_159727_
public static final Feature<RandomFeatureConfiguration>
ah
RANDOM_SELECTOR
field_13593
RANDOM_SELECTOR
f_65754_
public static final Feature<SimpleRandomFeatureConfiguration>
ai
SIMPLE_RANDOM_SELECTOR
field_13555
SIMPLE_RANDOM_SELECTOR
f_65755_
public static final Feature<RandomBooleanFeatureConfiguration>
aj
RANDOM_BOOLEAN_SELECTOR
field_13550
RANDOM_BOOLEAN_SELECTOR
f_65756_
public static final Feature<DecoratedFeatureConfiguration>
ak
DECORATED
field_21217
DECORATED
f_65758_
public static final Feature<GeodeConfiguration>
al
GEODE
field_27312
GEODE
f_159728_
public static final Feature<DripstoneClusterConfiguration>
am
DRIPSTONE_CLUSTER
field_28203
DRIPSTONE_CLUSTER
f_159729_
public static final Feature<LargeDripstoneConfiguration>
an
LARGE_DRIPSTONE
field_28204
LARGE_DRIPSTONE
f_159730_
public static final Feature<SmallDripstoneConfiguration>
ao
SMALL_DRIPSTONE
field_28205
SMALL_DRIPSTONE
f_159731_
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_()
public ConfiguredFeature<FC, ?>
b(FC arg0)
configured(FC arg0)
method_23397(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)
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)
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)
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)
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)
isStone(BlockState state)
m_159747_(C_2064_ p_159748_)
public static boolean
b(ckt arg0)
isDirt(BlockState arg0)
method_23396(class_2680 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)
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)
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)
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)
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)
markBlocksAboveForPostProcessing(StructureWorldAccess world, BlockPos pos)
m_159739_(C_1625_ p_159741_, C_4675_ arg1)