Package net.minecraft.block
Class AbstractFireBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.AbstractFireBlock
- All Implemented Interfaces:
ItemConvertible
- Direct Known Subclasses:
FireBlock
,SoulFireBlock
public abstract class AbstractFireBlock extends Block
- Mappings:
Namespace Name official bwi
intermediary net/minecraft/class_4770
named net/minecraft/block/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 protected static VoxelShape
BASE_SHAPE
private float
damage
Fields inherited from class net.minecraft.block.Block
LOGGER, STATE_IDS, stateManager
Fields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier
-
Constructor Summary
Constructors Constructor Description AbstractFireBlock(AbstractBlock.Settings settings, float damage)
-
Method Summary
Modifier and Type Method Description static boolean
canPlaceAt(World world, BlockPos pos, Direction direction)
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)
private static boolean
isOverworldOrNether(World world)
protected void
method_33614(World world, PlayerEntity playerEntity, BlockPos blockPos, BlockState blockState)
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)
private static boolean
shouldLightPortalAt(World world, BlockPos pos, Direction direction)
Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendProperties, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getRawIdFromState, getShapesForStates, 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, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getVisualShape, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockBreakStart, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate, scheduledTick
-
Field Details
-
BASE_SHAPE
- Mappings:
Namespace Name Mixin selector official a
Lbwi;a:Ldjn;
intermediary field_22498
Lnet/minecraft/class_4770;field_22498:Lnet/minecraft/class_265;
named BASE_SHAPE
Lnet/minecraft/block/AbstractFireBlock;BASE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
damage
private final float damage- Mappings:
Namespace Name Mixin selector official b
Lbwi;b:F
intermediary field_22088
Lnet/minecraft/class_4770;field_22088:F
named damage
Lnet/minecraft/block/AbstractFireBlock;damage:F
-
-
Constructor Details
-
AbstractFireBlock
- Mappings:
Namespace Name Mixin selector official <init>
Lbwi;<init>(Lchs$c;F)V
intermediary <init>
Lnet/minecraft/class_4770;<init>(Lnet/minecraft/class_4970$class_2251;F)V
named <init>
Lnet/minecraft/block/AbstractFireBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;F)V
-
-
Method Details
-
getPlacementState
- Overrides:
getPlacementState
in classBlock
- Mappings:
Namespace Name Mixin selector official a
Lbwu;a(Lbpv;)Lcht;
intermediary method_9605
Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;
named getPlacementState
Lnet/minecraft/block/Block;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
-
getState
- Mappings:
Namespace Name Mixin selector official a
Lbwi;a(Lbsz;Lfx;)Lcht;
intermediary method_24416
Lnet/minecraft/class_4770;method_24416(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
named getState
Lnet/minecraft/block/AbstractFireBlock;getState(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
getOutlineShape
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)- Overrides:
getOutlineShape
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lchs;a(Lcht;Lbsz;Lfx;Ldiz;)Ldjn;
intermediary method_9530
Lnet/minecraft/class_4970;method_9530(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
named getOutlineShape
Lnet/minecraft/block/AbstractBlock;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
-
randomDisplayTick
@Environment(CLIENT) public void randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)- Overrides:
randomDisplayTick
in classBlock
- Mappings:
Namespace Name Mixin selector official a
Lbwu;a(Lcht;Lbtv;Lfx;Ljava/util/Random;)V
intermediary method_9496
Lnet/minecraft/class_2248;method_9496(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Ljava/util/Random;)V
named randomDisplayTick
Lnet/minecraft/block/Block;randomDisplayTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
-
isFlammable
- Mappings:
Namespace Name Mixin selector official f
Lbwi;f(Lcht;)Z
intermediary method_10195
Lnet/minecraft/class_4770;method_10195(Lnet/minecraft/class_2680;)Z
named isFlammable
Lnet/minecraft/block/AbstractFireBlock;isFlammable(Lnet/minecraft/block/BlockState;)Z
-
onEntityCollision
- Overrides:
onEntityCollision
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lchs;a(Lcht;Lbtv;Lfx;Laqv;)V
intermediary method_9548
Lnet/minecraft/class_4970;method_9548(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;)V
named onEntityCollision
Lnet/minecraft/block/AbstractBlock;onEntityCollision(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)V
-
onBlockAdded
public void onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)- Overrides:
onBlockAdded
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official b
Lchs;b(Lcht;Lbtv;Lfx;Lcht;Z)V
intermediary method_9615
Lnet/minecraft/class_4970;method_9615(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)V
named onBlockAdded
Lnet/minecraft/block/AbstractBlock;onBlockAdded(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
-
isOverworldOrNether
- Mappings:
Namespace Name Mixin selector official a
Lbwi;a(Lbtv;)Z
intermediary method_30366
Lnet/minecraft/class_4770;method_30366(Lnet/minecraft/class_1937;)Z
named isOverworldOrNether
Lnet/minecraft/block/AbstractFireBlock;isOverworldOrNether(Lnet/minecraft/world/World;)Z
-
method_33614
protected void method_33614(World world, PlayerEntity playerEntity, BlockPos blockPos, BlockState blockState)- Overrides:
method_33614
in classBlock
- Mappings:
Namespace Name Mixin selector official a
Lbwu;a(Lbtv;Lbhl;Lfx;Lcht;)V
intermediary method_33614
Lnet/minecraft/class_2248;method_33614(Lnet/minecraft/class_1937;Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named method_33614
Lnet/minecraft/block/Block;method_33614(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
onBreak
- Overrides:
onBreak
in classBlock
- Mappings:
Namespace Name Mixin selector official a
Lbwu;a(Lbtv;Lfx;Lcht;Lbhl;)V
intermediary method_9576
Lnet/minecraft/class_2248;method_9576(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1657;)V
named onBreak
Lnet/minecraft/block/Block;onBreak(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;)V
-
canPlaceAt
- Mappings:
Namespace Name Mixin selector official a
Lbwi;a(Lbtv;Lfx;Lgc;)Z
intermediary method_30032
Lnet/minecraft/class_4770;method_30032(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
named canPlaceAt
Lnet/minecraft/block/AbstractFireBlock;canPlaceAt(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-
shouldLightPortalAt
- Mappings:
Namespace Name Mixin selector official b
Lbwi;b(Lbtv;Lfx;Lgc;)Z
intermediary method_30033
Lnet/minecraft/class_4770;method_30033(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
named shouldLightPortalAt
Lnet/minecraft/block/AbstractFireBlock;shouldLightPortalAt(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-