Java 类org.bukkit.PortalType 实例源码

项目:QuestManager    文件:QuestManager.java   
@EventHandler
public void onPortal(EntityCreatePortalEvent e) {
    if (e.getPortalType() == PortalType.ENDER && e.getEntity().getType() == EntityType.ENDER_DRAGON)
    if (QuestManagerPlugin.questManagerPlugin.getPluginConfiguration().getWorlds().contains(
            e.getEntity().getWorld().getName())) {
        e.setCancelled(true);
        return;
    }
}
项目:Thermos-Bukkit    文件:EntityCreatePortalEvent.java   
public EntityCreatePortalEvent(final LivingEntity what, final List<BlockState> blocks, final PortalType type) {
    super(what);

    this.blocks = blocks;
    this.type = type;
}
项目:CauldronGit    文件:EntityCreatePortalEvent.java   
public EntityCreatePortalEvent(final LivingEntity what, final List<BlockState> blocks, final PortalType type) {
    super(what);

    this.blocks = blocks;
    this.type = type;
}
项目:Cauldron    文件:EntityCreatePortalEvent.java   
public EntityCreatePortalEvent(final LivingEntity what, final List<BlockState> blocks, final PortalType type) {
    super(what);

    this.blocks = blocks;
    this.type = type;
}
项目:Cauldron    文件:EntityCreatePortalEvent.java   
public EntityCreatePortalEvent(final LivingEntity what, final List<BlockState> blocks, final PortalType type) {
    super(what);

    this.blocks = blocks;
    this.type = type;
}
项目:Cauldron    文件:EntityCreatePortalEvent.java   
public EntityCreatePortalEvent(final LivingEntity what, final List<BlockState> blocks, final PortalType type) {
    super(what);

    this.blocks = blocks;
    this.type = type;
}
项目:Almura-API    文件:EntityCreatePortalEvent.java   
public EntityCreatePortalEvent(final LivingEntity what, final List<BlockState> blocks, final PortalType type) {
    super(what);

    this.blocks = blocks;
    this.type = type;
}
项目:Pore    文件:PoreEntityCreatePortalEvent.java   
@Override
public PortalType getPortalType() {
    throw new NotImplementedException("TODO");
}
项目:BedrockAPI    文件:EntityCreatePortalEvent.java   
public EntityCreatePortalEvent(LivingEntity what, List<BlockState> blocks, PortalType type) {
}
项目:BedrockAPI    文件:EntityCreatePortalEvent.java   
public PortalType getPortalType() {
    return null;
}
项目:Spigot-API    文件:EntityCreatePortalEvent.java   
public EntityCreatePortalEvent(final LivingEntity what, final List<BlockState> blocks, final PortalType type) {
    super(what);

    this.blocks = blocks;
    this.type = type;
}
项目:Bukkit-JavaDoc    文件:EntityCreatePortalEvent.java   
public EntityCreatePortalEvent(final LivingEntity what, final List<BlockState> blocks, final PortalType type) {
    super(what);

    this.blocks = blocks;
    this.type = type;
}
项目:Thermos-Bukkit    文件:EntityCreatePortalEvent.java   
/**
 * Gets the type of portal that is trying to be created.
 *
 * @return Type of portal.
 */
public PortalType getPortalType() {
    return type;
}
项目:CauldronGit    文件:EntityCreatePortalEvent.java   
/**
 * Gets the type of portal that is trying to be created.
 *
 * @return Type of portal.
 */
public PortalType getPortalType() {
    return type;
}
项目:Cauldron    文件:EntityCreatePortalEvent.java   
/**
 * Gets the type of portal that is trying to be created.
 *
 * @return Type of portal.
 */
public PortalType getPortalType() {
    return type;
}
项目:Cauldron    文件:EntityCreatePortalEvent.java   
/**
 * Gets the type of portal that is trying to be created.
 *
 * @return Type of portal.
 */
public PortalType getPortalType() {
    return type;
}
项目:Cauldron    文件:EntityCreatePortalEvent.java   
/**
 * Gets the type of portal that is trying to be created.
 *
 * @return Type of portal.
 */
public PortalType getPortalType() {
    return type;
}
项目:Almura-API    文件:EntityCreatePortalEvent.java   
/**
 * Gets the type of portal that is trying to be created.
 *
 * @return Type of portal.
 */
public PortalType getPortalType() {
    return type;
}
项目:Spigot-API    文件:EntityCreatePortalEvent.java   
/**
 * Gets the type of portal that is trying to be created.
 *
 * @return Type of portal.
 */
public PortalType getPortalType() {
    return type;
}
项目:Bukkit-JavaDoc    文件:EntityCreatePortalEvent.java   
/**
 * Gets the type of portal that is trying to be created.
 *
 * @return Type of portal.
 */
public PortalType getPortalType() {
    return type;
}