Class ScaffoldingBlock

All Implemented Interfaces:
FluidDrainable, FluidFillable, Waterloggable, ItemConvertible

public class ScaffoldingBlock extends Block implements Waterloggable
Mappings:
Namespace Name
official cix
intermediary net/minecraft/class_3736
named net/minecraft/block/ScaffoldingBlock
  • Field Details

    • field_31238

      private static final int field_31238
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lcix;e:I
      intermediary field_31238 Lnet/minecraft/class_3736;field_31238:I
      named field_31238 Lnet/minecraft/block/ScaffoldingBlock;field_31238:I
    • NORMAL_OUTLINE_SHAPE

      private static final VoxelShape NORMAL_OUTLINE_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official f Lcix;f:Ldpf;
      intermediary field_16494 Lnet/minecraft/class_3736;field_16494:Lnet/minecraft/class_265;
      named NORMAL_OUTLINE_SHAPE Lnet/minecraft/block/ScaffoldingBlock;NORMAL_OUTLINE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • BOTTOM_OUTLINE_SHAPE

      private static final VoxelShape BOTTOM_OUTLINE_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official g Lcix;g:Ldpf;
      intermediary field_16497 Lnet/minecraft/class_3736;field_16497:Lnet/minecraft/class_265;
      named BOTTOM_OUTLINE_SHAPE Lnet/minecraft/block/ScaffoldingBlock;BOTTOM_OUTLINE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • COLLISION_SHAPE

      private static final VoxelShape COLLISION_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official h Lcix;h:Ldpf;
      intermediary field_17577 Lnet/minecraft/class_3736;field_17577:Lnet/minecraft/class_265;
      named COLLISION_SHAPE Lnet/minecraft/block/ScaffoldingBlock;COLLISION_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • OUTLINE_SHAPE

      private static final VoxelShape OUTLINE_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official i Lcix;i:Ldpf;
      intermediary field_17578 Lnet/minecraft/class_3736;field_17578:Lnet/minecraft/class_265;
      named OUTLINE_SHAPE Lnet/minecraft/block/ScaffoldingBlock;OUTLINE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • MAX_DISTANCE

      public static final int MAX_DISTANCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcix;a:I
      intermediary field_31237 Lnet/minecraft/class_3736;field_31237:I
      named MAX_DISTANCE Lnet/minecraft/block/ScaffoldingBlock;MAX_DISTANCE:I
    • DISTANCE

      public static final IntProperty DISTANCE
      Mappings:
      Namespace Name Mixin selector
      official b Lcix;b:Lcpd;
      intermediary field_16495 Lnet/minecraft/class_3736;field_16495:Lnet/minecraft/class_2758;
      named DISTANCE Lnet/minecraft/block/ScaffoldingBlock;DISTANCE:Lnet/minecraft/state/property/IntProperty;
    • WATERLOGGED

      public static final BooleanProperty WATERLOGGED
      Mappings:
      Namespace Name Mixin selector
      official c Lcix;c:Lcou;
      intermediary field_16496 Lnet/minecraft/class_3736;field_16496:Lnet/minecraft/class_2746;
      named WATERLOGGED Lnet/minecraft/block/ScaffoldingBlock;WATERLOGGED:Lnet/minecraft/state/property/BooleanProperty;
    • BOTTOM

      public static final BooleanProperty BOTTOM
      Mappings:
      Namespace Name Mixin selector
      official d Lcix;d:Lcou;
      intermediary field_16547 Lnet/minecraft/class_3736;field_16547:Lnet/minecraft/class_2746;
      named BOTTOM Lnet/minecraft/block/ScaffoldingBlock;BOTTOM:Lnet/minecraft/state/property/BooleanProperty;
  • Constructor Details

    • ScaffoldingBlock

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

    • appendProperties

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

      public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getOutlineShape in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcob;a(Lcoc;Lbzj;Lgh;Ldor;)Ldpf;
      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;
    • getRaycastShape

      public VoxelShape getRaycastShape(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      getRaycastShape in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcob;a(Lcoc;Lbzj;Lgh;)Ldpf;
      intermediary method_9584 Lnet/minecraft/class_4970;method_9584(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;
      named getRaycastShape Lnet/minecraft/block/AbstractBlock;getRaycastShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
    • canReplace

      public boolean canReplace(BlockState state, ItemPlacementContext context)
      Overrides:
      canReplace in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcob;a(Lcoc;Lbwe;)Z
      intermediary method_9616 Lnet/minecraft/class_4970;method_9616(Lnet/minecraft/class_2680;Lnet/minecraft/class_1750;)Z
      named canReplace Lnet/minecraft/block/AbstractBlock;canReplace(Lnet/minecraft/block/BlockState;Lnet/minecraft/item/ItemPlacementContext;)Z
    • getPlacementState

      public BlockState getPlacementState(ItemPlacementContext ctx)
      Overrides:
      getPlacementState in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lccy;a(Lbwe;)Lcoc;
      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;
    • 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 Lcob;b(Lcoc;Lcad;Lgh;Lcoc;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
    • getStateForNeighborUpdate

      public BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
      Gets the possibly updated block state of this block when a neighboring block is updated.
      Overrides:
      getStateForNeighborUpdate in class AbstractBlock
      Parameters:
      state - the state of this block
      direction - the direction from this block to the neighbor
      neighborState - the state of the updated neighbor block
      world - the world
      pos - the position of this block
      neighborPos - the position of the neighbor block
      Returns:
      the new state of this block
      Mappings:
      Namespace Name Mixin selector
      official a Lcob;a(Lcoc;Lgm;Lcoc;Lcae;Lgh;Lgh;)Lcoc;
      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;
    • scheduledTick

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

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

      public VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getCollisionShape in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official c Lcob;c(Lcoc;Lbzj;Lgh;Ldor;)Ldpf;
      intermediary method_9549 Lnet/minecraft/class_4970;method_9549(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
      named getCollisionShape Lnet/minecraft/block/AbstractBlock;getCollisionShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
    • getFluidState

      public FluidState getFluidState(BlockState state)
      Overrides:
      getFluidState in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official c_ Lcob;c_(Lcoc;)Ldhv;
      intermediary method_9545 Lnet/minecraft/class_4970;method_9545(Lnet/minecraft/class_2680;)Lnet/minecraft/class_3610;
      named getFluidState Lnet/minecraft/block/AbstractBlock;getFluidState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/fluid/FluidState;
    • shouldBeBottom

      private boolean shouldBeBottom(BlockView world, BlockPos pos, int distance)
      Mappings:
      Namespace Name Mixin selector
      official a Lcix;a(Lbzj;Lgh;I)Z
      intermediary method_16373 Lnet/minecraft/class_3736;method_16373(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;I)Z
      named shouldBeBottom Lnet/minecraft/block/ScaffoldingBlock;shouldBeBottom(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;I)Z
    • calculateDistance

      public static int calculateDistance(BlockView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcix;a(Lbzj;Lgh;)I
      intermediary method_16372 Lnet/minecraft/class_3736;method_16372(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)I
      named calculateDistance Lnet/minecraft/block/ScaffoldingBlock;calculateDistance(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)I