mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-13 23:04:08 +00:00
33 lines
519 B
Java
33 lines
519 B
Java
package noppes.npcs.entity;
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.world.World;
|
|
|
|
public class EntityDialogNpc extends EntityNPCInterface{
|
|
|
|
public EntityDialogNpc(World world) {
|
|
super(world);
|
|
}
|
|
|
|
|
|
@Override
|
|
public boolean isInvisibleToPlayer(EntityPlayer player){
|
|
return true;
|
|
}
|
|
|
|
@Override
|
|
public boolean isInvisible(){
|
|
return true;
|
|
}
|
|
|
|
@Override
|
|
public void onUpdate(){
|
|
|
|
}
|
|
|
|
@Override
|
|
public boolean interact(EntityPlayer player) {
|
|
return false;
|
|
}
|
|
}
|