This commit is contained in:
Robinson Gallego 2020-02-10 17:36:11 -05:00
parent 554f93a9a5
commit 8835352091
2 changed files with 40 additions and 0 deletions

View file

@ -653,6 +653,16 @@ public class OfflinePlayer implements Player {
public void setTotalExperience(int i) {
}
@Override
public void sendExperienceChange(float v) {
}
@Override
public void sendExperienceChange(float v, int i) {
}
@Override
public float getExhaustion() {
return 0F;

View file

@ -448,6 +448,26 @@ public class FakeWorld implements World {
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public int getHighestBlockYAt(int i, int i1, HeightMap heightMap) {
return 0;
}
@Override
public int getHighestBlockYAt(Location location, HeightMap heightMap) {
return 0;
}
@Override
public Block getHighestBlockAt(int i, int i1, HeightMap heightMap) {
return null;
}
@Override
public Block getHighestBlockAt(Location location, HeightMap heightMap) {
return null;
}
@Override
public Biome getBiome(int i, int i1) {
throw new UnsupportedOperationException("Not supported yet.");
@ -553,6 +573,16 @@ public class FakeWorld implements World {
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public boolean isHardcore() {
return false;
}
@Override
public void setHardcore(boolean b) {
}
@Override
public long getTicksPerAnimalSpawns() {
throw new UnsupportedOperationException("Not supported yet.");