Added vegetation to horse.
Added Leash method to UtilEnt
This commit is contained in:
parent
379b0d0d75
commit
f504cb5a8d
Binary file not shown.
@ -55,6 +55,17 @@ public class UtilEnt
|
||||
}
|
||||
}
|
||||
|
||||
public static void Leash(Entity leashed, Entity holder, boolean pull, boolean breakable)
|
||||
{
|
||||
if (((CraftEntity)leashed).getHandle() instanceof EntityInsentient)
|
||||
{
|
||||
EntityInsentient creature = (EntityInsentient)((CraftEntity)leashed).getHandle();
|
||||
|
||||
creature.PullWhileLeashed = pull;
|
||||
creature.BreakLeash = breakable;
|
||||
}
|
||||
}
|
||||
|
||||
public static void Vegetate(Entity entity)
|
||||
{
|
||||
try
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user