Add canSaveToDisk to Entity

This commit is contained in:
William Blake Galbreath
2025-01-05 16:43:10 -08:00
committed by granny
parent 27d7eadf95
commit f068d01f6b
7 changed files with 57 additions and 95 deletions

View File

@@ -35,6 +35,11 @@ public class DolphinSpit extends LlamaSpit {
dolphin.getZ() + (double) (dolphin.getBbWidth() + 1.0F) * 0.5 * (double) Mth.cos(dolphin.yBodyRot * (float) (Math.PI / 180.0)));
}
@Override
public boolean canSaveToDisk() {
return false;
}
public void tick() {
projectileTick();

View File

@@ -37,6 +37,11 @@ public class PhantomFlames extends LlamaSpit {
phantom.getZ() + (double) (phantom.getBbWidth() + 1.0F) * 0.5D * (double) Mth.cos(phantom.yBodyRot * (float) (Math.PI / 180.0)));
}
@Override
public boolean canSaveToDisk() {
return false;
}
public void tick() {
projectileTick();