MCJava
Run java code directly from chat
Run java code directly from chat
MCJava is a beautiful and simple way to run Java code directly from the chat. Just type /mcjava console (or /x console) to open up a new console, and type your code away!
You can also type /x <java code> to run a single line of java code!
![[img] tag](https://images.polymart.org/proxy/?v=1724&url=https%3A%2F%2Fi.imgur.com%2F5vrqTxb.gif)
You can also type /x <java code> to run a single line of java code!
![[img] tag](https://images.polymart.org/proxy/?v=1724&url=https%3A%2F%2Fi.imgur.com%2F5vrqTxb.gif)
Usage
To run a single line of java code, you can type /x <java code>. But, if you wanna get more fancy, you can open up a new console with either /mcjava console or /x console (or /x open).
Inside of this console, you can make and set variables, load new classes, and more!
Examples
![[img] tag](https://images.polymart.org/proxy/?v=1724&url=https%3A%2F%2Fi.imgur.com%2F6w0DMss.png)
![[img] tag](https://images.polymart.org/proxy/?v=1724&url=https%3A%2F%2Fi.imgur.com%2FUPzlL8p.png)
![[img] tag](https://images.polymart.org/proxy/?v=1724&url=https%3A%2F%2Fi.imgur.com%2FBxove8V.png)
![[img] tag](https://images.polymart.org/proxy/?v=1724&url=https%3A%2F%2Fi.imgur.com%2FupkvpC2.png)