public class BlockHopper extends BlockContainer
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 |
---|
BlockHopper() |
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_) |
void |
breakBlock(World p_149749_1_,
int p_149749_2_,
int p_149749_3_,
int p_149749_4_,
Block p_149749_5_,
int p_149749_6_) |
TileEntity |
createNewTileEntity(World p_149915_1_,
int p_149915_2_) |
static boolean |
func_149917_c(int p_149917_0_) |
static TileEntityHopper |
func_149920_e(IBlockAccess p_149920_0_,
int p_149920_1_,
int p_149920_2_,
int p_149920_3_) |
int |
getComparatorInputOverride(World p_149736_1_,
int p_149736_2_,
int p_149736_3_,
int p_149736_4_,
int p_149736_5_) |
static int |
getDirectionFromMetadata(int p_149918_0_) |
static IIcon |
getHopperIcon(java.lang.String p_149916_0_) |
IIcon |
getIcon(int p_149691_1_,
int p_149691_2_) |
java.lang.String |
getItemIconName() |
int |
getRenderType() |
boolean |
hasComparatorInputOverride() |
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_) |
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_) |
boolean |
shouldSideBeRendered(IBlockAccess p_149646_1_,
int p_149646_2_,
int p_149646_3_,
int p_149646_4_,
int p_149646_5_) |
onBlockEventReceived
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, getCollisionBoundingBoxFromPool, getCreativeTabToDisplayOn, getDamageValue, getEnableStats, getExplosionResistance, getIcon, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getPlayerRelativeBlockHardness, getRenderBlockPass, getRenderColor, getSelectedBoundingBoxFromPool, getSubBlocks, getTextureName, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, harvestBlock, hasTileEntity, isAssociatedBlock, isBlockNormalCube, isBlockSolid, isCollidable, isEqualTo, isFlowerPot, isNormalCube, isProvidingStrongPower, isProvidingWeakPower, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockHarvested, onBlockPreDestroy, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, onPostBlockPlaced, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, registerBlocks, setBlockBounds, setBlockBoundsForItemRender, setBlockName, setBlockTextureName, setBlockUnbreakable, setCreativeTab, setHardness, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, tickRate, updateTick, velocityToAddToEntity
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 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 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 TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_)
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 onBlockAdded(World p_149726_1_, int p_149726_2_, int p_149726_3_, int p_149726_4_)
onBlockAdded
in class BlockContainer
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 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 breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_)
breakBlock
in class BlockContainer
public int getRenderType()
getRenderType
in class Block
public boolean renderAsNormalBlock()
renderAsNormalBlock
in class Block
public boolean isOpaqueCube()
isOpaqueCube
in class Block
public boolean shouldSideBeRendered(IBlockAccess p_149646_1_, int p_149646_2_, int p_149646_3_, int p_149646_4_, int p_149646_5_)
shouldSideBeRendered
in class Block
public static int getDirectionFromMetadata(int p_149918_0_)
public static boolean func_149917_c(int p_149917_0_)
public boolean hasComparatorInputOverride()
hasComparatorInputOverride
in class Block
public int getComparatorInputOverride(World p_149736_1_, int p_149736_2_, int p_149736_3_, int p_149736_4_, int p_149736_5_)
getComparatorInputOverride
in class Block
public void registerBlockIcons(IIconRegister p_149651_1_)
registerBlockIcons
in class Block
public static IIcon getHopperIcon(java.lang.String p_149916_0_)
public static TileEntityHopper func_149920_e(IBlockAccess p_149920_0_, int p_149920_1_, int p_149920_2_, int p_149920_3_)
public java.lang.String getItemIconName()
getItemIconName
in class Block