Class PillagerOutpostStructure
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistryEntry<Structure<?>>
-
- net.minecraft.world.gen.feature.structure.Structure<VillageConfig>
-
- net.minecraft.world.gen.feature.structure.JigsawStructure
-
- net.minecraft.world.gen.feature.structure.PillagerOutpostStructure
-
- All Implemented Interfaces:
IForgeStructure
,IForgeRegistryEntry<Structure<?>>
public class PillagerOutpostStructure extends JigsawStructure
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.world.gen.feature.structure.JigsawStructure
JigsawStructure.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>
OUTPOST_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 PillagerOutpostStructure(com.mojang.serialization.Codec<VillageConfig> p_i231977_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<MobSpawnInfo.Spawners>
getDefaultSpawnList()
Gets the default list ofEntityClassification.MONSTER
spawns for this structure.protected boolean
isFeatureChunk(ChunkGenerator p_230363_1_, BiomeProvider p_230363_2_, long p_230363_3_, SharedSeedRandom p_230363_5_, int p_230363_6_, int p_230363_7_, Biome p_230363_8_, ChunkPos p_230363_9_, VillageConfig p_230363_10_)
private boolean
isNearVillage(ChunkGenerator p_242782_1_, long p_242782_2_, SharedSeedRandom p_242782_4_, int p_242782_5_, int p_242782_6_)
-
Methods inherited from class net.minecraft.world.gen.feature.structure.JigsawStructure
getStartFactory
-
Methods inherited from class net.minecraft.world.gen.feature.structure.Structure
bootstrap, configured, configuredStructureCodec, generate, getFeatureName, getNearestGeneratedFeature, getPotentialFeatureChunk, getSpawnList, getSpecialAnimals, getSpecialEnemies, 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
getDefaultCreatureSpawnList, getDefaultRestrictsSpawnsToInside, getStructure
-
-
-
-
Field Detail
-
OUTPOST_ENEMIES
private static final java.util.List<MobSpawnInfo.Spawners> OUTPOST_ENEMIES
-
-
Constructor Detail
-
PillagerOutpostStructure
public PillagerOutpostStructure(com.mojang.serialization.Codec<VillageConfig> p_i231977_1_)
-
-
Method Detail
-
getDefaultSpawnList
public java.util.List<MobSpawnInfo.Spawners> getDefaultSpawnList()
Description copied from interface:IForgeStructure
Gets the default list ofEntityClassification.MONSTER
spawns for this structure.
-
isFeatureChunk
protected boolean isFeatureChunk(ChunkGenerator p_230363_1_, BiomeProvider p_230363_2_, long p_230363_3_, SharedSeedRandom p_230363_5_, int p_230363_6_, int p_230363_7_, Biome p_230363_8_, ChunkPos p_230363_9_, VillageConfig p_230363_10_)
- Overrides:
isFeatureChunk
in classStructure<VillageConfig>
-
isNearVillage
private boolean isNearVillage(ChunkGenerator p_242782_1_, long p_242782_2_, SharedSeedRandom p_242782_4_, int p_242782_5_, int p_242782_6_)
-
-