Class SoulSandBlock

All Implemented Interfaces:
ItemConvertible

public class SoulSandBlock extends Block
Mappings:
Namespace Name
official cgd
intermediary net/minecraft/class_2492
named net/minecraft/block/SoulSandBlock
  • Field Details

    • COLLISION_SHAPE

      protected static final VoxelShape COLLISION_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official a Lcgd;a:Ldnt;
      intermediary field_11521 Lnet/minecraft/class_2492;field_11521:Lnet/minecraft/class_265;
      named COLLISION_SHAPE Lnet/minecraft/block/SoulSandBlock;COLLISION_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • field_31249

      private static final int field_31249
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lcgd;b:I
      intermediary field_31249 Lnet/minecraft/class_2492;field_31249:I
      named field_31249 Lnet/minecraft/block/SoulSandBlock;field_31249:I
  • Constructor Details

    • SoulSandBlock

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

    • getCollisionShape

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

      public VoxelShape getSidesShape(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      getSidesShape in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official f Lckr;f(Lcks;Lbvt;Lgg;)Ldnt;
      intermediary method_25959 Lnet/minecraft/class_4970;method_25959(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;
      named getSidesShape Lnet/minecraft/block/AbstractBlock;getSidesShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
    • getCameraCollisionShape

      public VoxelShape getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getCameraCollisionShape in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official b Lckr;b(Lcks;Lbvt;Lgg;Ldnf;)Ldnt;
      intermediary method_26159 Lnet/minecraft/class_4970;method_26159(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
      named getCameraCollisionShape Lnet/minecraft/block/AbstractBlock;getCameraCollisionShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
    • scheduledTick

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

      public BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
      Gets the possibly updated block state of this block when a neighboring block is updated.
      Overrides:
      getStateForNeighborUpdate in class AbstractBlock
      Parameters:
      state - the state of this block
      direction - the direction from this block to the neighbor
      neighborState - the state of the updated neighbor block
      world - the world
      pos - the position of this block
      neighborPos - the position of the neighbor block
      Returns:
      the new state of this block
      Mappings:
      Namespace Name Mixin selector
      official a Lckr;a(Lcks;Lgl;Lcks;Lbwq;Lgg;Lgg;)Lcks;
      intermediary method_9559 Lnet/minecraft/class_4970;method_9559(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
      named getStateForNeighborUpdate Lnet/minecraft/block/AbstractBlock;getStateForNeighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • 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 Lckr;b(Lcks;Lbwp;Lgg;Lcks;Z)V
      intermediary method_9615 Lnet/minecraft/class_4970;method_9615(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)V
      named onBlockAdded Lnet/minecraft/block/AbstractBlock;onBlockAdded(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
    • canPathfindThrough

      public boolean canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
      Overrides:
      canPathfindThrough in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lckr;a(Lcks;Lbvt;Lgg;Ldhb;)Z
      intermediary method_9516 Lnet/minecraft/class_4970;method_9516(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_10;)Z
      named canPathfindThrough Lnet/minecraft/block/AbstractBlock;canPathfindThrough(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/ai/pathing/NavigationType;)Z