mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-02-11 12:55:00 +01:00
remove unused code
This commit is contained in:
parent
0d0a1ec42f
commit
ea30d5e0f2
1 changed files with 0 additions and 16 deletions
|
@ -41,8 +41,6 @@ public class PressingBehaviour extends BeltProcessingBehaviour {
|
||||||
public boolean finished;
|
public boolean finished;
|
||||||
public Mode mode;
|
public Mode mode;
|
||||||
|
|
||||||
private boolean ticksPaused;
|
|
||||||
|
|
||||||
int entityScanCooldown;
|
int entityScanCooldown;
|
||||||
|
|
||||||
public interface PressingBehaviourSpecifics {
|
public interface PressingBehaviourSpecifics {
|
||||||
|
@ -172,13 +170,6 @@ public class PressingBehaviour extends BeltProcessingBehaviour {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
if (level.isClientSide && ticksPaused) {
|
|
||||||
prevRunningTicks = CYCLE / 2;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (runningTicks >= CYCLE / 2 && !finished) {
|
if (runningTicks >= CYCLE / 2 && !finished) {
|
||||||
if (inWorld())
|
if (inWorld())
|
||||||
applyInWorld();
|
applyInWorld();
|
||||||
|
@ -209,13 +200,6 @@ public class PressingBehaviour extends BeltProcessingBehaviour {
|
||||||
|
|
||||||
prevRunningTicks = runningTicks;
|
prevRunningTicks = runningTicks;
|
||||||
runningTicks += getRunningTickSpeed();
|
runningTicks += getRunningTickSpeed();
|
||||||
/*
|
|
||||||
if (prevRunningTicks < CYCLE / 2 && runningTicks >= CYCLE / 2) {
|
|
||||||
// Pause the ticks until a packet is received
|
|
||||||
if (level.isClientSide && !blockEntity.isVirtual())
|
|
||||||
ticksPaused = true;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void applyOnBasin() {
|
protected void applyOnBasin() {
|
||||||
|
|
Loading…
Reference in a new issue