Rename Namespace to kamkeel.npcs

This commit is contained in:
Kam committed 2025-01-29 13:20:04 -05:00
1 parent 19c31b985d
commit 5d41f5b939
128 files changed
+406 -440

No files matched your search

@@ -0,0 +1,41 @@
package kamkeel.npcs.addon;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.nbt.NBTTagCompound;
import noppes.npcs.controllers.data.PlayerData;
import noppes.npcs.entity.EntityNPCInterface;
public class DBCAddon {
public static DBCAddon instance;
public boolean supportEnabled = true;
/**
* This class is a shell class to be changed via mixins
* The Addon Mod will replace all blank functions within
* this class to change the ongoing code.
*/
public DBCAddon(){
instance = this;
}
public void dbcCopyData(EntityLivingBase copied, EntityLivingBase entity){}
// AI / STATS
public boolean canDBCAttack(EntityNPCInterface npc, float attackStrength, Entity receiver){
return false;
}
public void doDBCDamage(EntityNPCInterface npc, float attackStrength, Entity receiver){}
public boolean isKO(EntityNPCInterface npc, EntityPlayer player){
return false;
}
// PlayerData NBT
public void writeToNBT(PlayerData playerData, NBTTagCompound nbtTagCompound){}
public void readFromNBT(PlayerData playerData, NBTTagCompound nbtTagCompound){}
// Client Sync
public void syncPlayer(EntityPlayerMP playerMP){}
}