This add-on tries to simulate the stealth mechanics seen in other games, allowing you to become a stealthy rogue hiding from other mobs by being in the shadows and taking advantage of stealth to ambush them!
Select version for changelog:
Changelog
- Change in stealth: Now you can have equipped tools or weapons while being invisible.
- Change in spotted: Now you get spotted when you make an attack and you get slowness when you get hit.
- Added new items: Daggers can now be made separately, and wood, stone and iron versions were added.
- Added new items: Poisons. The player can make poison attacks with daggers using these items.
- Added new items: Maces. These weapons can immobilize and disarm an opponent. Can be used in stealth without being spotted.




If you feel like its too much weight on your shoulders. Im a content creator here too. If you want i could take it over for you.
Please stop running functions EVERY SINGLE TICK. These awesome mods you are using are being used on SERVERS as well as single-player clients. That means when your function does this:
effect @s invisibility 2 1 false
It is running that 20 TIMES PER SECOND, for EVERY PLAYER that is sneaking. Welcome to lag city!
Use a variable in the transition, like this:
variable.delay_tick = variable.delay_tick + 1; return variable.delay_tick > 60;
That will cause the transition to delay exactly 3 seconds. Then the on_entry section can reset the variable:
variable.delay_tick = 0;
Very simple, and your BDS (Bedrock Dedicated Server) players will thank you for removing 99% of the lag on their server.