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.

austinv11

Members
  • Joined

  • Last visited

Everything posted by austinv11

  1. I would like to get the size of an image with the use of a resource location as I want to have my gui auto-center the background texture based on what image I give it. I have done some googling but only found ways of doing it involving ImageIO, which I assume isn't a good option because I have found no way of getting a file object from a resource location.
  2. As the title says, I just can't figure out how to write a correct implementation of the method that handles more than one slot
  3. Is it possible to rotate text with the Minecraft FontRenderer?
  4. Oh fuck, my bad. Please excuse my stupidity. However, I am still curious why this happened.
  5. So I was trying to add a hook to the proccessCommand() method in the CommandBroadcast class, but in doing so, Minecraft is erroring when I try to load a world. Relevant code: http://pastebin.com/Pm2Et31P and log: http://pastebin.com/BhHnLyuv
  6. I want to have an item with a texture which dynamically changes color, however only on the borders of the item. I know that there is getColorFromItemStack. But is there any way to do it for specific parts of an item? With some sort of multi-pass rendering maybe?
  7. austinv11 posted a topic in Modder Support
    I was creating an api for my mod and I was just wondering how the @API annotation works exactly as I couldn't find any resources about it.
  8. It is getting called from a tile entity's onUpdate method. It is actually ticking as I have set up way too many checks that I'd like to admit.
  9. I was trying to apply potion effects to players and mobs, but I can't seem to get it working. It doesn't appear on mobs and on players, the effect is clientside only, it doesn't actually effect the player other than add particles. Relevant code: http://pastebin.com/WJpYG6za
  10. Should they be only run server side?
  11. https://github.com/austinv11/PeripheralsPlusPlus/blob/master/src%2Fmain%2Fjava%2Fcom%2Faustinv11%2Fperipheralsplusplus%2Fentities%2FEntityRocket.java
  12. Ok, I have fixed that. But I just don't understand what's wrong. I just wanna make my rocket move client side and server side D:
  13. The code block under the if statement here: https://github.com/austinv11/PeripheralsPlusPlus/blob/master/src%2Fmain%2Fjava%2Fcom%2Faustinv11%2Fperipheralsplusplus%2Fentities%2FEntityRocket.java#L197 is only run client side and I can't figure out why. Help me Forge forums! You're my only hope.
  14. Unbelievable. Thanks so much! I honestly don't understand how I messed that up.
  15. The console shows nothing out of the ordinary
  16. Yes but it's a completely arbitrary parameter, so I used it as the entity id instead.
  17. I open it here https://github.com/austinv11/PeripheralsPlusPlus/blob/master/src%2Fmain%2Fjava%2Fcom%2Faustinv11%2Fperipheralsplusplus%2Fentities%2FEntityRocket.java#L68
  18. EntityRocket inherits it from EntityInventory: https://github.com/austinv11/PeripheralsPlusPlus/blob/master/src%2Fmain%2Fjava%2Fcom%2Faustinv11%2Fperipheralsplusplus%2Fentities%2FEntityInventory.java
  19. I guess I'm not the only one who's stumped.
  20. I am attempting to add an inventory (and Gui) to an entity of mine. The Gui works wonderfully except, I can't put any items into it. The items just disappear. Any help is appreciated! Entity: https://github.com/austinv11/PeripheralsPlusPlus/blob/master/src%2Fmain%2Fjava%2Fcom%2Faustinv11%2Fperipheralsplusplus%2Fentities%2FEntityRocket.java Gui: https://github.com/austinv11/PeripheralsPlusPlus/blob/master/src%2Fmain%2Fjava%2Fcom%2Faustinv11%2Fperipheralsplusplus%2Fclient%2Fgui%2FGuiRocket.java Container: https://github.com/austinv11/PeripheralsPlusPlus/blob/master/src%2Fmain%2Fjava%2Fcom%2Faustinv11%2Fperipheralsplusplus%2Ftiles%2Fcontainers%2FContainerRocket.java

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.