Class ScaffoldingTest.ScaffoldingMethodTestBlock

All Implemented Interfaces:
FeatureElement, BucketPickup, LiquidBlockContainer, SimpleWaterloggedBlock, ItemLike, IForgeBlock, IForgeBucketPickup
Enclosing class:
ScaffoldingTest

static class ScaffoldingTest.ScaffoldingMethodTestBlock extends ScaffoldingBlock
  • Constructor Details

  • Method Details

    • isScaffolding

      public boolean isScaffolding(BlockState state, LevelReader level, 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
      level - The current level
      pos - The block position in level
      entity - The entity on the scaffolding
      Returns:
      True if the block should act like scaffolding