A more complete guide to commands can be found on the Minecraft Wiki. Keep in mind that we are using Minecraft 1.12 and some information in the wiki might concern more recent versions.
op <username>
makes<username>
an operator.time set 0
sets daytime.weather clear
removes the rain.gamemode <survival|creative|adventure|spectator> <username>
sets<username>
's gamemodetp <username> <x> <y> <z>
teleports<username>
to(<x>, <y>, <z>)
.stop
stops the server.
Commands must be typed in the chat and preceded by /
. All server commands can be used by an operator.
tp <x> <y> <z>
teleports the operator to(<x>, <y>, <z>)
.gamemode <survival|creative|adventure|spectator>
sets the operator's gamemode.
tps
displays the number of ticks processed per second.ft
controls the execution speedup feature:ft start
enables fast ticking.ft <duration>
enables fast ticking for<duration>
ticks.ft stop
disables fast ticking (disable it before usingstop
,compile
and maybe some other commands).
env
allows manual creation of environments.env add <env-id> <env-type>
creates an environment of type<env-type>
with unique name<env-id>
.<env-type>
is the name of the environment's Java class withoutEnvironment
and eventually followed by parameters: an example would bePattern[8,2,4]
.env remove <env-id>
removes environment<env-id>
.env player <env-id> <username> ...
adds<username>
(multiple players can be specified) to<env-id>
as a human actor.
exec <class> <static-method>
executes<static-method>
of<class>
: an example would beexec edu.usc.thevillagers.serversideagent.env.EnvironmentTrade writeStats
.cst <name> <value>
set constant<name>
to<value>
.cst skip <int>
specifies the number of ticks to skip between environment updates (default: 0).cst speed <float>
specifies agents' movement speed factor (default: 1).cst prop <float>
specifies agents' discrete actions probability factor (default: 1).cst pitch <float>
specifies agents' maximum pitch magnitude (default: 90).
rec
controls the recording features.rec start <from-x> <from-y> <from-z> <to-x> <to-y> <to-z>
starts recording of the world in the specified box. No other recording can procced at the same time.rec stop
stops the current recording and saves it toforge/mod/run/tmp/records
exp <env-type> <episodes> <x> <y> <z> <username> ...
starts an experiment with specified human subjects within an environment of<env-type>
at the specified position and records it for<episodes>
. Only one experiment or recording can happen at one time. Experiments can be stopped early byrec stop
andenv remove exp
.compile <record> <env-type>
compiles the only recording containing<record>
into the observation-action datasetforge/mod/run/tmp/imitation/<record>.h5
using the observation and actions spaces defined by<env-type>
.
When in Minecraft's menu, pressing Ctrl + R
(Ctrl + Command + R
on Mac) opens a screen where a recording can be selected.
Recordings' files are formatted using Minecraft's Named Binary Tag format. Those can be edited using NBTExplorer.
Dataset files are formatted using Hierarchical Data Format 5.