Jump to content

coolboy4531

Members
  • Posts

    584
  • Joined

  • Last visited

Everything posted by coolboy4531

  1. * What went wrong: Could not resolve all dependencies for configuration ':compile > Could not resolve :forgeSrc:1.7.2-10.12.0.977. Required by: com.coolboy4531.tb:Forge 1.7.2:0.1 > Could not GET 'https://libraries.minecraft.net//forgeSrc/1.7.2-10.12.0.977/ forgeSrc-1.7.2-10.12.0.977.pom'. Received status code 403 from server: Forbidden How do I solve this?
  2. @Override public void onArmorTickUpdate(World world, EntityPlayer player, ItemStack itemStack) { if (player.getCurrentItemOrArmor(4) != null && player.getCurrentArmor(3) != null && player.getCurrentItemOrArmor(2) != null && player.getCurrentItemOrArmor(1) != null) { ItemStack helmet = player.getCurrentItemOrArmor(4); ItemStack plate = player.getCurrentItemOrArmor(3); ItemStack legs = player.getCurrentItemOrArmor(2); ItemStack boots = player.getCurrentItemOrArmor(1); if (helmet.getItem() == yourHelmet && plate.getItem() == yourChestPlate && legs.getItem() == yourLeggings && boots.getItem() == yourBoots) { player.addPotionEffect((new PotionEffect(Potion.potionname.id, field, field))); } } Item class.
  3. One thing is, use your resources... (don't double post either) By resources I mean the MinecraftForge Wiki, tons of tutorials help out there. I don't even think you have to put it in post init. (correct me if I'm wrong someone) I mean take a look at your code, you aren't even applying any achievements to your AchievementPage. public static AchievementPage page1 = new AchievementPage("More Achievements!", paramAchievement //add more if u want); If you want to add more, I believe you need to just plainly add more. Don't over look the obvious... Another thing you need to keep in mind is that if you have less than 2 achievements the AchievementPage will break.
  4. And this... is why you need to know basic Java. To send packets: You got to learn what to send, you don't just look at a tutorial and copy it. Let me see what I can find to help you out.
  5. Steps to produce: Make a Potion Effect. Make an event handler. > Check if the potion effect is active. > Use doubles to make it 1%. > Get block underneath player. > Change block to _____.
  6. Register everything in preInit.
  7. There isn't a specific method for : getName() : However, there is a field in Achievement for the name. public Achievement(String paramString1, String paramString2, int paramInt1, int paramInt2, Item paramItem, Achievement paramAchievement) Let's use the OpenInventory achievement. Where paramString1 is the name [achievement.openInventory] Where paramString2 is the desc [openInventory] : Achievement.class -- { "achievement." + paramString2 + ".desc" } Also, on your second LanguageRegistry.instance().addStringLocalization -- make sure that it is however (correct me if I'm wrong) ("achievement." + descriptionName + ".desc", //fields)
  8. http://www.minecraftforge.net/forum/index.php?topic=15232.0
  9. 1.7.2 does not use IDs anymore, instead the use the Block/Item itself.
  10. Or you can make an ugly code, and use events. Create Tick Event >> Check if in Dimension >> Check all Blocks [air:0] >> Replace all Blocks [air:0] -- [water:8/9] 8 for Flowing Water 9 for Still Water If you need further help, you may ask
  11. Now, is the time you start learning to use your sources :DDDD For instance, BiomeGenHell is a biome that can NOT spawn vanilla mobs. *anything pop in your mind?* public BiomeGenHell(int par1) { super(par1); this.spawnableMonsterList.clear(); //this part this.spawnableCreatureList.clear(); //this part this.spawnableWaterCreatureList.clear(); //this part this.spawnableCaveCreatureList.clear(); //this part //.clear() - Clear the list of all possible spawns. //.add() - Adding new spawns, after removing / clearing all spawns. this.spawnableMonsterList.add(new SpawnListEntry(EntityGhast.class, 50, 4, 4)); this.spawnableMonsterList.add(new SpawnListEntry(EntityPigZombie.class, 100, 4, 4)); this.spawnableMonsterList.add(new SpawnListEntry(EntityMagmaCube.class, 1, 4, 4)); }
  12. Well obviously, if your Forge != Server Forge, then it wouldn't work.
  13. Are you even sure you installed Forge on the server correctly? It isn't the same as client installation...
  14. When you mean server do you mean clientserver, OR do you mean like a vanilla Minecraft server? If so...
  15. Minecraft.getMinecraft().mcDataDir.getName(); Is this what you are looking for?
  16. Don't know about seeds/wheat but.. > SaplingGrowTreeEvent > BonemealEvent
  17. What method are you using to place the block? (or best: give us the class you used to generate the block)
  18. Is it possible to draw a string in-game without any base edits? Sounds like a noob question, yeah heck even I think so myself. Another is that I have little knowledge in 1.7.2 modding.
  19. Like Optifine? Go take a look on how they do it.
  20. 1) Create a new FurnaceRecipes for your custom furnace, and register it to that. 2) Create custom settings for your furnace if you want to change the inputs, look at the vanilla Furnace.
  21. Try adding an onFoodEaten method. public ItemStack onFoodEaten(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) { par3EntityPlayer.addPotionEffect((new PotionEffect(Potion.nightVision.getId(), 100, 0))); par3EntityPlayer.addPotionEffect((new PotionEffect(Potion.wither.getId(), 100, 0))); }
  22. Like mardiff said, change your path name nuke_mod to nukes
  23. I haven't explored that far, nor have I ever meant to study on Explosions. Try and look around, test some stuff, solving your own problems will make you more advanced into these things. Good luck, I'll try to help around, too
  24. Then why not look iChun's Sync mod, as look how he does it?
  25. Hmm. Let's see here. Okay... got it. 1) setResistance = Resistance, it saves as a data value, and when it reaches 0, it gets destroyed. 2) Haven't looked into detail, somewhere in Explosion. If you can override that, or create your new handler for explosions you can change the value.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.