public class TridentEntityStatusEffect extends TridentEffect<EntityStatusEffectType> implements EntityStatusEffect
| Constructor and Description |
|---|
TridentEntityStatusEffect(LivingEntity entity,
EntityStatusEffectType type) |
| Modifier and Type | Method and Description |
|---|---|
Entity |
entity()
Returns the entity to which the status effect will be applied
|
OutPacket |
getPacket() |
void |
setEntity(Entity entity)
Set the entity to which the status effect will be applied
|
void |
setType(EntityStatusEffectType type)
Set the type of the effect
|
EntityStatusEffectType |
type()
The type of the effect
|
apply, apply, applyToEveryoneExceptclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapply, apply, applyToEveryoneExceptpublic TridentEntityStatusEffect(LivingEntity entity, EntityStatusEffectType type)
public EntityStatusEffectType type()
Effecttype in interface Effect<EntityStatusEffectType>public void setType(EntityStatusEffectType type)
EffectsetType in interface Effect<EntityStatusEffectType>type - The type of the effectpublic void setEntity(Entity entity)
EntityStatusEffectsetEntity in interface EntityStatusEffectentity - The entity to which the status effect will be appliedpublic Entity entity()
EntityStatusEffectentity in interface EntityStatusEffectpublic OutPacket getPacket()
getPacket in class TridentEffect<EntityStatusEffectType>Copyright © 2016. All rights reserved.