Package net.minecraft.world.block
Class PistonBaseBlock
- java.lang.Object
-
- net.minecraft.world.block.Block
-
- net.minecraft.world.block.PistonBaseBlock
-
public class PistonBaseBlock 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
-
-
Constructor Summary
Constructors Constructor Description PistonBaseBlock(int var1, int var2, boolean var3)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
blockActivated(World var1, int var2, int var3, int var4, Player var5)
int
getBlockTextureFromSideAndMetadata(int var1, int var2)
void
getCollidingBoundingBoxes(World var1, int var2, int var3, int var4, AxisAlignedBB var5, java.util.ArrayList var6)
AxisAlignedBB
getCollisionBoundingBoxFromPool(World var1, int var2, int var3, int var4)
static int
getOrientation(int var0)
@net.minecraft.modding.api.Side.Client int
getPistonExtensionTexture()
int
getRenderType()
static boolean
isExtended(int var0)
boolean
isOpaqueCube()
void
onBlockAdded(World var1, int var2, int var3, int var4)
void
onBlockPlacedBy(World var1, int var2, int var3, int var4, LivingEntity var5)
void
onNeighborBlockChange(World var1, int var2, int var3, int var4, int var5)
void
powerBlock(World var1, int var2, int var3, int var4, int var5, int var6)
boolean
renderAsNormalBlock()
void
setBlockBoundsBasedOnState(IBlockAccess var1, int var2, int var3, int var4)
void
setBlockBoundsForItemRender()
-
Methods inherited from class net.minecraft.world.block.Block
blockStrength, canBlockStay, canCollideCheck, canPlaceBlockAt, canPlaceBlockOnSide, canProvidePower, collisionRayTrace, colorMultiplier, createStackedBlock, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItem_do, dropBlockAsItemWithChance, func_50074_q, getAmbientOcclusionLightValue, getBlockBrightness, getBlockColor, getBlockName, getBlocksMovement, getBlockTexture, getBlockTextureFromSide, getEnableStats, getExplosionResistance, getHardness, getMetadataInfo, getMixedBrightnessForBlock, getMobilityFlag, getRenderBlockPass, getRenderColor, getSelectedBoundingBoxFromPool, getSubBlocks, getTickRandomly, harvestBlock, hasTileEntity, idDropped, initializeBlock, isBlockSolid, isCollidable, isIndirectlyPoweringTo, isNormalCube, isPoweringTo, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockPlaced, onBlockRemoval, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, postRegister, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, registerVanilla, setBlockBounds, setBlockName, setBlockUnbreakable, setHardness, setLightOpacity, setLightValue, setRequiresSelfNotify, setResistance, setStepSound, setTickRandomly, shouldSideBeRendered, tickRate, toString, translateBlockName, updateTick, velocityToAddToEntity
-
-
-
-
Method Detail
-
getPistonExtensionTexture
@Client public @net.minecraft.modding.api.Side.Client int getPistonExtensionTexture()
-
getBlockTextureFromSideAndMetadata
public int getBlockTextureFromSideAndMetadata(int var1, int var2)
- Overrides:
getBlockTextureFromSideAndMetadata
in classBlock
-
getRenderType
public int getRenderType()
- Overrides:
getRenderType
in classBlock
-
isOpaqueCube
public boolean isOpaqueCube()
- Overrides:
isOpaqueCube
in classBlock
-
blockActivated
public boolean blockActivated(World var1, int var2, int var3, int var4, Player var5)
- Overrides:
blockActivated
in classBlock
-
onBlockPlacedBy
public void onBlockPlacedBy(World var1, int var2, int var3, int var4, LivingEntity var5)
- Overrides:
onBlockPlacedBy
in classBlock
-
onNeighborBlockChange
public void onNeighborBlockChange(World var1, int var2, int var3, int var4, int var5)
- Overrides:
onNeighborBlockChange
in classBlock
-
onBlockAdded
public void onBlockAdded(World var1, int var2, int var3, int var4)
- Overrides:
onBlockAdded
in classBlock
-
powerBlock
public void powerBlock(World var1, int var2, int var3, int var4, int var5, int var6)
- Overrides:
powerBlock
in classBlock
-
setBlockBoundsBasedOnState
public void setBlockBoundsBasedOnState(IBlockAccess var1, int var2, int var3, int var4)
- Overrides:
setBlockBoundsBasedOnState
in classBlock
-
setBlockBoundsForItemRender
public void setBlockBoundsForItemRender()
- Overrides:
setBlockBoundsForItemRender
in classBlock
-
getCollidingBoundingBoxes
public void getCollidingBoundingBoxes(World var1, int var2, int var3, int var4, AxisAlignedBB var5, java.util.ArrayList var6)
- Overrides:
getCollidingBoundingBoxes
in classBlock
-
getCollisionBoundingBoxFromPool
public AxisAlignedBB getCollisionBoundingBoxFromPool(World var1, int var2, int var3, int var4)
- Overrides:
getCollisionBoundingBoxFromPool
in classBlock
-
renderAsNormalBlock
public boolean renderAsNormalBlock()
- Overrides:
renderAsNormalBlock
in classBlock
-
getOrientation
public static int getOrientation(int var0)
-
isExtended
public static boolean isExtended(int var0)
-
-