|| blockinstanceofBlockGravel || blockinstanceofBlockSand || blockinstanceofBlockNetherrack || blockinstanceofBlockSoulSand || blockinstanceofBlockMycelium;// Define by what it is not. Not IS_WALLABLE and not a naturally occurring solid block (obsidian/bedrock are exceptions)isArtificial = !(is...
Block block =newLocation(player.getWorld(), player.getLocation().getX(), to + i, player.getLocation() .getZ()).getBlock();if(block.getType() != Material.AIR && block.getType().isSolid()) {for(Player pla : DynamicAC.instance.onlinestaff) { pla.sendMessage(DynamicAC.prefix + player....
block can be literally anything, even a lily pad will work, so long as there is something. It is also possible to use garden soil or fertilized dirt and have absolutely no water on the farms at all, but this will sacrifice a few nutrient stats and bar you from growing crops that ...
{intj1 = (i + random.nextInt(8)) - random.nextInt(8);intk1 = (j + random.nextInt(4)) - random.nextInt(4);intl1 = (k + random.nextInt(8)) - random.nextInt(8);if(world.IsAirBlock(j1, k1, l1) && world.CanBlockStay((byte)field_28057_a, j1, k1, l1)) { world.SetBlo...
blacklist(cfg,"tile.solidShieldBlock"); blacklist(cfg,"tile.invisibleShieldBlock"); setCost(cfg,"tile.mobSpawner",5.0); setCost(cfg,"tile.blockAiry",20.0); }else{for(Map.Entry<String, Property> entry : category.entrySet()) { blacklisted.put(entry.getKey(), entry.getValue().getDouble...