mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 14:59:05 +00:00
Support for Future DBC Addon
This commit is contained in:
1 parent
38cc396299
commit
a57bf10031
6 files changed
+106
-25
No files matched your search
@@ -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){}
|
||||
}
|
||||
Reference in new issue
Block a user