Package net.minecraft.world.block
Class DoorBlock
- java.lang.Object
-
- net.minecraft.world.block.Block
-
- net.minecraft.world.block.DoorBlock
-
public class DoorBlock extends Block
-
-
Field Summary
-
Fields inherited from class net.minecraft.world.block.Block
bed, bedrock, blockClay, blockConstructorCalled, blockDiamond, blockGold, blockHardness, blockID, blockIndexInTexture, blockLapis, blockMaterial, blockParticleGravity, blockResistance, blocksList, blockSnow, blockSteel, bookShelf, brewingStand, brick, button, cactus, cake, canBlockGrass, cauldron, chest, cloth, cobblestone, cobblestoneMossy, crops, deadBush, dirt, dispenser, doorSteel, doorWood, dragonEgg, enableStats, enchantmentTable, endPortal, endPortalFrame, fence, fenceGate, fenceIron, fire, glass, glowStone, grass, gravel, ice, isBlockContainer, jukebox, ladder, lavaMoving, lavaStill, leaves, lever, lightOpacity, lightValue, lockedChest, maxX, maxY, maxZ, melon, melonStem, minX, minY, minZ, mobSpawner, mushroomBrown, mushroomCapBrown, mushroomCapRed, mushroomRed, music, mycelium, needsRandomTick, netherBrick, netherFence, netherrack, netherStalk, obsidian, opaqueCubeLookup, oreCoal, oreDiamond, oreGold, oreIron, oreLapis, oreRedstone, oreRedstoneGlowing, pistonBase, pistonExtension, pistonMoving, pistonStickyBase, planks, plantRed, plantYellow, portal, pressurePlatePlanks, pressurePlateStone, pumpkin, pumpkinLantern, pumpkinStem, rail, railDetector, railPowered, redstoneLampActive, redstoneLampIdle, redstoneRepeaterActive, redstoneRepeaterIdle, redstoneWire, reed, requiresSelfNotify, sand, sandStone, sapling, signPost, signWall, silverfish, slipperiness, slowSand, snow, soundClothFootstep, soundGlassFootstep, soundGrassFootstep, soundGravelFootstep, soundMetalFootstep, soundPowderFootstep, soundSandFootstep, soundStoneFootstep, soundWoodFootstep, sponge, stairCompactCobblestone, stairCompactPlanks, stairDouble, stairsBrick, stairSingle, stairsNetherBrick, stairsStoneBrickSmooth, stepSound, stone, stoneBrick, stoneOvenActive, stoneOvenIdle, tallGrass, thinGlass, tilledField, tnt, torchRedstoneActive, torchRedstoneIdle, torchWood, trapdoor, useNeighborBrightness, vine, waterlily, waterMoving, waterStill, web, whiteStone, wood, workbench
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
blockActivated(World var1, int var2, int var3, int var4, Player var5)
boolean
canPlaceBlockAt(World var1, int var2, int var3, int var4)
MovingObjectPosition
collisionRayTrace(World var1, int var2, int var3, int var4, Vec3D var5, Vec3D var6)
boolean
func_48213_h(IBlockAccess var1, int var2, int var3, int var4)
boolean
getBlocksMovement(IBlockAccess var1, int var2, int var3, int var4)
@net.minecraft.modding.api.Side.Client int
getBlockTexture(IBlockAccess var1, int var2, int var3, int var4, int var5)
AxisAlignedBB
getCollisionBoundingBoxFromPool(World var1, int var2, int var3, int var4)
int
getDoorOrientation(IBlockAccess var1, int var2, int var3, int var4)
int
getFullMetadata(IBlockAccess var1, int var2, int var3, int var4)
java.util.Map<java.lang.String,java.lang.String>
getMetadataInfo(World world, int x, int y, int z, int blockId, int metadata)
int
getMobilityFlag()
int
getRenderType()
@Client AxisAlignedBB
getSelectedBoundingBoxFromPool(World var1, int var2, int var3, int var4)
int
idDropped(int var1, java.util.Random var2, int var3)
boolean
isOpaqueCube()
void
onBlockClicked(World var1, int var2, int var3, int var4, Player var5)
void
onNeighborBlockChange(World var1, int var2, int var3, int var4, int var5)
void
onPoweredBlockChange(World var1, int var2, int var3, int var4, boolean var5)
boolean
renderAsNormalBlock()
void
setBlockBoundsBasedOnState(IBlockAccess var1, int var2, int var3, int var4)
-
Methods inherited from class net.minecraft.world.block.Block
blockStrength, canBlockStay, canCollideCheck, canPlaceBlockOnSide, canProvidePower, colorMultiplier, createStackedBlock, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItem_do, dropBlockAsItemWithChance, func_50074_q, getAmbientOcclusionLightValue, getBlockBrightness, getBlockColor, getBlockName, getBlockTextureFromSide, getBlockTextureFromSideAndMetadata, getCollidingBoundingBoxes, getEnableStats, getExplosionResistance, getHardness, getMixedBrightnessForBlock, getRenderBlockPass, getRenderColor, getSubBlocks, getTickRandomly, harvestBlock, hasTileEntity, initializeBlock, isBlockSolid, isCollidable, isIndirectlyPoweringTo, isNormalCube, isPoweringTo, onBlockAdded, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockPlaced, onBlockPlacedBy, onBlockRemoval, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, postRegister, powerBlock, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, registerVanilla, setBlockBounds, setBlockBoundsForItemRender, setBlockName, setBlockUnbreakable, setHardness, setLightOpacity, setLightValue, setRequiresSelfNotify, setResistance, setStepSound, setTickRandomly, shouldSideBeRendered, tickRate, toString, translateBlockName, updateTick, velocityToAddToEntity
-
-
-
-
Constructor Detail
-
DoorBlock
protected DoorBlock(int var1, Material var2)
-
-
Method Detail
-
getBlockTexture
@Client public @net.minecraft.modding.api.Side.Client int getBlockTexture(IBlockAccess var1, int var2, int var3, int var4, int var5)
- Overrides:
getBlockTexture
in classBlock
-
isOpaqueCube
public boolean isOpaqueCube()
- Overrides:
isOpaqueCube
in classBlock
-
getBlocksMovement
public boolean getBlocksMovement(IBlockAccess var1, int var2, int var3, int var4)
- Overrides:
getBlocksMovement
in classBlock
-
renderAsNormalBlock
public boolean renderAsNormalBlock()
- Overrides:
renderAsNormalBlock
in classBlock
-
getRenderType
public int getRenderType()
- Overrides:
getRenderType
in classBlock
-
getSelectedBoundingBoxFromPool
@Client public @Client AxisAlignedBB getSelectedBoundingBoxFromPool(World var1, int var2, int var3, int var4)
- Overrides:
getSelectedBoundingBoxFromPool
in classBlock
-
getCollisionBoundingBoxFromPool
public AxisAlignedBB getCollisionBoundingBoxFromPool(World var1, int var2, int var3, int var4)
- Overrides:
getCollisionBoundingBoxFromPool
in classBlock
-
setBlockBoundsBasedOnState
public void setBlockBoundsBasedOnState(IBlockAccess var1, int var2, int var3, int var4)
- Overrides:
setBlockBoundsBasedOnState
in classBlock
-
getDoorOrientation
public int getDoorOrientation(IBlockAccess var1, int var2, int var3, int var4)
-
func_48213_h
public boolean func_48213_h(IBlockAccess var1, int var2, int var3, int var4)
-
onBlockClicked
public void onBlockClicked(World var1, int var2, int var3, int var4, Player var5)
- Overrides:
onBlockClicked
in classBlock
-
blockActivated
public boolean blockActivated(World var1, int var2, int var3, int var4, Player var5)
- Overrides:
blockActivated
in classBlock
-
onPoweredBlockChange
public void onPoweredBlockChange(World var1, int var2, int var3, int var4, boolean var5)
-
onNeighborBlockChange
public void onNeighborBlockChange(World var1, int var2, int var3, int var4, int var5)
- Overrides:
onNeighborBlockChange
in classBlock
-
idDropped
public int idDropped(int var1, java.util.Random var2, int var3)
-
collisionRayTrace
public MovingObjectPosition collisionRayTrace(World var1, int var2, int var3, int var4, Vec3D var5, Vec3D var6)
- Overrides:
collisionRayTrace
in classBlock
-
canPlaceBlockAt
public boolean canPlaceBlockAt(World var1, int var2, int var3, int var4)
- Overrides:
canPlaceBlockAt
in classBlock
-
getMobilityFlag
public int getMobilityFlag()
- Overrides:
getMobilityFlag
in classBlock
-
getFullMetadata
public int getFullMetadata(IBlockAccess var1, int var2, int var3, int var4)
-
getMetadataInfo
public java.util.Map<java.lang.String,java.lang.String> getMetadataInfo(World world, int x, int y, int z, int blockId, int metadata)
- Overrides:
getMetadataInfo
in classBlock
-
-