mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-23 20:53:39 +00:00
13 lines
505 B
C++
13 lines
505 B
C++
#include "../Platform/stdafx.h"
|
|
#include "../Headers/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;
|
|
} |