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.

atrain99

Forge Modder
  • Joined

  • Last visited

Everything posted by atrain99

  1. No, there's no redpower API
  2. Should be.
  3. It's pretty simple!
  4. Maybe make it Universal Electricity compatible? These are some cool gadgets.
  5. Yes, that too. But for now, it's great.
  6. Me and my own stupidity. I didn't know it was there, thanks for telling me, albeit in a scathing manner.
  7. in the mod_XXX file, add a generateSurface(...) method. In it, just do OTHERGENCLASS.generateStuff(...); Figure it out, or learn more java.
  8. You don't need slotChest.class.
  9. Better zip? *Downloads*
  10. This function would be nice, but it would probably just be icing on the minecraft forge cake. This would replace the addFuel function in the mod_XXX class.
  11. Make it a list of ItemStacks. Like: public class AlloynizerRecipe{ private ItemStack[] inputs = new ItemStack[5]; private ItemStack output; public AlloyNizerRecipe(ItemStack[] in, ItemStack out){ //Assign variables here ... } //Getter methods here } Then you just modify the Manager class as needed. Then you can: (In your class that does work) if(AlloynizerRecipeManager.isRecipe(Args here)){ //Alloynize! ... }
  12. Get a windows computer, install it with 7zip , then bring the jarfile to your mac. Or just manually update each file inside of a folder that is replaced by forge.
  13. Remove mods and see what happens. Then you can isolate the crash to a few mods not playing nice.
  14. just do the same thing, but in the generateSurface() override.
  15. Is there a method to get the item held? I'm using getHeldItem() right now.
  16. You can look at my pulverizerManager and pulverizerRecipe classes. github.com/atrain99/greenenergymod/ It's in net/minecraft/src/GreenEnergy/Biomass.
  17. Yes, structures are a C thing. But here it is: mod_XX.java: class mod_XX extends NetworkMod{ //default stuff ..... public void generateSurface(){ otherclass.generateStuff(); } } Make the generateStuff() method public.
  18. I have a block, and I want to right click on it and check if the held item is a bucket of lava, and if it is, then add lava to the capacity of a tile entity. How would I do this?
  19. Put a system.out.println() after every line. PS, the exception occured around line 77.
  20. As above, I agree. Maybe try to do something with a watcher class that checks the world for onBlockRemoval events, and then spawn the entity for salt.
  21. Well, first make your mod, then have your item implement those interfaces. (I think, I haven't done this either.)
  22. Use the transferStackInSlot function. I don't know how to make it work, but I know that you do use it.
  23. Check their config files.

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.