mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 14:59:05 +00:00
DBC Manage Custom Forms
This commit is contained in:
1 parent
4590275695
commit
ab2ac3d231
7 files changed
+39
-7
No files matched your search
@@ -24,25 +24,29 @@ public class DBCAddon {
|
||||
|
||||
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){}
|
||||
|
||||
public void clientSync(NBTTagCompound compound, boolean syncEnd){}
|
||||
|
||||
public void syncUpdate(NBTTagCompound compound, ByteBuf buffer){}
|
||||
public void syncRemove(int id){}
|
||||
|
||||
|
||||
// Packet Handling
|
||||
public void formPacketGet(EntityPlayer player, ByteBuf buffer){}
|
||||
public void formPacketGets(EntityPlayer player, ByteBuf buffer){}
|
||||
public void formPacketRemove(EntityPlayer player, ByteBuf buffer){}
|
||||
public void formPacketSave(EntityPlayer player, ByteBuf buffer){}
|
||||
}
|
||||
Reference in new issue
Block a user