Class FireBlock

All Implemented Interfaces:
ItemConvertible

public class FireBlock extends AbstractFireBlock
Mappings:
Namespace Name
official ccc
intermediary net/minecraft/class_2358
named net/minecraft/block/FireBlock
  • Field Details

    • field_31093

      public static final int field_31093
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official c Lccc;c:I
      intermediary field_31093 Lnet/minecraft/class_2358;field_31093:I
      named field_31093 Lnet/minecraft/block/FireBlock;field_31093:I
    • AGE

      public static final IntProperty AGE
      Mappings:
      Namespace Name Mixin selector
      official d Lccc;d:Lcls;
      intermediary field_11092 Lnet/minecraft/class_2358;field_11092:Lnet/minecraft/class_2758;
      named AGE Lnet/minecraft/block/FireBlock;AGE:Lnet/minecraft/state/property/IntProperty;
    • NORTH

      public static final BooleanProperty NORTH
      Mappings:
      Namespace Name Mixin selector
      official e Lccc;e:Lclj;
      intermediary field_11096 Lnet/minecraft/class_2358;field_11096:Lnet/minecraft/class_2746;
      named NORTH Lnet/minecraft/block/FireBlock;NORTH:Lnet/minecraft/state/property/BooleanProperty;
    • EAST

      public static final BooleanProperty EAST
      Mappings:
      Namespace Name Mixin selector
      official f Lccc;f:Lclj;
      intermediary field_11094 Lnet/minecraft/class_2358;field_11094:Lnet/minecraft/class_2746;
      named EAST Lnet/minecraft/block/FireBlock;EAST:Lnet/minecraft/state/property/BooleanProperty;
    • SOUTH

      public static final BooleanProperty SOUTH
      Mappings:
      Namespace Name Mixin selector
      official g Lccc;g:Lclj;
      intermediary field_11089 Lnet/minecraft/class_2358;field_11089:Lnet/minecraft/class_2746;
      named SOUTH Lnet/minecraft/block/FireBlock;SOUTH:Lnet/minecraft/state/property/BooleanProperty;
    • WEST

      public static final BooleanProperty WEST
      Mappings:
      Namespace Name Mixin selector
      official h Lccc;h:Lclj;
      intermediary field_11088 Lnet/minecraft/class_2358;field_11088:Lnet/minecraft/class_2746;
      named WEST Lnet/minecraft/block/FireBlock;WEST:Lnet/minecraft/state/property/BooleanProperty;
    • UP

      public static final BooleanProperty UP
      Mappings:
      Namespace Name Mixin selector
      official i Lccc;i:Lclj;
      intermediary field_11093 Lnet/minecraft/class_2358;field_11093:Lnet/minecraft/class_2746;
      named UP Lnet/minecraft/block/FireBlock;UP:Lnet/minecraft/state/property/BooleanProperty;
    • DIRECTION_PROPERTIES

      private static final Map<Direction,​BooleanProperty> DIRECTION_PROPERTIES
      Mappings:
      Namespace Name Mixin selector
      official j Lccc;j:Ljava/util/Map;
      intermediary field_11090 Lnet/minecraft/class_2358;field_11090:Ljava/util/Map;
      named DIRECTION_PROPERTIES Lnet/minecraft/block/FireBlock;DIRECTION_PROPERTIES:Ljava/util/Map;
    • UP_SHAPE

      private static final VoxelShape UP_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official k Lccc;k:Ldnt;
      intermediary field_26653 Lnet/minecraft/class_2358;field_26653:Lnet/minecraft/class_265;
      named UP_SHAPE Lnet/minecraft/block/FireBlock;UP_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • WEST_SHAPE

      private static final VoxelShape WEST_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official l Lccc;l:Ldnt;
      intermediary field_26654 Lnet/minecraft/class_2358;field_26654:Lnet/minecraft/class_265;
      named WEST_SHAPE Lnet/minecraft/block/FireBlock;WEST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • EAST_SHAPE

      private static final VoxelShape EAST_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official m Lccc;m:Ldnt;
      intermediary field_26655 Lnet/minecraft/class_2358;field_26655:Lnet/minecraft/class_265;
      named EAST_SHAPE Lnet/minecraft/block/FireBlock;EAST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • NORTH_SHAPE

      private static final VoxelShape NORTH_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official n Lccc;n:Ldnt;
      intermediary field_26656 Lnet/minecraft/class_2358;field_26656:Lnet/minecraft/class_265;
      named NORTH_SHAPE Lnet/minecraft/block/FireBlock;NORTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • SOUTH_SHAPE

      private static final VoxelShape SOUTH_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official F Lccc;F:Ldnt;
      intermediary field_26657 Lnet/minecraft/class_2358;field_26657:Lnet/minecraft/class_265;
      named SOUTH_SHAPE Lnet/minecraft/block/FireBlock;SOUTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • field_31085

      private static final int field_31085
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official H Lccc;H:I
      intermediary field_31085 Lnet/minecraft/class_2358;field_31085:I
      named field_31085 Lnet/minecraft/block/FireBlock;field_31085:I
    • field_31086

      private static final int field_31086
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official I Lccc;I:I
      intermediary field_31086 Lnet/minecraft/class_2358;field_31086:I
      named field_31086 Lnet/minecraft/block/FireBlock;field_31086:I
    • field_31087

      private static final int field_31087
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official J Lccc;J:I
      intermediary field_31087 Lnet/minecraft/class_2358;field_31087:I
      named field_31087 Lnet/minecraft/block/FireBlock;field_31087:I
    • field_31088

      private static final int field_31088
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official K Lccc;K:I
      intermediary field_31088 Lnet/minecraft/class_2358;field_31088:I
      named field_31088 Lnet/minecraft/block/FireBlock;field_31088:I
    • field_31089

      private static final int field_31089
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official L Lccc;L:I
      intermediary field_31089 Lnet/minecraft/class_2358;field_31089:I
      named field_31089 Lnet/minecraft/block/FireBlock;field_31089:I
    • field_31090

      private static final int field_31090
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official M Lccc;M:I
      intermediary field_31090 Lnet/minecraft/class_2358;field_31090:I
      named field_31090 Lnet/minecraft/block/FireBlock;field_31090:I
    • field_31091

      private static final int field_31091
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official N Lccc;N:I
      intermediary field_31091 Lnet/minecraft/class_2358;field_31091:I
      named field_31091 Lnet/minecraft/block/FireBlock;field_31091:I
    • field_31092

      private static final int field_31092
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official O Lccc;O:I
      intermediary field_31092 Lnet/minecraft/class_2358;field_31092:I
      named field_31092 Lnet/minecraft/block/FireBlock;field_31092:I
    • shapesByState

      private final Map<BlockState,​VoxelShape> shapesByState
      Mappings:
      Namespace Name Mixin selector
      official G Lccc;G:Ljava/util/Map;
      intermediary field_26658 Lnet/minecraft/class_2358;field_26658:Ljava/util/Map;
      named shapesByState Lnet/minecraft/block/FireBlock;shapesByState:Ljava/util/Map;
    • burnChances

      private final Object2IntMap<Block> burnChances
      Mappings:
      Namespace Name Mixin selector
      official P Lccc;P:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      intermediary field_11095 Lnet/minecraft/class_2358;field_11095:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      named burnChances Lnet/minecraft/block/FireBlock;burnChances:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
    • spreadChances

      private final Object2IntMap<Block> spreadChances
      Mappings:
      Namespace Name Mixin selector
      official Q Lccc;Q:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      intermediary field_11091 Lnet/minecraft/class_2358;field_11091:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      named spreadChances Lnet/minecraft/block/FireBlock;spreadChances:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
  • Constructor Details

    • FireBlock

      public FireBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lckr;<init>(Lckr$c;)V
      intermediary <init> Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details

    • getShapeForState

      private static VoxelShape getShapeForState(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official h Lccc;h(Lcks;)Ldnt;
      intermediary method_31016 Lnet/minecraft/class_2358;method_31016(Lnet/minecraft/class_2680;)Lnet/minecraft/class_265;
      named getShapeForState Lnet/minecraft/block/FireBlock;getShapeForState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/shape/VoxelShape;
    • getStateForNeighborUpdate

      public BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
      Gets the possibly updated block state of this block when a neighboring block is updated.
      Overrides:
      getStateForNeighborUpdate in class AbstractBlock
      Parameters:
      state - the state of this block
      direction - the direction from this block to the neighbor
      neighborState - the state of the updated neighbor block
      world - the world
      pos - the position of this block
      neighborPos - the position of the neighbor block
      Returns:
      the new state of this block
      Mappings:
      Namespace Name Mixin selector
      official a Lckr;a(Lcks;Lgl;Lcks;Lbwq;Lgg;Lgg;)Lcks;
      intermediary method_9559 Lnet/minecraft/class_4970;method_9559(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
      named getStateForNeighborUpdate Lnet/minecraft/block/AbstractBlock;getStateForNeighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • getOutlineShape

      public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getOutlineShape in class AbstractFireBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lckr;a(Lcks;Lbvt;Lgg;Ldnf;)Ldnt;
      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;
    • getPlacementState

      public BlockState getPlacementState(ItemPlacementContext ctx)
      Overrides:
      getPlacementState in class AbstractFireBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lbzo;a(Lbsp;)Lcks;
      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;
    • getStateForPosition

      protected BlockState getStateForPosition(BlockView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Lccc;b(Lbvt;Lgg;)Lcks;
      intermediary method_10198 Lnet/minecraft/class_2358;method_10198(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
      named getStateForPosition Lnet/minecraft/block/FireBlock;getStateForPosition(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • canPlaceAt

      public boolean canPlaceAt(BlockState state, WorldView world, BlockPos pos)
      Overrides:
      canPlaceAt in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lckr;a(Lcks;Lbws;Lgg;)Z
      intermediary method_9558 Lnet/minecraft/class_4970;method_9558(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
      named canPlaceAt Lnet/minecraft/block/AbstractBlock;canPlaceAt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
    • scheduledTick

      public void scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
      Overrides:
      scheduledTick in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lckr;a(Lcks;Labr;Lgg;Ljava/util/Random;)V
      intermediary method_9588 Lnet/minecraft/class_4970;method_9588(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Ljava/util/Random;)V
      named scheduledTick Lnet/minecraft/block/AbstractBlock;scheduledTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
    • isRainingAround

      protected boolean isRainingAround(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lccc;a(Lbwp;Lgg;)Z
      intermediary method_10192 Lnet/minecraft/class_2358;method_10192(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Z
      named isRainingAround Lnet/minecraft/block/FireBlock;isRainingAround(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
    • getSpreadChance

      private int getSpreadChance(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official n Lccc;n(Lcks;)I
      intermediary method_10190 Lnet/minecraft/class_2358;method_10190(Lnet/minecraft/class_2680;)I
      named getSpreadChance Lnet/minecraft/block/FireBlock;getSpreadChance(Lnet/minecraft/block/BlockState;)I
    • getBurnChance

      private int getBurnChance(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official o Lccc;o(Lcks;)I
      intermediary method_10191 Lnet/minecraft/class_2358;method_10191(Lnet/minecraft/class_2680;)I
      named getBurnChance Lnet/minecraft/block/FireBlock;getBurnChance(Lnet/minecraft/block/BlockState;)I
    • trySpreadingFire

      private void trySpreadingFire(World world, BlockPos pos, int spreadFactor, Random rand, int currentAge)
      Mappings:
      Namespace Name Mixin selector
      official a Lccc;a(Lbwp;Lgg;ILjava/util/Random;I)V
      intermediary method_10196 Lnet/minecraft/class_2358;method_10196(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;ILjava/util/Random;I)V
      named trySpreadingFire Lnet/minecraft/block/FireBlock;trySpreadingFire(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;ILjava/util/Random;I)V
    • getStateWithAge

      private BlockState getStateWithAge(WorldAccess world, BlockPos pos, int age)
      Mappings:
      Namespace Name Mixin selector
      official a Lccc;a(Lbwq;Lgg;I)Lcks;
      intermediary method_24855 Lnet/minecraft/class_2358;method_24855(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;I)Lnet/minecraft/class_2680;
      named getStateWithAge Lnet/minecraft/block/FireBlock;getStateWithAge(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;I)Lnet/minecraft/block/BlockState;
    • areBlocksAroundFlammable

      private boolean areBlocksAroundFlammable(BlockView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official d Lccc;d(Lbvt;Lgg;)Z
      intermediary method_10193 Lnet/minecraft/class_2358;method_10193(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
      named areBlocksAroundFlammable Lnet/minecraft/block/FireBlock;areBlocksAroundFlammable(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • getBurnChance

      private int getBurnChance(WorldView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lccc;a(Lbws;Lgg;)I
      intermediary method_10194 Lnet/minecraft/class_2358;method_10194(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)I
      named getBurnChance Lnet/minecraft/block/FireBlock;getBurnChance(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)I
    • isFlammable

      protected boolean isFlammable(BlockState state)
      Specified by:
      isFlammable in class AbstractFireBlock
      Mappings:
      Namespace Name Mixin selector
      official f Lbzc;f(Lcks;)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
    • onBlockAdded

      public void onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
      Overrides:
      onBlockAdded in class AbstractFireBlock
      Mappings:
      Namespace Name Mixin selector
      official b Lckr;b(Lcks;Lbwp;Lgg;Lcks;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
    • getFireTickDelay

      private static int getFireTickDelay(Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lccc;a(Ljava/util/Random;)I
      intermediary method_26155 Lnet/minecraft/class_2358;method_26155(Ljava/util/Random;)I
      named getFireTickDelay Lnet/minecraft/block/FireBlock;getFireTickDelay(Ljava/util/Random;)I
    • appendProperties

      protected void appendProperties(StateManager.Builder<Block,​BlockState> builder)
      Overrides:
      appendProperties in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbzo;a(Lckt$a;)V
      intermediary method_9515 Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)V
      named appendProperties Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
    • registerFlammableBlock

      private void registerFlammableBlock(Block block, int burnChance, int spreadChance)
      Mappings:
      Namespace Name Mixin selector
      official a Lccc;a(Lbzo;II)V
      intermediary method_10189 Lnet/minecraft/class_2358;method_10189(Lnet/minecraft/class_2248;II)V
      named registerFlammableBlock Lnet/minecraft/block/FireBlock;registerFlammableBlock(Lnet/minecraft/block/Block;II)V
    • registerDefaultFlammables

      public static void registerDefaultFlammables()
      Mappings:
      Namespace Name Mixin selector
      official c Lccc;c()V
      intermediary method_10199 Lnet/minecraft/class_2358;method_10199()V
      named registerDefaultFlammables Lnet/minecraft/block/FireBlock;registerDefaultFlammables()V