Created
April 8, 2015 20:58
-
-
Save Ivorforce/923cde850d8e5f342cff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2014, Lukas Tenbrink. | |
* * http://lukas.axxim.net | |
*/ | |
package ivorius.reccomplex.structures; | |
import ivorius.reccomplex.structures.generic.GenericStructureInfo; | |
import ivorius.reccomplex.structures.generic.gentypes.StructureGenerationInfo; | |
import ivorius.reccomplex.utils.NBTStorable; | |
import net.minecraft.nbt.NBTBase; | |
import java.util.List; | |
/** | |
* Created by lukas on 24.05.14. | |
*/ | |
public interface StructureInfo<S extends NBTStorable> | |
{ | |
void generate(StructureSpawnContext context, S instanceData); | |
S prepareInstanceData(StructurePrepareContext context); | |
S loadInstanceData(StructureLoadContext context, NBTBase nbt); | |
<I extends StructureGenerationInfo> List<I> generationInfos(Class<I> clazz); | |
StructureGenerationInfo generationInfo(String id); | |
int[] structureBoundingBox(); | |
boolean isRotatable(); | |
boolean isMirrorable(); | |
GenericStructureInfo copyAsGenericStructureInfo(); | |
boolean areDependenciesResolved(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment