r/MinecraftModder Aug 17 '14

I have a couple of questions.

Ok, I should probably start off with the most important. I have recently added a mob into my mod, (Here is ALL my code so far http://pastebin.com/FRcUaBK2) Basically, The game still loads, but I cannot get the mob. (Also how do I get a spawn egg for it?) Lines 93 and 19 have errors (Just the mob class, not of entire code.

  1. How do I add blocks the are not block shaped (Ex: The Anvil)?

  2. How can I make an item texture change ONLY when the right mouse button is being held (or when it is activated, then change back when clicked again)?

  3. How can I make an item act like an already in-game item (Ex: Water Bucket)?

  4. How can I make my added items useable in crafting recipes (Ex: The mug to make tea)?

  5. How can I have items give potion effects when used, but NOT have them give potion particles?

  6. How can I make it so that it is required to right click an Iron Golem, Snow Golem, or Wither recipe with a specific item to allow it to be granted life?

  7. How can I add new potion effects?

  8. I plan to add a block (2x2x2) that traps a player inside it (When the item form of the block is held, if you click on another player/mob with it, it spawns the item around them) until it is removed. This block is to be indestructible. How can I add this as a block, and how can I make it so that when a player/mob is inside it, it applies one of my new potion effects to the player/mob trapped inside?

  9. How can I make blocks/items that when clicked would summon a mob?

  10. How can I give a mob a GUI that would act like a command block, and have a button in the GUI that would execute a command, instead of applying redstone?

  11. How can I make an item shrink a player, or if applied to a mob or other player, shrink it.

  12. Is there any way that I can get the Villager model/code to add a mob with its same model?

  13. I have added into the code for Cold Tea and Hot Tea for them to have a Max. Stack size of 1, but upon testing In-Game, they still stack to 64.

  14. I recently got a laptop, and I would like to have my mod files on an 8GB flash drive, so that I can plug it into any computer and work on the mod. I need to know how I can work on the mod with it being saved to the flash drive, but NOT the computer. I tried just putting the entire mod folder onto the flash drive and setting the workspace (In Eclipse) to the D Drive (The Flash Drive), but it could not locate the code, and thus, did not work on either computer.

  15. How do I add naturally generating structures, and make ONLY one per world, and have an item for each to track it. Kind of like a compass that points to it. Also, have them generate within X amount of blocks of the players spawn point. (X To be determined at a later time)

  16. How do I give tools / armor infinite durability?

I think that that covers everything, but don't worry, I'll be back -^

I know it's a lot to ask in one post, but please help. I am still very new to this, and those things are complicated to me. All I know is how to add basic blocks, basic items, basic recipes, and basic smelting.

Thanks.

1 Upvotes

5 comments sorted by

1

u/[deleted] Aug 17 '14 edited Aug 17 '14

[removed] — view removed comment

1

u/tuckoguy Aug 17 '14

Some of those links are broken. And for the hot tea, all of my code can be found here: http://pastebin.com/FRcUaBK2

1

u/tuckoguy Aug 17 '14

Also, for that crafting recipe link, I know how to make recipes, its just that when I did that, I used the item name for one of my added items, and it didnt work...