net.minecraft.world.level.levelgen.feature

public abstract class StructureFeature<C extends FeatureConfiguration>

cla
net.minecraft.world.level.levelgen.feature.StructureFeature
net.minecraft.class_3195
net.minecraft.world.gen.feature.StructureFeature
net.minecraft.world.gen.feature.structure.Structure
net.minecraft.server.v1_16_R3.StructureGenerator

Field summary

Modifier and TypeField
public static final com.google.common.collect.BiMap<String, StructureFeature<?>>
a
STRUCTURES_REGISTRY
field_24842
STRUCTURES
field_236365_a_
private static final Map<StructureFeature<?>, GenerationStep$Decoration>
u
STEP
field_24862
STRUCTURE_TO_GENERATION_STEP
field_236385_u_
private static final org.apache.logging.log4j.Logger
v
LOGGER
field_13879
LOGGER
field_208204_b
public static final StructureFeature<JigsawConfiguration>
b
PILLAGER_OUTPOST
field_24843
PILLAGER_OUTPOST
field_236366_b_
PILLAGER_OUTPOST
public static final StructureFeature<MineshaftConfiguration>
c
MINESHAFT
field_24844
MINESHAFT
field_236367_c_
MINESHAFT
public static final StructureFeature<NoneFeatureConfiguration>
d
WOODLAND_MANSION
field_24845
MANSION
field_236368_d_
MANSION
public static final StructureFeature<NoneFeatureConfiguration>
e
JUNGLE_TEMPLE
field_24846
JUNGLE_PYRAMID
field_236369_e_
JUNGLE_PYRAMID
public static final StructureFeature<NoneFeatureConfiguration>
f
DESERT_PYRAMID
field_24847
DESERT_PYRAMID
field_236370_f_
DESERT_PYRAMID
public static final StructureFeature<NoneFeatureConfiguration>
g
IGLOO
field_24848
IGLOO
field_236371_g_
IGLOO
public static final StructureFeature<RuinedPortalConfiguration>
h
RUINED_PORTAL
field_24849
RUINED_PORTAL
field_236372_h_
RUINED_PORTAL
public static final StructureFeature<ShipwreckConfiguration>
i
SHIPWRECK
field_24850
SHIPWRECK
field_236373_i_
SHIPWRECK
public static final SwamplandHutFeature
j
SWAMP_HUT
field_24851
SWAMP_HUT
field_236374_j_
SWAMP_HUT
public static final StructureFeature<NoneFeatureConfiguration>
k
STRONGHOLD
field_24852
STRONGHOLD
field_236375_k_
STRONGHOLD
public static final StructureFeature<NoneFeatureConfiguration>
l
OCEAN_MONUMENT
field_24853
MONUMENT
field_236376_l_
MONUMENT
public static final StructureFeature<OceanRuinConfiguration>
m
OCEAN_RUIN
field_24854
OCEAN_RUIN
field_236377_m_
OCEAN_RUIN
public static final StructureFeature<NoneFeatureConfiguration>
n
NETHER_BRIDGE
field_24855
FORTRESS
field_236378_n_
FORTRESS
public static final StructureFeature<NoneFeatureConfiguration>
o
END_CITY
field_24856
END_CITY
field_236379_o_
ENDCITY
public static final StructureFeature<ProbabilityFeatureConfiguration>
p
BURIED_TREASURE
field_24857
BURIED_TREASURE
field_236380_p_
BURIED_TREASURE
public static final StructureFeature<JigsawConfiguration>
q
VILLAGE
field_24858
VILLAGE
field_236381_q_
VILLAGE
public static final StructureFeature<NoneFeatureConfiguration>
r
NETHER_FOSSIL
field_24859
NETHER_FOSSIL
field_236382_r_
NETHER_FOSSIL
public static final StructureFeature<JigsawConfiguration>
s
BASTION_REMNANT
field_24860
BASTION_REMNANT
field_236383_s_
BASTION_REMNANT
public static final List<StructureFeature<?>>
t
NOISE_AFFECTING_FEATURES
field_24861
JIGSAW_STRUCTURES
field_236384_t_
private static final ResourceLocation
w
JIGSAW_RENAME
field_26362
JIGSAW_ID
field_242783_w
private static final Map<ResourceLocation, ResourceLocation>
x
RENAMES
field_25839
field_25839
field_242784_x
private final com.mojang.serialization.Codec<ConfiguredStructureFeature<C, StructureFeature<C>>>
y
configuredStructureCodec
field_24863
codec
field_236386_w_

Constructor summary

ModifierConstructor
public (com.mojang.serialization.Codec<C> codec)

Method summary

Modifier and TypeMethod
private static <F extends StructureFeature<?>> F
a(String arg0, F arg1, chm$b arg2)
register(String arg0, F arg1, GenerationStep$Decoration arg2)
method_28661(String arg0, F arg1, class_2893$class_2895 arg2)
register(String name, F structureFeature, GenerationStep$Feature step)
func_236394_a_(String arg0, F arg1, GenerationStage$Decoration arg2)
public GenerationStep$Decoration
f()
step()
method_28663()
getGenerationStep()
func_236396_f_()
public static void
g()
bootstrap()
method_28664()
method_28664()
func_236397_g_()
public static StructureStart<?>
a(csw arg0, md arg1, long arg2)
loadStaticStart(StructureManager arg0, CompoundTag arg1, long arg2)
method_28660(class_3485 arg0, class_2487 arg1, long arg2)
readStructureStart(StructureManager manager, CompoundTag tag, long worldSeed)
func_236393_a_(TemplateManager arg0, CompoundNBT arg1, long arg2)
public com.mojang.serialization.Codec<ConfiguredStructureFeature<C, StructureFeature<C>>>
h()
configuredStructureCodec()
method_28665()
getCodec()
func_236398_h_()
public ConfiguredStructureFeature<C, ? extends StructureFeature<C>>
a(C arg0)
configured(C arg0)
method_28659(C arg0)
configure(C config)
func_236391_a_(C arg0)
public BlockPos
a(brz arg0, bsn arg1, fx arg2, int arg3, boolean arg4, long arg5, cmy arg6)
getNearestGeneratedFeature(LevelReader arg0, StructureFeatureManager arg1, BlockPos arg2, int arg3, boolean arg4, long arg5, StructureFeatureConfiguration arg6)
method_14015(class_4538 arg0, class_5138 arg1, class_2338 arg2, int arg3, boolean arg4, long arg5, class_5314 arg6)
locateStructure(WorldView world, StructureAccessor structureAccessor, BlockPos searchStartPos, int searchRadius, boolean skipExistingChunks, long worldSeed, StructureConfig config)
func_236388_a_(IWorldReader arg0, StructureManager arg1, BlockPos arg2, int arg3, boolean arg4, long arg5, StructureSeparationSettings arg6)
getNearestGeneratedFeature(IWorldReader arg0, StructureManager arg1, BlockPosition arg2, int arg3, boolean arg4, long arg5, StructureSettingsFeature arg6)
protected boolean
b()
linearSeparation()
method_27219()
isUniformDistribution()
func_230365_b_()
public final ChunkPos
a(cmy arg0, long arg1, chx arg2, int arg3, int arg4)
getPotentialFeatureChunk(StructureFeatureConfiguration arg0, long arg1, WorldgenRandom arg2, int arg3, int arg4)
method_27218(class_5314 arg0, long arg1, class_2919 arg2, int arg3, int arg4)
getStartChunk(StructureConfig config, long worldSeed, ChunkRandom placementRandom, int chunkX, int chunkY)
func_236392_a_(StructureSeparationSettings arg0, long arg1, SharedSeedRandom arg2, int arg3, int arg4)
protected boolean
a(cfy arg0, bsy arg1, long arg2, chx arg3, int arg4, int arg5, bsv arg6, brd arg7, C arg8)
isFeatureChunk(ChunkGenerator arg0, BiomeSource arg1, long arg2, WorldgenRandom arg3, int arg4, int arg5, Biome arg6, ChunkPos arg7, C arg8)
method_14026(class_2794 arg0, class_1966 arg1, long arg2, class_2919 arg3, int arg4, int arg5, class_1959 arg6, class_1923 arg7, C arg8)
shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long worldSeed, ChunkRandom random, int chunkX, int chunkZ, Biome biome, ChunkPos chunkPos, C config)
func_230363_a_(ChunkGenerator arg0, BiomeProvider arg1, long arg2, SharedSeedRandom arg3, int arg4, int arg5, Biome arg6, ChunkPos arg7, C arg8)
private StructureStart<C>
a(int arg0, int arg1, cra arg2, int arg3, long arg4)
createStart(int arg0, int arg1, BoundingBox arg2, int arg3, long arg4)
method_28656(int arg0, int arg1, class_3341 arg2, int arg3, long arg4)
createStart(int chunkX, int chunkZ, BlockBox boundingBox, int referenceCount, long worldSeed)
func_236387_a_(int arg0, int arg1, MutableBoundingBox arg2, int arg3, long arg4)
public StructureStart<?>
a(gn arg0, cfy arg1, bsy arg2, csw arg3, long arg4, brd arg5, bsv arg6, int arg7, chx arg8, cmy arg9, C arg10)
generate(RegistryAccess arg0, ChunkGenerator arg1, BiomeSource arg2, StructureManager arg3, long arg4, ChunkPos arg5, Biome arg6, int arg7, WorldgenRandom arg8, StructureFeatureConfiguration arg9, C arg10)
method_28657(class_5455 arg0, class_2794 arg1, class_1966 arg2, class_3485 arg3, long arg4, class_1923 arg5, class_1959 arg6, int arg7, class_2919 arg8, class_5314 arg9, C arg10)
tryPlaceStart(DynamicRegistryManager arg0, ChunkGenerator arg1, BiomeSource arg2, StructureManager arg3, long worldSeed, ChunkPos arg5, Biome arg6, int referenceCount, ChunkRandom arg8, StructureConfig arg9, C arg10)
func_242785_a(DynamicRegistries arg0, ChunkGenerator arg1, BiomeProvider arg2, TemplateManager arg3, long arg4, ChunkPos arg5, Biome arg6, int arg7, SharedSeedRandom arg8, StructureSeparationSettings arg9, C arg10)
public abstract StructureFeature$StructureStartFactory<C>
a()
getStartFactory()
method_14016()
getStructureStartFactory()
func_214557_a()
public String
i()
getFeatureName()
method_14019()
getName()
func_143025_a()
public List<MobSpawnSettings$SpawnerData>
c()
getSpecialEnemies()
method_13149()
getMonsterSpawns()
func_202279_e()
public List<MobSpawnSettings$SpawnerData>
j()
getSpecialAnimals()
method_16140()
getCreatureSpawns()
func_214469_f()