Support for Future DBC Addon

This commit is contained in:
Kam committed 2024-04-06 17:29:46 -04:00
1 parent 38cc396299
commit a57bf10031
6 files changed
+106 -25

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
package kamkeel.addon;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
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){}
public boolean canDBCAttack(EntityNPCInterface npc, float attackStrength, Entity receiver){
return false;
}
public void doDBCDamage(EntityNPCInterface npc, float attackStrength, Entity receiver){}
}