Java Code Examples for org.bukkit.entity.EntityType#UNKNOWN

The following examples show how to use org.bukkit.entity.EntityType#UNKNOWN . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CraftCustomEntity.java    From Kettle with GNU General Public License v3.0 5 votes vote down vote up
@Override
public EntityType getType() {
    EntityType type = EntityType.fromName(this.entityName);
    if (type != null) {
        return type;
    } else {
        return EntityType.UNKNOWN;
    }
}
 
Example 2
Source File: CraftAmbient.java    From Thermos with GNU General Public License v3.0 5 votes vote down vote up
public EntityType getType() {
    // Cauldron start
    EntityType type = EntityType.fromName(this.entityName);
    if (type != null)
        return type;
    else return EntityType.UNKNOWN;
    // Cauldron end
}
 
Example 3
Source File: CraftLivingEntity.java    From Thermos with GNU General Public License v3.0 5 votes vote down vote up
public EntityType getType() {
    // Cauldron start
    EntityType type = EntityType.fromName(this.entityName);
    if (type != null)
        return type;
    else return EntityType.UNKNOWN;
    // Cauldron end
}
 
Example 4
Source File: CraftAmbient.java    From Kettle with GNU General Public License v3.0 4 votes vote down vote up
public EntityType getType() {
    return EntityType.UNKNOWN;
}
 
Example 5
Source File: CraftProjectile.java    From Kettle with GNU General Public License v3.0 4 votes vote down vote up
@Override
public EntityType getType() {
    return EntityType.UNKNOWN;
}
 
Example 6
Source File: CraftFireball.java    From Kettle with GNU General Public License v3.0 4 votes vote down vote up
public EntityType getType() {
    return EntityType.UNKNOWN;
}
 
Example 7
Source File: CraftHanging.java    From Kettle with GNU General Public License v3.0 4 votes vote down vote up
public EntityType getType() {
    return EntityType.UNKNOWN;
}
 
Example 8
Source File: MobLootConfiguration.java    From UhcCore with GNU General Public License v3.0 4 votes vote down vote up
public MobLootConfiguration() {
	this.entity = EntityType.UNKNOWN;
	this.loot = new ItemStack(Material.AIR);
	this.addXp = 0;
}
 
Example 9
Source File: CraftProjectile.java    From Thermos with GNU General Public License v3.0 4 votes vote down vote up
@Override
public EntityType getType() {
    return EntityType.UNKNOWN;
}
 
Example 10
Source File: CraftFireball.java    From Thermos with GNU General Public License v3.0 4 votes vote down vote up
public EntityType getType() {
    return EntityType.UNKNOWN;
}
 
Example 11
Source File: CraftHanging.java    From Thermos with GNU General Public License v3.0 4 votes vote down vote up
public EntityType getType() {
    return EntityType.UNKNOWN;
}
 
Example 12
Source File: CraftCustomEntity.java    From Thermos with GNU General Public License v3.0 4 votes vote down vote up
public EntityType getType() {
    EntityType type = EntityType.fromName(this.entityName);
    if (type != null)
        return type;
    else return EntityType.UNKNOWN;
}