Package net.minecraft.block
Class FireBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.FireBlock
- All Implemented Interfaces:
Itemable
- Mappings:
Namespace Name official betintermediary net/minecraft/class_137named net/minecraft/block/FireBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.Builder, Block.NeighborGroup, Block.OffsetType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IntPropertystatic final BooleanPropertystatic final BooleanPropertystatic final BooleanPropertystatic final BooleanPropertystatic final BooleanPropertyprivate static final Map<Direction,BooleanProperty> private final Object2IntMap<Block>private final Object2IntMap<Block>Fields inherited from class net.minecraft.block.Block
blastResistance, BLOCK_STATES, blockSoundGroup, collidable, hardness, lightLevel, LOGGER, material, materialColor, randomTicks, stateManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendProperties(StateManager.Builder<Block, BlockState> builder) getOutlineShape(BlockState state, BlockView world, BlockPos pos) Returns the appropriate RenderLayer for a block.booleanReturns whether a block has collision, i.e.protected booleanisRainingAround(World world, BlockPos pos) booleanmethod_11562(BlockState state) method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction) method_16563(ItemPlacementContext itemPlacementContext) intmethod_16565(RenderBlockView renderBlockView) booleanmethod_16570(BlockState blockState, RenderBlockView renderBlockView, BlockPos blockPos) method_16575(BlockState blockState, Direction direction, BlockState blockState2, IWorld iWorld, BlockPos blockPos, BlockPos blockPos2) method_16678(BlockView blockView, BlockPos blockPos) booleanmethod_16680(BlockState blockState) intmethod_403(BlockState blockState, Random random) voidmethod_8661(BlockState blockState, World world, BlockPos blockPos, Random random) voidmethod_8668(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2) voidmethod_8669(BlockState blockState, World world, BlockPos blockPos, Random random) private intmethod_8774(Block block) private intmethod_8775(Block block) private booleanmethod_8778(BlockView blockView, BlockPos blockPos) private intmethod_8779(RenderBlockView renderBlockView, BlockPos blockPos) static voidvoidregisterFlammableBlock(Block block, int flamability, int disappearPercentage) private voidtrySpreadingFire(World world, BlockPos pos, int spreadFactor, Random rand, int currentAge) Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, canMobSpawnInside, canPlaceAtSide, canReplace, createCuboidShape, createStackFromBlock, dropExperience, getBlastResistance, getBlockFromItem, getBlockRenderType, getCollisionShape, getComparatorOutput, getDefaultState, getFluidState, getHardness, getItem, getLightSubtracted, getLuminance, getMaterial, getMaterialColor, getOffsetPos, getOffsetType, getPistonBehavior, getRawIdFromState, getRayTraceShape, getRenderingSeed, getSlipperiness, getSoundGroup, getStateByRawId, getStateManager, getTranslationKey, hasBlockEntity, hasRandomTicks, hasStats, isAir, isFaceFullSquare, isFullBoundsCubeForCulling, isShapeFullCube, isTranslucent, method_11564, method_11565, method_11566, method_11568, method_11575, method_11576, method_11577, method_13315, method_13703, method_13704, method_14308, method_14309, method_16564, method_16566, method_16568, method_16569, method_16572, method_16573, method_16580, method_16582, method_16583, method_16584, method_16585, method_16586, method_16588, method_16592, method_16593, method_16596, method_16599, method_16600, method_397, method_400, method_410, method_414, method_416, method_420, method_421, method_435, method_8640, method_8650, method_8651, method_8653, method_8659, method_8664, method_8674, onBlockBreak, onBreak, onBreakByPlayer, onDestroyedByExplosion, onLandedUpon, onPlaced, onSteppedOn, pushEntitiesUpBeforeBlockChange, rainTick, requiresSilkTouch, setDefaultState, setup, shouldDropItemsOnExplosion, toString, withMirror, withRotation
-
Field Details
-
field_18334
- Mappings:
Namespace Name Mixin selector official aLbet;a:Lbmj;intermediary field_18334Lnet/minecraft/class_137;field_18334:Lnet/minecraft/class_2246;named field_18334Lnet/minecraft/block/FireBlock;field_18334:Lnet/minecraft/state/property/IntProperty;
-
field_18335
- Mappings:
Namespace Name Mixin selector official bLbet;b:Lbmb;intermediary field_18335Lnet/minecraft/class_137;field_18335:Lnet/minecraft/class_2243;named field_18335Lnet/minecraft/block/FireBlock;field_18335:Lnet/minecraft/state/property/BooleanProperty;
-
field_18336
- Mappings:
Namespace Name Mixin selector official cLbet;c:Lbmb;intermediary field_18336Lnet/minecraft/class_137;field_18336:Lnet/minecraft/class_2243;named field_18336Lnet/minecraft/block/FireBlock;field_18336:Lnet/minecraft/state/property/BooleanProperty;
-
field_18337
- Mappings:
Namespace Name Mixin selector official oLbet;o:Lbmb;intermediary field_18337Lnet/minecraft/class_137;field_18337:Lnet/minecraft/class_2243;named field_18337Lnet/minecraft/block/FireBlock;field_18337:Lnet/minecraft/state/property/BooleanProperty;
-
field_18338
- Mappings:
Namespace Name Mixin selector official pLbet;p:Lbmb;intermediary field_18338Lnet/minecraft/class_137;field_18338:Lnet/minecraft/class_2243;named field_18338Lnet/minecraft/block/FireBlock;field_18338:Lnet/minecraft/state/property/BooleanProperty;
-
field_18339
- Mappings:
Namespace Name Mixin selector official qLbet;q:Lbmb;intermediary field_18339Lnet/minecraft/class_137;field_18339:Lnet/minecraft/class_2243;named field_18339Lnet/minecraft/block/FireBlock;field_18339:Lnet/minecraft/state/property/BooleanProperty;
-
field_18340
- Mappings:
Namespace Name Mixin selector official rLbet;r:Ljava/util/Map;intermediary field_18340Lnet/minecraft/class_137;field_18340:Ljava/util/Map;named field_18340Lnet/minecraft/block/FireBlock;field_18340:Ljava/util/Map;
-
field_18341
- Mappings:
Namespace Name Mixin selector official sLbet;s:Lit/unimi/dsi/fastutil/objects/Object2IntMap;intermediary field_18341Lnet/minecraft/class_137;field_18341:Lit/unimi/dsi/fastutil/objects/Object2IntMap;named field_18341Lnet/minecraft/block/FireBlock;field_18341:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
field_18342
- Mappings:
Namespace Name Mixin selector official tLbet;t:Lit/unimi/dsi/fastutil/objects/Object2IntMap;intermediary field_18342Lnet/minecraft/class_137;field_18342:Lit/unimi/dsi/fastutil/objects/Object2IntMap;named field_18342Lnet/minecraft/block/FireBlock;field_18342:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
-
Constructor Details
-
FireBlock
- Mappings:
Namespace Name Mixin selector official <init>Lbcs;<init>(Lbcs$c;)Vintermediary <init>Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_197$class_3692;)Vnamed <init>Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Block$Builder;)V
-
-
Method Details
-
getOutlineShape
- Overrides:
getOutlineShapein classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxk;Lel;)Lcew;intermediary method_11554Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_4100;named getOutlineShapeLnet/minecraft/block/Block;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shapes/VoxelShape;
-
method_16575
public BlockState method_16575(BlockState blockState, Direction direction, BlockState blockState2, IWorld iWorld, BlockPos blockPos, BlockPos blockPos2) - Overrides:
method_16575in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Leq;Lblc;Laxz;Lel;Lel;)Lblc;intermediary method_16575Lnet/minecraft/class_197;method_16575(Lnet/minecraft/class_2232;Lnet/minecraft/class_1354;Lnet/minecraft/class_2232;Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;named method_16575Lnet/minecraft/block/Block;method_16575(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
method_16563
- Overrides:
method_16563in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lark;)Lblc;intermediary method_16563Lnet/minecraft/class_197;method_16563(Lnet/minecraft/class_3544;)Lnet/minecraft/class_2232;named method_16563Lnet/minecraft/block/Block;method_16563(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
-
method_16678
- Mappings:
Namespace Name Mixin selector official aLbet;a(Laxk;Lel;)Lblc;intermediary method_16678Lnet/minecraft/class_137;method_16678(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;named method_16678Lnet/minecraft/block/FireBlock;method_16678(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
method_16570
public boolean method_16570(BlockState blockState, RenderBlockView renderBlockView, BlockPos blockPos) - Overrides:
method_16570in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Layc;Lel;)Zintermediary method_16570Lnet/minecraft/class_197;method_16570(Lnet/minecraft/class_2232;Lnet/minecraft/class_3599;Lnet/minecraft/class_2552;)Znamed method_16570Lnet/minecraft/block/Block;method_16570(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/RenderBlockView;Lnet/minecraft/util/math/BlockPos;)Z
-
method_11562
- Overrides:
method_11562in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;)Zintermediary method_11562Lnet/minecraft/class_197;method_11562(Lnet/minecraft/class_2232;)Znamed method_11562Lnet/minecraft/block/Block;method_11562(Lnet/minecraft/block/BlockState;)Z
-
method_403
- Overrides:
method_403in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Ljava/util/Random;)Iintermediary method_403Lnet/minecraft/class_197;method_403(Lnet/minecraft/class_2232;Ljava/util/Random;)Inamed method_403Lnet/minecraft/block/Block;method_403(Lnet/minecraft/block/BlockState;Ljava/util/Random;)I
-
method_16565
- Overrides:
method_16565in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Layc;)Iintermediary method_16565Lnet/minecraft/class_197;method_16565(Lnet/minecraft/class_3599;)Inamed method_16565Lnet/minecraft/block/Block;method_16565(Lnet/minecraft/world/RenderBlockView;)I
-
method_8661
- Overrides:
method_8661in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Ljava/util/Random;)Vintermediary method_8661Lnet/minecraft/class_197;method_8661(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Ljava/util/Random;)Vnamed method_8661Lnet/minecraft/block/Block;method_8661(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
-
isRainingAround
- Mappings:
Namespace Name Mixin selector official aLbet;a(Laxy;Lel;)Zintermediary method_8776Lnet/minecraft/class_137;method_8776(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Znamed isRainingAroundLnet/minecraft/block/FireBlock;isRainingAround(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
-
method_8774
- Mappings:
Namespace Name Mixin selector official fLbet;f(Lbcs;)Iintermediary method_8774Lnet/minecraft/class_137;method_8774(Lnet/minecraft/class_197;)Inamed method_8774Lnet/minecraft/block/FireBlock;method_8774(Lnet/minecraft/block/Block;)I
-
method_8775
- Mappings:
Namespace Name Mixin selector official gLbet;g(Lbcs;)Iintermediary method_8775Lnet/minecraft/class_137;method_8775(Lnet/minecraft/class_197;)Inamed method_8775Lnet/minecraft/block/FireBlock;method_8775(Lnet/minecraft/block/Block;)I
-
trySpreadingFire
private void trySpreadingFire(World world, BlockPos pos, int spreadFactor, Random rand, int currentAge) - Mappings:
Namespace Name Mixin selector official aLbet;a(Laxy;Lel;ILjava/util/Random;I)Vintermediary method_8772Lnet/minecraft/class_137;method_8772(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;ILjava/util/Random;I)Vnamed trySpreadingFireLnet/minecraft/block/FireBlock;trySpreadingFire(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;ILjava/util/Random;I)V
-
method_8778
- Mappings:
Namespace Name Mixin selector official dLbet;d(Laxk;Lel;)Zintermediary method_8778Lnet/minecraft/class_137;method_8778(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Znamed method_8778Lnet/minecraft/block/FireBlock;method_8778(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
-
method_8779
- Mappings:
Namespace Name Mixin selector official aLbet;a(Layc;Lel;)Iintermediary method_8779Lnet/minecraft/class_137;method_8779(Lnet/minecraft/class_3599;Lnet/minecraft/class_2552;)Inamed method_8779Lnet/minecraft/block/FireBlock;method_8779(Lnet/minecraft/world/RenderBlockView;Lnet/minecraft/util/math/BlockPos;)I
-
hasCollision
public boolean hasCollision()Returns whether a block has collision, i.e. stops entities- Overrides:
hasCollisionin classBlock- Returns:
- Whether a block has collision
- Mappings:
Namespace Name Mixin selector official jLbcs;j()Zintermediary method_469Lnet/minecraft/class_197;method_469()Znamed hasCollisionLnet/minecraft/block/Block;hasCollision()Z
-
method_16680
- Mappings:
Namespace Name Mixin selector official kLbet;k(Lblc;)Zintermediary method_16680Lnet/minecraft/class_137;method_16680(Lnet/minecraft/class_2232;)Znamed method_16680Lnet/minecraft/block/FireBlock;method_16680(Lnet/minecraft/block/BlockState;)Z
-
method_8668
public void method_8668(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2) - Overrides:
method_8668in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Lblc;)Vintermediary method_8668Lnet/minecraft/class_197;method_8668(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Vnamed method_8668Lnet/minecraft/block/Block;method_8668(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
method_8669
@Environment(CLIENT) public void method_8669(BlockState blockState, World world, BlockPos blockPos, Random random) - Overrides:
method_8669in classBlock- Mappings:
Namespace Name Mixin selector official cLbcs;c(Lblc;Laxy;Lel;Ljava/util/Random;)Vintermediary method_8669Lnet/minecraft/class_197;method_8669(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Ljava/util/Random;)Vnamed method_8669Lnet/minecraft/block/Block;method_8669(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
-
getRenderLayerType
Returns the appropriate RenderLayer for a block. Only called on the client.- Overrides:
getRenderLayerTypein classBlock- Returns:
- The block's RenderLayer
- Mappings:
Namespace Name Mixin selector official cLbcs;c()Laxl;intermediary method_8687Lnet/minecraft/class_197;method_8687()Lnet/minecraft/class_2165;named getRenderLayerTypeLnet/minecraft/block/Block;getRenderLayerType()Lnet/minecraft/client/render/BlockRenderLayer;
-
appendProperties
- Overrides:
appendPropertiesin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lble$a;)Vintermediary method_16576Lnet/minecraft/class_197;method_16576(Lnet/minecraft/class_2233$class_3757;)Vnamed appendPropertiesLnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
-
method_14307
public BlockRenderLayer method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction) - Overrides:
method_14307in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxk;Lblc;Lel;Leq;)Lblb;intermediary method_14307Lnet/minecraft/class_197;method_14307(Lnet/minecraft/class_1158;Lnet/minecraft/class_2232;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Lnet/minecraft/class_3225;named method_14307Lnet/minecraft/block/Block;method_14307(Lnet/minecraft/world/BlockView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/block/BlockRenderLayer;
-
registerFlammableBlock
- Mappings:
Namespace Name Mixin selector official aLbet;a(Lbcs;II)Vintermediary method_8773Lnet/minecraft/class_137;method_8773(Lnet/minecraft/class_197;II)Vnamed registerFlammableBlockLnet/minecraft/block/FireBlock;registerFlammableBlock(Lnet/minecraft/block/Block;II)V
-
registerDefaultFlammables
public static void registerDefaultFlammables()- Mappings:
Namespace Name Mixin selector official dLbet;d()Vintermediary method_6485Lnet/minecraft/class_137;method_6485()Vnamed registerDefaultFlammablesLnet/minecraft/block/FireBlock;registerDefaultFlammables()V
-