Beispiel #1
0
 @Override
 public boolean isSideSolid(BlockPos pos, EnumFacing side, boolean _default) {
   return contains(pos) ? cluster.getWorld().isSideSolid(pos, side, _default) : _default;
 }
Beispiel #2
0
 @Override
 public int getStrongPower(BlockPos pos, EnumFacing direction) {
   return contains(pos) ? cluster.getWorld().getStrongPower(pos, direction) : 0;
 }
Beispiel #3
0
 @Override
 public WorldType getWorldType() {
   return cluster.getWorld().getWorldType();
 }
Beispiel #4
0
 @Override
 public Biome getBiomeGenForCoords(BlockPos pos) {
   return cluster.getWorld().getBiomeGenForCoords(pos); // no idea what this does or what to return
 }
Beispiel #5
0
 @Override
 public boolean isAirBlock(BlockPos pos) {
   return contains(pos) ? cluster.getWorld().isAirBlock(pos) : true;
 }
Beispiel #6
0
 @Override
 public IBlockState getBlockState(BlockPos pos) {
   return contains(pos) ? cluster.getWorld().getBlockState(pos) : Blocks.AIR.getDefaultState();
 }
Beispiel #7
0
 @Override
 public int getCombinedLight(BlockPos pos, int lightValue) {
   return contains(pos) ? cluster.getWorld().getCombinedLight(pos, lightValue) : 200;
 }
Beispiel #8
0
 @Override
 public TileEntity getTileEntity(BlockPos pos) {
   return contains(pos) ? cluster.getWorld().getTileEntity(pos) : null;
 }