22 lines
492 B
Java
22 lines
492 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package net.minecraft.world.entity.ambient;
|
|
|
|
import net.minecraft.world.entity.EntityType;
|
|
import net.minecraft.world.entity.Mob;
|
|
import net.minecraft.world.level.Level;
|
|
|
|
public abstract class AmbientCreature
|
|
extends Mob {
|
|
protected AmbientCreature(EntityType<? extends AmbientCreature> type, Level level) {
|
|
super((EntityType<? extends Mob>)type, level);
|
|
}
|
|
|
|
@Override
|
|
public boolean canBeLeashed() {
|
|
return false;
|
|
}
|
|
}
|
|
|