Matter and energy are discrete. The continuity or discreteness of time and space are unknown. There are arguments for both cases, but nobody really knows for sure.

It’s fairly easy to go from integers to many subsets of the reals (rationals are straightforward, constructible numbers not too hard, algebraic numbers more of a challenge), but the idea that the reals are, well real, depends on a continuity of spacetime that we can’t prove exists.

Energy is continuous, not discrete.

Because energy is action per time, it inherits the continuity of time. Action is also continuous, though its nature is much less well understood. (Many people make confusions between action and angular momentum, speaking about a "quantum of action". There is no such thing as a quantum of action, because action is a quantity that increases monotonically in time for any physical system, so it cannot have constant values, much less quantized values. Angular momentum, which is the ratio of action per phase in a rotation motion, is frequently a constant quantity and a quantized quantity. In more than 99% of the cases when people write Planck's constant, they mean an angular momentum, but there are also a few cases when people write Planck's constant meaning an action, typically in relation with some magnetic fluxes, e.g. in the formula of the magnetic flux quantum.)

Perhaps when you said that energy is discrete you thought about light being discrete, but light is not energy. Energy is a property of light, like also momentum, frequency, wavenumber and others.

Moreover, the nature of the photon is still debated. Some people are not convinced yet that light travels in discrete packets, instead of the alternative where only the exchange of energy and momentum between light and electrons or other leptons and quarks is quantized.

There are certain stationary systems, like isolated atoms or molecules, which may have a discrete set of states, where each state has a certain energy.

Unlike for a discrete quantity like the electric charge, such sets of energy values can contain arbitrary values of energy and between the sets of different systems there are no rational relationships between the energy values. Moreover, all such systems have not only discrete energy values but also continuous intervals of possible energies, usually towards higher energies, e.g. corresponding to high temperatures or to the ionization of atoms or molecules.

[deleted]