mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Add missing upstream methods
This commit is contained in:
parent
3b201536a8
commit
1bdac416d0
@ -398,13 +398,18 @@ public class AsyncBlock implements Block {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean applyBoneMeal(@NotNull BlockFace face) {
|
public boolean applyBoneMeal(@NotNull BlockFace face) {
|
||||||
throw new UnsupportedOperationException("FAWE does not support this method");
|
throw new UnsupportedOperationException("FAWE does not support this yet");
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getTranslationKey() {
|
public String getTranslationKey() {
|
||||||
throw new UnsupportedOperationException("FAWE does not support this yet");
|
throw new UnsupportedOperationException("FAWE does not support this yet");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@NotNull
|
||||||
|
@Override
|
||||||
|
public float getDestroySpeed(@NotNull ItemStack itemStack) {
|
||||||
|
throw new UnsupportedOperationException("FAWE does not support this yet");
|
||||||
|
}
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
@Override
|
@Override
|
||||||
|
@ -649,6 +649,21 @@ public class AsyncWorld extends PassthroughExtent implements World {
|
|||||||
parent.setThunderDuration(duration);
|
parent.setThunderDuration(duration);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isClearWeather() {
|
||||||
|
return parent.isClearWeather();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setClearWeatherDuration(int duration) {
|
||||||
|
parent.setClearWeatherDuration(duration);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getClearWeatherDuration() {
|
||||||
|
return parent.getClearWeatherDuration();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean createExplosion(double x, double y, double z, float power) {
|
public boolean createExplosion(double x, double y, double z, float power) {
|
||||||
return this.createExplosion(x, y, z, power, false, true);
|
return this.createExplosion(x, y, z, power, false, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user