2
0
Fork 0
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.

28 lines
686 B
Java

package net.minecraft.entity.passive;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.world.World;
public abstract class EntityAmbientCreature extends EntityLiving implements IAnimals
{
private static final String __OBFID = "CL_00001636";
public EntityAmbientCreature(World p_i1679_1_)
{
super(p_i1679_1_);
}
public boolean allowLeashing()
{
return false;
}
/**
* Called when a player interacts with a mob. e.g. gets milk from a cow, gets into the saddle on a pig.
*/
protected boolean interact(EntityPlayer p_70085_1_)
{
return false;
}
}