Created my own class which extends DamageSource, then used @Override for replacing the method, basically..
that onDeath thing may be what I'm looking for..
The client only needs to know the packets that the SERVER sends it.
Your client won't know how to grab another player, because as far as it knows, there are none.
What are you trying to achieve that bars you from using server side?
I'm aware of the many threads regarding adding custom death messages, replacing existing ones, etc..
But I'm more interested in replacing how the game grabs death messages. I can't even seem to find in the source where it pulls the death message from.
I tried overriding the getDeathMessage method from DamageSource and its sister classes, but that method doesn't even seem to fire on player death.
any ideas?
Would this work for matching a list of items though? This seems to only for for matching one item, which you know the crafting recipe for.
What if you don't know the recipe, and want to remove it based on what the output is
Just wondering if anyone knows/has any ideas on how one would be able to selectively remove a crafting recipe, either per player, or per permission or something.
It may not even be possible, I just couldn't come up with anything in the first few moments before I 'm leaving for bed.
This is all spawning from the inability to track when people craft, and therefore inability to limit what people can craft.
Download it manually, but I'm not entirely sure how it's meant to laid out when you do. I cleared mine so I can't check anymore lol.
Are you able to do it on a different computer on a different network?
You'll have to copy the assets folder from your .gradle folder to your current computer, and not the workspace.
If you're searching for copy->paste code, you won't find it here
If there's been a plethora of links posted so far, if you can't figure it out from them, you need to learn java some more before you attempt making mods.
Use an IDE (like Eclipse), and try some code out for yourself.
No-one here will give you code to paste, as we aren't making the mods for you.
Certainly, but then how do you keep track of ones that are made by coming through from the other side (The game creates it)
And also those lit by ghast/dispenser/etc..
We're on the right track, just gotta figure out the other cases