mirror of
https://github.com/FatherToast/SpecialMobs.git
synced 2025-09-02 07:21:27 +00:00
23 lines
No EOL
842 B
Java
23 lines
No EOL
842 B
Java
package fathertoast.specialmobs.common.entity;
|
|
|
|
import fathertoast.specialmobs.common.bestiary.MobFamily;
|
|
import net.minecraft.entity.LivingEntity;
|
|
import net.minecraft.pathfinding.PathNodeType;
|
|
|
|
public interface ISpecialMob<T extends LivingEntity & ISpecialMob<T>> {
|
|
|
|
/** @return This mob's special data. */
|
|
SpecialMobData<T> getSpecialData();
|
|
|
|
/** @return This mob's species. */
|
|
MobFamily.Species<? extends T> getSpecies();
|
|
|
|
/** @return The experience that should be dropped by this entity. */
|
|
int getExperience();
|
|
|
|
/** Sets the experience that should be dropped by this entity. */
|
|
void setExperience( int xp );
|
|
|
|
/** Sets the entity's pathfinding malus for a particular node type; negative value is un-walkable. */
|
|
void setPathfindingMalus( PathNodeType nodeType, float malus );
|
|
} |