Class Block

    • Field Detail

      • soundPowderFootstep

        public static final StepSound soundPowderFootstep
      • soundWoodFootstep

        public static final StepSound soundWoodFootstep
      • soundGravelFootstep

        public static final StepSound soundGravelFootstep
      • soundGrassFootstep

        public static final StepSound soundGrassFootstep
      • soundStoneFootstep

        public static final StepSound soundStoneFootstep
      • soundMetalFootstep

        public static final StepSound soundMetalFootstep
      • soundGlassFootstep

        public static final StepSound soundGlassFootstep
      • soundClothFootstep

        public static final StepSound soundClothFootstep
      • soundSandFootstep

        public static final StepSound soundSandFootstep
      • blocksList

        public static final Block[] blocksList
      • opaqueCubeLookup

        public static final boolean[] opaqueCubeLookup
      • lightOpacity

        public static final int[] lightOpacity
      • canBlockGrass

        public static final boolean[] canBlockGrass
      • lightValue

        public static final int[] lightValue
      • requiresSelfNotify

        public static final boolean[] requiresSelfNotify
      • useNeighborBrightness

        public static final boolean[] useNeighborBrightness
      • stone

        public static final Block stone
      • dirt

        public static final Block dirt
      • cobblestone

        public static final Block cobblestone
      • planks

        public static final Block planks
      • sapling

        public static final Block sapling
      • bedrock

        public static final Block bedrock
      • waterMoving

        public static final Block waterMoving
      • waterStill

        public static final Block waterStill
      • lavaMoving

        public static final Block lavaMoving
      • lavaStill

        public static final Block lavaStill
      • sand

        public static final Block sand
      • gravel

        public static final Block gravel
      • oreGold

        public static final Block oreGold
      • oreIron

        public static final Block oreIron
      • oreCoal

        public static final Block oreCoal
      • wood

        public static final Block wood
      • sponge

        public static final Block sponge
      • glass

        public static final Block glass
      • oreLapis

        public static final Block oreLapis
      • blockLapis

        public static final Block blockLapis
      • dispenser

        public static final Block dispenser
      • sandStone

        public static final Block sandStone
      • music

        public static final Block music
      • bed

        public static final Block bed
      • railPowered

        public static final Block railPowered
      • railDetector

        public static final Block railDetector
      • pistonStickyBase

        public static final Block pistonStickyBase
      • web

        public static final Block web
      • pistonBase

        public static final Block pistonBase
      • cloth

        public static final Block cloth
      • plantYellow

        public static final PlantBlock plantYellow
      • plantRed

        public static final PlantBlock plantRed
      • mushroomBrown

        public static final PlantBlock mushroomBrown
      • mushroomRed

        public static final PlantBlock mushroomRed
      • blockGold

        public static final Block blockGold
      • blockSteel

        public static final Block blockSteel
      • stairDouble

        public static final Block stairDouble
      • stairSingle

        public static final Block stairSingle
      • brick

        public static final Block brick
      • tnt

        public static final Block tnt
      • bookShelf

        public static final Block bookShelf
      • cobblestoneMossy

        public static final Block cobblestoneMossy
      • obsidian

        public static final Block obsidian
      • torchWood

        public static final Block torchWood
      • mobSpawner

        public static final Block mobSpawner
      • stairCompactPlanks

        public static final Block stairCompactPlanks
      • chest

        public static final Block chest
      • redstoneWire

        public static final Block redstoneWire
      • oreDiamond

        public static final Block oreDiamond
      • blockDiamond

        public static final Block blockDiamond
      • workbench

        public static final Block workbench
      • crops

        public static final Block crops
      • tilledField

        public static final Block tilledField
      • stoneOvenIdle

        public static final Block stoneOvenIdle
      • stoneOvenActive

        public static final Block stoneOvenActive
      • signPost

        public static final Block signPost
      • doorWood

        public static final Block doorWood
      • ladder

        public static final Block ladder
      • rail

        public static final Block rail
      • stairCompactCobblestone

        public static final Block stairCompactCobblestone
      • signWall

        public static final Block signWall
      • lever

        public static final Block lever
      • pressurePlateStone

        public static final Block pressurePlateStone
      • doorSteel

        public static final Block doorSteel
      • pressurePlatePlanks

        public static final Block pressurePlatePlanks
      • oreRedstone

        public static final Block oreRedstone
      • oreRedstoneGlowing

        public static final Block oreRedstoneGlowing
      • torchRedstoneIdle

        public static final Block torchRedstoneIdle
      • torchRedstoneActive

        public static final Block torchRedstoneActive
      • button

        public static final Block button
      • snow

        public static final Block snow
      • ice

        public static final Block ice
      • blockSnow

        public static final Block blockSnow
      • cactus

        public static final Block cactus
      • blockClay

        public static final Block blockClay
      • reed

        public static final Block reed
      • jukebox

        public static final Block jukebox
      • fence

        public static final Block fence
      • pumpkin

        public static final Block pumpkin
      • netherrack

        public static final Block netherrack
      • slowSand

        public static final Block slowSand
      • glowStone

        public static final Block glowStone
      • pumpkinLantern

        public static final Block pumpkinLantern
      • cake

        public static final Block cake
      • redstoneRepeaterIdle

        public static final Block redstoneRepeaterIdle
      • redstoneRepeaterActive

        public static final Block redstoneRepeaterActive
      • lockedChest

        public static final Block lockedChest
      • trapdoor

        public static final Block trapdoor
      • silverfish

        public static final Block silverfish
      • stoneBrick

        public static final Block stoneBrick
      • mushroomCapBrown

        public static final Block mushroomCapBrown
      • mushroomCapRed

        public static final Block mushroomCapRed
      • fenceIron

        public static final Block fenceIron
      • thinGlass

        public static final Block thinGlass
      • melon

        public static final Block melon
      • pumpkinStem

        public static final Block pumpkinStem
      • melonStem

        public static final Block melonStem
      • vine

        public static final Block vine
      • fenceGate

        public static final Block fenceGate
      • stairsBrick

        public static final Block stairsBrick
      • stairsStoneBrickSmooth

        public static final Block stairsStoneBrickSmooth
      • waterlily

        public static final Block waterlily
      • netherBrick

        public static final Block netherBrick
      • netherFence

        public static final Block netherFence
      • stairsNetherBrick

        public static final Block stairsNetherBrick
      • netherStalk

        public static final Block netherStalk
      • enchantmentTable

        public static final Block enchantmentTable
      • brewingStand

        public static final Block brewingStand
      • cauldron

        public static final Block cauldron
      • endPortal

        public static final Block endPortal
      • endPortalFrame

        public static final Block endPortalFrame
      • whiteStone

        public static final Block whiteStone
      • dragonEgg

        public static final Block dragonEgg
      • redstoneLampIdle

        public static final Block redstoneLampIdle
      • redstoneLampActive

        public static final Block redstoneLampActive
      • blockIndexInTexture

        public int blockIndexInTexture
      • blockID

        public final int blockID
      • blockHardness

        protected float blockHardness
      • blockResistance

        protected float blockResistance
      • blockConstructorCalled

        protected boolean blockConstructorCalled
      • enableStats

        protected boolean enableStats
      • needsRandomTick

        protected boolean needsRandomTick
      • isBlockContainer

        protected boolean isBlockContainer
      • minX

        public double minX
      • minY

        public double minY
      • minZ

        public double minZ
      • maxX

        public double maxX
      • maxY

        public double maxY
      • maxZ

        public double maxZ
      • blockParticleGravity

        public float blockParticleGravity
      • blockMaterial

        public final Material blockMaterial
      • slipperiness

        public float slipperiness
    • Constructor Detail

      • Block

        protected Block​(int var1,
                        Material var2)
      • Block

        protected Block​(int var1,
                        int var2,
                        Material var3)
    • Method Detail

      • setRequiresSelfNotify

        protected Block setRequiresSelfNotify()
      • initializeBlock

        protected void initializeBlock()
      • setLightOpacity

        protected Block setLightOpacity​(int var1)
      • setLightValue

        protected Block setLightValue​(float var1)
      • setResistance

        protected Block setResistance​(float var1)
      • isNormalCube

        public static boolean isNormalCube​(int var0)
      • renderAsNormalBlock

        public boolean renderAsNormalBlock()
      • getBlocksMovement

        public boolean getBlocksMovement​(IBlockAccess var1,
                                         int var2,
                                         int var3,
                                         int var4)
      • getRenderType

        public int getRenderType()
      • setHardness

        protected Block setHardness​(float var1)
      • setBlockUnbreakable

        protected Block setBlockUnbreakable()
      • getHardness

        public float getHardness()
      • setTickRandomly

        protected Block setTickRandomly​(boolean var1)
      • getTickRandomly

        public boolean getTickRandomly()
      • hasTileEntity

        public boolean hasTileEntity()
      • setBlockBounds

        public void setBlockBounds​(float var1,
                                   float var2,
                                   float var3,
                                   float var4,
                                   float var5,
                                   float var6)
      • getBlockBrightness

        @Client
        public @net.minecraft.modding.api.Side.Client float getBlockBrightness​(IBlockAccess var1,
                                                                               int var2,
                                                                               int var3,
                                                                               int var4)
      • getMixedBrightnessForBlock

        @Client
        public @net.minecraft.modding.api.Side.Client int getMixedBrightnessForBlock​(IBlockAccess var1,
                                                                                     int var2,
                                                                                     int var3,
                                                                                     int var4)
      • shouldSideBeRendered

        @Client
        public @net.minecraft.modding.api.Side.Client boolean shouldSideBeRendered​(IBlockAccess var1,
                                                                                   int var2,
                                                                                   int var3,
                                                                                   int var4,
                                                                                   int var5)
      • isBlockSolid

        public boolean isBlockSolid​(IBlockAccess var1,
                                    int var2,
                                    int var3,
                                    int var4,
                                    int var5)
      • getBlockTexture

        @Client
        public @net.minecraft.modding.api.Side.Client int getBlockTexture​(IBlockAccess var1,
                                                                          int var2,
                                                                          int var3,
                                                                          int var4,
                                                                          int var5)
      • getBlockTextureFromSideAndMetadata

        public int getBlockTextureFromSideAndMetadata​(int var1,
                                                      int var2)
      • getBlockTextureFromSide

        public int getBlockTextureFromSide​(int var1)
      • getCollidingBoundingBoxes

        public void getCollidingBoundingBoxes​(World var1,
                                              int var2,
                                              int var3,
                                              int var4,
                                              AxisAlignedBB var5,
                                              java.util.ArrayList var6)
      • getCollisionBoundingBoxFromPool

        public AxisAlignedBB getCollisionBoundingBoxFromPool​(World var1,
                                                             int var2,
                                                             int var3,
                                                             int var4)
      • isOpaqueCube

        public boolean isOpaqueCube()
      • canCollideCheck

        public boolean canCollideCheck​(int var1,
                                       boolean var2)
      • isCollidable

        public boolean isCollidable()
      • updateTick

        public void updateTick​(World var1,
                               int var2,
                               int var3,
                               int var4,
                               java.util.Random var5)
      • randomDisplayTick

        @Client
        public void randomDisplayTick​(World var1,
                                      int var2,
                                      int var3,
                                      int var4,
                                      java.util.Random var5)
      • onBlockDestroyedByPlayer

        public void onBlockDestroyedByPlayer​(World var1,
                                             int var2,
                                             int var3,
                                             int var4,
                                             int var5)
      • onNeighborBlockChange

        public void onNeighborBlockChange​(World var1,
                                          int var2,
                                          int var3,
                                          int var4,
                                          int var5)
      • tickRate

        public int tickRate()
      • onBlockAdded

        public void onBlockAdded​(World var1,
                                 int var2,
                                 int var3,
                                 int var4)
      • onBlockRemoval

        public void onBlockRemoval​(World var1,
                                   int var2,
                                   int var3,
                                   int var4)
      • quantityDropped

        public int quantityDropped​(java.util.Random var1)
      • idDropped

        public int idDropped​(int var1,
                             java.util.Random var2,
                             int var3)
      • blockStrength

        public float blockStrength​(Player var1)
      • dropBlockAsItem

        public final void dropBlockAsItem​(World var1,
                                          int var2,
                                          int var3,
                                          int var4,
                                          int var5,
                                          int var6)
      • dropBlockAsItemWithChance

        public void dropBlockAsItemWithChance​(World var1,
                                              int var2,
                                              int var3,
                                              int var4,
                                              int var5,
                                              float var6,
                                              int var7)
      • dropBlockAsItem_do

        protected void dropBlockAsItem_do​(World var1,
                                          int var2,
                                          int var3,
                                          int var4,
                                          ItemStack var5)
      • damageDropped

        protected int damageDropped​(int var1)
      • getExplosionResistance

        public float getExplosionResistance​(Entity var1)
      • onBlockDestroyedByExplosion

        public void onBlockDestroyedByExplosion​(World var1,
                                                int var2,
                                                int var3,
                                                int var4)
      • getRenderBlockPass

        @Client
        public @net.minecraft.modding.api.Side.Client int getRenderBlockPass()
      • canPlaceBlockOnSide

        public boolean canPlaceBlockOnSide​(World var1,
                                           int var2,
                                           int var3,
                                           int var4,
                                           int var5)
      • canPlaceBlockAt

        public boolean canPlaceBlockAt​(World var1,
                                       int var2,
                                       int var3,
                                       int var4)
      • blockActivated

        public boolean blockActivated​(World var1,
                                      int var2,
                                      int var3,
                                      int var4,
                                      Player var5)
      • onEntityWalking

        public void onEntityWalking​(World var1,
                                    int var2,
                                    int var3,
                                    int var4,
                                    Entity var5)
      • onBlockPlaced

        public void onBlockPlaced​(World var1,
                                  int var2,
                                  int var3,
                                  int var4,
                                  int var5)
      • onBlockClicked

        public void onBlockClicked​(World var1,
                                   int var2,
                                   int var3,
                                   int var4,
                                   Player var5)
      • velocityToAddToEntity

        public void velocityToAddToEntity​(World var1,
                                          int var2,
                                          int var3,
                                          int var4,
                                          Entity var5,
                                          Vec3D var6)
      • setBlockBoundsBasedOnState

        public void setBlockBoundsBasedOnState​(IBlockAccess var1,
                                               int var2,
                                               int var3,
                                               int var4)
      • getBlockColor

        @Client
        public @net.minecraft.modding.api.Side.Client int getBlockColor()
      • getRenderColor

        @Client
        public @net.minecraft.modding.api.Side.Client int getRenderColor​(int var1)
      • colorMultiplier

        @Client
        public @net.minecraft.modding.api.Side.Client int colorMultiplier​(IBlockAccess var1,
                                                                          int var2,
                                                                          int var3,
                                                                          int var4)
      • isPoweringTo

        public boolean isPoweringTo​(IBlockAccess var1,
                                    int var2,
                                    int var3,
                                    int var4,
                                    int var5)
      • canProvidePower

        public boolean canProvidePower()
      • onEntityCollidedWithBlock

        public void onEntityCollidedWithBlock​(World var1,
                                              int var2,
                                              int var3,
                                              int var4,
                                              Entity var5)
      • isIndirectlyPoweringTo

        public boolean isIndirectlyPoweringTo​(World var1,
                                              int var2,
                                              int var3,
                                              int var4,
                                              int var5)
      • setBlockBoundsForItemRender

        public void setBlockBoundsForItemRender()
      • harvestBlock

        public void harvestBlock​(World var1,
                                 Player var2,
                                 int var3,
                                 int var4,
                                 int var5,
                                 int var6)
      • func_50074_q

        protected boolean func_50074_q()
      • createStackedBlock

        protected ItemStack createStackedBlock​(int var1)
      • quantityDroppedWithBonus

        public int quantityDroppedWithBonus​(int var1,
                                            java.util.Random var2)
      • canBlockStay

        public boolean canBlockStay​(World var1,
                                    int var2,
                                    int var3,
                                    int var4)
      • onBlockPlacedBy

        public void onBlockPlacedBy​(World var1,
                                    int var2,
                                    int var3,
                                    int var4,
                                    LivingEntity var5)
      • setBlockName

        public Block setBlockName​(java.lang.String var1)
      • translateBlockName

        public java.lang.String translateBlockName()
      • getBlockName

        public java.lang.String getBlockName()
      • powerBlock

        public void powerBlock​(World var1,
                               int var2,
                               int var3,
                               int var4,
                               int var5,
                               int var6)
      • getEnableStats

        public boolean getEnableStats()
      • disableStats

        protected Block disableStats()
      • getMobilityFlag

        public int getMobilityFlag()
      • getAmbientOcclusionLightValue

        @Client
        public @net.minecraft.modding.api.Side.Client float getAmbientOcclusionLightValue​(IBlockAccess var1,
                                                                                          int var2,
                                                                                          int var3,
                                                                                          int var4)
      • onFallenUpon

        public void onFallenUpon​(World var1,
                                 int var2,
                                 int var3,
                                 int var4,
                                 Entity var5,
                                 float var6)
      • getMetadataInfo

        public java.util.Map<java.lang.String,​java.lang.String> getMetadataInfo​(World world,
                                                                                      int x,
                                                                                      int y,
                                                                                      int z,
                                                                                      int blockId,
                                                                                      int metadata)
      • getSubBlocks

        public void getSubBlocks​(int var1,
                                 CreativeTab var2,
                                 java.util.List var3)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • registerVanilla

        public static void registerVanilla()
      • postRegister

        public static void postRegister()