
coolboy4531
Members-
Posts
584 -
Joined
-
Last visited
Everything posted by coolboy4531
-
* 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?
-
[1.6.2] Add potion effect on wear full specific armour
coolboy4531 replied to SackCastellon's topic in Modder Support
@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. -
[SOLVED]Help with achievements code. Forge 1.7.2 modding
coolboy4531 replied to MinecraftMart's topic in Modder Support
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. -
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.
-
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 _____.
-
Register everything in preInit.
-
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)
-
[UNSOLVED][1.7.2] Mod works in eclipse not in minecraft
coolboy4531 replied to freethemice's topic in Modder Support
http://www.minecraftforge.net/forum/index.php?topic=15232.0 -
[1.7.2][Fixed]Block/ItemBlock RuntimeException at registration
coolboy4531 replied to GotoLink's topic in Modder Support
1.7.2 does not use IDs anymore, instead the use the Block/Item itself. -
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)); }
-
Well obviously, if your Forge != Server Forge, then it wouldn't work.
-
Are you even sure you installed Forge on the server correctly? It isn't the same as client installation...
-
When you mean server do you mean clientserver, OR do you mean like a vanilla Minecraft server? If so...
-
[1.6.4] RESOLVED How to get the running Minecraft directory
coolboy4531 replied to DiabolusNeil's topic in Modder Support
Minecraft.getMinecraft().mcDataDir.getName(); Is this what you are looking for? -
Don't know about seeds/wheat but.. > SaplingGrowTreeEvent > BonemealEvent
-
What method are you using to place the block? (or best: give us the class you used to generate the block)
-
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.
-
Like Optifine? Go take a look on how they do it.
-
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.
-
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))); }
-
Like mardiff said, change your path name nuke_mod to nukes
-
[1.7.2] TNT, setResistance, and createExplosion help
coolboy4531 replied to Parker8283's topic in Modder Support
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 -
[1.6.4] Get the Resource/Resource location of any item.
coolboy4531 replied to lexwebb's topic in Modder Support
Then why not look iChun's Sync mod, as look how he does it? -
[1.7.2] TNT, setResistance, and createExplosion help
coolboy4531 replied to Parker8283's topic in Modder Support
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.