1
0
mirror of https://github.com/chylex/Hardcore-Ender-Expansion.git synced 2025-04-14 05:15:42 +02:00

Void Chest recipe, done some TODOs

This commit is contained in:
chylex 2014-11-06 20:33:07 +01:00
parent ff9ff2aac1
commit 3afde52195
6 changed files with 18 additions and 12 deletions

View File

@ -15,7 +15,6 @@ import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.ChunkCoordinates;
import net.minecraft.world.World;
import chylex.hee.render.texture.TextureBiomeCompass;
import chylex.hee.system.logging.Log;
import chylex.hee.system.savedata.WorldDataHandler;
import chylex.hee.system.savedata.types.DragonSavefile;
import chylex.hee.system.util.MathUtil;
@ -81,8 +80,6 @@ public class ItemBiomeCompass extends Item{
locations = new ArrayList<>(IslandBiomeBase.biomeList.size());
for(int a = 0; a < IslandBiomeBase.biomeList.size(); a++)locations.add(a,new HashSet<ChunkCoordinates>());
lastSavedX = lastSavedZ = Integer.MAX_VALUE;
Log.info("!!!!!!! IBC REGISTER");
}
// BIOME DETECTION

View File

@ -10,19 +10,29 @@ import chylex.hee.item.ItemList;
import cpw.mods.fml.common.registry.GameRegistry;
public final class RecipeList{
public static void addRecipes(){ // TODO void chest
public static void addRecipes(){
// SHAPED
GameRegistry.addShapedRecipe(new ItemStack(ItemList.altar_nexus),
"DED",
'D',Items.diamond, 'E',Items.ender_eye
'D', Items.diamond,
'E', Items.ender_eye
);
GameRegistry.addShapedRecipe(new ItemStack(BlockList.essence_altar),
"LLL", "BNB", "OOO",
'B',Blocks.bookshelf, 'L',Items.leather,
'O',Blocks.obsidian, 'N',ItemList.altar_nexus
'B', Blocks.bookshelf,
'L', Items.leather,
'O', Blocks.obsidian,
'N', ItemList.altar_nexus
);
GameRegistry.addShapedRecipe(new ItemStack(BlockList.void_chest),
"PPP", "ECE", "PPP",
'C', Blocks.ender_chest,
'E', BlockList.endium_block,
'P', ItemList.end_powder
);
GameRegistry.addShapedRecipe(new ItemStack(BlockList.decomposition_table),

View File

@ -850,7 +850,7 @@ public final class KnowledgeRegistrations{
new KnowledgeFragmentText(684).setContents("It will not steal from players who wear Enderman Head.").setPrice(3).setUnlockRequirements(682)
}),
ENDER_GUARDIAN.setPos(1,8).setUnlockPrice(15).setDiscoveryReward(10).setFragments(new KnowledgeFragment[]{
ENDER_GUARDIAN.setNonBuyable().setPos(1,8).setUnlockPrice(15).setDiscoveryReward(10).setFragments(new KnowledgeFragment[]{ // TODO unblock
new KnowledgeFragmentText(690).setContents("Large golem-like creature that spawns in the Enchanted Island (Laboratory).").setPrice(5).setUnlockOnDiscovery(), // TODO lab
new KnowledgeFragmentText(691).setContents("It only attacks players when provoked.").setPrice(2).setUnlockRequirements(690),
new KnowledgeFragmentText(692).setContents("When attacking, it charges the player with melee attacks, and after a short while it teleports away and creates a blast under the player.").setPrice(5).setUnlockRequirements(690),

View File

@ -53,6 +53,6 @@ public class C05CustomWeather extends AbstractClientPacket{
e.serverPosZ = (int)(z*32D);
e.rotationYaw = e.rotationPitch = 0F;
e.setEntityId(entityId);
world.addWeatherEffect(e); // TODO not showing up?
world.addWeatherEffect(e);
}
}

View File

@ -117,7 +117,7 @@ public class HeeDebugCommand extends HeeCommand{
}
else if (args[0].equalsIgnoreCase("test") && args.length == 2){
try{
((Runnable)Class.forName(args[1]).getField("$debugTest").get(null)).run();
((Runnable)Class.forName("chylex.hee."+args[1]).getField("$debugTest").get(null)).run();
sendMessage(sender,"Test done.");
}catch(Throwable t){
sendMessage(sender,"Test not found.");

View File

@ -47,8 +47,7 @@ public class TileEntityEnergyCluster extends TileEntityAbstractSynchronized{
data.update(this);
}
else{
// TODO fix
//if (worldObj.rand.nextInt(5) == 0)HardcoreEnderExpansion.fx.energyCluster(this);
if (worldObj.rand.nextInt(5) == 0)HardcoreEnderExpansion.fx.energyCluster(this);
}
shouldNotExplode = false;