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

@@ -6,21 +6,22 @@ import noppes.npcs.entity.EntityNPCInterface;
public class EntityAITransform extends EntityAIBase {
private EntityNPCInterface npc;
public EntityAITransform(EntityNPCInterface npc){
this.npc = npc;
setMutexBits(AiMutex.PASSIVE);
}
@Override
public boolean shouldExecute() {
if(npc.isKilled() || npc.isAttacking() || npc.transform.editingModus)
return false;
private EntityNPCInterface npc;
return npc.worldObj.getWorldTime() % 24000 < 12000?npc.transform.isActive:!npc.transform.isActive;
}
public void startExecuting(){
npc.transform.transform(!npc.transform.isActive);
public EntityAITransform(EntityNPCInterface npc) {
this.npc = npc;
setMutexBits(AiMutex.PASSIVE);
}
@Override
public boolean shouldExecute() {
if (npc.isKilled() || npc.isAttacking() || npc.transform.editingModus)
return false;
return npc.worldObj.getWorldTime() % 24000 < 12000 ? npc.transform.isActive : !npc.transform.isActive;
}
public void startExecuting() {
npc.transform.transform(!npc.transform.isActive);
}
}