mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-02 21:17:00 +01:00
[Bleeding] Override not applicable
This commit is contained in:
parent
7a49e29b55
commit
078e2511a5
1 changed files with 0 additions and 4 deletions
|
@ -18,12 +18,10 @@ public class StructureGrowDelegate implements BlockChangeDelegate {
|
||||||
this.world = world.getWorld();
|
this.world = world.getWorld();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean setRawTypeId(int x, int y, int z, int type) {
|
public boolean setRawTypeId(int x, int y, int z, int type) {
|
||||||
return setRawTypeIdAndData(x, y, z, type, 0);
|
return setRawTypeIdAndData(x, y, z, type, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean setRawTypeIdAndData(int x, int y, int z, int type, int data) {
|
public boolean setRawTypeIdAndData(int x, int y, int z, int type, int data) {
|
||||||
BlockState state = world.getBlockAt(x, y, z).getState();
|
BlockState state = world.getBlockAt(x, y, z).getState();
|
||||||
state.setTypeId(type);
|
state.setTypeId(type);
|
||||||
|
@ -32,12 +30,10 @@ public class StructureGrowDelegate implements BlockChangeDelegate {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public int getTypeId(int x, int y, int z) {
|
public int getTypeId(int x, int y, int z) {
|
||||||
return world.getBlockTypeIdAt(x, y, z);
|
return world.getBlockTypeIdAt(x, y, z);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public int getHeight() {
|
public int getHeight() {
|
||||||
return world.getMaxHeight();
|
return world.getMaxHeight();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue