mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 16:59:43 +00:00
Added support for other models that inherit from ModelBiped to NPC puppet rendering.
This commit is contained in:
1 parent
3573b7e71e
commit
42c29f1d47
4 files changed
+119
-79
No files matched your search
@@ -1,5 +1,6 @@
|
||||
package noppes.npcs.roles;
|
||||
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import noppes.npcs.api.handler.data.IModelPart;
|
||||
import noppes.npcs.entity.EntityNPCInterface;
|
||||
@@ -72,6 +73,7 @@ public class JobPuppet extends JobInterface{
|
||||
|
||||
public static class PartConfig implements IModelPart {
|
||||
public Object parent;
|
||||
public EntityLivingBase npcModel;
|
||||
|
||||
public float rotationX = 0f;
|
||||
public float rotationY = 0f;
|
||||
|
||||
Reference in new issue
Block a user