-
When to use capabilities for Entities
Okay thanks!
-
When to use capabilities for Entities
So there's no need to use them unless you want other mods to be able to access your extra data?
-
When to use capabilities for Entities
Hey all, Just wondering what capabilities should be used for in terms of entities. Are they meant to replace Data Parameters or variables that change a lot? Thanks!
-
When to use world.isRemote
Ok i've got it now, thanks so much!
-
When to use world.isRemote
Ahhhhh okay thanks! So for things like entities and blocks i should be checking if it is true if i want to, for example, add some particles to the world?
-
When to use world.isRemote
Hey all, I've recently realised that I haven't been using world.isRemote at all. I was wondering where exactly I need to be checking for it, because it seems a little inconsistent when looking at vanilla code. Thanks!
-
[1.16.1] Structure separation
Hey all! Anyone know how to go about adding separation settings to custom structures? Thanks!
-
structure spawning on air
You could try checking that all the blocks below the structure are solid before generating it.
-
Line of Particles
Thanks so much! This is super helpful!
-
Line of Particles
Hey all. Just wondering how I would go about adding a line of particles between two points for a short period of time, if at all possible. Thanks!
-
[SOLVED] Weird Smoke Particle
It may be the Advanced Chimneys mod. I am not completely sure though. Check it's config file to be sure.
-
[SOLVED] Weird Smoke Particle
I mean, it's most likely one of the installed mods. I'll look through them and see if I can find the culprit
-
Event for when an entity's body disappears
Thanks for the info! Would I go about it like this? @SubscribeEvent public static void onAttachCapabilities(AttachCapabilitiesEvent<Entity> event) { if (event.getObject() instanceof LivingEntity) { event.addListener(new Runnable() { public void run() { } }); } }
-
Event for when an entity's body disappears
I am looking to spawn special particles at the position of an entity's corpse after it has disappeared and made the poof particles. Currently the LivingDeathEvent, LivingDropsEvent and LivingExperienceDropEvent all trigger as soon as the entity dies, meaning the position of the entity supplied to the event is different to where its corpse lands and turns into smoke particles. Is there an event I can use that would give me the position of an entity's corpse AFTER it has disappeared? Or is there a way to get this position from the events i already mentioned? Or did I miss one?
-
Large, random structure generation
That's fine! Anything helps haha. It shows me how to generate multiple components which is super helpful.
IPS spam blocked by CleanTalk.