Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 1.3 KB

README.md

File metadata and controls

19 lines (15 loc) · 1.3 KB

A simple mc server using events and an Entity Component System (ECS)

I should write a bit more... I guess

This project uses mainly:

Start it yourself:

  • Download the 21w17a minecraft server jar of whatever MCProtocolLib version is used
  • Run the minecraft data generators with the --server --reports parameters and copy its reports so that the file ./src/main/resources/reports/blocks.json exists (relative from the main directory)
    • e.g., download curl -O https://launcher.mojang.com/v1/objects/ec995f939bb41a785f960985e73821c7044fc32e/server.jar (21w17a)
    • java -cp server.jar net.minecraft.data.Main --server --reports
    • mv generated/reports/* src/main/resources/reports
  • Build using maven (mvn package)
  • Finally, run the ServerMain: java -cp target/ecs-server-1.0-SNAPSHOT-jar-with-dependencies.jar es.luepg.ecs.ServerMain and connect to localhost:25565