importnet.minecraft.util.math.BlockPos;//导入方法依赖的package包/类@SideOnly(Side.CLIENT)@OverridepublicvoidrandomDisplayTick(IBlockState stateIn, World worldIn, BlockPos pos, Random rand){super.randomDisplayTick(stateIn, worldIn, pos, rand);for(BlockPos pos1 : BlockPos.getAllInBoxMutable(pos...
importnet.minecraft.util.math.BlockPos;//导入方法依赖的package包/类@SuppressWarnings("deprecation")@OverridepublicvoidsafeImpact(BlockPos pos, @Nullable EnumFacing side, World world,intamplifier){intbox =1+ (int) ((float) amplifier /2F); BlockPos posI = pos.add(box, box, box); BlockPos p...