mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-26 02:57:37 +01:00
init
This commit is contained in:
parent
c31b962ed8
commit
7ac90cff24
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,6 +2,7 @@
|
||||
/minecraft_data/
|
||||
/.minestom_tmp/
|
||||
|
||||
/chunks/
|
||||
|
||||
# Created by .ignore support plugin (hsz.mobi)
|
||||
### Java template
|
||||
@ -48,3 +49,4 @@ gradle-app.setting
|
||||
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
|
||||
# gradle/wrapper/gradle-wrapper.properties
|
||||
|
||||
/src/main/java/com/mcecraft/
|
||||
|
@ -44,6 +44,9 @@ dependencies {
|
||||
// https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-slf4j-impl
|
||||
api group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: '2.13.2'
|
||||
|
||||
api 'org.mongodb.morphia:morphia:1.3.2'
|
||||
api 'org.mongodb:mongo-java-driver:3.12.5'
|
||||
|
||||
api 'net.kyori:text-api:3.0.3'
|
||||
api 'net.kyori:text-serializer-legacy:3.0.3'
|
||||
api 'net.kyori:text-serializer-gson:3.0.3'
|
||||
|
@ -64,7 +64,7 @@ public class Main {
|
||||
|
||||
PlayerInit.init();
|
||||
|
||||
//MojangAuth.init();
|
||||
MojangAuth.init();
|
||||
|
||||
minecraftServer.start("localhost", 55555, PlayerInit.getResponseDataConsumer());
|
||||
}
|
||||
|
@ -153,7 +153,7 @@ public class Player extends LivingEntity implements CommandSender {
|
||||
|
||||
this.gameMode = GameMode.SURVIVAL;
|
||||
this.dimension = Dimension.OVERWORLD;
|
||||
this.levelType = LevelType.DEFAULT;
|
||||
this.levelType = LevelType.FLAT;
|
||||
refreshPosition(0, 0, 0);
|
||||
|
||||
// FakePlayer init its connection there
|
||||
|
Loading…
Reference in New Issue
Block a user