public class BlockPistonBase extends Block
Block.SoundType
blockConstructorCalled, blockHardness, blockIcon, blockMaterial, blockParticleGravity, blockRegistry, blockResistance, canBlockGrass, delegate, enableStats, isBlockContainer, lightOpacity, lightValue, maxX, maxY, maxZ, minX, minY, minZ, needsRandomTick, opaque, slipperiness, soundTypeAnvil, soundTypeCloth, soundTypeGlass, soundTypeGrass, soundTypeGravel, soundTypeLadder, soundTypeMetal, soundTypePiston, soundTypeSand, soundTypeSnow, soundTypeStone, soundTypeWood, stepSound, textureName, useNeighborBrightness
Constructor and Description |
---|
BlockPistonBase(boolean p_i45443_1_) |
Modifier and Type | Method and Description |
---|---|
void |
addCollisionBoxesToList(World p_149743_1_,
int p_149743_2_,
int p_149743_3_,
int p_149743_4_,
AxisAlignedBB p_149743_5_,
java.util.List p_149743_6_,
Entity p_149743_7_) |
static int |
determineOrientation(World p_150071_0_,
int p_150071_1_,
int p_150071_2_,
int p_150071_3_,
EntityLivingBase p_150071_4_) |
void |
func_150070_b(float p_150070_1_,
float p_150070_2_,
float p_150070_3_,
float p_150070_4_,
float p_150070_5_,
float p_150070_6_) |
AxisAlignedBB |
getCollisionBoundingBoxFromPool(World p_149668_1_,
int p_149668_2_,
int p_149668_3_,
int p_149668_4_) |
IIcon |
getIcon(int p_149691_1_,
int p_149691_2_) |
static IIcon |
getPistonBaseIcon(java.lang.String p_150074_0_) |
IIcon |
getPistonExtensionTexture() |
static int |
getPistonOrientation(int p_150076_0_) |
int |
getRenderType() |
static boolean |
isExtended(int p_150075_0_) |
boolean |
isOpaqueCube() |
boolean |
onBlockActivated(World p_149727_1_,
int p_149727_2_,
int p_149727_3_,
int p_149727_4_,
EntityPlayer p_149727_5_,
int p_149727_6_,
float p_149727_7_,
float p_149727_8_,
float p_149727_9_) |
void |
onBlockAdded(World p_149726_1_,
int p_149726_2_,
int p_149726_3_,
int p_149726_4_) |
boolean |
onBlockEventReceived(World p_149696_1_,
int p_149696_2_,
int p_149696_3_,
int p_149696_4_,
int p_149696_5_,
int p_149696_6_) |
void |
onBlockPlacedBy(World p_149689_1_,
int p_149689_2_,
int p_149689_3_,
int p_149689_4_,
EntityLivingBase p_149689_5_,
ItemStack p_149689_6_) |
void |
onNeighborBlockChange(World p_149695_1_,
int p_149695_2_,
int p_149695_3_,
int p_149695_4_,
Block p_149695_5_) |
void |
registerBlockIcons(IIconRegister p_149651_1_) |
boolean |
renderAsNormalBlock() |
void |
setBlockBoundsBasedOnState(IBlockAccess p_149719_1_,
int p_149719_2_,
int p_149719_3_,
int p_149719_4_) |
void |
setBlockBoundsForItemRender() |
breakBlock, canBlockStay, canCollideCheck, canDropFromExplosion, canPlaceBlockAt, canPlaceBlockOnSide, canProvidePower, canReplace, canSilkHarvest, collisionRayTrace, colorMultiplier, createStackedBlock, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, func_149698_L, func_149730_j, func_149735_b, getAmbientOcclusionLightValue, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockColor, getBlockFromItem, getBlockFromName, getBlockHardness, getBlocksMovement, getBlockTextureFromSide, getCanBlockGrass, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getEnableStats, getExplosionResistance, getIcon, getIdFromBlock, getItem, getItemDropped, getItemIconName, getLightOpacity, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getPlayerRelativeBlockHardness, getRenderBlockPass, getRenderColor, getSelectedBoundingBoxFromPool, getSubBlocks, getTextureName, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, harvestBlock, hasComparatorInputOverride, hasTileEntity, isAssociatedBlock, isBlockNormalCube, isBlockSolid, isCollidable, isEqualTo, isFlowerPot, isNormalCube, isProvidingStrongPower, isProvidingWeakPower, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockHarvested, onBlockPlaced, onBlockPreDestroy, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, onPostBlockPlaced, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, registerBlocks, setBlockBounds, setBlockName, setBlockTextureName, setBlockUnbreakable, setCreativeTab, setHardness, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, shouldSideBeRendered, tickRate, updateTick, velocityToAddToEntity
public IIcon getPistonExtensionTexture()
public void func_150070_b(float p_150070_1_, float p_150070_2_, float p_150070_3_, float p_150070_4_, float p_150070_5_, float p_150070_6_)
public int getRenderType()
getRenderType
in class Block
public static IIcon getPistonBaseIcon(java.lang.String p_150074_0_)
public void registerBlockIcons(IIconRegister p_149651_1_)
registerBlockIcons
in class Block
public boolean isOpaqueCube()
isOpaqueCube
in class Block
public boolean onBlockActivated(World p_149727_1_, int p_149727_2_, int p_149727_3_, int p_149727_4_, EntityPlayer p_149727_5_, int p_149727_6_, float p_149727_7_, float p_149727_8_, float p_149727_9_)
onBlockActivated
in class Block
public void onBlockPlacedBy(World p_149689_1_, int p_149689_2_, int p_149689_3_, int p_149689_4_, EntityLivingBase p_149689_5_, ItemStack p_149689_6_)
onBlockPlacedBy
in class Block
public void onNeighborBlockChange(World p_149695_1_, int p_149695_2_, int p_149695_3_, int p_149695_4_, Block p_149695_5_)
onNeighborBlockChange
in class Block
public void onBlockAdded(World p_149726_1_, int p_149726_2_, int p_149726_3_, int p_149726_4_)
onBlockAdded
in class Block
public boolean onBlockEventReceived(World p_149696_1_, int p_149696_2_, int p_149696_3_, int p_149696_4_, int p_149696_5_, int p_149696_6_)
onBlockEventReceived
in class Block
public void setBlockBoundsBasedOnState(IBlockAccess p_149719_1_, int p_149719_2_, int p_149719_3_, int p_149719_4_)
setBlockBoundsBasedOnState
in class Block
public void setBlockBoundsForItemRender()
setBlockBoundsForItemRender
in class Block
public void addCollisionBoxesToList(World p_149743_1_, int p_149743_2_, int p_149743_3_, int p_149743_4_, AxisAlignedBB p_149743_5_, java.util.List p_149743_6_, Entity p_149743_7_)
addCollisionBoxesToList
in class Block
public AxisAlignedBB getCollisionBoundingBoxFromPool(World p_149668_1_, int p_149668_2_, int p_149668_3_, int p_149668_4_)
getCollisionBoundingBoxFromPool
in class Block
public boolean renderAsNormalBlock()
renderAsNormalBlock
in class Block
public static int getPistonOrientation(int p_150076_0_)
public static boolean isExtended(int p_150075_0_)
public static int determineOrientation(World p_150071_0_, int p_150071_1_, int p_150071_2_, int p_150071_3_, EntityLivingBase p_150071_4_)