Modifier and Type | Class and Description |
---|---|
class |
SGClientEvents
Structure Gel events to fire on the client thread.
|
class |
SGEvents
Structure Gel events to fire on both threads.
|
class |
StructureGelCompat
Introuces compatibility with other mods without them needing to use the API
as a dependency.
To add compatibility to your mod, check the com.legacy.structure_gel.structure_gel_compat package. |
class |
StructureGelConfig |
Modifier and Type | Method and Description |
---|---|
static net.minecraft.util.ResourceLocation |
StructureGelMod.locate(java.lang.String key) |
static void |
StructureGelMod.registerBiomeDictionary(net.minecraftforge.event.RegistryEvent.Register<BiomeType> event) |
Modifier and Type | Class and Description |
---|---|
class |
ForgeType
A forge biome dictionary compatible version of
BiomeType . |
Modifier and Type | Field and Description |
---|---|
static BiomeType |
BiomeDictionary.EMPTY |
Modifier and Type | Method and Description |
---|---|
static void |
BiomeDictionary.makeGuess()
Makes assumptions as to which biome type a biome should be registered to if
it is not already registered to a type.
This can be disabled via configs. |
Modifier and Type | Class and Description |
---|---|
class |
BiomeDictionaryCompat
Sample class for adding Structure Gel biome dictionary support to your mod.
|
Modifier and Type | Method and Description |
---|---|
net.minecraft.util.RegistryKey<net.minecraft.world.World> |
GelTeleporter.getOpposite()
Returns the opposite world from the one in this instance, or
GelTeleporter.dimension1 by default. |
Modifier and Type | Class and Description |
---|---|
class |
GelTemplate
This class largly exists to fix a silly bug with how entities rotate when
placed in a structure.
|
Constructor and Description |
---|
GelTemplate(net.minecraft.world.gen.feature.template.Template template) |
Modifier and Type | Class and Description |
---|---|
class |
GelStructurePiece
The default implementation of
AbstractGelStructurePiece . |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractGelStructurePiece.func_237001_a_(net.minecraft.world.ISeedReader seedReader,
net.minecraft.world.gen.feature.structure.StructureManager structureManager,
net.minecraft.world.gen.ChunkGenerator chunkGen,
java.util.Random rand,
net.minecraft.util.math.MutableBoundingBox bounds,
net.minecraft.util.math.BlockPos pos,
boolean isLegacy)
addComponentParts
Modification of addComponentParts to allow for data structure block handling. |
net.minecraft.world.gen.feature.structure.AbstractVillagePiece |
GelJigsawStructure.getPiece(net.minecraft.world.gen.feature.template.TemplateManager templateManager,
net.minecraft.world.gen.feature.jigsaw.JigsawPiece jigsawPiece,
net.minecraft.util.math.BlockPos pos,
int groundLevelDelta,
net.minecraft.util.Rotation rotation,
net.minecraft.util.math.MutableBoundingBox bounds) |
net.minecraft.world.gen.feature.structure.Structure.IStartFactory<net.minecraft.world.gen.feature.structure.VillageConfig> |
GelJigsawStructure.getStartFactory() |
void |
AbstractGelStructurePiece.setStructurePieceType(net.minecraft.world.gen.feature.structure.IStructurePieceType structurePieceType)
Sets the
IStructurePieceType for this piece. |
Modifier and Type | Method and Description |
---|---|
net.minecraft.world.gen.feature.template.Template.BlockInfo |
RemoveGelStructureProcessor.func_230386_a_(net.minecraft.world.IWorldReader worldReaderIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.BlockPos pos2,
net.minecraft.world.gen.feature.template.Template.BlockInfo existing,
net.minecraft.world.gen.feature.template.Template.BlockInfo placed,
net.minecraft.world.gen.feature.template.PlacementSettings settings) |
net.minecraft.world.gen.feature.template.Template.BlockInfo |
RandomTagSwapProcessor.func_230386_a_(net.minecraft.world.IWorldReader worldReaderIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.BlockPos pos2,
net.minecraft.world.gen.feature.template.Template.BlockInfo existing,
net.minecraft.world.gen.feature.template.Template.BlockInfo placed,
net.minecraft.world.gen.feature.template.PlacementSettings settings) |
net.minecraft.world.gen.feature.template.Template.BlockInfo |
RandomStateSwapProcessor.func_230386_a_(net.minecraft.world.IWorldReader worldReaderIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.BlockPos pos2,
net.minecraft.world.gen.feature.template.Template.BlockInfo existing,
net.minecraft.world.gen.feature.template.Template.BlockInfo placed,
net.minecraft.world.gen.feature.template.PlacementSettings settings) |
net.minecraft.world.gen.feature.template.Template.BlockInfo |
RandomBlockSwapProcessor.func_230386_a_(net.minecraft.world.IWorldReader worldReaderIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.BlockPos pos2,
net.minecraft.world.gen.feature.template.Template.BlockInfo existing,
net.minecraft.world.gen.feature.template.Template.BlockInfo placed,
net.minecraft.world.gen.feature.template.PlacementSettings settings) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.util.math.BlockPos |
GelStructure.func_236388_a_(net.minecraft.world.IWorldReader worldIn,
net.minecraft.world.gen.feature.structure.StructureManager structureManager,
net.minecraft.util.math.BlockPos startPos,
int searchRadius,
boolean skipExistingChunks,
long seed,
net.minecraft.world.gen.settings.StructureSeparationSettings settings) |
net.minecraft.util.math.ChunkPos |
GelStructure.getChunkPosForStructure(net.minecraft.world.gen.settings.StructureSeparationSettings settings,
long seed,
net.minecraft.util.SharedSeedRandom sharedSeedRand,
int x,
int z)
Checks to see if this structure can generate in the given chunk using a grid
with custom spacing and offsets.
|
net.minecraft.world.gen.settings.StructureSeparationSettings |
GelStructure.getSeparationSettings()
Gets a
StructureSeparationSettings based on the API values. |
void |
GelStructure.potentialSpawnsEvent(net.minecraftforge.event.world.StructureSpawnListGatherEvent event)
Automatically registered to the event bus.
|