public class BlockBrewingStand extends BlockContainer
Block.SoundType
blockConstructorCalled, blockHardness, blockIcon, blockMaterial, blockParticleGravity, blockRegistry, blockResistance, canBlockGrass, 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 |
---|
BlockBrewingStand() |
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_)
Adds all intersecting collision boxes to a list.
|
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_)
Returns a new instance of a block's tile entity class.
|
int |
getComparatorInputOverride(World p_149736_1_,
int p_149736_2_,
int p_149736_3_,
int p_149736_4_,
int p_149736_5_)
If hasComparatorInputOverride returns true, the return value from this is used instead of the redstone signal
strength when this block inputs to a comparator.
|
IIcon |
getIconBrewingStandBase() |
Item |
getItem(World p_149694_1_,
int p_149694_2_,
int p_149694_3_,
int p_149694_4_)
Gets an item for the block being called on.
|
Item |
getItemDropped(int p_149650_1_,
java.util.Random p_149650_2_,
int p_149650_3_) |
int |
getRenderType()
The type of render function that is called for this block
|
boolean |
hasComparatorInputOverride()
If this returns true, then comparators facing away from this block will use the value from
getComparatorInputOverride instead of the actual redstone signal strength.
|
boolean |
isOpaqueCube()
Is this block (a) opaque and (b) a full 1m cube? This determines whether or not to render the shared face of two
adjacent blocks and also whether the player can attach torches, redstone wire, etc to this block.
|
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_)
Called upon block activation (right click on the block.)
|
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_)
Called when the block is placed in the world.
|
void |
randomDisplayTick(World p_149734_1_,
int p_149734_2_,
int p_149734_3_,
int p_149734_4_,
java.util.Random p_149734_5_)
A randomly called display update to be able to add particles or other items for display
|
void |
registerBlockIcons(IIconRegister p_149651_1_) |
boolean |
renderAsNormalBlock()
If this block doesn't render as an ordinary block it will return False (examples: signs, buttons, stairs, etc)
|
void |
setBlockBoundsForItemRender()
Sets the block's bounds for rendering it as an item
|
onBlockAdded, onBlockEventReceived
addDestroyEffects, addHitEffects, beginLeavesDecay, canBeReplacedByLeaves, canBlockStay, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInPass, canReplace, canSilkHarvest, canSilkHarvest, canSustainLeaves, canSustainPlant, collisionRayTrace, colorMultiplier, createStackedBlock, createTileEntity, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, func_149698_L, func_149730_j, func_149735_b, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockColor, getBlockFromItem, getBlockFromName, getBlockHardness, getBlocksMovement, getBlockTextureFromSide, getCanBlockGrass, getCollisionBoundingBoxFromPool, getCreativeTabToDisplayOn, getDamageValue, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIcon, getIcon, getIdFromBlock, getItemIconName, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getPickBlock, getPlayerRelativeBlockHardness, getRenderBlockPass, getRenderColor, getSelectedBoundingBoxFromPool, getSubBlocks, getTextureName, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, harvestBlock, hasTileEntity, hasTileEntity, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isCollidable, isEqualTo, isFertile, isFireSource, isFlammable, isFlowerPot, isFoliage, isLadder, isLeaves, isNormalCube, isNormalCube, isProvidingStrongPower, isProvidingWeakPower, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isWood, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPreDestroy, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, onNeighborBlockChange, onNeighborChange, onPlantGrow, onPostBlockPlaced, quantityDropped, quantityDropped, quantityDroppedWithBonus, recolourBlock, registerBlocks, removedByPlayer, rotateBlock, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockName, setBlockTextureName, setBlockUnbreakable, setCreativeTab, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, shouldCheckWeakPower, shouldSideBeRendered, tickRate, updateTick, velocityToAddToEntity
public boolean isOpaqueCube()
isOpaqueCube
in class Block
public int getRenderType()
getRenderType
in class Block
public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_)
public boolean renderAsNormalBlock()
renderAsNormalBlock
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 void setBlockBoundsForItemRender()
setBlockBoundsForItemRender
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 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 Item getItemDropped(int p_149650_1_, java.util.Random p_149650_2_, int p_149650_3_)
getItemDropped
in class Block
public void randomDisplayTick(World p_149734_1_, int p_149734_2_, int p_149734_3_, int p_149734_4_, java.util.Random p_149734_5_)
randomDisplayTick
in class Block
public Item getItem(World p_149694_1_, int p_149694_2_, int p_149694_3_, int p_149694_4_)
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 IIcon getIconBrewingStandBase()