Skip 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.

Draco18s

Members
  • Joined

  • Last visited

Everything posted by Draco18s

  1. 1. Go here 2. Click this button 3. Run 4. Click that button 5. 6. Profit 7. Forge installed Installing Forge is literally the easiest it has ever been.
  2. 1. Go here 2. Click this button 3. Run 4. Click that button 5. 6. Profit 7. Forge installed Installing Forge is literally the easiest it has ever been.
  3. Its been a long time since I worked with 1.6, but I'm pretty confident that diesieben is correct.
  4. Its been a long time since I worked with 1.6, but I'm pretty confident that diesieben is correct.
  5. java.lang.NullPointerException at net.minecraft.client.resources.model.ModelBakery.registerItemVariants(ModelBakery.java:759) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at com.MonstrousApple.mod.proxy.ClientProxy.registerModelBakery(ClientProxy.java:58) ~[bin/:?] You have a NPE created when your registerModelBakery passes something (likely a null object) to ModelBakery.registerItemVariants
  6. java.lang.NullPointerException at net.minecraft.client.resources.model.ModelBakery.registerItemVariants(ModelBakery.java:759) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at com.MonstrousApple.mod.proxy.ClientProxy.registerModelBakery(ClientProxy.java:58) ~[bin/:?] You have a NPE created when your registerModelBakery passes something (likely a null object) to ModelBakery.registerItemVariants
  7. No, actually it doesn't. Wool is 1 block with 16 textures differentiated by metadata. Or you could look at the Furnace or the Log. Furnace uses 3 textures and displays them on different sides while the log does a combination of both.
  8. No, actually it doesn't. Wool is 1 block with 16 textures differentiated by metadata. Or you could look at the Furnace or the Log. Furnace uses 3 textures and displays them on different sides while the log does a combination of both.
  9. Jeus H Chirst on a fucking stick. public void onUpdate(ItemStack itemstack, World world, Entity entity, int i, boolean am_I_holding_this_item) { if(am_I_holding_this_item) { Player.addPotionEffect(new PotionEffect(Potion.regeneration.id, 50, 0)); } } Fuck. Was it really that hard?
  10. Jeus H Chirst on a fucking stick. public void onUpdate(ItemStack itemstack, World world, Entity entity, int i, boolean am_I_holding_this_item) { if(am_I_holding_this_item) { Player.addPotionEffect(new PotionEffect(Potion.regeneration.id, 50, 0)); } } Fuck. Was it really that hard?
  11. Also, why are you adding the duration as 1 - 1 ?
  12. Also, why are you adding the duration as 1 - 1 ?
  13. Regeneration works based on ticks remaining. If that value doesn't change, then no effect is actually granted.
  14. Glad you fixed it. And I hear you on wading through 10 year old code. Hell, some of my code from only three years ago I take a look at and go "thank god there aren't bugs in there, because fixing them will require a total rewrite."
  15. Step 1: Make a custom tree (as Orange says) Step 2: Make the leaf block periodically spawn fruit "blocks" below it (you'll want a block that renders an item inside it and drops said item when broken).
  16. If only vanilla had a block like this that you could look at.
  17. Question: are you making your own plant block that you want to sway in the wind? or are you trying to make all plant blocks sway in the wind?
  18. http://lmgtfy.com/?q=set+JAVA_HOME
  19. There's a way to get the direction the player is looking (EntityPlayer#getLookVec) that you can use to create an offset for which blocks to change.
  20. You need to add +0.5 to your X and Z transform offsets.
  21. OTOH, TileEntities are more expensive than regular blocks, which is why Vanilla has two logs and two leaves rather than a TE.

Important Information

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

Account

Navigation

Search

Search

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.