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.

WitherDoggie

Forge Modder
  • Joined

  • Last visited

Everything posted by WitherDoggie

  1. How complicated would it be if I didn't have mod wood support.
  2. I do plan on adding wood blocks to my mod. So yes I'd like to be able to support them.
  3. I'm trying to create a wooden wall block that is a pane type block. I've written the code for the pane block and it works fine. The issue is, I want to create a wall block type for each type of wood in the game without coding each type individually. I have written a wood type class to store the wood types I want to use. How can I get all of the types to load in game using only one registry entry. WoodUtil: http://pastebin.com/3NG3e6jd Block Class: http://pastebin.com/jPi6iJb0 ModPaneBlock Class: http://pastebin.com/pERnHT8d
  4. Switched around a couple lines of code in the common proxy and if fixed the problem. Thank you for your help.
  5. Item Class http://pastebin.com/z69cLzgE Block Class http://pastebin.com/RZb4xUyH Main Class http://pastebin.com/A9HdV4JW Common Proxy http://pastebin.com/J20s6p3q Client Proxy http://pastebin.com/P347smYz
  6. Here is the code in which I create the seeds and block for the plant http://pastebin.com/2DghfRiz
  7. I don't see where I've set it to null. The ModSeedClass is my base seed class. In my item registry is where I determine what each seed grows.
  8. I've written the code for the crop block, seed, and the item that the crop will drop when harvested. The game loads fine, but when I right click with the seed in hand, the game crashes. I've looked through my code for errors and have found none. If anyone can help me here, it would be greatly appreciated. Crash Report http://pastebin.com/ArEbBvLi Seed Code http://pastebin.com/wbWJRnm3 Crop Code http://pastebin.com/9LXwAm1e
  9. What would an example of this code look like? Do I need to override this method or just add to it? I apologize for asking so many questions. I'm new at forge modding.
  10. I'm trying to add tools that give the player a potion effect when the tool is held in the hand. I've already figured out how to add effects to armor when it is worn, but I can't seem to get tools to work. What exactly do I need to override in the tool's class file?
  11. Fixed the generators and it works perfectly now. Thank you.
  12. I'm trying to make a custom world generator for the blocks that I am adding to my mod. I've written the code for the generator, but every time I attempt to load a world the game crashes. I've double checked my files and everything looks okay. Any help in solving this would be greatly appreciated. I've attached a crash report and the generator's code below. Crash report http://pastebin.com/vyjZs8Rc World Generator code http://pastebin.com/RhwsrVGU
  13. My solution will probably not help anyone since it was my own error. I was loading blocks and models from a different package. In my main file I called my block creator method, but forgot to call the model loader from the model loader class in my blocks package.
  14. I managed to get this fixed on my own. Is there a way I can have this topic closed?
  15. This is my first time working in a 1.8 or 1.9 forge environment. I'm trying to make a block. I've created the block and the .json files that it requires. The block and it's texture load in game, but the inventory model won't load. The only thing that shows is a black and pink square. I want to keep the blocks in a separate class in order to prevent my main file from becoming crowded, which I have done. What exactly am I missing that the model isn't loading? Any help would be appreciated. I would be happy to provide the code I'm using if requested.

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.