/// <summary> /// Resets the task /// </summary> public override void ResetTask() { if (Field_48328_i) { TargetDoor.OnPoweredBlockChange(TheEntity.WorldObj, EntityPosX, EntityPosY, EntityPosZ, false); } }
/// <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); }