Class AbstractFireBlock

All Implemented Interfaces:
ItemConvertible
Direct Known Subclasses:
FireBlock, SoulFireBlock

public abstract class AbstractFireBlock extends Block
Mappings:
Namespace Name
official cik
intermediary net/minecraft/class_4770
named net/minecraft/block/AbstractFireBlock
  • Field Details

    • SET_ON_FIRE_SECONDS

      private static final int SET_ON_FIRE_SECONDS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lcik;c:I
      intermediary field_31008 Lnet/minecraft/class_4770;field_31008:I
      named SET_ON_FIRE_SECONDS Lnet/minecraft/block/AbstractFireBlock;SET_ON_FIRE_SECONDS:I
    • BASE_SOUND_VOLUME

      protected static final float BASE_SOUND_VOLUME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcik;a:F
      intermediary field_31007 Lnet/minecraft/class_4770;field_31007:F
      named BASE_SOUND_VOLUME Lnet/minecraft/block/AbstractFireBlock;BASE_SOUND_VOLUME:F
    • BASE_SHAPE

      protected static final VoxelShape BASE_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official b Lcik;b:Ldwm;
      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 d Lcik;d:F
      intermediary field_22088 Lnet/minecraft/class_4770;field_22088:F
      named damage Lnet/minecraft/block/AbstractFireBlock;damage:F
  • Constructor Details

    • AbstractFireBlock

      public AbstractFireBlock(AbstractBlock.Settings settings, float damage)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcik;<init>(Lcuq$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

      public BlockState getPlacementState(ItemPlacementContext ctx)
      Overrides:
      getPlacementState in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lciw;a(Lcca;)Lcur;
      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

      public static BlockState getState(BlockView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcik;a(Lcfg;Lgt;)Lcur;
      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 class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcuq;a(Lcur;Lcfg;Lgt;Ldvy;)Ldwm;
      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

      public void randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
      Overrides:
      randomDisplayTick in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lciw;a(Lcur;Lcga;Lgt;Lalu;)V
      intermediary method_9496 Lnet/minecraft/class_2248;method_9496(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V
      named randomDisplayTick Lnet/minecraft/block/Block;randomDisplayTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)V
    • isFlammable

      protected abstract boolean isFlammable(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official f Lcik;f(Lcur;)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

      public void onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
      Overrides:
      onEntityCollision in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcuq;a(Lcur;Lcga;Lgt;Lbaq;)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 class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official b Lcuq;b(Lcur;Lcga;Lgt;Lcur;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

      private static boolean isOverworldOrNether(World world)
      Mappings:
      Namespace Name Mixin selector
      official a Lcik;a(Lcga;)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
    • spawnBreakParticles

      protected void spawnBreakParticles(World world, PlayerEntity player, BlockPos pos, BlockState state)
      Overrides:
      spawnBreakParticles in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lciw;a(Lcga;Lbtf;Lgt;Lcur;)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 spawnBreakParticles Lnet/minecraft/block/Block;spawnBreakParticles(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • onBreak

      public void onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)
      Overrides:
      onBreak in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lciw;a(Lcga;Lgt;Lcur;Lbtf;)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

      public static boolean canPlaceAt(World world, BlockPos pos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lcik;a(Lcga;Lgt;Lgy;)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

      private static boolean shouldLightPortalAt(World world, BlockPos pos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official b Lcik;b(Lcga;Lgt;Lgy;)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