Class ScaffoldingTest.ScaffoldingMethodTestBlock

    • Method Detail

      • 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