This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.nio.file.Files | |
import java.nio.file.Paths | |
def trymkdir(folder) { | |
def f = new File(project.projectDir, folder) | |
if (!f.exists()) { | |
f.mkdirs() | |
f.mkdir() | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
apply from: 'lwjgl3.gradle' | |
... | |
eclipse.classpath.file.withXml { | |
def node = it.asNode() | |
attachLwjglNightlyEclipse(node, '3.0.0', 'NydilikGame') | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
jcenter() | |
maven { | |
name 'forge' | |
url 'http://files.minecraftforge.net/maven' | |
} | |
dependencies { | |
classpath 'net.minecraftforge.gradle:ForgeGradle:2.1-SNAPSHOT' | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Minecraft Forge | |
* Copyright (c) 2016. | |
* | |
* This library is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU Lesser General Public | |
* License as published by the Free Software Foundation version 2.1 | |
* of the License. | |
* | |
* This library is distributed in the hope that it will be useful, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
finding with input: {minecraft:coal,40,coal} , {minecraft:sand,36,red_sand} | |
checking recipe input: {minecraft:coal,8,coal} | |
---- iiewtw: A (recipe stack) vs B (inventory stack) | |
---- iiewtw: delegatename: minecraft:coal vs minecraft:coal | |
---- iiewtw: metadata: 0 vs 0 | |
---- iiewtw: count: 8 vs 40 | |
---- iiewtw: tagdata: null vs null | |
-------- result true | |
-------- rc after = -32 | |
---- iiewtw: A (recipe stack) vs B (inventory stack) |
OlderNewer