Class OreBlock

    • Method Detail

      • xpOnDrop

        protected int xpOnDrop​(java.util.Random p_220281_1_)
      • getExpDrop

        public int getExpDrop​(BlockState state,
                              IWorldReader reader,
                              BlockPos pos,
                              int fortune,
                              int silktouch)
        Description copied from interface: IForgeBlock
        Gathers how much experience this block drops when broken.
        Parameters:
        state - The current state
        reader - The world
        pos - Block position
        Returns:
        Amount of XP from breaking this block.