Exemplo n.º 1
0
 /// <summary>
 /// Resets the task
 /// </summary>
 public override void ResetTask()
 {
     if (Field_48328_i)
     {
         TargetDoor.OnPoweredBlockChange(TheEntity.WorldObj, EntityPosX, EntityPosY, EntityPosZ, false);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Execute a one shot task or start executing a continuous task
 /// </summary>
 public override void StartExecuting()
 {
     Field_48327_j = 20;
     TargetDoor.OnPoweredBlockChange(TheEntity.WorldObj, EntityPosX, EntityPosY, EntityPosZ, true);
 }