Added support for other models that inherit from ModelBiped to NPC puppet rendering.

This commit is contained in:
Luis C.M committed 2023-01-09 21:08:22 -06:00
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;