Class ScaffoldingTest.ScaffoldingMethodTestBlock

All Implemented Interfaces:
BucketPickup, LiquidBlockContainer, SimpleWaterloggedBlock, ItemLike, IForgeBlock, IForgeRegistryEntry<Block>
Enclosing class:
ScaffoldingTest

static class ScaffoldingTest.ScaffoldingMethodTestBlock extends ScaffoldingBlock
  • Constructor Details

  • Method Details

    • isScaffolding

      public boolean isScaffolding(BlockState state, LevelReader world, BlockPos pos, LivingEntity entity)
      Description copied from interface: IForgeBlock
      Checks if a player or entity handles movement on this block like scaffolding.
      Parameters:
      state - The current state
      world - The current world
      pos - The block position in world
      entity - The entity on the scaffolding
      Returns:
      True if the block should act like scaffolding