Update dependencies
This commit is contained in:
parent
20c9184a44
commit
6c8b3433fe
|
@ -1,5 +1,5 @@
|
||||||
plugins {
|
plugins {
|
||||||
id 'fabric-loom' version '0.2.6-SNAPSHOT'
|
id 'fabric-loom' version '0.2.7-SNAPSHOT'
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
@ -11,9 +11,9 @@ dependencies {
|
||||||
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
|
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
|
||||||
modCompile "net.fabricmc:fabric-loader:${project.loader_version}"
|
modCompile "net.fabricmc:fabric-loader:${project.loader_version}"
|
||||||
modCompile "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
|
modCompile "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
|
||||||
modCompile "org.json:json:20190722"
|
modCompile "org.json:json:20200518"
|
||||||
modImplementation "com.google.code.findbugs:jsr305:3.0.2"
|
modImplementation "com.google.code.findbugs:jsr305:3.0.2"
|
||||||
include "org.json:json:20190722"
|
include "org.json:json:20200518"
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
org.gradle.jvmargs=-Xmx1G
|
org.gradle.jvmargs=-Xmx1G
|
||||||
minecraft_version=1.15.1
|
minecraft_version=1.15.2
|
||||||
yarn_mappings=1.15.1+build.1
|
yarn_mappings=1.15.2+build.15
|
||||||
loader_version=0.7.2+build.175
|
loader_version=0.8.2+build.194
|
||||||
mod_version = 1.0.0
|
mod_version = 1.0.0
|
||||||
maven_group = party.2a03.mc
|
maven_group = party.2a03.mc
|
||||||
archives_base_name = minecraft-tweaks-2a03
|
archives_base_name = minecraft-tweaks-2a03
|
||||||
fabric_version=0.4.25+build.282-1.15
|
fabric_version=0.5.1+build.294-1.15
|
||||||
|
|
|
@ -19,7 +19,7 @@ public abstract class MixinServerPlayerEntity extends PlayerEntity {
|
||||||
private void OnServerPlayerSpawn(CallbackInfo ci) {
|
private void OnServerPlayerSpawn(CallbackInfo ci) {
|
||||||
PlayerPosition position = new PlayerPosition(Config.getData("spawn"));
|
PlayerPosition position = new PlayerPosition(Config.getData("spawn"));
|
||||||
if (position.dimensiontype == this.dimension) {
|
if (position.dimensiontype == this.dimension) {
|
||||||
this.setPositionAndAngles(position.x, position.y, position.z, position.yaw, position.pitch);
|
this.updatePositionAndAngles(position.x, position.y, position.z, position.yaw, position.pitch);
|
||||||
ci.cancel();
|
ci.cancel();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
"minecraft-tweaks-2a03.mixins.json"
|
"minecraft-tweaks-2a03.mixins.json"
|
||||||
],
|
],
|
||||||
"depends": {
|
"depends": {
|
||||||
"fabricloader": ">=0.7.2",
|
"fabricloader": ">=0.8.2",
|
||||||
"fabric": "*",
|
"fabric": "*",
|
||||||
"minecraft": "1.15.x"
|
"minecraft": "1.15.x"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue