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