Package net.minecraft.block
Class FireBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.AbstractFireBlock
net.minecraft.block.FireBlock
- All Implemented Interfaces:
ItemConvertible
public class FireBlock extends AbstractFireBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroupNested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A> -
Field Summary
Fields Modifier and Type Field Description static IntPropertyAGEprivate Object2IntMap<Block>burnChancesprivate static Map<Direction,BooleanProperty>DIRECTION_PROPERTIESstatic BooleanPropertyEASTprivate static VoxelShapeEAST_SHAPEstatic BooleanPropertyNORTHprivate static VoxelShapeNORTH_SHAPEprivate Map<BlockState,VoxelShape>shapesByStatestatic BooleanPropertySOUTHprivate static VoxelShapeSOUTH_SHAPEprivate Object2IntMap<Block>spreadChancesstatic BooleanPropertyUPprivate static VoxelShapeUP_SHAPEstatic BooleanPropertyWESTprivate static VoxelShapeWEST_SHAPEFields inherited from class net.minecraft.block.AbstractFireBlock
BASE_SHAPEFields inherited from class net.minecraft.block.Block
LOGGER, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlock
collidable, dynamicBounds, FACINGS, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier -
Constructor Summary
Constructors Constructor Description FireBlock(AbstractBlock.Settings settings) -
Method Summary
Methods inherited from class net.minecraft.block.AbstractFireBlock
getState, method_30032, onBreak, onEntityCollision, randomDisplayTickMethods inherited from class net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getRawIdFromState, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toStringMethods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getVisualShape, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockBreakStart, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate
-
Field Details
-
AGE
-
NORTH
-
EAST
-
SOUTH
-
WEST
-
UP
-
DIRECTION_PROPERTIES
-
UP_SHAPE
-
WEST_SHAPE
-
EAST_SHAPE
-
NORTH_SHAPE
-
SOUTH_SHAPE
-
shapesByState
-
burnChances
-
spreadChances
-
-
Constructor Details
-
FireBlock
-
-
Method Details
-
getShapeForState
-
getStateForNeighborUpdate
public BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState newState, WorldAccess world, BlockPos pos, BlockPos posFrom)- Overrides:
getStateForNeighborUpdatein classAbstractBlock
-
getOutlineShape
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)- Overrides:
getOutlineShapein classAbstractFireBlock
-
getPlacementState
- Overrides:
getPlacementStatein classAbstractFireBlock
-
getStateForPosition
-
canPlaceAt
- Overrides:
canPlaceAtin classAbstractBlock
-
scheduledTick
- Overrides:
scheduledTickin classAbstractBlock
-
isRainingAround
-
getSpreadChance
-
getBurnChance
-
trySpreadingFire
-
getStateWithAge
-
areBlocksAroundFlammable
-
getBurnChance
-
isFlammable
- Specified by:
isFlammablein classAbstractFireBlock
-
onBlockAdded
public void onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)- Overrides:
onBlockAddedin classAbstractFireBlock
-
getFireTickDelay
-
appendProperties
- Overrides:
appendPropertiesin classBlock
-
registerFlammableBlock
-
registerDefaultFlammables
public static void registerDefaultFlammables()
-