类 ScaffoldingTest.ScaffoldingMethodTestBlock

所有已实现的接口:
FeatureElement, BucketPickup, LiquidBlockContainer, SimpleWaterloggedBlock, ItemLike, IBlockExtension, IBucketPickupExtension
封闭类:
ScaffoldingTest

static class ScaffoldingTest.ScaffoldingMethodTestBlock extends ScaffoldingBlock
  • 构造器详细资料

  • 方法详细资料

    • isScaffolding

      public boolean isScaffolding(BlockState state, LevelReader level, BlockPos pos, LivingEntity entity)
      从接口复制的说明: IBlockExtension
      Checks if a player or entity handles movement on this block like scaffolding.
      参数:
      state - The current state
      level - The current level
      pos - The block position in level
      entity - The entity on the scaffolding
      返回:
      True if the block should act like scaffolding