the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#include "stdafx.h"
2#include "net.minecraft.world.effect.h"
3
4InstantenousMobEffect::InstantenousMobEffect(int id, bool isHarmful, eMinecraftColour color) : MobEffect(id, isHarmful, color)
5{
6}
7
8bool InstantenousMobEffect::isInstantenous()
9{
10 return true;
11}
12
13bool InstantenousMobEffect::isDurationEffectTick(int remainingDuration, int amplification)
14{
15 return remainingDuration >= 1;
16}