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.NeighborGroup
Nested 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 IntProperty
AGE
private Object2IntMap<Block>
burnChances
private static Map<Direction,BooleanProperty>
DIRECTION_PROPERTIES
static BooleanProperty
EAST
private static VoxelShape
field_26653
private static VoxelShape
field_26654
private static VoxelShape
field_26655
private static VoxelShape
field_26656
private static VoxelShape
field_26657
private Map<BlockState,VoxelShape>
field_26658
static BooleanProperty
NORTH
static BooleanProperty
SOUTH
private Object2IntMap<Block>
spreadChances
static BooleanProperty
UP
static BooleanProperty
WEST
Fields inherited from class net.minecraft.block.AbstractFireBlock
BASE_SHAPE
Fields inherited from class net.minecraft.block.Block
LOGGER, STATE_IDS, stateManager
Fields 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, randomDisplayTick
Methods 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, is, isFaceFullSquare, isIn, isShapeFullCube, isTranslucent, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, pushEntitiesUpBeforeBlockChange, rainTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMaterialColor, getDroppedStacks, getFluidState, getLootTableId, getOffsetType, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getVisualShape, getWeakRedstonePower, hasBlockEntity, hasComparatorOutput, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockBreakStart, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate
-
Field Details
-
AGE
-
NORTH
-
EAST
-
SOUTH
-
WEST
-
UP
-
DIRECTION_PROPERTIES
-
field_26653
-
field_26654
-
field_26655
-
field_26656
-
field_26657
-
field_26658
-
burnChances
-
spreadChances
-
-
Constructor Details
-
FireBlock
-
-
Method Details
-
method_31016
-
getStateForNeighborUpdate
public BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState newState, WorldAccess world, BlockPos pos, BlockPos posFrom)- Overrides:
getStateForNeighborUpdate
in classAbstractBlock
-
getOutlineShape
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)- Overrides:
getOutlineShape
in classAbstractFireBlock
-
getPlacementState
- Overrides:
getPlacementState
in classAbstractFireBlock
-
getStateForPosition
-
canPlaceAt
- Overrides:
canPlaceAt
in classAbstractBlock
-
scheduledTick
- Overrides:
scheduledTick
in classAbstractBlock
-
isRainingAround
-
getSpreadChance
-
getBurnChance
-
trySpreadingFire
-
method_24855
-
areBlocksAroundFlammable
-
getBurnChance
-
isFlammable
- Specified by:
isFlammable
in classAbstractFireBlock
-
onBlockAdded
public void onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)- Overrides:
onBlockAdded
in classAbstractFireBlock
-
method_26155
-
appendProperties
- Overrides:
appendProperties
in classBlock
-
registerFlammableBlock
-
registerDefaultFlammables
public static void registerDefaultFlammables()
-