public class BlockRedstoneOre extends Block
Block.EnumOffsetType, Block.Properties, Block.RenderSideCacheKey| Modifier and Type | Field and Description |
|---|---|
static BooleanProperty |
LIT |
BLOCK_STATE_IDS, blockHardness, blockMapColor, blockResistance, blocksMovement, capturedDrops, captureDrops, harvesters, lightValue, LOGGER, material, needsRandomTick, RANDOM, soundType, stateContainerdelegate| Constructor and Description |
|---|
BlockRedstoneOre(Block.Properties builder) |
| Modifier and Type | Method and Description |
|---|---|
void |
animateTick(IBlockState stateIn,
World worldIn,
BlockPos pos,
java.util.Random rand) |
void |
dropBlockAsItemWithChance(IBlockState state,
World worldIn,
BlockPos pos,
float chancePerItem,
int fortune) |
protected void |
fillStateContainer(StateContainer.Builder<Block,IBlockState> builder) |
int |
getExpDrop(IBlockState state,
IWorldReader world,
BlockPos pos,
int fortune)
Gathers how much experience this block drops when broken.
|
IItemProvider |
getItemDropped(IBlockState state,
World worldIn,
BlockPos pos,
int fortune) |
int |
getItemsToDropCount(IBlockState state,
int fortune,
World worldIn,
BlockPos pos,
java.util.Random random) |
int |
getLightValue(IBlockState state) |
boolean |
onBlockActivated(IBlockState state,
World worldIn,
BlockPos pos,
EntityPlayer player,
EnumHand hand,
EnumFacing side,
float hitX,
float hitY,
float hitZ) |
void |
onBlockClicked(IBlockState state,
World worldIn,
BlockPos pos,
EntityPlayer player) |
void |
onEntityWalk(World worldIn,
BlockPos pos,
Entity entityIn) |
int |
quantityDropped(IBlockState state,
java.util.Random random) |
void |
tick(IBlockState state,
World worldIn,
BlockPos pos,
java.util.Random random) |
addInformation, allowsMovement, asItem, canDropFromExplosion, canEntitySpawn, canProvidePower, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, doesSideFillSquare, dropXpOnBlockBreak, eventReceived, fillItemGroup, fillWithRain, getAmbientOcclusionLightValue, getBlockFaceShape, getBlockFromItem, getBlockHardness, getCollisionShape, getComparatorInputOverride, getDefaultState, getExplosionResistance, getFluidState, getHarvestLevel, getHarvestTool, getItem, getMapColor, getMaterial, getNameTextComponent, getOffset, getOffsetType, getOpacity, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRenderLayer, getRenderShape, getRenderType, getShape, getSilkTouchDrop, getSlipperiness, getSlipperiness, getSoundType, getStateById, getStateContainer, getStateForPlacement, getStateId, getStrongPower, getTickRandomly, getTranslationKey, getValidBlockForPosition, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, isAir, isBlockNormalCube, isCollidable, isCollidable, isDirt, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isFullCube, isIn, isNormalCube, isOpaque, isOpaqueCube, isReplaceable, isRock, isSideInvisible, isSolid, isTopSolid, isValidPosition, isVariableOpacity, makeCuboidShape, mirror, needsPostProcessing, neighborChanged, nudgeEntitiesWithNewState, onBlockAdded, onBlockHarvested, onBlockPlacedBy, onEntityCollision, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, onReplaced, propagatesSkylightDown, randomTick, registerBlocks, replaceBlock, rotate, setDefaultState, shouldSideBeRendered, spawnAsEntity, tickRate, toString, updateDiagonalNeighbors, updateNeighbors, updatePostPlacement, useNeighborBrightnessgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, beginLeaveDecay, canBeConnectedTo, canBeReplacedByLeaves, canConnectRedstone, canCreatureSpawn, canEntityDestroy, canHarvestBlock, canPlaceTorchOnTop, canRenderInLayer, createTileEntity, doesSideBlockChestOpening, doesSideBlockRendering, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getDrops, getEnchantPowerBonus, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRayTraceResult, getSoundType, getStateAtViewpoint, getStateForPlacement, getValidRotations, getWeakChanges, hasTileEntity, isAir, isBeaconBase, isBed, isBedFoot, isBurning, isFertile, isFireSource, isFlammable, isFoliage, isLadder, isNormalCube, isReplaceableOreGen, isStickyBlock, isToolEffective, isTopSolid, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, recolorBlock, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPowerpublic static final BooleanProperty LIT
public BlockRedstoneOre(Block.Properties builder)
public int getLightValue(IBlockState state)
getLightValue in class Blockpublic void onBlockClicked(IBlockState state, World worldIn, BlockPos pos, EntityPlayer player)
onBlockClicked in class Blockpublic void onEntityWalk(World worldIn, BlockPos pos, Entity entityIn)
onEntityWalk in class Blockpublic boolean onBlockActivated(IBlockState state, World worldIn, BlockPos pos, EntityPlayer player, EnumHand hand, EnumFacing side, float hitX, float hitY, float hitZ)
onBlockActivated in class Blockpublic void tick(IBlockState state, World worldIn, BlockPos pos, java.util.Random random)
public IItemProvider getItemDropped(IBlockState state, World worldIn, BlockPos pos, int fortune)
getItemDropped in class Blockpublic int getItemsToDropCount(IBlockState state, int fortune, World worldIn, BlockPos pos, java.util.Random random)
getItemsToDropCount in class Blockpublic int quantityDropped(IBlockState state, java.util.Random random)
quantityDropped in class Blockpublic void dropBlockAsItemWithChance(IBlockState state, World worldIn, BlockPos pos, float chancePerItem, int fortune)
dropBlockAsItemWithChance in class Blockpublic int getExpDrop(IBlockState state, IWorldReader world, BlockPos pos, int fortune)
IForgeBlockstate - The current stateworld - The worldpos - Block positionpublic void animateTick(IBlockState stateIn, World worldIn, BlockPos pos, java.util.Random rand)
animateTick in class Blockprotected void fillStateContainer(StateContainer.Builder<Block,IBlockState> builder)
fillStateContainer in class Block