public class BlockCocoa extends BlockDirectional implements IGrowable
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 |
---|
BlockCocoa() |
Modifier and Type | Method and Description |
---|---|
boolean |
canBlockStay(World p_149718_1_,
int p_149718_2_,
int p_149718_3_,
int p_149718_4_) |
void |
dropBlockAsItemWithChance(World p_149690_1_,
int p_149690_2_,
int p_149690_3_,
int p_149690_4_,
int p_149690_5_,
float p_149690_6_,
int p_149690_7_) |
boolean |
func_149851_a(World p_149851_1_,
int p_149851_2_,
int p_149851_3_,
int p_149851_4_,
boolean p_149851_5_) |
boolean |
func_149852_a(World p_149852_1_,
java.util.Random p_149852_2_,
int p_149852_3_,
int p_149852_4_,
int p_149852_5_) |
void |
func_149853_b(World p_149853_1_,
java.util.Random p_149853_2_,
int p_149853_3_,
int p_149853_4_,
int p_149853_5_) |
static int |
func_149987_c(int p_149987_0_) |
IIcon |
getCocoaIcon(int p_149988_1_) |
AxisAlignedBB |
getCollisionBoundingBoxFromPool(World p_149668_1_,
int p_149668_2_,
int p_149668_3_,
int p_149668_4_) |
int |
getDamageValue(World p_149643_1_,
int p_149643_2_,
int p_149643_3_,
int p_149643_4_) |
IIcon |
getIcon(int p_149691_1_,
int p_149691_2_) |
Item |
getItem(World p_149694_1_,
int p_149694_2_,
int p_149694_3_,
int p_149694_4_) |
int |
getRenderType() |
AxisAlignedBB |
getSelectedBoundingBoxFromPool(World p_149633_1_,
int p_149633_2_,
int p_149633_3_,
int p_149633_4_) |
boolean |
isOpaqueCube() |
int |
onBlockPlaced(World p_149660_1_,
int p_149660_2_,
int p_149660_3_,
int p_149660_4_,
int p_149660_5_,
float p_149660_6_,
float p_149660_7_,
float p_149660_8_,
int p_149660_9_) |
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 |
updateTick(World p_149674_1_,
int p_149674_2_,
int p_149674_3_,
int p_149674_4_,
java.util.Random p_149674_5_) |
getDirection
addCollisionBoxesToList, breakBlock, canCollideCheck, canDropFromExplosion, canPlaceBlockAt, canPlaceBlockOnSide, canProvidePower, canReplace, canSilkHarvest, collisionRayTrace, colorMultiplier, createStackedBlock, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItem, 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, getEnableStats, getExplosionResistance, getIcon, getIdFromBlock, getItemDropped, getItemIconName, getLightOpacity, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getPlayerRelativeBlockHardness, getRenderBlockPass, getRenderColor, getSubBlocks, getTextureName, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, harvestBlock, hasComparatorInputOverride, hasTileEntity, isAssociatedBlock, isBlockNormalCube, isBlockSolid, isCollidable, isEqualTo, isFlowerPot, isNormalCube, isProvidingStrongPower, isProvidingWeakPower, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockHarvested, onBlockPreDestroy, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, onPostBlockPlaced, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, registerBlocks, setBlockBounds, setBlockBoundsForItemRender, setBlockName, setBlockTextureName, setBlockUnbreakable, setCreativeTab, setHardness, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, shouldSideBeRendered, tickRate, velocityToAddToEntity
public void updateTick(World p_149674_1_, int p_149674_2_, int p_149674_3_, int p_149674_4_, java.util.Random p_149674_5_)
updateTick
in class Block
public IIcon getCocoaIcon(int p_149988_1_)
public boolean canBlockStay(World p_149718_1_, int p_149718_2_, int p_149718_3_, int p_149718_4_)
canBlockStay
in class Block
public int getRenderType()
getRenderType
in class Block
public boolean renderAsNormalBlock()
renderAsNormalBlock
in class Block
public boolean isOpaqueCube()
isOpaqueCube
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 void setBlockBoundsBasedOnState(IBlockAccess p_149719_1_, int p_149719_2_, int p_149719_3_, int p_149719_4_)
setBlockBoundsBasedOnState
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 int onBlockPlaced(World p_149660_1_, int p_149660_2_, int p_149660_3_, int p_149660_4_, int p_149660_5_, float p_149660_6_, float p_149660_7_, float p_149660_8_, int p_149660_9_)
onBlockPlaced
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 AxisAlignedBB getSelectedBoundingBoxFromPool(World p_149633_1_, int p_149633_2_, int p_149633_3_, int p_149633_4_)
getSelectedBoundingBoxFromPool
in class Block
public static int func_149987_c(int p_149987_0_)
public void dropBlockAsItemWithChance(World p_149690_1_, int p_149690_2_, int p_149690_3_, int p_149690_4_, int p_149690_5_, float p_149690_6_, int p_149690_7_)
dropBlockAsItemWithChance
in class Block
public int getDamageValue(World p_149643_1_, int p_149643_2_, int p_149643_3_, int p_149643_4_)
getDamageValue
in class Block
public void registerBlockIcons(IIconRegister p_149651_1_)
registerBlockIcons
in class Block
public boolean func_149851_a(World p_149851_1_, int p_149851_2_, int p_149851_3_, int p_149851_4_, boolean p_149851_5_)
func_149851_a
in interface IGrowable
public boolean func_149852_a(World p_149852_1_, java.util.Random p_149852_2_, int p_149852_3_, int p_149852_4_, int p_149852_5_)
func_149852_a
in interface IGrowable
public void func_149853_b(World p_149853_1_, java.util.Random p_149853_2_, int p_149853_3_, int p_149853_4_, int p_149853_5_)
func_149853_b
in interface IGrowable