Class SwampHutStructure
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistryEntry<Structure<?>>
-
- net.minecraft.world.gen.feature.structure.Structure<NoFeatureConfig>
-
- net.minecraft.world.gen.feature.structure.SwampHutStructure
-
- All Implemented Interfaces:
IForgeStructure
,IForgeRegistryEntry<Structure<?>>
public class SwampHutStructure extends Structure<NoFeatureConfig>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SwampHutStructure.Start
-
Nested classes/interfaces inherited from class net.minecraft.world.gen.feature.structure.Structure
Structure.IStartFactory<C extends IFeatureConfig>
-
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.List<MobSpawnInfo.Spawners>
SWAMPHUT_ANIMALS
private static java.util.List<MobSpawnInfo.Spawners>
SWAMPHUT_ENEMIES
-
Fields inherited from class net.minecraft.world.gen.feature.structure.Structure
BASTION_REMNANT, BURIED_TREASURE, DESERT_PYRAMID, END_CITY, IGLOO, JUNGLE_TEMPLE, MINESHAFT, NETHER_BRIDGE, NETHER_FOSSIL, NOISE_AFFECTING_FEATURES, OCEAN_MONUMENT, OCEAN_RUIN, PILLAGER_OUTPOST, RUINED_PORTAL, SHIPWRECK, STRONGHOLD, STRUCTURES_REGISTRY, SWAMP_HUT, VILLAGE, WOODLAND_MANSION
-
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
-
Constructor Summary
Constructors Constructor Description SwampHutStructure(com.mojang.serialization.Codec<NoFeatureConfig> p_i231998_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<MobSpawnInfo.Spawners>
getDefaultCreatureSpawnList()
Gets the default list ofEntityClassification.CREATURE
spawns for this structure.java.util.List<MobSpawnInfo.Spawners>
getDefaultSpawnList()
Gets the default list ofEntityClassification.MONSTER
spawns for this structure.Structure.IStartFactory<NoFeatureConfig>
getStartFactory()
-
Methods inherited from class net.minecraft.world.gen.feature.structure.Structure
bootstrap, configured, configuredStructureCodec, generate, getFeatureName, getNearestGeneratedFeature, getPotentialFeatureChunk, getSpawnList, getSpecialAnimals, getSpecialEnemies, isFeatureChunk, linearSeparation, loadStaticStart, step
-
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraftforge.common.extensions.IForgeStructure
getDefaultRestrictsSpawnsToInside, getStructure
-
-
-
-
Field Detail
-
SWAMPHUT_ENEMIES
private static final java.util.List<MobSpawnInfo.Spawners> SWAMPHUT_ENEMIES
-
SWAMPHUT_ANIMALS
private static final java.util.List<MobSpawnInfo.Spawners> SWAMPHUT_ANIMALS
-
-
Constructor Detail
-
SwampHutStructure
public SwampHutStructure(com.mojang.serialization.Codec<NoFeatureConfig> p_i231998_1_)
-
-
Method Detail
-
getStartFactory
public Structure.IStartFactory<NoFeatureConfig> getStartFactory()
- Specified by:
getStartFactory
in classStructure<NoFeatureConfig>
-
getDefaultSpawnList
public java.util.List<MobSpawnInfo.Spawners> getDefaultSpawnList()
Description copied from interface:IForgeStructure
Gets the default list ofEntityClassification.MONSTER
spawns for this structure.
-
getDefaultCreatureSpawnList
public java.util.List<MobSpawnInfo.Spawners> getDefaultCreatureSpawnList()
Description copied from interface:IForgeStructure
Gets the default list ofEntityClassification.CREATURE
spawns for this structure.
-
-