Java 类net.minecraft.server.EntityPotion 实例源码

项目:CraftBukkit    文件:CraftEventFactory.java   
/**
 * PotionSplashEvent
 */
public static PotionSplashEvent callPotionSplashEvent(EntityPotion potion, Map<LivingEntity, Double> affectedEntities) {
    ThrownPotion thrownPotion = (ThrownPotion) potion.getBukkitEntity();

    PotionSplashEvent event = new PotionSplashEvent(thrownPotion, affectedEntities);
    Bukkit.getPluginManager().callEvent(event);
    return event;
}
项目:Almura-Server    文件:CraftEventFactory.java   
/**
 * PotionSplashEvent
 */
public static PotionSplashEvent callPotionSplashEvent(EntityPotion potion, Map<LivingEntity, Double> affectedEntities) {
    ThrownPotion thrownPotion = (ThrownPotion) potion.getBukkitEntity();

    PotionSplashEvent event = new PotionSplashEvent(thrownPotion, affectedEntities);
    Bukkit.getPluginManager().callEvent(event);
    return event;
}
项目:Tweakkit-Server    文件:CraftEventFactory.java   
/**
 * PotionSplashEvent
 */
public static PotionSplashEvent callPotionSplashEvent(EntityPotion potion, Map<LivingEntity, Double> affectedEntities) {
    ThrownPotion thrownPotion = (ThrownPotion) potion.getBukkitEntity();

    PotionSplashEvent event = new PotionSplashEvent(thrownPotion, affectedEntities);
    Bukkit.getPluginManager().callEvent(event);
    return event;
}
项目:Craft-city    文件:CraftEventFactory.java   
/**
 * PotionSplashEvent
 */
public static PotionSplashEvent callPotionSplashEvent(EntityPotion potion, Map<LivingEntity, Double> affectedEntities) {
    ThrownPotion thrownPotion = (ThrownPotion) potion.getBukkitEntity();

    PotionSplashEvent event = new PotionSplashEvent(thrownPotion, affectedEntities);
    Bukkit.getPluginManager().callEvent(event);
    return event;
}
项目:CraftBukkit    文件:CraftThrownPotion.java   
public CraftThrownPotion(CraftServer server, EntityPotion entity) {
    super(server, entity);
}
项目:CraftBukkit    文件:CraftThrownPotion.java   
@Override
public EntityPotion getHandle() {
    return (EntityPotion) entity;
}
项目:Craftbukkit    文件:CraftThrownPotion.java   
public CraftThrownPotion(CraftServer server, EntityPotion entity) {
    super(server, entity);
}
项目:Craftbukkit    文件:CraftThrownPotion.java   
@Override
public EntityPotion getHandle() {
    return (EntityPotion) entity;
}
项目:Almura-Server    文件:CraftThrownPotion.java   
public CraftThrownPotion(CraftServer server, EntityPotion entity) {
    super(server, entity);
}
项目:Almura-Server    文件:CraftThrownPotion.java   
@Override
public EntityPotion getHandle() {
    return (EntityPotion) entity;
}
项目:Tweakkit-Server    文件:CraftThrownPotion.java   
public CraftThrownPotion(CraftServer server, EntityPotion entity) {
    super(server, entity);
}
项目:Tweakkit-Server    文件:CraftThrownPotion.java   
@Override
public EntityPotion getHandle() {
    return (EntityPotion) entity;
}
项目:SpigotSource    文件:CraftThrownPotion.java   
public CraftThrownPotion(CraftServer server, EntityPotion entity) {
    super(server, entity);
}
项目:SpigotSource    文件:CraftThrownPotion.java   
@Override
public EntityPotion getHandle() {
    return (EntityPotion) entity;
}
项目:SpigotSource    文件:CraftSplashPotion.java   
public CraftSplashPotion(CraftServer server, EntityPotion entity) {
    super(server, entity);
}
项目:SpigotSource    文件:CraftSplashPotion.java   
@Override
public EntityPotion getHandle() {
    return (EntityPotion) entity;
}
项目:SpigotSource    文件:CraftLingeringPotion.java   
public CraftLingeringPotion(CraftServer server, EntityPotion entity) {
    super(server, entity);
}
项目:SpigotSource    文件:CraftLingeringPotion.java   
@Override
public EntityPotion getHandle() {
    return (EntityPotion) entity;
}
项目:Craft-city    文件:CraftThrownPotion.java   
public CraftThrownPotion(CraftServer server, EntityPotion entity) {
    super(server, entity);
}
项目:Craft-city    文件:CraftThrownPotion.java   
@Override
public EntityPotion getHandle() {
    return (EntityPotion) entity;
}