Everything posted by coolboy4531
-
[1.6.4] Get the Resource/Resource location of any item.
What are even trying to do? Why not just go to Minecraft assets. c:
-
Only Mobs from my Mod
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)
-
Textures Not Being Found [Please Help]
Where did you put your textures? Give me the path, or image of Eclipse path.
-
[1.7.2] TNT, setResistance, and createExplosion help
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.
-
Rideable Mobs Help [1.6.2]
Lovely, lovely packets :3
-
[SOLVED] Turn Slabs into Double Slabs
I suggest you look unto BlockHalfSlab. It goes into detail with the block bounds.
-
[1.7.2] Auto join a server
You have however, registered events?
-
1.7.2 setup project Minecraft is missing!
Delete the ExampleMod, there are problems with it (outdated).
-
[1.6.4] Ore not dropping XP?
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
Register your blocks in preInit?
-
[1.6.5] addSmelting custom blocks to custom ingots?
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.
-
[Not Solved]Item Render error 1.7.2
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?
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?
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)
Either get: 10.12.0.1024 [recommended] or: 10.12.0.1028 [Latest - working]
-
Written book issues
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
We can't even READ your code, because you copy-pasted from Notepad, I assume?
-
[1.6.4] addChatMessage on a custom event
Show me your code, with the !world.isRemote added.
-
[1.6.4] addChatMessage on a custom event
You are calling it in the Client and the Server. Use if (!world.isRemote) { }
-
[1.6.4]Custom Tnt
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 --
-
1.6.4 Custom Arrow Hits Shooter
You can also spawn the arrow further away from the player.
-
Written book issues
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?
-
[1.6.4]Custom Tnt
Did you bind your texture for your entity? Not sure, but I found this in RenderTNTPrimed. loadTexture("/terrain.png");
-
[1.7.2] addRecipe
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
-
Mob animations issue
Not really, unless I'm missing something obvious.
IPS spam blocked by CleanTalk.