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, applyToEveryoneExcept
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply, apply, applyToEveryoneExcept
public TridentEntityStatusEffect(LivingEntity entity, EntityStatusEffectType type)
public EntityStatusEffectType type()
Effect
type
in interface Effect<EntityStatusEffectType>
public void setType(EntityStatusEffectType type)
Effect
setType
in interface Effect<EntityStatusEffectType>
type
- The type of the effectpublic void setEntity(Entity entity)
EntityStatusEffect
setEntity
in interface EntityStatusEffect
entity
- The entity to which the status effect will be appliedpublic Entity entity()
EntityStatusEffect
entity
in interface EntityStatusEffect
public OutPacket getPacket()
getPacket
in class TridentEffect<EntityStatusEffectType>
Copyright © 2016. All rights reserved.