Everything posted by coolboy4531
-
[1.7.2] adding Tools/ToolMaterial
Just use the Forge EnumHelper...
-
[1.6.4]Custom Tnt
You did use some code for EntityTNTPrimed instead of your custom TNT.
-
[1.6.4]Rendering TileEntities in Inventory
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
Lang files.
-
1.6.2 Moving GUI's
Try looking at HUD mods.
-
Written book issues
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);
-
Custom entity Applying bonemeal - like effects to plants in certain area?
Mojang released a snapshot where villagers instantly grow crops. Maybe you can make the mob check its surrounded for what stage it is in, and then remove the block and change the metadata (stage)
-
[1.6.2]Flying Animation Help
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.
a) In your block... b) You want to remove your textures?
-
Making Block Drop Other Block
Now show us GenericBlock.
-
Written book issues
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 ^^
-
Making Block Drop Other Block
Show us GenericBlockBase, please. Thank you
-
Written book issues
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
-
Spawning an Entity
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
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)
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.
-
Spawning an Entity
Can I see where you registered your Entity, or anything that relates to that Entity?
-
Spawning an 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.
@Override public boolean isOpaqueCube() { return false; } @Override public boolean renderAsNormalBlock() { return false; } EDIT: Draco beat me to it
-
Written book issues
What do you mean metadata doesn't work? GameRegistry.addRecipe(itemname, stacksize, metadata, //then recipe stuff)
-
Where is Hunger/Saturation done?
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.
-
[1.6.4] EntityLiving and NBT Data
I'm really not sure, I'm not into all these packet stuff. Wait for further help >< Thanks.
-
[1.7.2] How to add lore to an item?
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("")
-
Spawning an Entity
If I remember, when I created a mob, that I didn't want to despawn I made it: @Override protected void despawnEntity() {}
-
[1.7.2] How to add lore to an item?
By lore do you mean text under the item? public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) { par3List.add("text here"); }
IPS spam blocked by CleanTalk.