dimension method

Execute dimension(
  1. Dimension dimension
)

Sets the execution dimension(execute in) to either Dimension.overworld, Dimension.the_end or Dimension.the_nether.

Implementation

Execute dimension(Dimension dimension) {
  return _addArgumentRet('in $dimension');
}