Short-range neighbour-dependent interactions and small-scale spatial structure are thought to affect community dynamics in many ecological and biological processes, such as predator-prey dynamics and immune responses. Yet, a large class of mathematical models aimed at representing these processes ignores these factors by making a classical mean-field approximation, where interactions between individuals are assumed to occur in proportion to their average density. Such mean-field approximations amount to ignoring spatial structure. In this work, we consider an individual based model of a two-species community that is composed of consumers and resources. The model describes migration, predation, competition and dispersal of offspring, and explicitly gives rise to varying degrees of spatial structure. We compare simulation results from the individual based model with the solution of a classical mean-field approximation, and this comparison provides insight into how spatial structure can drive the system away from mean-field dynamics. Our analysis reveals that mechanisms leading to intraspecific clustering and interspecific segregation, such as short-range predation and short-range dispersal, tend to increase the size of the resource species relative to the mean-field prediction. We show that under certain parameter regimes these mechanisms lead to the extinction of consumers whereas the classical mean-field model predicts the coexistence of both species.Keywords Spatial patterns, individual-based model, prey-predator dynamics, competition, mean-field.