public class BlockDispenser extends BlockContainer
Block.SoundType
Modifier and Type | Field and Description |
---|---|
static IRegistry |
dispenseBehaviorRegistry |
protected java.util.Random |
field_149942_b |
protected IIcon |
field_149944_M |
protected IIcon |
field_149945_N |
protected IIcon |
field_149946_O |
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
Modifier | Constructor and Description |
---|---|
protected |
BlockDispenser() |
Modifier and Type | Method and Description |
---|---|
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 EnumFacing |
func_149937_b(int p_149937_0_) |
static IPosition |
func_149939_a(IBlockSource p_149939_0_) |
protected IBehaviorDispenseItem |
func_149940_a(ItemStack p_149940_1_) |
protected void |
func_149941_e(World p_149941_1_,
int p_149941_2_,
int p_149941_3_,
int p_149941_4_) |
int |
getComparatorInputOverride(World p_149736_1_,
int p_149736_2_,
int p_149736_3_,
int p_149736_4_,
int p_149736_5_) |
IIcon |
getIcon(int p_149691_1_,
int p_149691_2_) |
boolean |
hasComparatorInputOverride() |
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_) |
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_) |
int |
tickRate(World p_149738_1_) |
void |
updateTick(World p_149674_1_,
int p_149674_2_,
int p_149674_3_,
int p_149674_4_,
java.util.Random p_149674_5_) |
onBlockEventReceived
addCollisionBoxesToList, 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, getItemIconName, getLightOpacity, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getPlayerRelativeBlockHardness, getRenderBlockPass, getRenderColor, getRenderType, getSelectedBoundingBoxFromPool, getSubBlocks, getTextureName, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, harvestBlock, hasTileEntity, isAssociatedBlock, isBlockNormalCube, isBlockSolid, isCollidable, isEqualTo, isFlowerPot, isNormalCube, isOpaqueCube, isProvidingStrongPower, isProvidingWeakPower, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockHarvested, onBlockPlaced, onBlockPreDestroy, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, onPostBlockPlaced, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, registerBlocks, renderAsNormalBlock, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockName, setBlockTextureName, setBlockUnbreakable, setCreativeTab, setHardness, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, shouldSideBeRendered, velocityToAddToEntity
public static final IRegistry dispenseBehaviorRegistry
protected java.util.Random field_149942_b
protected IIcon field_149944_M
protected IIcon field_149945_N
protected IIcon field_149946_O
public void onBlockAdded(World p_149726_1_, int p_149726_2_, int p_149726_3_, int p_149726_4_)
onBlockAdded
in class BlockContainer
public void registerBlockIcons(IIconRegister p_149651_1_)
registerBlockIcons
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
protected void func_149941_e(World p_149941_1_, int p_149941_2_, int p_149941_3_, int p_149941_4_)
protected IBehaviorDispenseItem func_149940_a(ItemStack p_149940_1_)
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 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 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 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 static IPosition func_149939_a(IBlockSource p_149939_0_)
public static EnumFacing func_149937_b(int p_149937_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