public class BlockCandle extends net.minecraft.block.BlockTorch implements IItemModelRegister, net.minecraft.block.ITileEntityProvider, IColoredBlock
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
colourTagName |
static java.util.Set<net.minecraft.item.Item> |
lightingItems |
static net.minecraft.block.properties.PropertyEnum<forestry.apiculture.blocks.BlockCandle.State> |
STATE |
FACING, STANDING_AABB, TORCH_EAST_AABB, TORCH_NORTH_AABB, TORCH_SOUTH_AABB, TORCH_WEST_AABBBLOCK_STATE_IDS, blockHardness, blockMapColor, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, hasTileEntity, lightOpacity, lightValue, material, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, translucent, useNeighborBrightness| Constructor and Description |
|---|
BlockCandle() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addItemToLightingList(net.minecraft.item.Item item) |
int |
colorMultiplier(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess worldIn,
net.minecraft.util.math.BlockPos pos,
int tintIndex) |
protected net.minecraft.block.state.BlockStateContainer |
createBlockState() |
net.minecraft.tileentity.TileEntity |
createNewTileEntity(net.minecraft.world.World worldIn,
int meta) |
net.minecraft.block.state.IBlockState |
getActualState(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos) |
void |
getDrops(net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> drops,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
int fortune) |
int |
getLightValue(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos) |
net.minecraft.item.ItemStack |
getLitCandle(int amount) |
net.minecraft.item.ItemStack |
getPickBlock(net.minecraft.block.state.IBlockState state,
net.minecraft.util.math.RayTraceResult target,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.EntityPlayer player) |
void |
getSubBlocks(net.minecraft.creativetab.CreativeTabs tab,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> list) |
net.minecraft.item.ItemStack |
getUnlitCandle(int amount) |
static boolean |
isLit(net.minecraft.item.ItemStack itemStack) |
boolean |
onBlockActivated(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.player.EntityPlayer playerIn,
net.minecraft.util.EnumHand hand,
net.minecraft.util.EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
void |
onBlockHarvested(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.player.EntityPlayer player) |
void |
onBlockPlacedBy(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.EntityLivingBase placer,
net.minecraft.item.ItemStack stack) |
void |
randomDisplayTick(net.minecraft.block.state.IBlockState stateIn,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
java.util.Random rand) |
void |
registerModel(net.minecraft.item.Item item,
IModelManager manager) |
canPlaceBlockAt, checkForDrop, getBlockFaceShape, getBoundingBox, getCollisionBoundingBox, getMetaFromState, getRenderLayer, getStateForPlacement, getStateFromMeta, isFullCube, isOpaqueCube, neighborChanged, onBlockAdded, onNeighborChangeInternal, withMirror, withRotationaddCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, addRunningEffects, beginLeavesDecay, breakBlock, canBeConnectedTo, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canHarvestBlock, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, createTileEntity, damageDropped, disableStats, doesSideBlockChestOpening, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillWithRain, getAiPathNodeType, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockLiquidHeight, getBlockState, getComparatorInputOverride, getCreativeTab, getDefaultState, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLocalizedName, getMapColor, getMaterial, getOffset, getOffsetType, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getPushReaction, getRenderType, getSelectedBoundingBox, getSilkTouchDrop, getSlipperiness, getSoundType, getSoundType, getStateAtViewpoint, getStateById, getStateForPlacement, getStateId, getStrongPower, getTickRandomly, getTranslationKey, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, hasTileEntity, isAABBInsideLiquid, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBurning, isCollidable, isEntityInsideMaterial, isEqualTo, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isLadder, isLeaves, isNormalCube, isNormalCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isStickyBlock, isToolEffective, isTopSolid, isTranslucent, isWood, modifyAcceleration, observedNeighborChange, onBlockClicked, onBlockExploded, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, onPlayerDestroy, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomTick, rayTrace, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultSlipperiness, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setTranslationKey, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, tickRate, toString, updateTickpublic static final java.util.Set<net.minecraft.item.Item> lightingItems
public static final java.lang.String colourTagName
public static final net.minecraft.block.properties.PropertyEnum<forestry.apiculture.blocks.BlockCandle.State> STATE
protected net.minecraft.block.state.BlockStateContainer createBlockState()
createBlockState in class net.minecraft.block.BlockTorchpublic net.minecraft.block.state.IBlockState getActualState(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos)
getActualState in class net.minecraft.block.Blockpublic net.minecraft.tileentity.TileEntity createNewTileEntity(net.minecraft.world.World worldIn,
int meta)
createNewTileEntity in interface net.minecraft.block.ITileEntityProviderpublic void registerModel(net.minecraft.item.Item item,
IModelManager manager)
registerModel in interface IItemModelRegisterpublic int getLightValue(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos)
getLightValue in class net.minecraft.block.Blockpublic void getSubBlocks(net.minecraft.creativetab.CreativeTabs tab,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> list)
getSubBlocks in class net.minecraft.block.Blockpublic boolean onBlockActivated(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.player.EntityPlayer playerIn,
net.minecraft.util.EnumHand hand,
net.minecraft.util.EnumFacing facing,
float hitX,
float hitY,
float hitZ)
onBlockActivated in class net.minecraft.block.Blockpublic void onBlockHarvested(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.player.EntityPlayer player)
onBlockHarvested in class net.minecraft.block.Blockpublic void getDrops(net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> drops,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
int fortune)
getDrops in class net.minecraft.block.Blockpublic net.minecraft.item.ItemStack getPickBlock(net.minecraft.block.state.IBlockState state,
net.minecraft.util.math.RayTraceResult target,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.EntityPlayer player)
getPickBlock in class net.minecraft.block.Blockpublic void onBlockPlacedBy(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.EntityLivingBase placer,
net.minecraft.item.ItemStack stack)
onBlockPlacedBy in class net.minecraft.block.Blockpublic void randomDisplayTick(net.minecraft.block.state.IBlockState stateIn,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
java.util.Random rand)
randomDisplayTick in class net.minecraft.block.BlockTorchpublic static boolean isLit(net.minecraft.item.ItemStack itemStack)
public static void addItemToLightingList(net.minecraft.item.Item item)
public net.minecraft.item.ItemStack getUnlitCandle(int amount)
public net.minecraft.item.ItemStack getLitCandle(int amount)
public int colorMultiplier(net.minecraft.block.state.IBlockState state,
@Nullable
net.minecraft.world.IBlockAccess worldIn,
@Nullable
net.minecraft.util.math.BlockPos pos,
int tintIndex)
colorMultiplier in interface IColoredBlock