More toying with boring villages and added a dependancy for the latest forge
This commit is contained in:
parent
c2bb289b67
commit
637c9666c3
3 changed files with 3 additions and 3 deletions
|
@ -45,7 +45,7 @@ import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
import cpw.mods.fml.common.registry.TickRegistry;
|
import cpw.mods.fml.common.registry.TickRegistry;
|
||||||
import cpw.mods.fml.relauncher.Side;
|
import cpw.mods.fml.relauncher.Side;
|
||||||
|
|
||||||
@Mod(modid="BiomesOPlenty", name="Biomes O' Plenty", version=Version.VERSION, dependencies="after:Natura")
|
@Mod(modid="BiomesOPlenty", name="Biomes O' Plenty", version=Version.VERSION, dependencies="after:Natura; required-after:Forge@FORGE_VERSION@")
|
||||||
@NetworkMod(clientSideRequired=true, serverSideRequired=false)
|
@NetworkMod(clientSideRequired=true, serverSideRequired=false)
|
||||||
public class BiomesOPlenty
|
public class BiomesOPlenty
|
||||||
{
|
{
|
||||||
|
|
|
@ -8,7 +8,7 @@ public class BOPStructures
|
||||||
{
|
{
|
||||||
public static void init()
|
public static void init()
|
||||||
{
|
{
|
||||||
MapGenStructureIO.func_143034_b(BOPStructureScatteredFeatureStart.class, "BOPTemple");
|
|
||||||
MapGenStructureIO.func_143034_b(BOPStructureVillageStart.class, "BOPVillage");
|
MapGenStructureIO.func_143034_b(BOPStructureVillageStart.class, "BOPVillage");
|
||||||
|
MapGenStructureIO.func_143034_b(BOPStructureScatteredFeatureStart.class, "BOPTemple");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -118,7 +118,7 @@ public class BOPMapGenScatteredFeature extends MapGenStructure
|
||||||
{
|
{
|
||||||
StructureStart structurestart = this.func_143028_c(par1, par2, par3);
|
StructureStart structurestart = this.func_143028_c(par1, par2, par3);
|
||||||
|
|
||||||
if (structurestart != null && structurestart instanceof StructureScatteredFeatureStart && !structurestart.components.isEmpty())
|
if (structurestart != null && structurestart instanceof BOPStructureScatteredFeatureStart && !structurestart.components.isEmpty())
|
||||||
{
|
{
|
||||||
StructureComponent structurecomponent = (StructureComponent)structurestart.components.getFirst();
|
StructureComponent structurecomponent = (StructureComponent)structurestart.components.getFirst();
|
||||||
return structurecomponent instanceof ComponentScatteredFeatureSwampHut;
|
return structurecomponent instanceof ComponentScatteredFeatureSwampHut;
|
||||||
|
|
Loading…
Reference in a new issue