public class BlockFire extends Block
Block.EnumOffsetType, Block.SoundType| Modifier and Type | Field and Description |
|---|---|
static PropertyInteger |
AGE |
static PropertyBool |
ALT |
static PropertyBool |
EAST |
static PropertyBool |
FLIP |
static PropertyBool |
NORTH |
static PropertyBool |
SOUTH |
static PropertyInteger |
UPPER |
static PropertyBool |
WEST |
BLOCK_STATE_IDS, blockHardness, blockMaterial, blockParticleGravity, blockRegistry, blockResistance, blockState, capturedDrops, captureDrops, delegate, enableStats, fullBlock, harvesters, isBlockContainer, lightOpacity, lightValue, maxX, maxY, maxZ, minX, minY, minZ, needsRandomTick, RANDOM, SLIME_SOUND, slipperiness, soundTypeAnvil, soundTypeCloth, soundTypeGlass, soundTypeGrass, soundTypeGravel, soundTypeLadder, soundTypeMetal, soundTypePiston, soundTypeSand, soundTypeSnow, soundTypeStone, soundTypeWood, stepSound, translucent, useNeighborBrightness| Modifier | Constructor and Description |
|---|---|
protected |
BlockFire() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCatchFire(IBlockAccess worldIn,
BlockPos pos)
Deprecated.
|
boolean |
canCatchFire(IBlockAccess world,
BlockPos pos,
EnumFacing face)
Side sensitive version that calls the block function.
|
protected boolean |
canDie(World worldIn,
BlockPos pos) |
boolean |
canPlaceBlockAt(World worldIn,
BlockPos pos) |
protected BlockState |
createBlockState() |
IBlockState |
getActualState(IBlockState state,
IBlockAccess worldIn,
BlockPos pos) |
EnumWorldBlockLayer |
getBlockLayer() |
AxisAlignedBB |
getCollisionBoundingBox(World worldIn,
BlockPos pos,
IBlockState state) |
int |
getEncouragement(Block blockIn)
Deprecated.
|
int |
getFlammability(Block blockIn)
Deprecated.
|
MapColor |
getMapColor(IBlockState state) |
int |
getMetaFromState(IBlockState state) |
IBlockState |
getStateFromMeta(int meta) |
static void |
init() |
boolean |
isCollidable() |
boolean |
isFullCube() |
boolean |
isOpaqueCube() |
void |
onBlockAdded(World worldIn,
BlockPos pos,
IBlockState state) |
void |
onNeighborBlockChange(World worldIn,
BlockPos pos,
IBlockState state,
Block neighborBlock) |
int |
quantityDropped(java.util.Random random) |
void |
randomDisplayTick(World worldIn,
BlockPos pos,
IBlockState state,
java.util.Random rand) |
boolean |
requiresUpdates() |
void |
setFireInfo(Block blockIn,
int encouragement,
int flammability) |
int |
tickRate(World worldIn) |
void |
updateTick(World worldIn,
BlockPos pos,
IBlockState state,
java.util.Random rand) |
addCollisionBoxesToList, addDestroyEffects, addHitEffects, beginLeavesDecay, breakBlock, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canReplace, canSilkHarvest, canSilkHarvest, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, colorMultiplier, colorMultiplier, createStackedBlock, createTileEntity, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockColor, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getDefaultState, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getOffsetType, getPickBlock, getPlayerRelativeBlockHardness, getRenderColor, getRenderType, getSelectedBoundingBox, getStateById, getStateForEntityRender, getStateId, getSubBlocks, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, harvestBlock, hasComparatorInputOverride, hasTileEntity, hasTileEntity, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockSolid, isBurning, isEqualTo, isFertile, isFireSource, isFlammable, isFlowerPot, isFoliage, isFullBlock, isLadder, isLeaves, isNormalCube, isNormalCube, isPassable, isProvidingStrongPower, isProvidingWeakPower, isReplaceable, isReplaceableOreGen, isSideSolid, isSolidFullCube, isToolEffective, isTranslucent, isVisuallyOpaque, isWood, modifyAcceleration, onBlockActivated, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onEntityCollidedWithBlock, onEntityCollidedWithBlock, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDroppedWithBonus, randomTick, recolorBlock, registerBlocks, removedByPlayer, rotateBlock, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntitypublic static final PropertyInteger AGE
public static final PropertyBool FLIP
public static final PropertyBool ALT
public static final PropertyBool NORTH
public static final PropertyBool EAST
public static final PropertyBool SOUTH
public static final PropertyBool WEST
public static final PropertyInteger UPPER
public IBlockState getActualState(IBlockState state, IBlockAccess worldIn, BlockPos pos)
getActualState in class Blockpublic static void init()
public void setFireInfo(Block blockIn, int encouragement, int flammability)
public AxisAlignedBB getCollisionBoundingBox(World worldIn, BlockPos pos, IBlockState state)
getCollisionBoundingBox in class Blockpublic boolean isOpaqueCube()
isOpaqueCube in class Blockpublic boolean isFullCube()
isFullCube in class Blockpublic int quantityDropped(java.util.Random random)
quantityDropped in class Blockpublic void updateTick(World worldIn, BlockPos pos, IBlockState state, java.util.Random rand)
updateTick in class Blockpublic boolean requiresUpdates()
requiresUpdates in class Block@Deprecated public int getFlammability(Block blockIn)
@Deprecated public int getEncouragement(Block blockIn)
public boolean isCollidable()
isCollidable in class Block@Deprecated public boolean canCatchFire(IBlockAccess worldIn, BlockPos pos)
public boolean canPlaceBlockAt(World worldIn, BlockPos pos)
canPlaceBlockAt in class Blockpublic void onNeighborBlockChange(World worldIn, BlockPos pos, IBlockState state, Block neighborBlock)
onNeighborBlockChange in class Blockpublic void onBlockAdded(World worldIn, BlockPos pos, IBlockState state)
onBlockAdded in class Blockpublic void randomDisplayTick(World worldIn, BlockPos pos, IBlockState state, java.util.Random rand)
randomDisplayTick in class Blockpublic MapColor getMapColor(IBlockState state)
getMapColor in class Blockpublic EnumWorldBlockLayer getBlockLayer()
getBlockLayer in class Blockpublic IBlockState getStateFromMeta(int meta)
getStateFromMeta in class Blockpublic int getMetaFromState(IBlockState state)
getMetaFromState in class Blockprotected BlockState createBlockState()
createBlockState in class Blockpublic boolean canCatchFire(IBlockAccess world, BlockPos pos, EnumFacing face)
world - The current worldpos - Block positionface - The side the fire is coming from