Examples of canBlockStay()


Examples of net.minecraft.block.Block.canBlockStay()

    }

    @Override
    public boolean plantSaplingAt(EntityPlayer player, ItemStack germling, World world, int x, int y, int z){
        Block plant = ItemPlasticPlants.getPlantBlockIDFromSeed(germling.getItemDamage());
        if(plant.canBlockStay(world, x, y, z)) {
            return world.setBlock(x, y, z, plant);
        }
        return false;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.