Class ScaffoldingTest.ScaffoldingMethodTestBlock

All Implemented Interfaces:
IBucketPickupHandler, ILiquidContainer, IWaterLoggable, IItemProvider, IForgeBlock, IForgeRegistryEntry<Block>
Enclosing class:
ScaffoldingTest

static class ScaffoldingTest.ScaffoldingMethodTestBlock extends ScaffoldingBlock
  • Constructor Details

  • Method Details

    • isScaffolding

      public boolean isScaffolding(BlockState state, IWorldReader 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