
coolboy4531
Members-
Posts
584 -
Joined
-
Last visited
Everything posted by coolboy4531
-
Just use the Forge EnumHelper...
-
You did use some code for EntityTNTPrimed instead of your custom TNT.
-
[1.6.4]Rendering TileEntities in Inventory
coolboy4531 replied to Democretes's topic in Modder Support
Not as of right now. IItemRenderer isn't even that hard, it's the best thing you can find as of now. (i think ;P) -
[1.7.2] How to create spawn eggs in minecraft forge 1.7.2
coolboy4531 replied to thomassu's topic in Modder Support
Lang files. -
Try looking at HUD mods.
-
So, you are saying it gives you like a blank book (aka: no metadata added?) You might have to set the metadata to what page you want, or if you did: look at your creative inventory and look at the ID. EDIT: Found it! You never actually allowed subtypes (metadata) to be allowed in your items. In your constructor public bookOfShadows(int id) { super(id); setContainerItem(this); setMaxStackSize(1); } Add: setHasSubtypes(true);
-
2 ways: Make your entity float when you register its model. Look at other flying mobs (EntityGhast, EntityBlaze, EntityBat) etc. extends [b]EntityFlying[/b] implements IMob
-
[1.6.4] Making a transparent block that gives out light.
coolboy4531 replied to majesticmadman98's topic in Modder Support
a) In your block... b) You want to remove your textures? -
Now show us GenericBlock.
-
Strange, let me check up some stuff. That might be my fault EDIT: Okay, it was my fault... Didn't read all of your code. So here's the problem, you converted all your items to ItemStacks? Remove ALL of this from your main class. ItemStack stickStack = new ItemStack(Item.stick); ItemStack flowerShadowStack = new ItemStack(amw.witchcraft.witchcraft.flowerShadow); ItemStack wandPushStack = new ItemStack(amw.witchcraft.witchcraft.wandPush); ItemStack soulFragmentStack = new ItemStack(amw.witchcraft.witchcraft.soulFragment); ItemStack vineStack = new ItemStack(Block.vine); ItemStack flowerSoulStack = new ItemStack(amw.witchcraft.witchcraft.flowerSoul); ItemStack paperStack = new ItemStack(Item.paper); ItemStack leatherStack = new ItemStack(Item.leather); ItemStack blazeRodStack = new ItemStack(Item.blazeRod); ItemStack bookOfShadowsStack = new ItemStack(amw.witchcraft.witchcraft.bookOfShadows); And use the item instead. Example: blazeRod = Item.blazeRod bookOfShadows = witchcraft.bookOfShadows So replace it bookOfShadowsStack to witchcraft.bookOfShadows in the crafting recipe I'll help you with the textures, later. When you actually fix this problem ^^
-
Show us GenericBlockBase, please. Thank you
-
You need to conceal the recipe into its own parentheses. The problem is you are trying to call the metadata INSIDE the process of creating the recipe. Character =/= Integer. Here: GameRegistry.addRecipe(new ItemStack(bookOfShadowsStack, 1, 1), new Object[] { "aba", "aca", "ded", 'a', paperStack, 'b', flowerShadowStack, 'c', soulFragmentStack, 'd', leatherStack, 'e', blazeRodStack }); Good luck, my friend
-
Oh I thought you were using 1.6, my bad. Hmm. Strange, as if its spawning a ghost entity. Try looking at other onBlockActivated methods. In BlockWorkbench, it activates when (world.isRemote), try removing the !
-
forge wont open please help
coolboy4531 replied to minecraft forge question's topic in Support & Bug Reports
I'm assuming you downloaded the installer? It's a jar file, it uses Java. Update your java version, please. -
[1.6.4] Changable block textures (solved)
coolboy4531 replied to majesticmadman98's topic in Modder Support
Have you even set the amount of light level you want it to give off? I see NOTHING relating to light level, expect changing the texture corresponding to the block. -
Can I see where you registered your Entity, or anything that relates to that Entity?
-
Wait wait wait. How do you have this: Blocks.air Shouldn't it be Block.air? Shouldn't you have also gotten an error?
-
[1.6.4] Making a transparent block that gives out light.
coolboy4531 replied to majesticmadman98's topic in Modder Support
@Override public boolean isOpaqueCube() { return false; } @Override public boolean renderAsNormalBlock() { return false; } EDIT: Draco beat me to it -
What do you mean metadata doesn't work? GameRegistry.addRecipe(itemname, stacksize, metadata, //then recipe stuff)
-
ItemFood - core for controlling those stuff. Saturation is hidden, it doesn't show up in-game; works in the background. Saturation is basically how much let's say FAT the food gives you, the more saturation the longer it takes for you to lose hunger.
-
I'm really not sure, I'm not into all these packet stuff. Wait for further help >< Thanks.
-
Sigh. Put it in your item class. You can add as many par3List.add("text here"); as you want, just be aware it creates a new line every .add("")
-
If I remember, when I created a mob, that I didn't want to despawn I made it: @Override protected void despawnEntity() {}
-
By lore do you mean text under the item? public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) { par3List.add("text here"); }