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.

JavaMatrix

Members
  • Joined

  • Last visited

  1. When I had to do problem 2, I looked at custom named entities. Here's my half-working result: https://bitbucket.org/JavaMatrix/snowtech/src/577af81dcbc980f306df52daa769e279fef212e4/SnowTech/java/com/defenestrationcoding/snowtech/renderers/RendererReceiver.java?at=master
  2. Could you share your results for Googlers and other interested parties? (Like me ;P)
  3. Uncomment this line: //this.bindTexture(modelResourceLocation); Without binding the texture, it'll use whatever happens to be on the queue. Not a good thing.
  4. What do you need to do this for? There may be an easier solution than changing the rendering methods of vanilla entities.
  5. Doesn't sound very Forge. You may want to ask on a ruby forum, unless you are using Forge in the process somehow?
  6. You have no render code for held items. Look at RenderZombie for an example, perhaps?
  7. Well, you can rather easily do this with NBT, if you aren't opposed to NBT altogether. Just use Entity.writeEntityToNBT and Entity.readEntityFromNBT, editing the tag in between.
  8. Hullo, I've been looking for a bit for a way to detect a Wither Skull explosion. Obviously, it's gonna be an event. The only way I can figure right now is to find them when then spawn in a EntityJoinWorldEvent, then track them with a tick handler - but that sounds like a huge nuisance. Is there a better way?
  9. Use ev.entity.worldObj, assuming ev is the name of your event within your method.
  10. What is your current result? A screenshot could be helpful if you suspect that it is holding the item but it isn't rendering right.
  11. In your item, try changing: EntityHanging entityhanging = this.createHangingEntity(p_77648_3_, p_77648_4_, p_77648_5_, p_77648_6_, i1); to EntityHanging entityhanging = this.createHangingEntity(p_77648_3_, p_77648_4_, p_77648_5_ + 0.5, p_77648_6_, i1);
  12. That's fine, just wondering about your reasoning. Do-it-from-scratch is fun - I might try that sometime.
  13. Hullo, Pursuant of my previous question about messing with Desert Temples, I'm wondering if there's a simple way to iterate through every block in the chunk checking for Chests, instead of manually sorting through every coordinate. Thanks, JavaMatrix
  14. Why make your own energy system when we have the Redstone Flux API?

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.