mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-21 04:49:51 +08:00
[Forge] Update to latest 1.11.2 mappings
This commit is contained in:
parent
4ec5411ba6
commit
cd4729f82f
@ -90,6 +90,7 @@
|
|||||||
targetCompatibility = 1.7
|
targetCompatibility = 1.7
|
||||||
|
|
||||||
checkstyle.configFile = new File(rootProject.projectDir, "config/checkstyle/checkstyle.xml")
|
checkstyle.configFile = new File(rootProject.projectDir, "config/checkstyle/checkstyle.xml")
|
||||||
|
checkstyle.toolVersion = '7.6.1'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
<property name="max" value="2"/>
|
<property name="max" value="2"/>
|
||||||
</module>
|
</module>
|
||||||
<module name="SuperFinalize"/> <!-- We don't actually use this -->
|
<module name="SuperFinalize"/> <!-- We don't actually use this -->
|
||||||
<module name="JUnitTestCase"/> <!-- Checks tearDown(), setUp() etc. -->
|
|
||||||
|
|
||||||
<!-- Style -->
|
<!-- Style -->
|
||||||
<module name="LeftCurly"> <!-- Left brace never goes on another line -->
|
<module name="LeftCurly"> <!-- Left brace never goes on another line -->
|
||||||
@ -61,4 +60,4 @@
|
|||||||
<property name="headerFile" value="${basedir}/config/checkstyle/header.txt"/>
|
<property name="headerFile" value="${basedir}/config/checkstyle/header.txt"/>
|
||||||
<property name="fileExtensions" value="java"/>
|
<property name="fileExtensions" value="java"/>
|
||||||
</module>
|
</module>
|
||||||
</module>
|
</module>
|
||||||
|
@ -26,11 +26,11 @@ compile project(':worldedit-core')
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ext.forgeVersion = "13.20.0.2237"
|
ext.forgeVersion = "13.20.1.2386"
|
||||||
|
|
||||||
minecraft {
|
minecraft {
|
||||||
version = "1.11.2-${project.forgeVersion}"
|
version = "1.11.2-${project.forgeVersion}"
|
||||||
mappings = "snapshot_20170221"
|
mappings = "stable_32"
|
||||||
runDir = 'run'
|
runDir = 'run'
|
||||||
|
|
||||||
replaceIn "com/sk89q/worldedit/forge/ForgeWorldEdit.java"
|
replaceIn "com/sk89q/worldedit/forge/ForgeWorldEdit.java"
|
||||||
|
@ -36,7 +36,7 @@ public static World adapt(net.minecraft.world.World world) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static Vector adapt(Vec3d vector) {
|
public static Vector adapt(Vec3d vector) {
|
||||||
return new Vector(vector.xCoord, vector.yCoord, vector.zCoord);
|
return new Vector(vector.x, vector.y, vector.z);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Vector adapt(BlockPos pos) {
|
public static Vector adapt(BlockPos pos) {
|
||||||
|
Loading…
Reference in New Issue
Block a user