()
| 26 | public static final PropertyBool OCCUPIED = PropertyBool.create("occupied"); |
| 27 | |
| 28 | public BlockBed() |
| 29 | { |
| 30 | super(Material.cloth); |
| 31 | this.setDefaultState(this.blockState.getBaseState().withProperty(PART, BlockBed.EnumPartType.FOOT).withProperty(OCCUPIED, Boolean.FALSE)); |
| 32 | this.setBedBounds(); |
| 33 | } |
| 34 | |
| 35 | public boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer playerIn, EnumFacing side, float hitX, float hitY, float hitZ) |
| 36 | { |
nothing calls this directly
no test coverage detected