Available Methods
- AIR
- GRASS
- get ( )
- SNOW_LAYER
- LEAVES
- getId ( )
- DIRT
- LEAVES2 ( )
- LOG
- canPassThrough ( )
- solid ( )
- isNormalBlock ( )
- TALL_GRASS
- isTransparent ( )
- collidesWithBB ( )
- getDamage ( )
- hasMeta ( )
- SAND
- EMERALD_BLOCK
- STILL_LAVA
- getSide ( )
- list ( )
- SAPLING
- getDrops ( )
- BREWING_STAND_BLOCK
- BEACON
- getBoundingBox ( )
- STONE
- STILL_WATER
- onUpdate ( )
- setDamage ( )
- getName ( )
- WATER
- getFullId ( )
- LAVA
- isSolid ( )
- FURNACE
- IRON_BLOCK
- SHULKER_BOX
- DIAMOND_BLOCK
- SUGARCANE_BLOCK
Related Classes
- java.util.Random
- java.util.concurrent.ThreadLocalRandom
- cn.nukkit.Player
- cn.nukkit.level.Level
- cn.nukkit.utils.TextFormat
- cn.nukkit.item.Item
- cn.nukkit.entity.Entity
- cn.nukkit.level.Position
- cn.nukkit.math.Vector3
- cn.nukkit.level.format.FullChunk
- cn.nukkit.math.NukkitMath
- cn.nukkit.nbt.tag.CompoundTag
- cn.nukkit.nbt.tag.ListTag
- cn.nukkit.nbt.tag.FloatTag
- cn.nukkit.blockentity.BlockEntity
- cn.nukkit.math.AxisAlignedBB
- cn.nukkit.event.player.PlayerInteractEvent
- cn.nukkit.block.BlockAir
- cn.nukkit.entity.item.EntityItem
- cn.nukkit.level.format.generic.BaseFullChunk
- cn.nukkit.potion.Effect
- cn.nukkit.inventory.InventoryHolder
- cn.nukkit.nbt.tag.DoubleTag
- cn.nukkit.event.player.PlayerInteractEvent.Action
- cn.nukkit.entity.weather.EntityLightning
Java Code Examples for cn.nukkit.block.Block#SAPLING
The following examples show how to use
cn.nukkit.block.Block#SAPLING .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ObjectTree.java From Nukkit with GNU General Public License v3.0 | 5 votes |
protected boolean overridable(int id) { switch (id) { case Block.AIR: case Block.SAPLING: case Block.LOG: case Block.LEAVES: case Block.SNOW_LAYER: case Block.LOG2: case Block.LEAVES2: return true; default: return false; } }
Example 2
Source File: ObjectTree.java From Nukkit with GNU General Public License v3.0 | 5 votes |
private boolean overridable(int id) { switch (id) { case Block.AIR: case Block.SAPLING: case Block.LOG: case Block.LEAVES: case Block.SNOW_LAYER: case Block.LOG2: case Block.LEAVES2: return true; default: return false; } }