Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Sir_RoyGbiv

Members
  • Joined

  • Last visited

  1. If you have read any of my previous posts you have noticed i am trying to make a custom crop. I have had much help and eventually ended up with it working. I mainly have been following this tutorial http://jabelarminecraft.blogspot.com.au/p/minecraft-forge-172-creating-custom.html And when i put this set of code (below) I get an error on the line incrementGrowStage(parWorld, parX, parY, parZ); Specifically incrementGrowStage part. I don't know what it is meaning as i have put the rest of the code from the tutorial into the relevant class ( i am mainly talking about the wrapper class if you would call it) here is my class for it so you can see and possibly tell me what i have done wrong or what i need to do: This is my last challenge i guess to get this working, i do have other issue but i will be able to fix them relatively easy (just for now it plants onto tilled dirt)
  2. Just as a note every tutorial i have looked up for this part all tend to be for lower versions where the itemID matters and so when i copied it into my own code i didn't exactly know how to edit it so it was suitable for minecraft 1.7.10
  3. Alright here it is
  4. Well i edited that line so now it looks like: p_77648_3_.setBlock(p_77648_7_, p_77648_7_, p_77648_7_, ModBlocks.blockMagicEssenceCrop); This has stopped the crashing but it still does not plant, it does do the right click animation with the players hand just does not put anything on the tilled dirt
  5. I added the @Override annotations where needed and the crash report changed slightly, when reading through i found this line at com.SirRoyGbiv.magicores.item.ItemMagicSeeds.onItemUse(ItemMagicSeeds.java:42) and when clicked on it brings me to this part of the code. p_77648_3_.setBlock(p_77648_4_, p_77648_5_ + 1, p_77648_6_, this.field_150925_a); What is it trying to tell me here?
  6. Oh yes the crash report, sorry about not posting that, here it is then. as for the variable names i am working on it right now
  7. Possibly easier to just show my seeds class and explain what is going wrong so here it is So you can see where i copied it and well i go into test it and well when i right click on tilled earth with my seeds i just crash, i don't have any errors and am not sure if i need to do something else within my custom crop class (the block one that actually grows)
  8. Ok i did as you said and i immediately found this bit of code which i am guessing i will be needing? So what i have done i have copied it over to my custom seeds (hope that's the correct place for it) but i need a bit of help editing it.
  9. Hey guys as the title says i need help with a custom crop. Specifically a crop like wheat. So far i have managed to make my seeds drop from grass when broken but that's as far as i have gotten. So right now i am trying to make it so when i right click on tilled dirt only it places my crop (i have it setup as a block because that's what all other tutorials say to do) so i guess i just want it so when i right click with my seeds they plant this block into the ground just like normal wheat. All tutorials i have looked at seem to be out dated for 1.5 or something lower like that. Any help is welcomed and thank you for reading PS if you NEED to see my classes that i have setup for my crop block or seeds please let me know and i will put them into a spoiler.
  10. Haha i see what i did wrong, haha thank you for pointing me to those two lines of code seems like i may have misspelt something wrong. Would not have found those bits of codes for days. Thank you very much
  11. Hey guys got the error stated in the heading while using eclipse to make a mod. I have simply tried to add one block and this is what has happened. Crash report below. I cannot find anything wrong but that's probably because i am quite tired at this point, so if you find what's wrong please let me know and how to fix it, thank you for your help P.S eclipse is not giving me any errors or anything at all.
  12. Hey guys, i am obviously a new modder for asking this i guess but i would like it so when i right click anywhere with an item it opens up a separate player gui that will look like the normal one just wont have an inventory, crafting section and instead of one armor slot will have two, how would i go about doing this? not finding any tutorials for 1.7.2 to do this

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.