mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 04:05:12 +00:00
Used interfaces in implementations instead of the real classes for most scripted classes.
This commit is contained in:
1 parent
6896cec417
commit
cf33b90b26
63 files changed
+466
-551
No files matched your search
@@ -4,13 +4,14 @@ import net.minecraft.entity.Entity;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.IExtendedEntityProperties;
|
||||
import noppes.npcs.scripted.entity.ScriptEntity;
|
||||
import noppes.npcs.scripted.interfaces.entity.IEntity;
|
||||
|
||||
public class ScriptEntityData implements IExtendedEntityProperties{
|
||||
public ScriptEntity base;
|
||||
public ScriptEntityData(ScriptEntity base){
|
||||
public IEntity base;
|
||||
public ScriptEntityData(IEntity base){
|
||||
this.base = base;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void saveNBTData(NBTTagCompound compound) {
|
||||
}
|
||||
@@ -22,5 +23,4 @@ public class ScriptEntityData implements IExtendedEntityProperties{
|
||||
@Override
|
||||
public void init(Entity entity, World world) {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user