mojira.dev
MC-248148

Command blocks re-parse their command on every execution

The bug

Even though in almost all cases the command of a command block remains the same throughout the lifetime of the world, command blocks don't cache the parse result of their command and re-parse it on every execution. This degrades the execution performance of command blocks.

Code analysis

See net.minecraft.world.level.BaseCommandBlock#performCommand.

Comments 0

No comments.

intsuc

(Unassigned)

Plausible

Commands, Performance

1.18.1

Retrieved