pi
Class Block

Object
  extended by pi.Block

public class Block
extends Object

A Minecraft Block description


Field Summary
static Block AIR
           
static Block BED
           
static Block BEDROCK
           
static Block BEDROCK_INVISIBLE
           
static Block BOOKSHELF
           
static Block BRICK_BLOCK
           
static Block CACTUS
           
static Block CHEST
           
static Block CLAY
           
static Block COAL_ORE
           
static Block COBBLESTONE
           
static Block COBWEB
           
static Block CRAFTING_TABLE
           
static Block DIAMOND_BLOCK
           
static Block DIAMOND_ORE
           
static Block DIRT
           
static Block DOOR_IRON
           
static Block DOOR_WOOD
           
static Block FARMLAND
           
static Block FENCE
           
static Block FENCE_GATE
           
static Block FIRE
           
static Block FLOWER_CYAN
           
static Block FLOWER_YELLOW
           
static Block FURNACE_ACTIVE
           
static Block FURNACE_INACTIVE
           
static Block GLASS
           
static Block GLASS_PANE
           
static Block GLOWING_OBSIDIAN
           
static Block GLOWSTONE_BLOCK
           
static Block GOLD_BLOCK
           
static Block GOLD_ORE
           
static Block GRASS
           
static Block GRASS_TALL
           
static Block GRAVEL
           
static Block ICE
           
static Block IRON_BLOCK
           
static Block IRON_ORE
           
static Block LADDER
           
static Block LAPIS_LAZULI_BLOCK
           
static Block LAPIS_LAZULI_ORE
           
static Block LAVA
           
static Block LAVA_FLOWING
           
static Block LAVA_STATIONARY
           
static Block LEAVES
           
static Block MELON
           
static Block MOSS_STONE
           
static Block MUSHROOM_BROWN
           
static Block MUSHROOM_RED
           
static Block NETHER_REACTOR_CORE
           
static Block OBSIDIAN
           
static Block REDSTONE_ORE
           
static Block SAND
           
static Block SANDSTONE
           
static Block SAPLING
           
static Block SNOW
           
static Block SNOW_BLOCK
           
static Block STAIRS_COBBLESTONE
           
static Block STAIRS_WOOD
           
static Block STONE
           
static Block STONE_BRICK
           
static Block STONE_SLAB
           
static Block STONE_SLAB_DOUBLE
           
static Block SUGAR_CANE
           
static Block TNT
           
static Block TORCH
           
static Block WATER
           
static Block WATER_FLOWING
           
static Block WATER_STATIONARY
           
static Block WOOD
           
static Block WOOD_PLANKS
           
static Block WOOL
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
static Block id(int id)
          Get a block with and withId (use a constant like Block.TNT)
 String toString()
           
 Block withData(int data)
          Get a block with extra data
static Block wool(Color color)
          Get a wool block of a specific color
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

AIR

public static final Block AIR

STONE

public static final Block STONE

GRASS

public static final Block GRASS

DIRT

public static final Block DIRT

COBBLESTONE

public static final Block COBBLESTONE

WOOD_PLANKS

public static final Block WOOD_PLANKS

SAPLING

public static final Block SAPLING

BEDROCK

public static final Block BEDROCK

WATER_FLOWING

public static final Block WATER_FLOWING

WATER

public static final Block WATER

WATER_STATIONARY

public static final Block WATER_STATIONARY

LAVA_FLOWING

public static final Block LAVA_FLOWING

LAVA

public static final Block LAVA

LAVA_STATIONARY

public static final Block LAVA_STATIONARY

SAND

public static final Block SAND

GRAVEL

public static final Block GRAVEL

GOLD_ORE

public static final Block GOLD_ORE

IRON_ORE

public static final Block IRON_ORE

COAL_ORE

public static final Block COAL_ORE

WOOD

public static final Block WOOD

LEAVES

public static final Block LEAVES

GLASS

public static final Block GLASS

LAPIS_LAZULI_ORE

public static final Block LAPIS_LAZULI_ORE

LAPIS_LAZULI_BLOCK

public static final Block LAPIS_LAZULI_BLOCK

SANDSTONE

public static final Block SANDSTONE

BED

public static final Block BED

COBWEB

public static final Block COBWEB

GRASS_TALL

public static final Block GRASS_TALL

WOOL

public static final Block WOOL

FLOWER_YELLOW

public static final Block FLOWER_YELLOW

FLOWER_CYAN

public static final Block FLOWER_CYAN

MUSHROOM_BROWN

public static final Block MUSHROOM_BROWN

MUSHROOM_RED

public static final Block MUSHROOM_RED

GOLD_BLOCK

public static final Block GOLD_BLOCK

IRON_BLOCK

public static final Block IRON_BLOCK

STONE_SLAB_DOUBLE

public static final Block STONE_SLAB_DOUBLE

STONE_SLAB

public static final Block STONE_SLAB

BRICK_BLOCK

public static final Block BRICK_BLOCK

TNT

public static final Block TNT

BOOKSHELF

public static final Block BOOKSHELF

MOSS_STONE

public static final Block MOSS_STONE

OBSIDIAN

public static final Block OBSIDIAN

TORCH

public static final Block TORCH

FIRE

public static final Block FIRE

STAIRS_WOOD

public static final Block STAIRS_WOOD

CHEST

public static final Block CHEST

DIAMOND_ORE

public static final Block DIAMOND_ORE

DIAMOND_BLOCK

public static final Block DIAMOND_BLOCK

CRAFTING_TABLE

public static final Block CRAFTING_TABLE

FARMLAND

public static final Block FARMLAND

FURNACE_INACTIVE

public static final Block FURNACE_INACTIVE

FURNACE_ACTIVE

public static final Block FURNACE_ACTIVE

DOOR_WOOD

public static final Block DOOR_WOOD

LADDER

public static final Block LADDER

STAIRS_COBBLESTONE

public static final Block STAIRS_COBBLESTONE

DOOR_IRON

public static final Block DOOR_IRON

REDSTONE_ORE

public static final Block REDSTONE_ORE

SNOW

public static final Block SNOW

ICE

public static final Block ICE

SNOW_BLOCK

public static final Block SNOW_BLOCK

CACTUS

public static final Block CACTUS

CLAY

public static final Block CLAY

SUGAR_CANE

public static final Block SUGAR_CANE

FENCE

public static final Block FENCE

GLOWSTONE_BLOCK

public static final Block GLOWSTONE_BLOCK

BEDROCK_INVISIBLE

public static final Block BEDROCK_INVISIBLE

STONE_BRICK

public static final Block STONE_BRICK

GLASS_PANE

public static final Block GLASS_PANE

MELON

public static final Block MELON

FENCE_GATE

public static final Block FENCE_GATE

GLOWING_OBSIDIAN

public static final Block GLOWING_OBSIDIAN

NETHER_REACTOR_CORE

public static final Block NETHER_REACTOR_CORE
Method Detail

id

public static Block id(int id)
Get a block with and withId (use a constant like Block.TNT)


withData

public Block withData(int data)
Get a block with extra data


hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

wool

public static Block wool(Color color)
Get a wool block of a specific color