mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-05-26 04:34:41 +00:00
* Remove stdafx.h and some <unordered_set> includes * Update Minecraft Server Defines and remove more unused folders/files * Unbloat stdafx.h from Minecraft.World
15 lines
363 B
C++
15 lines
363 B
C++
#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;
|
|
} |