Added Config for Corium
Added a line in our config file for setting the block ID of Corium. Even though it's only temporary code that's going to be removed later, people need that to run our dev builds properly.
This commit is contained in:
parent
81386a08e5
commit
238661158e
2 changed files with 4 additions and 5 deletions
|
@ -21,6 +21,7 @@ public class DDProperties
|
|||
public final int TransientDoorID;
|
||||
public final int FabricBlockID;
|
||||
public final int RiftBlockID;
|
||||
public final int CoriumBlockID;
|
||||
|
||||
/**
|
||||
* World Generation Block IDs
|
||||
|
@ -181,6 +182,8 @@ public class DDProperties
|
|||
GoldenDoorID = config.getBlock("Gold Door Block ID", 1980).getInt();
|
||||
GoldenDimensionalDoorID = config.getBlock("Gold Dim Door Block ID", 1981).getInt();
|
||||
|
||||
CoriumBlockID = config.getBlock("Corium Block ID", 900).getInt();
|
||||
|
||||
WarpDoorItemID = config.getItem("Warp Door Item ID", 5670).getInt();
|
||||
RiftRemoverItemID = config.getItem("Rift Remover Item ID", 5671).getInt();
|
||||
StableFabricItemID = config.getItem("Stable Fabric Item ID", 5672).getInt();
|
||||
|
|
|
@ -291,15 +291,11 @@ public class mod_pocketDim
|
|||
this.riftGen.initGateways();
|
||||
|
||||
coriumFluid = new LiquidCorium("Corium").setDensity(1000).setTemperature(3473).setDensity(9400).setLuminosity(6).setRarity(EnumRarity.rare);
|
||||
coriumBlock = new LiquidCoriumBlock(900, coriumFluid, Material.lava).setQuantaPerBlock(16).setTickRate(20).setTickRandomly(true).setUnlocalizedName("Corium");
|
||||
coriumBlock = new LiquidCoriumBlock(properties.CoriumBlockID, coriumFluid, Material.lava).setQuantaPerBlock(16).setTickRate(20).setTickRandomly(true).setUnlocalizedName("Corium");
|
||||
FluidRegistry.registerFluid(coriumFluid);
|
||||
GameRegistry.registerBlock(coriumBlock,"Corium");
|
||||
LanguageRegistry.addName(coriumBlock, "Corium");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Register loot chests
|
||||
DDLoot.registerInfo(properties);
|
||||
proxy.loadTextures();
|
||||
|
|
Loading…
Add table
Reference in a new issue