Skip to content

Commit 78c2cac

Browse files
committed
Merge branch 'Webserver' into Webserver_1.20.1
2 parents 6c5ad9a + 87b2b36 commit 78c2cac

1 file changed

Lines changed: 13 additions & 22 deletions

File tree

README.md

Lines changed: 13 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,16 @@
11

2-
Installation information
3-
=======
2+
This mod adds an endpoint for the postion data of the create trains. At the moment it is compatible with Neoforge 1.21.1. To install simply place the jar file into the mods folder. By default it uses port 8080, this can be changed in the config file.
43

5-
This template repository can be directly cloned to get you started with a new
6-
mod. Simply create a new repository cloned from this one, by following the
7-
instructions provided by [GitHub](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template).
4+
When used together with https://github.com/BeneHenke/BluemapCreateEntityAddon the path to the train models can be configured in the config aswell. To display the trains in Bluemap add https://github.com/BeneHenke/BluemapCreateEntityAddon/blob/BlueMapAddon/bluemap/train.js to the scripts and change the url to your endpoint.
85

9-
Once you have your clone, simply open the repository in the IDE of your choice. The usual recommendation for an IDE is either IntelliJ IDEA or Eclipse.
10-
11-
If at any point you are missing libraries in your IDE, or you've run into problems you can
12-
run `gradlew --refresh-dependencies` to refresh the local cache. `gradlew clean` to reset everything
13-
{this does not affect your code} and then start the process again.
14-
15-
Mapping Names:
16-
============
17-
By default, the MDK is configured to use the official mapping names from Mojang for methods and fields
18-
in the Minecraft codebase. These names are covered by a specific license. All modders should be aware of this
19-
license. For the latest license text, refer to the mapping file itself, or the reference copy here:
20-
https://github.com/NeoForged/NeoForm/blob/main/Mojang.md
21-
22-
Additional Resources:
23-
==========
24-
Community Documentation: https://docs.neoforged.net/
25-
NeoForged Discord: https://discord.neoforged.net/
6+
Example config:
7+
```
8+
#Webserver Port
9+
# Default: 8080
10+
# Range: 1 ~ 65535
11+
serverPort = 8080
12+
#Webserver hostname
13+
serverHost = "0.0.0.0"
14+
#Path of the train models
15+
trainModelPath = "bluemap/train_models/"
16+
```

0 commit comments

Comments
 (0)