mirror of
https://github.com/Patoke/LCERenewed.git
synced 2026-08-25 22:14:58 +00:00
feat: init
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#include "stdafx.h"
|
||||
#include "net.minecraft.world.effect.h"
|
||||
|
||||
InstantenousMobEffect::InstantenousMobEffect(int id, bool isHarmful, eMinecraftColour color) : MobEffect(id, isHarmful, color)
|
||||
{
|
||||
}
|
||||
|
||||
bool InstantenousMobEffect::isInstantenous()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
bool InstantenousMobEffect::isDurationEffectTick(int remainingDuration, int amplification)
|
||||
{
|
||||
return remainingDuration >= 1;
|
||||
}
|
||||
Reference in New Issue
Block a user