Class ConcretePowderBlock

All Implemented Interfaces:
LandingBlock, ItemConvertible

public class ConcretePowderBlock extends FallingBlock
Mappings:
Namespace Name
official ckb
intermediary net/minecraft/class_2292
named net/minecraft/block/ConcretePowderBlock
  • Field Details

    • hardenedState

      private final BlockState hardenedState
      Mappings:
      Namespace Name Mixin selector
      official a Lckb;a:Lcur;
      intermediary field_10810 Lnet/minecraft/class_2292;field_10810:Lnet/minecraft/class_2680;
      named hardenedState Lnet/minecraft/block/ConcretePowderBlock;hardenedState:Lnet/minecraft/block/BlockState;
  • Constructor Details

    • ConcretePowderBlock

      public ConcretePowderBlock(Block hardened, AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lckb;<init>(Lciw;Lcuq$c;)V
      intermediary <init> Lnet/minecraft/class_2292;<init>(Lnet/minecraft/class_2248;Lnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/ConcretePowderBlock;<init>(Lnet/minecraft/block/Block;Lnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details

    • onLanding

      public void onLanding(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Lclg;a(Lcga;Lgt;Lcur;Lcur;Lbpx;)V
      intermediary method_10127 Lnet/minecraft/class_5688;method_10127(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_1540;)V
      named onLanding Lnet/minecraft/block/LandingBlock;onLanding(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/FallingBlockEntity;)V
    • 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;
    • shouldHarden

      private static boolean shouldHarden(BlockView world, BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official b Lckb;b(Lcfg;Lgt;Lcur;)Z
      intermediary method_24279 Lnet/minecraft/class_2292;method_24279(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
      named shouldHarden Lnet/minecraft/block/ConcretePowderBlock;shouldHarden(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
    • hardensOnAnySide

      private static boolean hardensOnAnySide(BlockView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lckb;a(Lcfg;Lgt;)Z
      intermediary method_9798 Lnet/minecraft/class_2292;method_9798(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
      named hardensOnAnySide Lnet/minecraft/block/ConcretePowderBlock;hardensOnAnySide(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • hardensIn

      private static boolean hardensIn(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official n Lckb;n(Lcur;)Z
      intermediary method_9799 Lnet/minecraft/class_2292;method_9799(Lnet/minecraft/class_2680;)Z
      named hardensIn Lnet/minecraft/block/ConcretePowderBlock;hardensIn(Lnet/minecraft/block/BlockState;)Z
    • 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 FallingBlock
      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 Lcuq;a(Lcur;Lgy;Lcur;Lcgb;Lgt;Lgt;)Lcur;
      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;
    • getColor

      public int getColor(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      getColor in class FallingBlock
      Mappings:
      Namespace Name Mixin selector
      official d Lclh;d(Lcur;Lcfg;Lgt;)I
      intermediary method_10130 Lnet/minecraft/class_2346;method_10130(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)I
      named getColor Lnet/minecraft/block/FallingBlock;getColor(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)I