public abstract class AbstractFireBlock extends Block
Block.NeighborGroupAbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>| Modifier and Type | Field and Description |
|---|---|
private float |
damage |
protected static VoxelShape |
field_22497 |
protected static VoxelShape |
field_22498 |
protected static VoxelShape |
field_22499 |
protected static VoxelShape |
field_22500 |
protected static VoxelShape |
field_22501 |
protected static VoxelShape |
field_22502 |
LOGGER, STATE_IDS, stateManagercollidable, dynamicBounds, FACINGS, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier| Constructor and Description |
|---|
AbstractFireBlock(AbstractBlock.Settings settings,
float damage) |
| Modifier and Type | Method and Description |
|---|---|
VoxelShape |
getOutlineShape(BlockState state,
BlockView world,
BlockPos pos,
ShapeContext context) |
BlockState |
getPlacementState(ItemPlacementContext ctx) |
static BlockState |
getState(BlockView world,
BlockPos pos) |
protected abstract boolean |
isFlammable(BlockState state) |
void |
onBlockAdded(BlockState state,
World world,
BlockPos pos,
BlockState oldState,
boolean notify) |
void |
onBreak(World world,
BlockPos pos,
BlockState state,
PlayerEntity player) |
void |
onEntityCollision(BlockState state,
World world,
BlockPos pos,
Entity entity) |
void |
randomDisplayTick(BlockState state,
World world,
BlockPos pos,
Random random) |
addStacksForDisplay, afterBreak, appendProperties, asBlock, asItem, buildTooltip, 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, isIn, isShapeFullCube, isSideSolidFullSquare, isTranslucent, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, pushEntitiesUpBeforeBlockChange, rainTick, replaceBlock, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toStringcalcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMaterialColor, getDroppedStacks, getFluidState, getLootTableId, getOffsetType, getOpacity, getPistonBehavior, getRayTraceShape, getRenderingSeed, getRenderType, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getVisualShape, getWeakRedstonePower, hasBlockEntity, hasComparatorOutput, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockAction, onBlockBreakStart, onBlockRemoved, onProjectileHit, onStacksDropped, onUse, prepare, randomTick, rotate, scheduledTickprotected static final VoxelShape field_22497
protected static final VoxelShape field_22498
protected static final VoxelShape field_22499
protected static final VoxelShape field_22500
protected static final VoxelShape field_22501
protected static final VoxelShape field_22502
private final float damage
public AbstractFireBlock(AbstractBlock.Settings settings, float damage)
public BlockState getPlacementState(ItemPlacementContext ctx)
getPlacementState in class Blockpublic static BlockState getState(BlockView world, BlockPos pos)
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
getOutlineShape in class AbstractBlock@Environment(value=CLIENT) public void randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
randomDisplayTick in class Blockprotected abstract boolean isFlammable(BlockState state)
public void onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
onEntityCollision in class AbstractBlockpublic void onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
onBlockAdded in class AbstractBlockpublic void onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)