Everything posted by Fuffles
-
[1.15.2] Is it possible to modify a non-living Entities attackEntityFrom?
Welp, I feel like this whole Reflection thing is haunting me at every corner : /
-
[1.15.2] Is it possible to modify a non-living Entities attackEntityFrom?
Aren't all Vanilla things set to final?
-
[1.15.2] Is it possible to modify a non-living Entities attackEntityFrom?
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?
-
[1.15.2] Modifying Vanilla Mobs
... okay, I dont know what I expected as a response besides maybe something useful
-
[1.15.2] Modifying Vanilla Mobs
And if I may ask what do I replace it with exactly?
-
[1.15.2] Modifying Vanilla Mobs
hit a roadblock IgniterStorage code
-
[1.15.2] Modifying Vanilla Mobs
Then how could I store it somehow in the creeper entity?
-
[1.15.2] Modifying Vanilla Mobs
Tried with multiple read/write fns but whenever I got the data per cmd I always got nothing
-
[1.15.2] Modifying Vanilla Mobs
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
-
[1.15.2] Modifying Vanilla Mobs
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?
-
IForgeItem method to suppress rendering on the HeadLayer
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
-
Give LivingRenderer a layerRenderers getter
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
-
[1.15.2] How to stop an Item from rendering on your head?
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
-
[1.15.2] How to stop an Item from rendering on your head?
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
-
[1.15.2] Any Mod/Resource Pack Friendly ways of editing Mob Loot?
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...
-
[1.15.2] Any Mod/Resource Pack Friendly ways of editing Mob Loot?
Heyo, again... again y'all wonderful people, So I wanted to edit an Entity's Loot Table to include a new item, but I noticed that the way you do it is very Mod/Resource Pack unfriendly if they change the mob's loot table too... Is there any other way that's more Mod/Resource Pack Friendly or should I just hope that nobody uses a Res Pack or another Mod that edits the entity's loot table?
-
[1.15.2] Am I just stupid and don't understand events/logs or what
That... does explain a lot... thank you!
-
[1.15.2] Am I just stupid and don't understand events/logs or what
- [1.15.2] Am I just stupid and don't understand events/logs or what
So hey, again, Im trying to drop a certain item when a creeper explodes around a pig, so I wanted to use an event for that, here's the code. Ofc it doesn't work... unsure why, neither does the Logger Log anything... Please just tell me how stupid I am with this- [1.15.2] Using "builtin/entity" for Blocks using TileEntityRenderer
Thanks a lot! All works perfectly now ❤️- [1.15.2] Using "builtin/entity" for Blocks using TileEntityRenderer
Oh, thanks! This really helps a ton ❤️ If I may ask, what does the setISTER(Supplier<Callable<ItemStackTileEntityRenderer>> ister) exactly want? The amount of bracketing for it is kinda confusing- [1.15.2] Using "builtin/entity" for Blocks using TileEntityRenderer
Hello again, Im making a block that uses tile entities as well as tile entity rendering to make it visible in the world, whenever I place it down, it clearly works, its all visible and is perfect. Yet the issue comes from the Item for this block, it doesn't render for some reason. I've tried to use builtin/entity to make it easier on myself instead of making a few models. Im unsure what to do, is there some kind of hook that I need to use to make it know to use the TileEntityRender for rendering? Or does builtin/entity simply not support TileEntityRenderers? As a reference point I used Skulls, since they were quite close to what I was after and Im using p. much the same TileEntityRender methods from it- [1.15.2] Need help with Registering Tile Ents and Binding them to a Block
Hey all, it's been a while since I've last modded this game and Im kinda struggling, Im trying to register a Tile Entity and then attach it to a block. Unsure if the way Im doing this is outdated, wrong or what, but enough babblin', here's the code. (Items and Blocks all work, its just when I try to meddle with the Tile Ent stuffs) Main File ObjectList- [Eclipse + Forge 1.11.2] 'Launching Client' has encountered a problem
Ah, now I get why this happend, sorry for my stupidity- [Eclipse + Forge 1.11.2] 'Launching Client' has encountered a problem
Dear Modders, The tittle says it, as I started to create a standalone mod without the API in 1.11.2, Im getting this error quite a lot any help? - [1.15.2] Am I just stupid and don't understand events/logs or what
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.