
coolboy4531
Members-
Posts
584 -
Joined
-
Last visited
Everything posted by coolboy4531
-
[1.6.4] Get the Resource/Resource location of any item.
coolboy4531 replied to lexwebb's topic in Modder Support
What are even trying to do? Why not just go to Minecraft assets. c: -
EntityRegistry... void addSpawn(Class <? extends EntityLiving > entityClass, int weightedProb, int min, int max, EnumCreatureType typeOfCreature, BiomeGenBase... biomes) void removeSpawn(Class <? extends EntityLiving > entityClass, EnumCreatureType typeOfCreature, BiomeGenBase... biomes)
-
Where did you put your textures? Give me the path, or image of Eclipse path.
-
[1.7.2] TNT, setResistance, and createExplosion help
coolboy4531 replied to Parker8283's topic in Modder Support
The float in TNT is not how strong the TNT is, its however how big the explosion is... I suppose you are looking how to change it, well its in Explosion.class. -
Lovely, lovely packets :3
-
[SOLVED] Turn Slabs into Double Slabs
coolboy4531 replied to Bedrock_Miner's topic in Modder Support
I suggest you look unto BlockHalfSlab. It goes into detail with the block bounds. -
You have however, registered events?
-
1.7.2 setup project Minecraft is missing!
coolboy4531 replied to ClarmonkGaming's topic in Modder Support
Delete the ExampleMod, there are problems with it (outdated). -
Well, what you are basically telling it to do is: If the block I mined is not (the block I want's ID), then drop XP. You are basically CANCELLING the whole process because the if statement can't send you to the things you want it to do, since it doesn't match. Like Jdb100 said, try replacing != with ==, unless you are doing something extremely different then how we are seeing it.
-
[Solved] Blocks Disappearing Upon Reloading World
coolboy4531 replied to fritterdonut's topic in Modder Support
Register your blocks in preInit? -
[1.6.5] addSmelting custom blocks to custom ingots?
coolboy4531 replied to Kamber56's topic in Modder Support
LOL, anytime bud, anytime. Block is just getting the class file from Minecraft, to retrieve the dirt block and set it as an ID, it just has to be the ID number of the block. Try learning more Java before starting to mod, you'll need it. -
If I'm not mistaken, Minecraft automatically puts a "asset/" so you can just remove that.
-
[1.6.5] addSmelting custom blocks to custom ingots?
coolboy4531 replied to Kamber56's topic in Modder Support
First of all, there is no such thing as 1.6.5, lol. It's the same exact thing... look at addSmelting's Declaration its: void addSmelting(int INPUT, ItemStack OUTPUT, float xp) You can place it like this: GameRegistry.addSmelting(genericOre.itemID, new ItemStack(genericIngot, 1), 0.1F); This should be pretty simple and self explanatory, imo. -
[1.7.2] [SOLVED] How to add tools and armor?
coolboy4531 replied to Texenox's topic in Modder Support
ffs -- proxies easiest thing ever invented. You can look on the MCForge Wiki for tutorials made for people who are new to Forge. Proxies: http://www.minecraftforge.net/wiki/Proxies MCForgeWiki: http://www.minecraftforge.net/wiki/Main_Page -
[1.7.2 #1027] Error building mod (forge-Src-1.7.2-10.12.0.1027.pom)
coolboy4531 replied to dand0's topic in Modder Support
Either get: 10.12.0.1024 [recommended] or: 10.12.0.1028 [Latest - working] -
Ha, lol just be lucky I'm a kind person. I'm really not sure what the problem is, but judging on how you arranged it I never actually specifically told you where to put them. Try moving: public static final int doNotUse = 0, srcsOfPower = 1, soulBush = 2, LLflowerRecipe = 3, shadowBush = 4; public static final String[] names = new String[] { "Book of Shadows", "Sources of Power", "Soul Bush", "Long Lost Flower Recipe", "Shadow Bush" }; and place it after this: public class bookOfShadows extends Item { To make it look like this: public class bookOfShadows extends Item { public static final int doNotUse = 0, srcsOfPower = 1, soulBush = 2, LLflowerRecipe = 3, shadowBush = 4; public static final String[] names = new String[] { "Book of Shadows", "Sources of Power", "Soul Bush", "Long Lost Flower Recipe", "Shadow Bush" };
-
1.6.4 Gui slots not registered correctly
coolboy4531 replied to Spartanboy56's topic in Modder Support
We can't even READ your code, because you copy-pasted from Notepad, I assume? -
Show me your code, with the !world.isRemote added.
-
You are calling it in the Client and the Server. Use if (!world.isRemote) { }
-
9.11.1.916 for 1.6.4. I really don't know. tbh. -- iow: i don't think i can help you any further --
-
You can also spawn the arrow further away from the player.
-
Then why don't you just use addInformation as the metadata? Or if you are having trouble with metadata, you could just create seperate items for what you want the book to say. Make your decision [use addInformation with metadata] OR [Create multiple classes for your book, whilst using addInformation] This is going to be a long post so be prepared. In my opinion, metadata is the best way to store items and save space. In your item class [bookOfShadows.class] : add public static final int doNotUse = 0, srcsOfPower = 1, soulBush = 2, LLflowerRecipe = 3, shadowBush = 4; public static final String[] names = new String[] { "Book of Shadows", "Sources of Power", "Soul Bush", "Long Lost Flower Recipe", "Shadow Bush" }; @SideOnly(Side.CLIENT) public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) { switch(par1ItemStack.getItemDamage()) { case 0: par3List.add("Flowers hold the most powerful magick, and to be able to harness magick, you have to understand them."); break; case 1: par3List.add("The Soul Bush can be found deep underground, where an ancient flower is trapped inside stone. It gives off light, even through the stone. If you smelt it, you'll find a soul fragment inside. This is what's left of the flower that once graced our lands."); break; case 2: par3List.add("Combine a wooden stick, vines and a soul fragment and the soul fragment will attach to these, and the long lost flower will be in your hand."); break; case 3: par3List.add("This bush is more common than the Soul Bush, but it's nature is decieving. Don't try to walk on it, as you will fall straight through."); break; } } And remove all of your static method, and { public static ItemStacking reading; } Now replace: @SuppressWarnings({ "rawtypes", "unchecked" }) @Override @SideOnly(Side.CLIENT) public void getSubItems(int itemId, CreativeTabs creativeTab, List subTypes) { subTypes.add(reading); } } to @SideOnly(Side.CLIENT) public void getSubItems(int par1, CreativeTabs par2CreativeTabs, List par3List) { for (int x = 0; x < 4; x++) { par3List.add(new ItemStack(this, 1, x)); } } Where a stands for the first metadata, b second, etc. In your main class [witchcraft.class] inside load(FMLInitializationEvent event) MAKE SURE YOU PUT IT AT THE END OF THE METHOD AKA AFTER GameRegistry.addSmelting(amw.witchcraft.witchcraft.bushSoul.blockID, soulFragmentStack, 0.1f); for (int i = 0; i < names.length; i++) LanguageRegistry.addName(new ItemStack(bookOfShadows, 1, i), bookOfShadows.names[i]); For crafting recipes, do not use "do not use" because its reserved for Book Of Shadows [no lore], and remember to look at your item [bookOfShadows] class for the ints. Put this after (what I said above) and you are all set. GameRegistry.addRecipe(new ItemStack(bookOfShadows, 1, bookOfShadows.srcsOfPower), new Object[] { "aba", "aca", "ded", 'a', paperStack, 'b', flowerShadowStack, 'c', soulFragmentStack, 'd', leatherStack, 'e', blazeRodStack }); Phew, I worked pretty god damn hard lol. Yeah, Java is a pain in the ass at night. Anymore problems, you can just tell me, but remember to show code/error reports. and also.... do I get candy?
-
Did you bind your texture for your entity? Not sure, but I found this in RenderTNTPrimed. loadTexture("/terrain.png");
-
Show me these: at freshpower.FPItems.recipes(FPItems.java:66) : Line 66 at freshpower.FPItems.init(FPItems.java:17) : Line 17 at freshpower.FreshPower.preinit(FreshPower.java:44) : Line 44
-
Not really, unless I'm missing something obvious.