Class Block

java.lang.Object
net.minecraft.block.Block
Direct Known Subclasses:
AbstractFluidBlock, AbstractPressurePlateBlock, AbstractRailBlock, AirBlock, BarrierBlock, BedrockBlock, BigMushroomBlock, BlockWithEntity, BookshelfBlock, CactusBlock, CakeBlock, CarpetBlock, CauldronBlock, ChorusFlowerBlock, ChorusPlantBlock, class_3010, class_3011, ClayBlock, CobwebBlock, CraftingTableBlock, DirtBlock, DoorBlock, DragonEggBlock, EndPortalFrameBlock, FallingBlock, FarmlandBlock, FenceBlock, FireBlock, GlowstoneBlock, GrassBlock, GrassPathBlock, HardenedClayBlock, HorizontalFacingBlock, HorizotalFacingBlock, InfestedBlock, LadderBlock, LeavesBlock, LeverBlock, MelonBlock, MyceliumBlock, NetherBrickBlock, NetherrackBlock, ObsidianBlock, OreBlock, PackedIceBlock, PaneBlock, PillarBlock, PlanksBlock, PlantBlock, PrismarineBlock, QuartzBlock, RedSandstoneBlock, RedstoneBlock, RedstoneLampBlock, RedstoneOreBlock, RedstoneWireBlock, SandstoneBlock, SeaLanternBlock, SlabBlock, SnowBlock, SnowLayerBlock, SoulSandBlock, SpongeBlock, StairsBlock, StoneBlock, StoneBrickBlock, SugarCaneBlock, TntBlock, TorchBlock, TransparentBlock, TrapdoorBlock, TripwireBlock, TripwireHookBlock, VineBlock, WallBlock, WoolBlock

public class Block extends Object
The Block class provides useful methods and fields for creation of Blocks. All blocks extend the Block class. The Block class also registers all the blocks.
Mappings:
Namespace Name
official aow
intermediary net/minecraft/class_197
named net/minecraft/block/Block
  • Field Details

    • AIR_ID

      private static final Identifier AIR_ID
      The Identifier for Air
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a:Lnf;
      intermediary field_9282 Lnet/minecraft/class_197;field_9282:Lnet/minecraft/class_1653;
      named AIR_ID Lnet/minecraft/block/Block;AIR_ID:Lnet/minecraft/util/Identifier;
    • REGISTRY

      public static final BiDefaultedRegistry<Identifier,Block> REGISTRY
      The Registry object to which all blocks get registered to
      Mappings:
      Namespace Name Mixin selector
      official h Laow;h:Ley;
      intermediary field_9283 Lnet/minecraft/class_197;field_9283:Lnet/minecraft/class_1940;
      named REGISTRY Lnet/minecraft/block/Block;REGISTRY:Lnet/minecraft/util/registry/BiDefaultedRegistry;
    • BLOCK_STATES

      public static final IdList<BlockState> BLOCK_STATES
      A List of all blockstates, used by Debug worlds
      Mappings:
      Namespace Name Mixin selector
      official i Laow;i:Lfd;
      intermediary field_9284 Lnet/minecraft/class_197;field_9284:Lnet/minecraft/class_1942;
      named BLOCK_STATES Lnet/minecraft/block/Block;BLOCK_STATES:Lnet/minecraft/util/collection/IdList;
    • collisionBox

      public static final Box collisionBox
      Mappings:
      Namespace Name Mixin selector
      official j Laow;j:Lbhb;
      intermediary field_12571 Lnet/minecraft/class_197;field_12571:Lnet/minecraft/class_231;
      named collisionBox Lnet/minecraft/block/Block;collisionBox:Lnet/minecraft/util/math/Box;
    • EMPTY_BOX

      @Nullable public static final Box EMPTY_BOX
      Mappings:
      Namespace Name Mixin selector
      official k Laow;k:Lbhb;
      intermediary field_12572 Lnet/minecraft/class_197;field_12572:Lnet/minecraft/class_231;
      named EMPTY_BOX Lnet/minecraft/block/Block;EMPTY_BOX:Lnet/minecraft/util/math/Box;
    • itemGroup

      private ItemGroup itemGroup
      Mappings:
      Namespace Name Mixin selector
      official b Laow;b:Lahp;
      intermediary field_372 Lnet/minecraft/class_197;field_372:Lnet/minecraft/class_1041;
      named itemGroup Lnet/minecraft/block/Block;itemGroup:Lnet/minecraft/item/itemgroup/ItemGroup;
    • fullBlock

      protected boolean fullBlock
      Specifies whether the current block is a full block
      Mappings:
      Namespace Name Mixin selector
      official l Laow;l:Z
      intermediary field_7269 Lnet/minecraft/class_197;field_7269:Z
      named fullBlock Lnet/minecraft/block/Block;fullBlock:Z
    • opacity

      protected int opacity
      Stores the light opacity of the block
      Mappings:
      Namespace Name Mixin selector
      official m Laow;m:I
      intermediary field_7270 Lnet/minecraft/class_197;field_7270:I
      named opacity Lnet/minecraft/block/Block;opacity:I
    • transluscent

      protected boolean transluscent
      Specifies whether the current block is transluscent
      Mappings:
      Namespace Name Mixin selector
      official n Laow;n:Z
      intermediary field_7271 Lnet/minecraft/class_197;field_7271:Z
      named transluscent Lnet/minecraft/block/Block;transluscent:Z
    • lightLevel

      protected int lightLevel
      Stores the block's luminescence
      Mappings:
      Namespace Name Mixin selector
      official o Laow;o:I
      intermediary field_7272 Lnet/minecraft/class_197;field_7272:I
      named lightLevel Lnet/minecraft/block/Block;lightLevel:I
    • useNeighbourLight

      protected boolean useNeighbourLight
      Mappings:
      Namespace Name Mixin selector
      official p Laow;p:Z
      intermediary field_7273 Lnet/minecraft/class_197;field_7273:Z
      named useNeighbourLight Lnet/minecraft/block/Block;useNeighbourLight:Z
    • hardness

      protected float hardness
      Stores the current block's hardness
      Mappings:
      Namespace Name Mixin selector
      official q Laow;q:F
      intermediary field_467 Lnet/minecraft/class_197;field_467:F
      named hardness Lnet/minecraft/block/Block;hardness:F
    • blastResistance

      protected float blastResistance
      Stores the current block's resistance
      Mappings:
      Namespace Name Mixin selector
      official r Laow;r:F
      intermediary field_468 Lnet/minecraft/class_197;field_468:F
      named blastResistance Lnet/minecraft/block/Block;blastResistance:F
    • stats

      protected boolean stats
      Specifies whether the current block is tracked for stats
      Mappings:
      Namespace Name Mixin selector
      official s Laow;s:Z
      intermediary field_470 Lnet/minecraft/class_197;field_470:Z
      named stats Lnet/minecraft/block/Block;stats:Z
    • randomTicks

      protected boolean randomTicks
      Specifies whether the current block ticks randomly
      Mappings:
      Namespace Name Mixin selector
      official t Laow;t:Z
      intermediary field_471 Lnet/minecraft/class_197;field_471:Z
      named randomTicks Lnet/minecraft/block/Block;randomTicks:Z
    • blockEntity

      protected boolean blockEntity
      Specifies whether the current block has a block entity
      Mappings:
      Namespace Name Mixin selector
      official u Laow;u:Z
      intermediary field_472 Lnet/minecraft/class_197;field_472:Z
      named blockEntity Lnet/minecraft/block/Block;blockEntity:Z
    • blockSoundGroup

      protected BlockSoundGroup blockSoundGroup
      Mappings:
      Namespace Name Mixin selector
      official v Laow;v:Laty;
      intermediary field_12573 Lnet/minecraft/class_197;field_12573:Lnet/minecraft/class_200;
      named blockSoundGroup Lnet/minecraft/block/Block;blockSoundGroup:Lnet/minecraft/sound/BlockSoundGroup;
    • particleGravity

      public float particleGravity
      Stores the current block's particles' gravity
      Mappings:
      Namespace Name Mixin selector
      official w Laow;w:F
      intermediary field_480 Lnet/minecraft/class_197;field_480:F
      named particleGravity Lnet/minecraft/block/Block;particleGravity:F
    • material

      protected final Material material
      Stores the current block's material
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official x Laow;x:Lbcz;
      intermediary field_481 Lnet/minecraft/class_197;field_481:Lnet/minecraft/class_63;
      named material Lnet/minecraft/block/Block;material:Lnet/minecraft/block/Material;
    • materialColor

      protected final MaterialColor materialColor
      Stores the current block's material color
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official y Laow;y:Lbda;
      intermediary field_9279 Lnet/minecraft/class_197;field_9279:Lnet/minecraft/class_65;
      named materialColor Lnet/minecraft/block/Block;materialColor:Lnet/minecraft/block/MaterialColor;
    • slipperiness

      public float slipperiness
      Stores the current block's slipperiness Used By Ice and Packed Ice
      Mappings:
      Namespace Name Mixin selector
      official z Laow;z:F
      intermediary field_482 Lnet/minecraft/class_197;field_482:F
      named slipperiness Lnet/minecraft/block/Block;slipperiness:F
    • stateManager

      protected final StateManager stateManager
      Stores the block's state manager
      Mappings:
      Namespace Name Mixin selector
      official A Laow;A:Lawu;
      intermediary field_9280 Lnet/minecraft/class_197;field_9280:Lnet/minecraft/class_2233;
      named stateManager Lnet/minecraft/block/Block;stateManager:Lnet/minecraft/state/StateManager;
    • defaultState

      private BlockState defaultState
      Stores the block's default state
      Mappings:
      Namespace Name Mixin selector
      official c Laow;c:Lawt;
      intermediary field_9281 Lnet/minecraft/class_197;field_9281:Lnet/minecraft/class_2232;
      named defaultState Lnet/minecraft/block/Block;defaultState:Lnet/minecraft/block/BlockState;
    • translationKey

      private String translationKey
      Stores the block's translation key
      Mappings:
      Namespace Name Mixin selector
      official d Laow;d:Ljava/lang/String;
      intermediary field_425 Lnet/minecraft/class_197;field_425:Ljava/lang/String;
      named translationKey Lnet/minecraft/block/Block;translationKey:Ljava/lang/String;
  • Constructor Details

    • Block

      public Block(Material material, MaterialColor color)
      Block constructor which initializes all fields to their default values and assigns the material and material color to the specified parameters
      Parameters:
      material - The block's material
      color - The block's material color
      Mappings:
      Namespace Name Mixin selector
      official <init> Laow;<init>(Lbcz;Lbda;)V
      intermediary <init> Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_63;Lnet/minecraft/class_65;)V
      named <init> Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Material;Lnet/minecraft/block/MaterialColor;)V
    • Block

      protected Block(Material material)
      Overloaded Block constructor that calls the other with the default material color
      Parameters:
      material - The block's material
      Mappings:
      Namespace Name Mixin selector
      official <init> Laow;<init>(Lbcz;)V
      intermediary <init> Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_63;)V
      named <init> Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Material;)V
  • Method Details

    • getIdByBlock

      public static int getIdByBlock(Block block)
      Returns a certain block's id
      Parameters:
      block - The block for which the id is returned
      Returns:
      Block id
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Laow;)I
      intermediary method_6445 Lnet/minecraft/class_197;method_6445(Lnet/minecraft/class_197;)I
      named getIdByBlock Lnet/minecraft/block/Block;getIdByBlock(Lnet/minecraft/block/Block;)I
    • getByBlockState

      public static int getByBlockState(BlockState state)
      Returns a certain Block's id from a blockstate
      Parameters:
      state - The BlockState for which the id is returned
      Returns:
      Block id
      Mappings:
      Namespace Name Mixin selector
      official j Laow;j(Lawt;)I
      intermediary method_8677 Lnet/minecraft/class_197;method_8677(Lnet/minecraft/class_2232;)I
      named getByBlockState Lnet/minecraft/block/Block;getByBlockState(Lnet/minecraft/block/BlockState;)I
    • getById

      public static Block getById(int id)
      Returns a certain block from its id
      Parameters:
      id - The id for which the Block is returned
      Returns:
      The Block
      Mappings:
      Namespace Name Mixin selector
      official c Laow;c(I)Laow;
      intermediary method_6448 Lnet/minecraft/class_197;method_6448(I)Lnet/minecraft/class_197;
      named getById Lnet/minecraft/block/Block;getById(I)Lnet/minecraft/block/Block;
    • getStateFromRawId

      public static BlockState getStateFromRawId(int id)
      Returns a BlockState from it's id
      Parameters:
      id - The BlockState's id
      Returns:
      The Blockstate
      Mappings:
      Namespace Name Mixin selector
      official d Laow;d(I)Lawt;
      intermediary method_8672 Lnet/minecraft/class_197;method_8672(I)Lnet/minecraft/class_2232;
      named getStateFromRawId Lnet/minecraft/block/Block;getStateFromRawId(I)Lnet/minecraft/block/BlockState;
    • getBlockFromItem

      public static Block getBlockFromItem(@Nullable Item item)
      Returns a block by converting a blockitem to a block
      Parameters:
      item - The item that must be converted to a block
      Returns:
      The block
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lain;)Laow;
      intermediary method_6442 Lnet/minecraft/class_197;method_6442(Lnet/minecraft/class_1069;)Lnet/minecraft/class_197;
      named getBlockFromItem Lnet/minecraft/block/Block;getBlockFromItem(Lnet/minecraft/item/Item;)Lnet/minecraft/block/Block;
    • get

      @Nullable public static Block get(String id)
      Returns a block from it's name
      Parameters:
      id - The block's name
      Returns:
      The block
      Mappings:
      Namespace Name Mixin selector
      official b Laow;b(Ljava/lang/String;)Laow;
      intermediary method_6446 Lnet/minecraft/class_197;method_6446(Ljava/lang/String;)Lnet/minecraft/class_197;
      named get Lnet/minecraft/block/Block;get(Ljava/lang/String;)Lnet/minecraft/block/Block;
    • method_11568

      @Deprecated public boolean method_11568(BlockState state)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official k Laow;k(Lawt;)Z
      intermediary method_11568 Lnet/minecraft/class_197;method_11568(Lnet/minecraft/class_2232;)Z
      named method_11568 Lnet/minecraft/block/Block;method_11568(Lnet/minecraft/block/BlockState;)Z
    • isFullBlock

      @Deprecated public boolean isFullBlock(BlockState blockState)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official l Laow;l(Lawt;)Z
      intermediary method_11569 Lnet/minecraft/class_197;method_11569(Lnet/minecraft/class_2232;)Z
      named isFullBlock Lnet/minecraft/block/Block;isFullBlock(Lnet/minecraft/block/BlockState;)Z
    • method_13315

      @Deprecated public boolean method_13315(BlockState blockState, Entity entity)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lawt;Lvg;)Z
      intermediary method_13315 Lnet/minecraft/class_197;method_13315(Lnet/minecraft/class_2232;Lnet/minecraft/class_864;)Z
      named method_13315 Lnet/minecraft/block/Block;method_13315(Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/Entity;)Z
    • getOpacity

      @Deprecated public int getOpacity(BlockState blockState)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official m Laow;m(Lawt;)I
      intermediary method_11570 Lnet/minecraft/class_197;method_11570(Lnet/minecraft/class_2232;)I
      named getOpacity Lnet/minecraft/block/Block;getOpacity(Lnet/minecraft/block/BlockState;)I
    • isTransluscent

      @Environment(CLIENT) @Deprecated public boolean isTransluscent(BlockState blockState)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official n Laow;n(Lawt;)Z
      intermediary method_11571 Lnet/minecraft/class_197;method_11571(Lnet/minecraft/class_2232;)Z
      named isTransluscent Lnet/minecraft/block/Block;isTransluscent(Lnet/minecraft/block/BlockState;)Z
    • getLuminance

      @Deprecated public int getLuminance(BlockState state)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official o Laow;o(Lawt;)I
      intermediary method_11572 Lnet/minecraft/class_197;method_11572(Lnet/minecraft/class_2232;)I
      named getLuminance Lnet/minecraft/block/Block;getLuminance(Lnet/minecraft/block/BlockState;)I
    • useNeighbourLight

      @Deprecated public boolean useNeighbourLight(BlockState blockState)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official p Laow;p(Lawt;)Z
      intermediary method_11573 Lnet/minecraft/class_197;method_11573(Lnet/minecraft/class_2232;)Z
      named useNeighbourLight Lnet/minecraft/block/Block;useNeighbourLight(Lnet/minecraft/block/BlockState;)Z
    • getMaterial

      @Deprecated public Material getMaterial(BlockState state)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official q Laow;q(Lawt;)Lbcz;
      intermediary method_11574 Lnet/minecraft/class_197;method_11574(Lnet/minecraft/class_2232;)Lnet/minecraft/class_63;
      named getMaterial Lnet/minecraft/block/Block;getMaterial(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/Material;
    • getMaterialColor

      @Deprecated public MaterialColor getMaterialColor(BlockState state, BlockView view, BlockPos pos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official c Laow;c(Lawt;Lamy;Let;)Lbda;
      intermediary method_8680 Lnet/minecraft/class_197;method_8680(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_65;
      named getMaterialColor Lnet/minecraft/block/Block;getMaterialColor(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/MaterialColor;
    • stateFromData

      @Deprecated public BlockState stateFromData(int data)
      Deprecated.
      Returns a blockstate of the current block from it's id
      Parameters:
      data - The Blockstate's associated data value
      Returns:
      The Default state
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(I)Lawt;
      intermediary method_8635 Lnet/minecraft/class_197;method_8635(I)Lnet/minecraft/class_2232;
      named stateFromData Lnet/minecraft/block/Block;stateFromData(I)Lnet/minecraft/block/BlockState;
    • getData

      public int getData(BlockState state)
      Returns the data value for a blockstate Throws an IllegalArmumentException as this method does not work
      Parameters:
      state - The Blockstate
      Returns:
      Zero
      Mappings:
      Namespace Name Mixin selector
      official e Laow;e(Lawt;)I
      intermediary method_8671 Lnet/minecraft/class_197;method_8671(Lnet/minecraft/class_2232;)I
      named getData Lnet/minecraft/block/Block;getData(Lnet/minecraft/block/BlockState;)I
    • getBlockState

      @Deprecated public BlockState getBlockState(BlockState state, BlockView view, BlockPos pos)
      Deprecated.
      Returns the current block's blockstate at a certain position
      Parameters:
      state - The original blockstate
      view - BlockView instance
      pos - The block's position
      Returns:
      state
      Mappings:
      Namespace Name Mixin selector
      official d Laow;d(Lawt;Lamy;Let;)Lawt;
      intermediary method_8656 Lnet/minecraft/class_197;method_8656(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;
      named getBlockState Lnet/minecraft/block/Block;getBlockState(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • withRotation

      @Deprecated public BlockState withRotation(BlockState state, BlockRotation rotation)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lawt;Latm;)Lawt;
      intermediary method_11556 Lnet/minecraft/class_197;method_11556(Lnet/minecraft/class_2232;Lnet/minecraft/class_2734;)Lnet/minecraft/class_2232;
      named withRotation Lnet/minecraft/block/Block;withRotation(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
    • withMirror

      @Deprecated public BlockState withMirror(BlockState state, BlockMirror mirror)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lawt;Lary;)Lawt;
      intermediary method_11555 Lnet/minecraft/class_197;method_11555(Lnet/minecraft/class_2232;Lnet/minecraft/class_2727;)Lnet/minecraft/class_2232;
      named withMirror Lnet/minecraft/block/Block;withMirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;
    • setBlockSoundGroup

      protected Block setBlockSoundGroup(BlockSoundGroup blockSoundGroup)
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Laty;)Laow;
      intermediary method_401 Lnet/minecraft/class_197;method_401(Lnet/minecraft/class_200;)Lnet/minecraft/class_197;
      named setBlockSoundGroup Lnet/minecraft/block/Block;setBlockSoundGroup(Lnet/minecraft/sound/BlockSoundGroup;)Lnet/minecraft/block/Block;
    • setOpacity

      protected Block setOpacity(int opacity)
      Sets the block's light opacity. Used in registering blocks.
      Parameters:
      opacity - The block's light opacity
      Returns:
      The current block
      Mappings:
      Namespace Name Mixin selector
      official e Laow;e(I)Laow;
      intermediary method_6450 Lnet/minecraft/class_197;method_6450(I)Lnet/minecraft/class_197;
      named setOpacity Lnet/minecraft/block/Block;setOpacity(I)Lnet/minecraft/block/Block;
    • setLightLevel

      protected Block setLightLevel(float lightLevel)
      Sets the block's luminescence. Used in registering blocks.
      Parameters:
      lightLevel - The block's luminescence
      Returns:
      The current block
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(F)Laow;
      intermediary method_6441 Lnet/minecraft/class_197;method_6441(F)Lnet/minecraft/class_197;
      named setLightLevel Lnet/minecraft/block/Block;setLightLevel(F)Lnet/minecraft/block/Block;
    • setResistance

      protected Block setResistance(float resistance)
      Sets the block's resistance. Used in registering blocks.
      Parameters:
      resistance - The block's resistance
      Returns:
      The current block
      Mappings:
      Namespace Name Mixin selector
      official b Laow;b(F)Laow;
      intermediary method_430 Lnet/minecraft/class_197;method_430(F)Lnet/minecraft/class_197;
      named setResistance Lnet/minecraft/block/Block;setResistance(F)Lnet/minecraft/block/Block;
    • method_14308

      protected static boolean method_14308(Block block)
      Mappings:
      Namespace Name Mixin selector
      official b Laow;b(Laow;)Z
      intermediary method_14308 Lnet/minecraft/class_197;method_14308(Lnet/minecraft/class_197;)Z
      named method_14308 Lnet/minecraft/block/Block;method_14308(Lnet/minecraft/block/Block;)Z
    • method_14309

      protected static boolean method_14309(Block block)
      Mappings:
      Namespace Name Mixin selector
      official c Laow;c(Laow;)Z
      intermediary method_14309 Lnet/minecraft/class_197;method_14309(Lnet/minecraft/class_197;)Z
      named method_14309 Lnet/minecraft/block/Block;method_14309(Lnet/minecraft/block/Block;)Z
    • method_11575

      @Deprecated public boolean method_11575(BlockState state)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official r Laow;r(Lawt;)Z
      intermediary method_11575 Lnet/minecraft/class_197;method_11575(Lnet/minecraft/class_2232;)Z
      named method_11575 Lnet/minecraft/block/Block;method_11575(Lnet/minecraft/block/BlockState;)Z
    • method_11576

      @Deprecated public boolean method_11576(BlockState state)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official s Laow;s(Lawt;)Z
      intermediary method_11576 Lnet/minecraft/class_197;method_11576(Lnet/minecraft/class_2232;)Z
      named method_11576 Lnet/minecraft/block/Block;method_11576(Lnet/minecraft/block/BlockState;)Z
    • method_13703

      @Deprecated public boolean method_13703(BlockState state)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official t Laow;t(Lawt;)Z
      intermediary method_13703 Lnet/minecraft/class_197;method_13703(Lnet/minecraft/class_2232;)Z
      named method_13703 Lnet/minecraft/block/Block;method_13703(Lnet/minecraft/block/BlockState;)Z
    • method_11562

      @Deprecated public boolean method_11562(BlockState state)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official c Laow;c(Lawt;)Z
      intermediary method_11562 Lnet/minecraft/class_197;method_11562(Lnet/minecraft/class_2232;)Z
      named method_11562 Lnet/minecraft/block/Block;method_11562(Lnet/minecraft/block/BlockState;)Z
    • method_13704

      @Environment(CLIENT) @Deprecated public boolean method_13704(BlockState state)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a_ Laow;a_(Lawt;)Z
      intermediary method_13704 Lnet/minecraft/class_197;method_13704(Lnet/minecraft/class_2232;)Z
      named method_13704 Lnet/minecraft/block/Block;method_13704(Lnet/minecraft/block/BlockState;)Z
    • blocksMovement

      public boolean blocksMovement(BlockView view, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Laow;b(Lamy;Let;)Z
      intermediary method_8663 Lnet/minecraft/class_197;method_8663(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Z
      named blocksMovement Lnet/minecraft/block/Block;blocksMovement(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • getBlockRenderType

      @Deprecated public BlockRenderType getBlockRenderType(BlockState state)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lawt;)Latj;
      intermediary method_11552 Lnet/minecraft/class_197;method_11552(Lnet/minecraft/class_2232;)Lnet/minecraft/class_2733;
      named getBlockRenderType Lnet/minecraft/block/Block;getBlockRenderType(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockRenderType;
    • method_8638

      public boolean method_8638(BlockView blockView, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamy;Let;)Z
      intermediary method_8638 Lnet/minecraft/class_197;method_8638(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Z
      named method_8638 Lnet/minecraft/block/Block;method_8638(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • setStrength

      protected Block setStrength(float strength)
      Sets the current block's strength. Used in registering blocks.
      Parameters:
      strength - The block's strength
      Returns:
      The current block
      Mappings:
      Namespace Name Mixin selector
      official c Laow;c(F)Laow;
      intermediary method_442 Lnet/minecraft/class_197;method_442(F)Lnet/minecraft/class_197;
      named setStrength Lnet/minecraft/block/Block;setStrength(F)Lnet/minecraft/block/Block;
    • setUnbreakable

      protected Block setUnbreakable()
      Sets the current block as unbreakable. Used in registering blocks. Setting the strength as -1 makes the block unbreakable. Used by barriers and command blocks.
      Returns:
      The current block
      Mappings:
      Namespace Name Mixin selector
      official j Laow;j()Laow;
      intermediary method_474 Lnet/minecraft/class_197;method_474()Lnet/minecraft/class_197;
      named setUnbreakable Lnet/minecraft/block/Block;setUnbreakable()Lnet/minecraft/block/Block;
    • getHardness

      @Deprecated public float getHardness(BlockState blockState, World world, BlockPos blockPos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lawt;Lamu;Let;)F
      intermediary method_11561 Lnet/minecraft/class_197;method_11561(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)F
      named getHardness Lnet/minecraft/block/Block;getHardness(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)F
    • setTickRandomly

      protected Block setTickRandomly(boolean tickRandomly)
      Sets whether the current block has random ticks. Used in registering blocks.
      Parameters:
      tickRandomly - Whether the current block should have random ticks
      Returns:
      The current block
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Z)Laow;
      intermediary method_440 Lnet/minecraft/class_197;method_440(Z)Lnet/minecraft/class_197;
      named setTickRandomly Lnet/minecraft/block/Block;setTickRandomly(Z)Lnet/minecraft/block/Block;
    • ticksRandomly

      public boolean ticksRandomly()
      Returns whether the current block has random ticks
      Returns:
      Whether the current block has random ticks
      Mappings:
      Namespace Name Mixin selector
      official k Laow;k()Z
      intermediary method_476 Lnet/minecraft/class_197;method_476()Z
      named ticksRandomly Lnet/minecraft/block/Block;ticksRandomly()Z
    • hasBlockEntity

      public boolean hasBlockEntity()
      Returns whether the current block has a block entity
      Returns:
      Whether the current block has a block entity
      Mappings:
      Namespace Name Mixin selector
      official l Laow;l()Z
      intermediary method_478 Lnet/minecraft/class_197;method_478()Z
      named hasBlockEntity Lnet/minecraft/block/Block;hasBlockEntity()Z
    • getCollisionBox

      @Deprecated public Box getCollisionBox(BlockState state, BlockView view, BlockPos pos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official b Laow;b(Lawt;Lamy;Let;)Lbhb;
      intermediary method_11554 Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_231;
      named getCollisionBox Lnet/minecraft/block/Block;getCollisionBox(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Box;
    • method_11564

      @Environment(CLIENT) @Deprecated public int method_11564(BlockState state, BlockView view, BlockPos pos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official e Laow;e(Lawt;Lamy;Let;)I
      intermediary method_11564 Lnet/minecraft/class_197;method_11564(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)I
      named method_11564 Lnet/minecraft/block/Block;method_11564(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)I
    • method_8654

      @Environment(CLIENT) @Deprecated public boolean method_8654(BlockState state, BlockView view, BlockPos pos, Direction direction)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lawt;Lamy;Let;Lfa;)Z
      intermediary method_8654 Lnet/minecraft/class_197;method_8654(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Z
      named method_8654 Lnet/minecraft/block/Block;method_8654(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
    • method_14307

      @Deprecated public BlockRenderLayer method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamy;Lawt;Let;Lfa;)Lawr;
      intermediary method_14307 Lnet/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_14307 Lnet/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;
    • method_11563

      @Environment(CLIENT) @Deprecated public Box method_11563(BlockState blockState, World world, BlockPos blockPos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official b Laow;b(Lawt;Lamu;Let;)Lbhb;
      intermediary method_11563 Lnet/minecraft/class_197;method_11563(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Lnet/minecraft/class_231;
      named method_11563 Lnet/minecraft/block/Block;method_11563(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Box;
    • appendCollisionBoxes

      @Deprecated public void appendCollisionBoxes(BlockState state, World world, BlockPos pos, Box entityBox, List<Box> boxes, @Nullable Entity entity, boolean isActualState)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lawt;Lamu;Let;Lbhb;Ljava/util/List;Lvg;Z)V
      intermediary method_11553 Lnet/minecraft/class_197;method_11553(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_231;Ljava/util/List;Lnet/minecraft/class_864;Z)V
      named appendCollisionBoxes Lnet/minecraft/block/Block;appendCollisionBoxes(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Box;Ljava/util/List;Lnet/minecraft/entity/Entity;Z)V
    • appendCollisionBoxes

      protected static void appendCollisionBoxes(BlockPos pos, Box entityBox, List<Box> boxes, @Nullable Box boxToAdd)
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Let;Lbhb;Ljava/util/List;Lbhb;)V
      intermediary method_11558 Lnet/minecraft/class_197;method_11558(Lnet/minecraft/class_2552;Lnet/minecraft/class_231;Ljava/util/List;Lnet/minecraft/class_231;)V
      named appendCollisionBoxes Lnet/minecraft/block/Block;appendCollisionBoxes(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Box;Ljava/util/List;Lnet/minecraft/util/math/Box;)V
    • method_8640

      @Deprecated @Nullable public Box method_8640(BlockState blockState, BlockView blockView, BlockPos blockPos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lawt;Lamy;Let;)Lbhb;
      intermediary method_8640 Lnet/minecraft/class_197;method_8640(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_231;
      named method_8640 Lnet/minecraft/block/Block;method_8640(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Box;
    • isFullBoundsCubeForCulling

      @Deprecated public boolean isFullBoundsCubeForCulling(BlockState blockState)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official b Laow;b(Lawt;)Z
      intermediary method_11560 Lnet/minecraft/class_197;method_11560(Lnet/minecraft/class_2232;)Z
      named isFullBoundsCubeForCulling Lnet/minecraft/block/Block;isFullBoundsCubeForCulling(Lnet/minecraft/block/BlockState;)Z
    • canCollide

      public boolean canCollide(BlockState state, boolean bl)
      Returns whether entities can collide with the block
      Parameters:
      state - The block's BlockState
      Returns:
      Whether the block has collision
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lawt;Z)Z
      intermediary method_400 Lnet/minecraft/class_197;method_400(Lnet/minecraft/class_2232;Z)Z
      named canCollide Lnet/minecraft/block/Block;canCollide(Lnet/minecraft/block/BlockState;Z)Z
    • hasCollision

      public boolean hasCollision()
      Returns whether a block has collision, i.e. stops entities
      Returns:
      Whether a block has collision
      Mappings:
      Namespace Name Mixin selector
      official m Laow;m()Z
      intermediary method_469 Lnet/minecraft/class_197;method_469()Z
      named hasCollision Lnet/minecraft/block/Block;hasCollision()Z
    • onUpdateTick

      public void onUpdateTick(World world, BlockPos pos, BlockState state, Random rand)
      Runs when the block is updated
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      state - The block's BlockState
      rand - Random object
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamu;Let;Lawt;Ljava/util/Random;)V
      intermediary method_8643 Lnet/minecraft/class_197;method_8643(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Ljava/util/Random;)V
      named onUpdateTick Lnet/minecraft/block/Block;onUpdateTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Ljava/util/Random;)V
    • scheduledTick

      public void scheduledTick(World world, BlockPos pos, BlockState state, Random rand)
      Runs when the block is updated as per a schedule
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      state - The block's BlockState
      rand - Random object
      Mappings:
      Namespace Name Mixin selector
      official b Laow;b(Lamu;Let;Lawt;Ljava/util/Random;)V
      intermediary method_8661 Lnet/minecraft/class_197;method_8661(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Ljava/util/Random;)V
      named scheduledTick Lnet/minecraft/block/Block;scheduledTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Ljava/util/Random;)V
    • method_8669

      @Environment(CLIENT) public void method_8669(BlockState blockState, World world, BlockPos blockPos, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lawt;Lamu;Let;Ljava/util/Random;)V
      intermediary method_8669 Lnet/minecraft/class_197;method_8669(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Ljava/util/Random;)V
      named method_8669 Lnet/minecraft/block/Block;method_8669(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
    • onBreakByPlayer

      public void onBreakByPlayer(World world, BlockPos pos, BlockState state)
      Runs when the block is broken by the player
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      state - The block's BlockState
      Mappings:
      Namespace Name Mixin selector
      official d Laow;d(Lamu;Let;Lawt;)V
      intermediary method_8674 Lnet/minecraft/class_197;method_8674(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)V
      named onBreakByPlayer Lnet/minecraft/block/Block;onBreakByPlayer(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • onBreak

      @Deprecated public void onBreak(BlockState state, World world, BlockPos arg3, Block block, BlockPos pos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lawt;Lamu;Let;Laow;Let;)V
      intermediary method_8641 Lnet/minecraft/class_197;method_8641(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_197;Lnet/minecraft/class_2552;)V
      named onBreak Lnet/minecraft/block/Block;onBreak(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
    • getTickRate

      public int getTickRate(World world)
      Returns the block's tick rate. Default is 10.
      Parameters:
      world - The world that the block is placed in
      Returns:
      Tick rate
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamu;)I
      intermediary method_4789 Lnet/minecraft/class_197;method_4789(Lnet/minecraft/class_1150;)I
      named getTickRate Lnet/minecraft/block/Block;getTickRate(Lnet/minecraft/world/World;)I
    • onCreation

      public void onCreation(World world, BlockPos pos, BlockState state)
      Runs when the block is placed (by a player or enderman).
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      state - The block's BlockState
      Mappings:
      Namespace Name Mixin selector
      official c Laow;c(Lamu;Let;Lawt;)V
      intermediary method_8668 Lnet/minecraft/class_197;method_8668(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)V
      named onCreation Lnet/minecraft/block/Block;onCreation(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • onBreaking

      public void onBreaking(World world, BlockPos pos, BlockState state)
      Runs when the block is removed (by an entity or explosion).
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      state - The block's BlockState
      Mappings:
      Namespace Name Mixin selector
      official b Laow;b(Lamu;Let;Lawt;)V
      intermediary method_8659 Lnet/minecraft/class_197;method_8659(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)V
      named onBreaking Lnet/minecraft/block/Block;onBreaking(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • getDropCount

      public int getDropCount(Random rand)
      Returns the amount of items the block should drop on breaking without bonus rolls.
      Parameters:
      rand - Random object
      Returns:
      Amount of items to be dropped
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Ljava/util/Random;)I
      intermediary method_403 Lnet/minecraft/class_197;method_403(Ljava/util/Random;)I
      named getDropCount Lnet/minecraft/block/Block;getDropCount(Ljava/util/Random;)I
    • getDropItem

      public Item getDropItem(BlockState blockState, Random random, int state)
      Returns the item that must be dropped when the block is broken
      Parameters:
      blockState - The block's BlockState
      random - Random object
      state - State
      Returns:
      The Item that drops after the block breaks
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lawt;Ljava/util/Random;I)Lain;
      intermediary method_398 Lnet/minecraft/class_197;method_398(Lnet/minecraft/class_2232;Ljava/util/Random;I)Lnet/minecraft/class_1069;
      named getDropItem Lnet/minecraft/block/Block;getDropItem(Lnet/minecraft/block/BlockState;Ljava/util/Random;I)Lnet/minecraft/item/Item;
    • method_11557

      @Deprecated public float method_11557(BlockState blockState, PlayerEntity playerEntity, World world, BlockPos blockPos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lawt;Laed;Lamu;Let;)F
      intermediary method_11557 Lnet/minecraft/class_197;method_11557(Lnet/minecraft/class_2232;Lnet/minecraft/class_988;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)F
      named method_11557 Lnet/minecraft/block/Block;method_11557(Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)F
    • dropAsItem

      public final void dropAsItem(World world, BlockPos pos, BlockState state, int id)
      Runs when the block must be dropped as an item. Called when the block is broken or an enderman holding the block dies.
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      state - The block's BlockState
      id - Id
      Mappings:
      Namespace Name Mixin selector
      official b Laow;b(Lamu;Let;Lawt;I)V
      intermediary method_8660 Lnet/minecraft/class_197;method_8660(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;I)V
      named dropAsItem Lnet/minecraft/block/Block;dropAsItem(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;I)V
    • randomDropAsItem

      public void randomDropAsItem(World world, BlockPos pos, BlockState state, float chance, int id)
      Called when the block must be dropped as an item by dropAsItem, but luck is taken into consideration here.
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      state - The block's BlockState
      chance - The chance (luck factor)
      id - Id
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamu;Let;Lawt;FI)V
      intermediary method_410 Lnet/minecraft/class_197;method_410(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;FI)V
      named randomDropAsItem Lnet/minecraft/block/Block;randomDropAsItem(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;FI)V
    • onBlockBreak

      public static void onBlockBreak(World world, BlockPos pos, ItemStack item)
      Runs when a block is broken
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      item - Allows creating an ItemEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamu;Let;Laip;)V
      intermediary method_8649 Lnet/minecraft/class_197;method_8649(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1071;)V
      named onBlockBreak Lnet/minecraft/block/Block;onBlockBreak(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/ItemStack;)V
    • dropExperience

      protected void dropExperience(World world, BlockPos pos, int size)
      Runs when the block is broken to drop experience. Since entities are being spawned, most of it only happens on a ServerWorld.
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      size - Size
      Mappings:
      Namespace Name Mixin selector
      official b Laow;b(Lamu;Let;I)V
      intermediary method_8658 Lnet/minecraft/class_197;method_8658(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;I)V
      named dropExperience Lnet/minecraft/block/Block;dropExperience(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;I)V
    • getMeta

      public int getMeta(BlockState state)
      Returns the metadata value for a certain BlockState
      Parameters:
      state - The BlockState
      Returns:
      Metadata value
      Mappings:
      Namespace Name Mixin selector
      official d Laow;d(Lawt;)I
      intermediary method_8655 Lnet/minecraft/class_197;method_8655(Lnet/minecraft/class_2232;)I
      named getMeta Lnet/minecraft/block/Block;getMeta(Lnet/minecraft/block/BlockState;)I
    • getBlastResistance

      public float getBlastResistance(Entity entity)
      Returns the block's blast resistance as per the entity provided.
      Parameters:
      entity - The entity that blast resistance must be calculated for
      Returns:
      Blast Resistance
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lvg;)F
      intermediary method_404 Lnet/minecraft/class_197;method_404(Lnet/minecraft/class_864;)F
      named getBlastResistance Lnet/minecraft/block/Block;getBlastResistance(Lnet/minecraft/entity/Entity;)F
    • method_414

      @Deprecated @Nullable public BlockHitResult method_414(BlockState blockState, World world, BlockPos blockPos, Vec3d vec3d, Vec3d vec3d2)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lawt;Lamu;Let;Lbhe;Lbhe;)Lbhc;
      intermediary method_414 Lnet/minecraft/class_197;method_414(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_236;Lnet/minecraft/class_236;)Lnet/minecraft/class_234;
      named method_414 Lnet/minecraft/block/Block;method_414(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/hit/BlockHitResult;
    • method_11559

      @Nullable protected BlockHitResult method_11559(BlockPos blockPos, Vec3d vec3d, Vec3d vec3d2, Box box)
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Let;Lbhe;Lbhe;Lbhb;)Lbhc;
      intermediary method_11559 Lnet/minecraft/class_197;method_11559(Lnet/minecraft/class_2552;Lnet/minecraft/class_236;Lnet/minecraft/class_236;Lnet/minecraft/class_231;)Lnet/minecraft/class_234;
      named method_11559 Lnet/minecraft/block/Block;method_11559(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Box;)Lnet/minecraft/util/hit/BlockHitResult;
    • onDestroyedByExplosion

      public void onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion)
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamu;Let;Lamp;)V
      intermediary method_8639 Lnet/minecraft/class_197;method_8639(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1147;)V
      named onDestroyedByExplosion Lnet/minecraft/block/Block;onDestroyedByExplosion(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/explosion/Explosion;)V
    • getRenderLayerType

      @Environment(CLIENT) public BlockRenderLayer getRenderLayerType()
      Returns the appropriate RenderLayer for a block. Only called on the client.
      Returns:
      The block's RenderLayer
      Mappings:
      Namespace Name Mixin selector
      official f Laow;f()Lamm;
      intermediary method_8687 Lnet/minecraft/class_197;method_8687()Lnet/minecraft/class_2165;
      named getRenderLayerType Lnet/minecraft/block/Block;getRenderLayerType()Lnet/minecraft/client/render/BlockRenderLayer;
    • canBePlacedAdjacent

      public boolean canBePlacedAdjacent(World world, BlockPos pos, Direction direction)
      Returns whether blocks can be placed adjacent to it.
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      direction - The block's direction
      Returns:
      Whether blocks can be placed adjacent to it
      Mappings:
      Namespace Name Mixin selector
      official b Laow;b(Lamu;Let;Lfa;)Z
      intermediary method_8662 Lnet/minecraft/class_197;method_8662(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Z
      named canBePlacedAdjacent Lnet/minecraft/block/Block;canBePlacedAdjacent(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
    • canBePlacedAtPos

      public boolean canBePlacedAtPos(World world, BlockPos pos)
      Returns whether the current block can be placed at a certain BlockPos
      Returns:
      Whether the current block can be placed at a BlockPos
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamu;Let;)Z
      intermediary method_8673 Lnet/minecraft/class_197;method_8673(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Z
      named canBePlacedAtPos Lnet/minecraft/block/Block;canBePlacedAtPos(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
    • use

      public boolean use(World world, BlockPos pos, BlockState state, PlayerEntity player, Hand hand, Direction direction, float float2, float float3, float float4)
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamu;Let;Lawt;Laed;Lub;Lfa;FFF)Z
      intermediary method_421 Lnet/minecraft/class_197;method_421(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_988;Lnet/minecraft/class_2961;Lnet/minecraft/class_1354;FFF)Z
      named use Lnet/minecraft/block/Block;use(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/util/math/Direction;FFF)Z
    • onSteppedOn

      public void onSteppedOn(World world, BlockPos pos, Entity entity)
      Runs every time an entity steps on the Block. Used by redstone ore to change it's state.
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      entity - The entity who stepped on the block
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamu;Let;Lvg;)V
      intermediary method_437 Lnet/minecraft/class_197;method_437(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_864;)V
      named onSteppedOn Lnet/minecraft/block/Block;onSteppedOn(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)V
    • getStateFromData

      public BlockState getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity)
      Returns a BlockState from an id
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      dir - The block's direction
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamu;Let;Lfa;FFFILvp;)Lawt;
      intermediary method_8645 Lnet/minecraft/class_197;method_8645(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;FFFILnet/minecraft/class_1699;)Lnet/minecraft/class_2232;
      named getStateFromData Lnet/minecraft/block/Block;getStateFromData(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;FFFILnet/minecraft/entity/LivingEntity;)Lnet/minecraft/block/BlockState;
    • onBlockBreakStart

      public void onBlockBreakStart(World world, BlockPos pos, PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamu;Let;Laed;)V
      intermediary method_420 Lnet/minecraft/class_197;method_420(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_988;)V
      named onBlockBreakStart Lnet/minecraft/block/Block;onBlockBreakStart(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;)V
    • onEntityCollision

      public Vec3d onEntityCollision(World world, BlockPos pos, Entity entity, Vec3d velocity)
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamu;Let;Lvg;Lbhe;)Lbhe;
      intermediary method_8648 Lnet/minecraft/class_197;method_8648(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_864;Lnet/minecraft/class_236;)Lnet/minecraft/class_236;
      named onEntityCollision Lnet/minecraft/block/Block;onEntityCollision(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
    • method_8653

      @Deprecated public int method_8653(BlockState blockState, BlockView blockView, BlockPos blockPos, Direction direction)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official b Laow;b(Lawt;Lamy;Let;Lfa;)I
      intermediary method_8653 Lnet/minecraft/class_197;method_8653(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)I
      named method_8653 Lnet/minecraft/block/Block;method_8653(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
    • method_11566

      @Deprecated public boolean method_11566(BlockState state)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official g Laow;g(Lawt;)Z
      intermediary method_11566 Lnet/minecraft/class_197;method_11566(Lnet/minecraft/class_2232;)Z
      named method_11566 Lnet/minecraft/block/Block;method_11566(Lnet/minecraft/block/BlockState;)Z
    • onEntityCollision

      public void onEntityCollision(World world, BlockPos pos, BlockState state, Entity entity)
      Runs every time an entity collides with the block
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      state - The block's BlockState
      entity - The entity that collided with the block
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamu;Let;Lawt;Lvg;)V
      intermediary method_416 Lnet/minecraft/class_197;method_416(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_864;)V
      named onEntityCollision Lnet/minecraft/block/Block;onEntityCollision(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/Entity;)V
    • method_8664

      @Deprecated public int method_8664(BlockState blockState, BlockView blockView, BlockPos blockPos, Direction direction)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official c Laow;c(Lawt;Lamy;Let;Lfa;)I
      intermediary method_8664 Lnet/minecraft/class_197;method_8664(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)I
      named method_8664 Lnet/minecraft/block/Block;method_8664(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
    • method_8651

      public void method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamu;Laed;Let;Lawt;Lavj;Laip;)V
      intermediary method_8651 Lnet/minecraft/class_197;method_8651(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_226;Lnet/minecraft/class_1071;)V
      named method_8651 Lnet/minecraft/block/Block;method_8651(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BlockEntity;Lnet/minecraft/item/ItemStack;)V
    • requiresSilkTouch

      protected boolean requiresSilkTouch()
      Mappings:
      Namespace Name Mixin selector
      official n Laow;n()Z
      intermediary method_475 Lnet/minecraft/class_197;method_475()Z
      named requiresSilkTouch Lnet/minecraft/block/Block;requiresSilkTouch()Z
    • createStackFromBlock

      protected ItemStack createStackFromBlock(BlockState state)
      Creates and returns and ItemStack from a block.
      Parameters:
      state - The block's BlockState
      Returns:
      An ItemStack instance containing the block
      Mappings:
      Namespace Name Mixin selector
      official u Laow;u(Lawt;)Laip;
      intermediary method_8682 Lnet/minecraft/class_197;method_8682(Lnet/minecraft/class_2232;)Lnet/minecraft/class_1071;
      named createStackFromBlock Lnet/minecraft/block/Block;createStackFromBlock(Lnet/minecraft/block/BlockState;)Lnet/minecraft/item/ItemStack;
    • getBonusDrops

      public int getBonusDrops(int id, Random rand)
      Returns the number bonus drops for a block when broken.
      Parameters:
      id - Id
      rand - Random object
      Returns:
      Bonus drops for a block
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(ILjava/util/Random;)I
      intermediary method_397 Lnet/minecraft/class_197;method_397(ILjava/util/Random;)I
      named getBonusDrops Lnet/minecraft/block/Block;getBonusDrops(ILjava/util/Random;)I
    • onPlaced

      public void onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)
      Runs when the block is placed by an entity
      Parameters:
      world - The world that the block is in
      pos - The block's position
      state - The block's BlockState
      placer - The entity who placed the block
      itemStack - ItemStack instance
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamu;Let;Lawt;Lvp;Laip;)V
      intermediary method_419 Lnet/minecraft/class_197;method_419(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_1699;Lnet/minecraft/class_1071;)V
      named onPlaced Lnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;)V
    • canMobSpawnInside

      public boolean canMobSpawnInside()
      Returns whether mobs can spawn inside the block. Used for Air.
      Returns:
      Whether mobs can spawn inside the block
      Mappings:
      Namespace Name Mixin selector
      official d Laow;d()Z
      intermediary method_8678 Lnet/minecraft/class_197;method_8678()Z
      named canMobSpawnInside Lnet/minecraft/block/Block;canMobSpawnInside()Z
    • setTranslationKey

      public Block setTranslationKey(String key)
      Sets the block's localization key. Used in registering blocks.
      Parameters:
      key - The Translation key
      Returns:
      The Current block
      Mappings:
      Namespace Name Mixin selector
      official c Laow;c(Ljava/lang/String;)Laow;
      intermediary method_433 Lnet/minecraft/class_197;method_433(Ljava/lang/String;)Lnet/minecraft/class_197;
      named setTranslationKey Lnet/minecraft/block/Block;setTranslationKey(Ljava/lang/String;)Lnet/minecraft/block/Block;
    • getTranslatedName

      public String getTranslatedName()
      Translates and returns the translation key
      Returns:
      Translated name
      Mappings:
      Namespace Name Mixin selector
      official c Laow;c()Ljava/lang/String;
      intermediary method_480 Lnet/minecraft/class_197;method_480()Ljava/lang/String;
      named getTranslatedName Lnet/minecraft/block/Block;getTranslatedName()Ljava/lang/String;
    • getTranslationKey

      public String getTranslationKey()
      Returns the block's translation key
      Returns:
      Translation Key
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a()Ljava/lang/String;
      intermediary method_392 Lnet/minecraft/class_197;method_392()Ljava/lang/String;
      named getTranslationKey Lnet/minecraft/block/Block;getTranslationKey()Ljava/lang/String;
    • method_435

      @Deprecated public boolean method_435(BlockState blockState, World world, BlockPos blockPos, int int2, int int3)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lawt;Lamu;Let;II)Z
      intermediary method_435 Lnet/minecraft/class_197;method_435(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;II)Z
      named method_435 Lnet/minecraft/block/Block;method_435(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;II)Z
    • hasStats

      public boolean hasStats()
      Returns whether the current block should be tracked for stats
      Returns:
      Whether the current block should be tracked for stats
      Mappings:
      Namespace Name Mixin selector
      official o Laow;o()Z
      intermediary method_481 Lnet/minecraft/class_197;method_481()Z
      named hasStats Lnet/minecraft/block/Block;hasStats()Z
    • disableStats

      protected Block disableStats()
      Disables tracking by stats for the current block. Used in registering blocks.
      Returns:
      The current block
      Mappings:
      Namespace Name Mixin selector
      official p Laow;p()Laow;
      intermediary method_482 Lnet/minecraft/class_197;method_482()Lnet/minecraft/class_197;
      named disableStats Lnet/minecraft/block/Block;disableStats()Lnet/minecraft/block/Block;
    • getPistonBehavior

      @Deprecated public PistonBehavior getPistonBehavior(BlockState state)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official h Laow;h(Lawt;)Lbdc;
      intermediary method_11567 Lnet/minecraft/class_197;method_11567(Lnet/minecraft/class_2232;)Lnet/minecraft/class_2768;
      named getPistonBehavior Lnet/minecraft/block/Block;getPistonBehavior(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/piston/PistonBehavior;
    • method_11565

      @Environment(CLIENT) @Deprecated public float method_11565(BlockState state)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official f Laow;f(Lawt;)F
      intermediary method_11565 Lnet/minecraft/class_197;method_11565(Lnet/minecraft/class_2232;)F
      named method_11565 Lnet/minecraft/block/Block;method_11565(Lnet/minecraft/block/BlockState;)F
    • onLandedUpon

      public void onLandedUpon(World world, BlockPos pos, Entity entity, float distance)
      Runs when an entity falls on the block.
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      entity - The entity who fell on the block
      distance - The relative height from which the entity fell
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamu;Let;Lvg;F)V
      intermediary method_8647 Lnet/minecraft/class_197;method_8647(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_864;F)V
      named onLandedUpon Lnet/minecraft/block/Block;onLandedUpon(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;F)V
    • setEntityVelocity

      public void setEntityVelocity(World world, Entity entity)
      Sets the speed of an entity moving on the block
      Parameters:
      world - The world that the block is placed in
      entity - The entity that the speed must be changed for
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamu;Lvg;)V
      intermediary method_8650 Lnet/minecraft/class_197;method_8650(Lnet/minecraft/class_1150;Lnet/minecraft/class_864;)V
      named setEntityVelocity Lnet/minecraft/block/Block;setEntityVelocity(Lnet/minecraft/world/World;Lnet/minecraft/entity/Entity;)V
    • method_8640

      public ItemStack method_8640(World world, BlockPos blockPos, BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamu;Let;Lawt;)Laip;
      intermediary method_8640 Lnet/minecraft/class_197;method_8640(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Lnet/minecraft/class_1071;
      named method_8640 Lnet/minecraft/block/Block;method_8640(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/item/ItemStack;
    • addStacksForDisplay

      public void addStacksForDisplay(ItemGroup group, DefaultedList<ItemStack> stacks)
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lahp;Lfi;)V
      intermediary method_14305 Lnet/minecraft/class_197;method_14305(Lnet/minecraft/class_1041;Lnet/minecraft/class_3114;)V
      named addStacksForDisplay Lnet/minecraft/block/Block;addStacksForDisplay(Lnet/minecraft/item/itemgroup/ItemGroup;Lnet/minecraft/util/collection/DefaultedList;)V
    • getItemGroup

      public ItemGroup getItemGroup()
      Returns the block's ItemGroup. Only called on the client.
      Returns:
      The Block's item group
      Mappings:
      Namespace Name Mixin selector
      official q Laow;q()Lahp;
      intermediary method_483 Lnet/minecraft/class_197;method_483()Lnet/minecraft/class_1041;
      named getItemGroup Lnet/minecraft/block/Block;getItemGroup()Lnet/minecraft/item/itemgroup/ItemGroup;
    • setItemGroup

      public Block setItemGroup(ItemGroup group)
      Sets the block's ItemGroup. Used in registering blocks.
      Parameters:
      group - The itemgroup that the block must be added to
      Returns:
      The current block
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lahp;)Laow;
      intermediary method_406 Lnet/minecraft/class_197;method_406(Lnet/minecraft/class_1041;)Lnet/minecraft/class_197;
      named setItemGroup Lnet/minecraft/block/Block;setItemGroup(Lnet/minecraft/item/itemgroup/ItemGroup;)Lnet/minecraft/block/Block;
    • onBreakByPlayer

      public void onBreakByPlayer(World world, BlockPos pos, BlockState state, PlayerEntity player)
      Runs when the block is broken by a player.
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      state - The block's BlockState
      player - The player who broke the block
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamu;Let;Lawt;Laed;)V
      intermediary method_8644 Lnet/minecraft/class_197;method_8644(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_988;)V
      named onBreakByPlayer Lnet/minecraft/block/Block;onBreakByPlayer(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;)V
    • rainTick

      public void rainTick(World world, BlockPos pos)
      Runs every tick when raining. Used my cauldrons to randomly fill up when raining.
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      Mappings:
      Namespace Name Mixin selector
      official h Laow;h(Lamu;Let;)V
      intermediary method_8685 Lnet/minecraft/class_197;method_8685(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)V
      named rainTick Lnet/minecraft/block/Block;rainTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
    • isFire

      public boolean isFire()
      Mappings:
      Namespace Name Mixin selector
      official r Laow;r()Z
      intermediary method_4187 Lnet/minecraft/class_197;method_4187()Z
      named isFire Lnet/minecraft/block/Block;isFire()Z
    • shouldDropItemsOnExplosion

      public boolean shouldDropItemsOnExplosion(Explosion explosion)
      Returns whether the block should drop as an Item during an explosion.
      Parameters:
      explosion - The explosion that caused the block to break
      Returns:
      Whether the block should drop as an item during an explosion
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamp;)Z
      intermediary method_4184 Lnet/minecraft/class_197;method_4184(Lnet/minecraft/class_1147;)Z
      named shouldDropItemsOnExplosion Lnet/minecraft/block/Block;shouldDropItemsOnExplosion(Lnet/minecraft/world/explosion/Explosion;)Z
    • isEqualTo

      public boolean isEqualTo(Block block)
      Returns whether the current block and another block are equal
      Parameters:
      block - The other block
      Returns:
      Whether the current block and the other block are equal
      Mappings:
      Namespace Name Mixin selector
      official d Laow;d(Laow;)Z
      intermediary method_6447 Lnet/minecraft/class_197;method_6447(Lnet/minecraft/class_197;)Z
      named isEqualTo Lnet/minecraft/block/Block;isEqualTo(Lnet/minecraft/block/Block;)Z
    • areBlocksEqual

      public static boolean areBlocksEqual(Block one, Block two)
      Returns whether two blocks are equal.
      Returns:
      Whether two blocks are equal
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Laow;Laow;)Z
      intermediary method_6443 Lnet/minecraft/class_197;method_6443(Lnet/minecraft/class_197;Lnet/minecraft/class_197;)Z
      named areBlocksEqual Lnet/minecraft/block/Block;areBlocksEqual(Lnet/minecraft/block/Block;Lnet/minecraft/block/Block;)Z
    • method_11577

      @Deprecated public boolean method_11577(BlockState state)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official v Laow;v(Lawt;)Z
      intermediary method_11577 Lnet/minecraft/class_197;method_11577(Lnet/minecraft/class_2232;)Z
      named method_11577 Lnet/minecraft/block/Block;method_11577(Lnet/minecraft/block/BlockState;)Z
    • getComparatorOutput

      @Deprecated public int getComparatorOutput(BlockState state, World world, BlockPos pos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official c Laow;c(Lawt;Lamu;Let;)I
      intermediary method_8686 Lnet/minecraft/class_197;method_8686(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)I
      named getComparatorOutput Lnet/minecraft/block/Block;getComparatorOutput(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)I
    • appendProperties

      protected StateManager appendProperties()
      Returns a new state manager with a property array.
      Returns:
      New state manager
      Mappings:
      Namespace Name Mixin selector
      official b Laow;b()Lawu;
      intermediary method_8676 Lnet/minecraft/class_197;method_8676()Lnet/minecraft/class_2233;
      named appendProperties Lnet/minecraft/block/Block;appendProperties()Lnet/minecraft/state/StateManager;
    • getStateManager

      public StateManager getStateManager()
      Returns the current state manager.
      Returns:
      The current state manager
      Mappings:
      Namespace Name Mixin selector
      official s Laow;s()Lawu;
      intermediary method_8632 Lnet/minecraft/class_197;method_8632()Lnet/minecraft/class_2233;
      named getStateManager Lnet/minecraft/block/Block;getStateManager()Lnet/minecraft/state/StateManager;
    • setDefaultState

      protected final void setDefaultState(BlockState state)
      Sets the block's default BlockState.
      Parameters:
      state - The default state
      Mappings:
      Namespace Name Mixin selector
      official w Laow;w(Lawt;)V
      intermediary method_8684 Lnet/minecraft/class_197;method_8684(Lnet/minecraft/class_2232;)V
      named setDefaultState Lnet/minecraft/block/Block;setDefaultState(Lnet/minecraft/block/BlockState;)V
    • getDefaultState

      public final BlockState getDefaultState()
      Returns the block's default BlockState.
      Returns:
      The block's default BlockState
      Mappings:
      Namespace Name Mixin selector
      official t Laow;t()Lawt;
      intermediary method_8633 Lnet/minecraft/class_197;method_8633()Lnet/minecraft/class_2232;
      named getDefaultState Lnet/minecraft/block/Block;getDefaultState()Lnet/minecraft/block/BlockState;
    • getOffsetType

      public Block.OffsetType getOffsetType()
      Returns the block's offset type. Used by grass and flowers.
      Returns:
      The block's offset type
      Mappings:
      Namespace Name Mixin selector
      official u Laow;u()Laow$a;
      intermediary method_8634 Lnet/minecraft/class_197;method_8634()Lnet/minecraft/class_197$class_2177;
      named getOffsetType Lnet/minecraft/block/Block;getOffsetType()Lnet/minecraft/block/Block$OffsetType;
    • method_13702

      @Deprecated public Vec3d method_13702(BlockState blockState, BlockView blockView, BlockPos blockPos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official f Laow;f(Lawt;Lamy;Let;)Lbhe;
      intermediary method_13702 Lnet/minecraft/class_197;method_13702(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_236;
      named method_13702 Lnet/minecraft/block/Block;method_13702(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Vec3d;
    • getSoundGroup

      public BlockSoundGroup getSoundGroup()
      Mappings:
      Namespace Name Mixin selector
      official v Laow;v()Laty;
      intermediary method_11578 Lnet/minecraft/class_197;method_11578()Lnet/minecraft/class_200;
      named getSoundGroup Lnet/minecraft/block/Block;getSoundGroup()Lnet/minecraft/sound/BlockSoundGroup;
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString Laow;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_197;toString()Ljava/lang/String;
      named toString Lnet/minecraft/block/Block;toString()Ljava/lang/String;
    • method_14306

      @Environment(CLIENT) public void method_14306(ItemStack itemStack, @Nullable World world, List<String> list, TooltipContext tooltipContext)
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Laip;Lamu;Ljava/util/List;Lakb;)V
      intermediary method_14306 Lnet/minecraft/class_197;method_14306(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Ljava/util/List;Lnet/minecraft/class_3191;)V
      named method_14306 Lnet/minecraft/block/Block;method_14306(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Ljava/util/List;Lnet/minecraft/client/TooltipContext;)V
    • setup

      public static void setup()
      Registers all blocks
      Mappings:
      Namespace Name Mixin selector
      official w Laow;w()V
      intermediary method_6457 Lnet/minecraft/class_197;method_6457()V
      named setup Lnet/minecraft/block/Block;setup()V
    • register

      private static void register(int id, Identifier identifier, Block block)
      Registers a block to the registry
      Parameters:
      id - The block's Id
      identifier - The block's Identifier
      block - The block object
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(ILnf;Laow;)V
      intermediary method_8637 Lnet/minecraft/class_197;method_8637(ILnet/minecraft/class_1653;Lnet/minecraft/class_197;)V
      named register Lnet/minecraft/block/Block;register(ILnet/minecraft/util/Identifier;Lnet/minecraft/block/Block;)V
    • register

      private static void register(int id, String name, Block block)
      Registers a block to the registry
      Parameters:
      id - The block's Id
      name - The block's name
      block - The block object
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(ILjava/lang/String;Laow;)V
      intermediary method_8636 Lnet/minecraft/class_197;method_8636(ILjava/lang/String;Lnet/minecraft/class_197;)V
      named register Lnet/minecraft/block/Block;register(ILjava/lang/String;Lnet/minecraft/block/Block;)V