mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-16 12:53:43 +01:00
Finally find the 1.16 equivalent to not calculate water pushing on contraptions (performance impact = huge)
This commit is contained in:
parent
3d825fe632
commit
6990f6d60e
1 changed files with 15 additions and 14 deletions
|
@ -678,8 +678,9 @@ public abstract class AbstractContraptionEntity extends Entity implements IEntit
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// @Override //TODO find 1.16 replacement
|
|
||||||
// public void updateAquatics() {
|
@Override
|
||||||
|
protected boolean updateWaterState() {
|
||||||
/*
|
/*
|
||||||
* Override this with an empty method to reduce enormous calculation time when contraptions are in water
|
* Override this with an empty method to reduce enormous calculation time when contraptions are in water
|
||||||
* WARNING: THIS HAS A BUNCH OF SIDE EFFECTS!
|
* WARNING: THIS HAS A BUNCH OF SIDE EFFECTS!
|
||||||
|
@ -690,8 +691,8 @@ public abstract class AbstractContraptionEntity extends Entity implements IEntit
|
||||||
* - this.eyesInWater and this.canSwim() will always be false
|
* - this.eyesInWater and this.canSwim() will always be false
|
||||||
* - swimming state will never be updated
|
* - swimming state will never be updated
|
||||||
*/
|
*/
|
||||||
// extinguish();
|
return false;
|
||||||
// }
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setFire(int p_70015_1_) {
|
public void setFire(int p_70015_1_) {
|
||||||
|
|
Loading…
Reference in a new issue