Package devs.beer.nativepackets.api
Interface UpdateMobEffectPacketView
- All Superinterfaces:
PacketView
Lazy copy-on-write view of a clientbound entity effect update.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanambient()voidambient(boolean ambient) intvoidamplifier(int amplifier) booleanblend()voidblend(boolean blend) intvoiddurationTicks(int durationTicks) effect()voideffect(NativeMobEffect effect) intentityId()voidentityId(int entityId) booleanshowIcon()voidshowIcon(boolean showIcon) booleanvisible()voidvisible(boolean visible) Methods inherited from interface devs.beer.nativepackets.api.PacketView
isModified, nativeHandle, type
-
Method Details
-
entityId
int entityId() -
effect
NativeMobEffect effect() -
amplifier
int amplifier() -
durationTicks
int durationTicks() -
ambient
boolean ambient() -
visible
boolean visible() -
showIcon
boolean showIcon() -
blend
boolean blend() -
entityId
void entityId(int entityId) -
effect
-
amplifier
void amplifier(int amplifier) -
durationTicks
void durationTicks(int durationTicks) -
ambient
void ambient(boolean ambient) -
visible
void visible(boolean visible) -
showIcon
void showIcon(boolean showIcon) -
blend
void blend(boolean blend)
-