You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to use the example below but got an error in the from_jar classmethod of the LookupRegistry class. After like an eternity of searching through the minecraft wiki I found out that the command for the data generation changed since 1.18 due to the server jar bundling libraries instead of merging them into a single file as stated here.
So the new command to use in the from_jar classmethod for 1.18+ is java -DbundlerMainClass=net.minecraft.data.Main -jar minecraft_server.jar --reports
I was trying to use the example below but got an error in the
from_jar
classmethod of theLookupRegistry
class. After like an eternity of searching through the minecraft wiki I found out that the command for the data generation changed since 1.18 due to the server jar bundling libraries instead of merging them into a single file as stated here.So the new command to use in the
from_jar
classmethod for 1.18+ isjava -DbundlerMainClass=net.minecraft.data.Main -jar minecraft_server.jar --reports
Please implement it, because I can't :)
The example from the docs:
The text was updated successfully, but these errors were encountered: