Also don't forget to follow to this post if you haven't, I have some major changes coming up(new furnace like block, more wands, more toolsets, armorsets, new potions, etc..).
Um, Drew56, you may want to consider re-uploading your screenshots. The links to them aren't working.
Also, on a side note, instead of posting the link, you could copy the link for Forums in imgur, the one that says BBCode. If you place that in your topic, it automatically becomes a picture and not just a link so people can view it without wasting time clicking links(that tests their patience and reduces the chances of download). Put the pictures in a spoiler too, helps with organisation.
To create a zip all you need to do is right click then go to new, then click compressed (zipped) folder.
All you need to do now is to place your classes in zip and place your textures in there from where you have them saved.
Thanks for your reply but I actually already solved the problem. I did report this topic to a moderator, hoping to get it removed/deleted but nothing happened.
Thanks for searching but I actually saw that before I read your post and it wasn't working for some reason so I resorted to using the onUpdate method. Thanks anyways!
Well, I don't know about your metadata problem, since I've personally never used that method before, but I should be able to help you with your entity spawning problem. You're currently spawning a entity on both the client and server sides of Minecraft, but since the server-side keeps track of all entities' info (position, data, etc.), the entity that spawned on the client-side can't be picked up. Try adding this into your onItemRightClick() method:
HI EVERYBODY(guy from simpsons movie),I've tried to use this code to get my item to spawn an item on the ground(well actually it spawns it right on top of the player's head). And the problem is that it spawns the item, it falls to the ground and can be picked up, along with some other entity that is the exact same as what the item looks like on the ground but it can't be picked up.
public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer){ par3EntityPlayer.dropItem(362, 1); return par1ItemStack;}
Also on a side note, how would one go about entering the item id of an item that has many variations, i.e the saplings that have ids like 6:1, 6:2. These item ids go where '362' goes in the above code but since it is an integer, I cant put a colon and neither can I put a comma because it the function only has two variables.Thanks for any help at all, even if its just a step towards solving my problem. Your response is greatly appreciated and thanks for reading.
EDIT: I would also like to know how to add default enchants to an item, i.e when I craft them, they already have enchants on them much like the orespawn mod weapons e.g Ultimate Sword. Thanks!
Mod Description: Items: Raw Mystic:Dropped by mining mystic ore with a stone pickaxe or higher.
Mystic Ingot: Made by smelting raw mystic.
Explosive Wand: An item that upon right clicking, sends forth a mystic bolt that explodes upon contact with an entity or block. Less destructive than TNT but still useful. No durability but it does require gunpowder for each use.
Mystic Toolset: The mystic tools mine slightly slower than iron tools, are more durable than iron tools, receive better enchantments than iron tools and can mine any blocks that iron tools can. This is due to the rarity of the ore. These tools have the enchantments "Unbreaking I" and "Efficieny 1" for the pickaxe, shovel and axe. The hoe has "Unbreaking II" and the sword has "Fire Aspect I" and "Looting 1". These enchantments appear upon crafting(although you have to click and move them first to 'update' them). The tools also have right-click abilities. They have a durability of 400 and these abilities use a small amount of durability. The sword can heal 3 hearts for a total of 40 times at full durability, the hoe can spawn 50 melon seeds at full durability, the shovel can spawn a grass block a total of 200 times, the axe can spawn a total of a 100 saplings and the pickaxe can spawn a total of 25 stone pickaxes. There is a video detailing this in the video section.
Mystic Armor: The mystic armor set is better than iron and receives better enchantments. This is due to the rarity of the ore. The armor has default enchantments upon crafting(after clicking and moving to 'update' them). The helm has "Aqua Affinity I" and "Respiration I", the chest has "Projectile Protection I" and "Blast Protection I", the leggings have "Fire Protection I" and "Thorns I" and the boots have "Feather Falling I".
[
Blocks: Mystic Ore: An ore that spawns below a height of 30 in veins of a maximum of 2, meaning its quite rare.
Mystic Block: A block that literally does nothing, just to show off that you have emeralds and mystic ingots.
Gunpowder Block: A handy way to store your gunpowder as well as create the explosive wand.
Things To Note: - This mod does not edit any base classes - This mod uses IDs 2000-2015.
Installation: 1.Download and install Minecraft Forge version 965 for Minecraft 1.6.4 2.Launch Minecraft after doing so, to ensure folders are created. 3.Download my mod by clicking the big "Download" button below. 4.Place it in the mods folder. 5.Play and hopefully enjoy my mod. Please leave helpful feedback regarding bugs and such.
0
0
0
Also don't forget to follow to this post if you haven't, I have some major changes coming up(new furnace like block, more wands, more toolsets, armorsets, new potions, etc..).
0
0
Also, on a side note, instead of posting the link, you could copy the link for Forums in imgur, the one that says BBCode. If you place that in your topic, it automatically becomes a picture and not just a link so people can view it without wasting time clicking links(that tests their patience and reduces the chances of download). Put the pictures in a spoiler too, helps with organisation.
Regards,
Dan_Gray.
0
Thanks for the reply, great to know this post can actually be found :P.
0
Thanks for your reply but I actually already solved the problem. I did report this topic to a moderator, hoping to get it removed/deleted but nothing happened.
0
Thanks! I just updated to version 3 actually.
0
Thanks for searching but I actually saw that before I read your post and it wasn't working for some reason so I resorted to using the onUpdate method. Thanks anyways!
0
Wow that worked! Thanks man! I think I understand it now.
Hope I see you around the modding community more often :P.
0
0
HI EVERYBODY(guy from simpsons movie),I've tried to use this code to get my item to spawn an item on the ground(well actually it spawns it right on top of the player's head). And the problem is that it spawns the item, it falls to the ground and can be picked up, along with some other entity that is the exact same as what the item looks like on the ground but it can't be picked up.Also on a side note, how would one go about entering the item id of an item that has many variations, i.e the saplings that have ids like 6:1, 6:2. These item ids go where '362' goes in the above code but since it is an integer, I cant put a colon and neither can I put a comma because it the function only has two variables.Thanks for any help at all, even if its just a step towards solving my problem. Your response is greatly appreciated and thanks for reading.
EDIT: I would also like to know how to add default enchants to an item, i.e when I craft them, they already have enchants on them much like the orespawn mod weapons e.g Ultimate Sword. Thanks!
0
0
Thanks, your response is appreciated.
1
Mod Description:
Items:
Raw Mystic:Dropped by mining mystic ore with a stone pickaxe or higher.
Mystic Ingot: Made by smelting raw mystic.
Explosive Wand: An item that upon right clicking, sends forth a mystic bolt that explodes upon contact with an entity or block. Less destructive than TNT but still useful. No durability but it does require gunpowder for each use.
Mystic Toolset: The mystic tools mine slightly slower than iron tools, are more durable than iron tools, receive better enchantments than iron tools and can mine any blocks that iron tools can. This is due to the rarity of the ore. These tools have the enchantments "Unbreaking I" and "Efficieny 1" for the pickaxe, shovel and axe. The hoe has "Unbreaking II" and the sword has "Fire Aspect I" and "Looting 1". These enchantments appear upon crafting(although you have to click and move them first to 'update' them). The tools also have right-click abilities. They have a durability of 400 and these abilities use a small amount of durability. The sword can heal 3 hearts for a total of 40 times at full durability, the hoe can spawn 50 melon seeds at full durability, the shovel can spawn a grass block a total of 200 times, the axe can spawn a total of a 100 saplings and the pickaxe can spawn a total of 25 stone pickaxes. There is a video detailing this in the video section.
Mystic Armor: The mystic armor set is better than iron and receives better enchantments. This is due to the rarity of the ore. The armor has default enchantments upon crafting(after clicking and moving to 'update' them). The helm has "Aqua Affinity I" and "Respiration I", the chest has "Projectile Protection I" and "Blast Protection I", the leggings have "Fire Protection I" and "Thorns I" and the boots have "Feather Falling I".
Blocks:
Mystic Ore: An ore that spawns below a height of 30 in veins of a maximum of 2, meaning its quite rare.
Mystic Block: A block that literally does nothing, just to show off that you have emeralds and mystic ingots.
Gunpowder Block: A handy way to store your gunpowder as well as create the explosive wand.
Crafting Recipes:
Mystic Ingot :
Mystic Block :
Explosive Wand :
Mystic Pickaxe:
Mystic Axe:
Mystic Sword:
Mystic Hoe:
Mystic Shovel:
Gunpowder Block:
Mystic Helm:
Mystic Chestplate:
Mystic Leggings:
Mystic Boots:
Video:
Changelog:
Things To Note:
- This mod does not edit any base classes
- This mod uses IDs 2000-2015.
Installation:
1.Download and install Minecraft Forge version 965 for Minecraft 1.6.4
2.Launch Minecraft after doing so, to ensure folders are created.
3.Download my mod by clicking the big "Download" button below.
4.Place it in the mods folder.
5.Play and hopefully enjoy my mod.
Please leave helpful feedback regarding bugs and such.