Cube of Force
Wondrous item, rare, requires attunement · 2014 rules, SRD 5.1
36 charges (regains 1d20 at dawn). Press a face to create a 15-ft barrier of force blocking gases, nonliving matter, living matter, magic or all of these; costs 1-5 charges.
Also in the 2024 rules (SRD 5.2).