You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			23 lines
		
	
	
		
			690 B
		
	
	
	
		
			Java
		
	
			
		
		
	
	
			23 lines
		
	
	
		
			690 B
		
	
	
	
		
			Java
		
	
package net.minecraft.entity.ai;
 | 
						|
 | 
						|
import net.minecraft.entity.passive.EntityTameable;
 | 
						|
 | 
						|
public class EntityAITargetNonTamed extends EntityAINearestAttackableTarget
 | 
						|
{
 | 
						|
    private EntityTameable theTameable;
 | 
						|
    private static final String __OBFID = "CL_00001623";
 | 
						|
 | 
						|
    public EntityAITargetNonTamed(EntityTameable p_i1666_1_, Class p_i1666_2_, int p_i1666_3_, boolean p_i1666_4_)
 | 
						|
    {
 | 
						|
        super(p_i1666_1_, p_i1666_2_, p_i1666_3_, p_i1666_4_);
 | 
						|
        this.theTameable = p_i1666_1_;
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * Returns whether the EntityAIBase should begin execution.
 | 
						|
     */
 | 
						|
    public boolean shouldExecute()
 | 
						|
    {
 | 
						|
        return !this.theTameable.isTamed() && super.shouldExecute();
 | 
						|
    }
 | 
						|
} |