Proper Reformating

This commit is contained in:
Kam committed 2025-03-13 17:14:45 -04:00
1 parent ce75880aba
commit 180d257024
1179 files changed
+59847 -61583

No files matched your search

@@ -14,32 +14,30 @@ import noppes.npcs.entity.data.ModelData;
// EntityAnimal, Item, EntityPlayer, InventoryPlayer,
// ItemStack, World, NBTTagCompound
public class EntityNPCHumanFemale extends EntityNPCInterface
{
public EntityNPCHumanFemale(World world)
{
public class EntityNPCHumanFemale extends EntityNPCInterface {
public EntityNPCHumanFemale(World world) {
super(world);
scaleX = scaleY = scaleZ = 0.9075f;
display.texture = "customnpcs:textures/entity/humanfemale/Stephanie.png";
}
public void onUpdate(){
isDead = true;
public void onUpdate() {
isDead = true;
if(!worldObj.isRemote){
NBTTagCompound compound = new NBTTagCompound();
if (!worldObj.isRemote) {
NBTTagCompound compound = new NBTTagCompound();
writeToNBT(compound);
EntityCustomNpc npc = new EntityCustomNpc(worldObj);
npc.readFromNBT(compound);
ModelData data = npc.modelData;
data.breasts = 2;
data.modelScale.head.setScale(0.95f,0.95f);
data.modelScale.legs.setScale(0.92f,0.92f);
data.modelScale.arms.setScale(0.80f,0.92f);
data.modelScale.body.setScale(0.92f, 0.92f);
worldObj.spawnEntityInWorld(npc);
}
super.onUpdate();
writeToNBT(compound);
EntityCustomNpc npc = new EntityCustomNpc(worldObj);
npc.readFromNBT(compound);
ModelData data = npc.modelData;
data.breasts = 2;
data.modelScale.head.setScale(0.95f, 0.95f);
data.modelScale.legs.setScale(0.92f, 0.92f);
data.modelScale.arms.setScale(0.80f, 0.92f);
data.modelScale.body.setScale(0.92f, 0.92f);
worldObj.spawnEntityInWorld(npc);
}
super.onUpdate();
}
}