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.

Fuffles

Members
  • Joined

  • Last visited

  1. Welp, I feel like this whole Reflection thing is haunting me at every corner : /
  2. Hello there, Im currently trying to change the Ender Crystal's behaviour of nuking everything when hit by something. This would be obviously not a problem if it weren't for the fact that its a non-LivingEntity, since there is an Event for LivingEnts called when they are damaged. Is there any way to change this for it? Or do I have to drop that idea?
  3. ... okay, I dont know what I expected as a response besides maybe something useful
  4. And if I may ask what do I replace it with exactly?
  5. hit a roadblock IgniterStorage code
  6. Then how could I store it somehow in the creeper entity?
  7. Tried with multiple read/write fns but whenever I got the data per cmd I always got nothing
  8. Im attempting that but I can not save who did it. I need to have the 'igniter' during the entity death event. For some reason Im unable to add a NBT tag for this
  9. Hey all, I'd love to have a Creeper keep track of who ignited it (Flint & Steel), but to do that Im pretty sure I'd have to edit how Creepers work, right? Correct me if Im wrong here ofc, but if there aint any way, how would one exactly edit a mob's class?
  10. Would help me a lot if render(...) in HeadLayer: had some kind of prevention available, such as a new method in IForgeItem that prevents this from rendering too, something like boolean shouldRenderOnHead() with a default return value of true but could be changed
  11. as the Title Suggests, add some kind of way to get all the Layers Rendered on the entity. would be quite helpful if you wish to insert new or check the existing ones. All I'm asking for
  12. Bump Alright maybe more info is needed; My Item is a Block that you can place in the world, but also equipable on the head. It uses an ISTER (ItemStackTileEntityRegister) and as with all blocks/items it displays on your head. Due to the fact that I am using an LivingEntRenderer and a Layer, like the Elytra, Head or HeldItem it displays it twice, the actual Layer that I want and the displayed Item/Block which is unwanted. I'd like to get rid of that display, but I dont know how to. On the other hand, whenever I equip the item, lags seem to spike, I believe this is due to the fact that the renderEvent happens constantly which adds infinite layers. If it would be possible to get the Layer data, which its not since it has not a get() and it's protected, this wouldnt be a problem. Is there any way to add the layer otherwise or should I look into a different method? I'd prefer not to have to make 20 BipedModel extensions for all the forms the Item has and use the ModelBases
  13. Hey all, Im currently trying to make a special armor using an Entity Layer (Long Story/Short, it uses a Tile Ent renderer and I want to display that, and I kinda dont wanna make a new BipedModel extension for all the models it uses...) and it all works super well, but the Item still displays on the head for some reason, resulting in the proper one (The Layer) and the other one (The Item in its block state) to show... Is there a way to force stop it from rendering on the Head? Or do I have to scrap the Entity Layer idea and go with a different way? Also, is it possible to make the Event only add the layer once? Im pretty sure with this: It's generating more than 1 of these layers, creating lag when you wear it on your head
  14. Yeah sure, but if another modder or res pack alters the vanilla entities loot table as well then either my changes will become redundant or theirs will... (Depends what loads last I guess) I want to avoid that...

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.