1.7.10 Files

Files added
This commit is contained in:
KAMKEEL committed 2018-09-13 12:03:28 -04:00
1 parent 393ea9b463
commit a31efb2dc3
1768 files changed
+84831

No files matched your search

@@ -0,0 +1,48 @@
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) braces deadcode fieldsfirst
package noppes.npcs.entity.old;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.World;
import noppes.npcs.ModelData;
import noppes.npcs.ModelPartData;
import noppes.npcs.client.NoppesUtil;
import noppes.npcs.entity.EntityCustomNpc;
import noppes.npcs.entity.EntityNPCInterface;
// Referenced classes of package net.minecraft.src:
// EntityAnimal, Item, EntityPlayer, InventoryPlayer,
// ItemStack, World, NBTTagCompound
public class EntityNpcEnderchibi extends EntityNPCInterface
{
public EntityNpcEnderchibi(World world)
{
super(world);
display.texture = "customnpcs:textures/entity/enderchibi/MrEnderchibi.png";
}
@Override
public void onUpdate()
{
isDead = true;
if(!worldObj.isRemote){
NBTTagCompound compound = new NBTTagCompound();
writeToNBT(compound);
EntityCustomNpc npc = new EntityCustomNpc(worldObj);
npc.readFromNBT(compound);
ModelData data = npc.modelData;
data.legs.setScale(0.65f,0.75f);
data.arms.setScale(0.50f,1.45f);
ModelPartData part = data.getOrCreatePart("particles");
part.playerTexture = true;
worldObj.spawnEntityInWorld(npc);
}
super.onUpdate();
}
}