Guest User

Untitled

a guest
Oct 13th, 2020
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. public class ArcaneCrystalBlock extends OreBlock
  2. {
  3. protected static final VoxelShape SHAPE = OreBlock.makeCuboidShape(5.0D, 0.0D, 5.0D, 11.0D, 10.0D, 11.0D);
  4.  
  5. public ArcaneCrystalBlock(Properties properties) {
  6. super(properties);
  7. }
  8.  
  9. @Override
  10. protected int getExperience(Random rand) {
  11. return MathHelper.nextInt(rand, 5, 15);
  12. }
  13.  
  14.  
  15. public VoxelShape getShape(BlockState state, IBlockReader worldIn, BlockPos pos, ISelectionContext context) {
  16. return SHAPE;
  17. }
  18.  
  19. }
Advertisement
Add Comment
Please, Sign In to add comment