#Totem Detection
1 messages · Page 1 of 1 (latest)
Anyone? pleaseee
you can use a system tick
tick interval*
hold up let
let me make you one real quick
oh wait anti totem
nevermind
Do you want it to detect when someone equips a totem whilst not opening their inventory
If so, my only idea is to track the movement of the player a couple of ticks before and after they equip the totem. As the average player most likely can't open their inventory, equip a totem and then close their inventory in a couple of ticks, they should have a couple of ticks where they are deaccelerating
If they are acceleting during the period they equip the totem, they are most likely auto toteming
How does that sound
Also are you asking for someone to code it for you
subscribe an entityHurt event
check if the damage is < 0
and if the damage cause is 'none'
that's how you detect totem
@small thicket