Started by
RoboMan
on
Topic category: Help with Minecraft modding (Java Edition)
I am aware how to make a block that does damage to entities standing on it, but not entities that are sneaking on it. How would I do this?
Topic category: Help with Minecraft modding (Java Edition)
I am aware how to make a block that does damage to entities standing on it, but not entities that are sneaking on it. How would I do this?
player tick update
if block at X Y - 1 Z = BLOCK
do damage event target entity etc etc
I tried this, but it does constant damage to me regardless if I'm standing on the block or not.
it shouldn't do that, but can't you just put it on trigger Entity steps on Block?
I could, but regardless of what I do, it always makes it so that when you sneak, you don't take damage.
then
make the trigger as I said
and on Player Tick Update if event target entity is sneaking AND block at X Y - 1 Z BLOCK
etc etc etc
but make sure to have both procedures
Strange. That did not work either. I will continue to try and find a solution, but if you have any more suggestions, I'm all ears.