public interface IPhase
修飾子とタイプ | メソッドと説明 |
---|---|
void |
clientTick()
Generates particle effects appropriate to the phase (or sometimes sounds).
|
float |
func_221113_a(DamageSource p_221113_1_,
float p_221113_2_) |
boolean |
getIsStationary() |
float |
getMaxRiseOrFall()
Returns the maximum amount dragon may rise or fall during this phase
|
Vec3d |
getTargetLocation()
Returns the location the dragon is flying toward
|
PhaseType<? extends IPhase> |
getType() |
float |
getYawFactor() |
void |
initPhase()
Called when this phase is set to active
|
void |
onCrystalDestroyed(EnderCrystalEntity crystal,
BlockPos pos,
DamageSource dmgSrc,
PlayerEntity plyr) |
void |
removeAreaEffect() |
void |
serverTick()
Gives the phase a chance to update its status.
|
boolean getIsStationary()
void clientTick()
void serverTick()
void onCrystalDestroyed(EnderCrystalEntity crystal, BlockPos pos, DamageSource dmgSrc, @Nullable PlayerEntity plyr)
void initPhase()
void removeAreaEffect()
float getMaxRiseOrFall()
float getYawFactor()
@Nullable Vec3d getTargetLocation()
float func_221113_a(DamageSource p_221113_1_, float p_221113_2_)