Thank you for the information, but I don't know how to compile
And yes, I need this mod on my server too, so I think I have to wait for a new release^^
He looks quite close. Some models that need to be updated, etc.
Code compiles for 1.9.4 & 1.10, so, at least that is good news!
Ya, the 1.9.4 & 1.10 private server fix is pretty simple I think (I don't know enough of his code to fix it), but basically he is loading or requesting client-side modules on the server-side. Just needs to move those requests into a different area of the code, or a different file, or put a check around it.
I'll have to put in an issue in the tracker on GIT. I was too lazy when I was troubleshooting this weekend :/.
I hope someone would bring it to my 1.10.2 server pretty soon, always the first mod to be installed and such a chagrin. Keep up one of the greatest addition ever!
Can you update the 1.7.10 mod Please most of my downloaded mods are kept at 1.7.10 so can you please update 1.7.10 version I am sorry if somebody already requested it or you are already working on it thanks in advance!
Umm i am talking about the 3.6.1 the 1.7.10 is 3.4.1 but the main question is that i find it weird that how modders are ok to keep their old versions updated isnt modding hard?
Umm i am talking about the 3.6.1 the 1.7.10 is 3.4.1 but the main question is that i find it weird that how modders are ok to keep their old versions updated isnt modding hard?
It depends on what things does the modder has in his older version, 1.7.10, for MrCrayfish's Furniture Mod, it's about blocks, so he needs to create plenty of model files and render them which is pretty tedious in 1.7.10, unlike 1.8 and above which is extremely easy to update as it's in JSON format which are easy to create, no need to render them as Forge will render these blocks.
It depends on what things does the modder has in his older version, 1.7.10, for MrCrayfish's Furniture Mod, it's about blocks, so he needs to create plenty of model files and render them which is pretty tedious in 1.7.10, unlike 1.8 and above which is extremely easy to update as it's in JSON format which are easy to create, no need to render them as Forge will render these blocks.
I have also heard that 1.10 mods are backwards compatabile is this true?
So I just updated the mod to 1.8. What's the highest value for the mirror quality? I've been wondering how to change it to the highest quality. Also awesome mod!
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
warn ( ) {
echo "$*"
}
die ( ) {
echo
echo "$*"
echo
exit 1
}
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MINGW* )
msys=true
;;
esac
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD="java"
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ] ; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi
# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi
# For Cygwin, switch paths to Windows format before running java
if $cygwin ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
JAVACMD=`cygpath --unix "$JAVACMD"`
# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
SEP="|"
done
OURCYGPATTERN="(^($ROOTDIRS))"
# Add a user-defined pattern to the cygpath arguments
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
fi
# Now convert the arguments - kludge to limit ourselves to /bin/sh
i=0
for arg in "$@" ; do
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
else
eval `echo args$i`="\"$arg\""
fi
i=$((i+1))
done
case $i in
(0) set -- ;;
(1) set -- "$args0" ;;
(2) set -- "$args0" "$args1" ;;
(3) set -- "$args0" "$args1" "$args2" ;;
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
esac
fi
# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
function splitJvmOpts() {
JVM_OPTS=("$@")
}
eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
JVM_OPTS[${#JVM_OPTS
}]="-Dorg.gradle.appname=$APP_BASE_NAME"
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto init
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:init
@rem Get command-line arguments, handling Windowz variants
if not "%OS%" == "Windows_NT" goto win9xME_args
if "%@eval[2+2]" == "4" goto 4NT_args
:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2
:win9xME_args_slurp
if "x%~1" == "x" goto execute
set CMD_LINE_ARGS=%*
goto execute
:4NT_args
@rem Get arguments from the 4NT Shell from JP Software
set CMD_LINE_ARGS=%$
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega
You will also need a copy of the gradle-wrapper from somewhere. I used 2.14 to build, and it worked fine. You can get it all over github.
Then just bring up a command prompt, CD to the MrCrayfishFurnitureMod\1.10 folder, run "gradlew setupDevWorkspace", and when done run "gradlew build".
Then hop into MrCrayfishFurnitureMod\1.10\build\libs and copy the [1.10]cfm-universal-4.0.1.jar to your MC dir.
Also you can build your own wrapper with a command, I found. Thank you!
Glad to hear it! Takes a bit of getting used to, but pretty simple once you understand the basics ;).
Yes, I saw that command ("gradlew wrapper" or something), but, I didn't see any code for that in the gradlew.bat file.
I figured if you were going to be downloading anything, may as well just download the wrapper itself.
However, it probably worked for you because you already tried to compile it, and probably had another copy of the wrapper in your %appdata%\.gradle folder ;).
Will you guys share 1.10 version when you will port it completely?
Nope.
I know it's GPL, but I do not feel comfortable sharing the compiled JAR without the mod owners permission (he hasn't posted the 'alpha/beta' JAR files for 1.9 -> 1.10.2 in the GITHUB Releases or on his webpage).
If you want to build one yourself, the instructions are 3 posts up.
I replaced all the files with the text that you posted and I had it download the gradle 2.14 build when I ran the setupDevWorkspace command. Any ideas what I did wrong?
Rollback Post to RevisionRollBack
Happiness is like peeing in your pants, everyone sees it but only you feel its warmth.
I replaced all the files with the text that you posted and I had it download the gradle 2.14 build when I ran the setupDevWorkspace command. Any ideas what I did wrong?
You don't appear to be building in the 1.10 folder.
When you download MrCrayfishFurnitureMod with GIT CLONE it downloads 1.8 / 1.8.9 / 1.9 / 1.10.
You need to go into the 1.10 folder, and that is where you put the gradle.properties / build.gradle / gradlew / gradlew.bat.
Run the commands from there.
GROUP_NAME is part of the gradle.properties file as well. Make sure that the file was not created as gradle.properties.txt ;)!
You can do this by showing file extensions in your browser window, or in the command line.
He looks quite close. Some models that need to be updated, etc.
Code compiles for 1.9.4 & 1.10, so, at least that is good news!
Ya, the 1.9.4 & 1.10 private server fix is pretty simple I think (I don't know enough of his code to fix it), but basically he is loading or requesting client-side modules on the server-side. Just needs to move those requests into a different area of the code, or a different file, or put a check around it.
I'll have to put in an issue in the tracker on GIT. I was too lazy when I was troubleshooting this weekend :/.
EDIT: Tracker opened -- https://github.com/MrCrayfish/MrCrayfishFurnitureMod/issues/108
I hope someone would bring it to my 1.10.2 server pretty soon, always the first mod to be installed and such a chagrin. Keep up one of the greatest addition ever!
Can you update the 1.7.10 mod Please most of my downloaded mods are kept at 1.7.10 so can you please update 1.7.10 version I am sorry if somebody already requested it or you are already working on it thanks in advance!
Umm i am talking about the 3.6.1 the 1.7.10 is 3.4.1 but the main question is that i find it weird that how modders are ok to keep their old versions updated isnt modding hard?
It depends on what things does the modder has in his older version, 1.7.10, for MrCrayfish's Furniture Mod, it's about blocks, so he needs to create plenty of model files and render them which is pretty tedious in 1.7.10, unlike 1.8 and above which is extremely easy to update as it's in JSON format which are easy to create, no need to render them as Forge will render these blocks.
I'm still waiting for the 1.10 update
I just want to dig a small hole and stay in it now....
I have also heard that 1.10 mods are backwards compatabile is this true?
1.9 mods works with 1.10, but I am not sure if 1.10 mlds works with 1.9.
Also, modding is not difficult to do once you have learnt Java.
So I just updated the mod to 1.8. What's the highest value for the mirror quality? I've been wondering how to change it to the highest quality. Also awesome mod!
Been trying to compile this mod for 1.10 and have continuously failed because I have no idea what I am doing. orz;;
I really need functional furniture. Is there anyway anyone can help me? Or at least toss me a JAR I can use for my game?? It's taunting me so much.
Digital Artist | GX Fanatic
You just need a copy of JDK installed and a working gradle setup..
I don't think we are allowed to toss around compiled JAR files without MrCrayfish's consent.
build.gradle
buildscript {
repositories {
mavenCentral()
jcenter()
maven {
name = 'forge'
url = 'http://files.minecraftforge.net/maven'
}
maven {
name = 'sonatype'
url = 'https://oss.sonatype.org/content/repositories/snapshots/'
}
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
classpath 'com.matthewprenger:CurseGradle:1.0-SNAPSHOT'
}
}
apply plugin: 'net.minecraftforge.gradle.forge'
apply plugin: 'com.matthewprenger.cursegradle'
compileJava.options.encoding = 'UTF-8'
group = project.group_name
version = project.mod_version
archivesBaseName = "[${project.minecraft_version}]${project.mod_id}"
minecraft {
version = project.minecraft_version + '-' + project.forge_version + "-" + project.minecraft_version + ".0" // grab latest forge
mappings = project.mappings_version
runDir = 'run'
replace '@MOD_VERSION@', project.mod_version
replace '@MINECRAFT_VERSION@', project.minecraft_version
}
processResources {
// replace stuff in the files we want.
from(sourceSets.main.resources.srcDirs) {
include '**/*.info'
include '**/*.properties'
// replaces
expand ([
'mod_version': project.mod_version,
'forge_version': project.forge_version,
'forge_versionlimit': project.forge_versionlimit,
'minecraft_version': project.minecraft_version,
])
}
// copy everything else that we didn't do before
from(sourceSets.main.resources.srcDirs) {
exclude '**/*.info'
exclude '**/*.properties'
}
}
// change the name of my obfuscated jar
jar {
appendix = project.appendix
}
sourceJar {
appendix = 'src'
classifier = ''
}
artifacts {
archives sourceJar
}
if (project.hasProperty('api_key_curse') && project.hasProperty('extra_curse_id')) {
tasks.curseforge.dependsOn signJars
curseforge {
apiKey = project.api_key_curse
project {
id = project.extra_curse_id
changelog = ''
releaseType = project.hasProperty('extra_curse_releasetype') ? project.extra_curse_releasetype : 'release'
addArtifact sourceJar
}
}
}
gradle.properties
minecraft_version=1.10
forge_version=12.18.0.2000
forge_versionlimit=12.18.2
mappings_version=snapshot_20160627
mod_version=4.0.1
mod_id=cfm
group_name=CFM
appendix=universal
gradlew
#!/usr/bin/env bash
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
warn ( ) {
echo "$*"
}
die ( ) {
echo
echo "$*"
echo
exit 1
}
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MINGW* )
msys=true
;;
esac
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD="java"
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ] ; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi
# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi
# For Cygwin, switch paths to Windows format before running java
if $cygwin ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
JAVACMD=`cygpath --unix "$JAVACMD"`
# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
SEP="|"
done
OURCYGPATTERN="(^($ROOTDIRS))"
# Add a user-defined pattern to the cygpath arguments
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
fi
# Now convert the arguments - kludge to limit ourselves to /bin/sh
i=0
for arg in "$@" ; do
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
else
eval `echo args$i`="\"$arg\""
fi
i=$((i+1))
done
case $i in
(0) set -- ;;
(1) set -- "$args0" ;;
(2) set -- "$args0" "$args1" ;;
(3) set -- "$args0" "$args1" "$args2" ;;
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
esac
fi
# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
function splitJvmOpts() {
JVM_OPTS=("$@")
}
eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
JVM_OPTS[${#JVM_OPTS
}]="-Dorg.gradle.appname=$APP_BASE_NAME"
exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
gradlew.bat
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto init
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:init
@rem Get command-line arguments, handling Windowz variants
if not "%OS%" == "Windows_NT" goto win9xME_args
if "%@eval[2+2]" == "4" goto 4NT_args
:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2
:win9xME_args_slurp
if "x%~1" == "x" goto execute
set CMD_LINE_ARGS=%*
goto execute
:4NT_args
@rem Get arguments from the 4NT Shell from JP Software
set CMD_LINE_ARGS=%$
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega
You will also need a copy of the gradle-wrapper from somewhere. I used 2.14 to build, and it worked fine. You can get it all over github.
Then just bring up a command prompt, CD to the MrCrayfishFurnitureMod\1.10 folder, run "gradlew setupDevWorkspace", and when done run "gradlew build".
Then hop into MrCrayfishFurnitureMod\1.10\build\libs and copy the [1.10]cfm-universal-4.0.1.jar to your MC dir.
TOOK FOREVER, But it has been done!
Also you can build your own wrapper with a command, I found. Thank you!
Digital Artist | GX Fanatic
Will you guys share 1.10 version when you will port it completely?
Glad to hear it! Takes a bit of getting used to, but pretty simple once you understand the basics ;).
Yes, I saw that command ("gradlew wrapper" or something), but, I didn't see any code for that in the gradlew.bat file.
I figured if you were going to be downloading anything, may as well just download the wrapper itself.
However, it probably worked for you because you already tried to compile it, and probably had another copy of the wrapper in your %appdata%\.gradle folder ;).
Nope.
I know it's GPL, but I do not feel comfortable sharing the compiled JAR without the mod owners permission (he hasn't posted the 'alpha/beta' JAR files for 1.9 -> 1.10.2 in the GITHUB Releases or on his webpage).
If you want to build one yourself, the instructions are 3 posts up.
I might wait then, coz I know I'm bound to stuff it up XD
I just want to dig a small hole and stay in it now....
Is the latest version uploaded on GitHub compatible with 1.10.2 server?
Yes, I am running 1.10.2 CFM 4.0.1 build from 9/8/2016 on a server just fine.
I tried doing this but I got this error
I replaced all the files with the text that you posted and I had it download the gradle 2.14 build when I ran the setupDevWorkspace command. Any ideas what I did wrong?
Happiness is like peeing in your pants, everyone sees it but only you feel its warmth.
When will this is mod update to 1.10.2?
You don't appear to be building in the 1.10 folder.
When you download MrCrayfishFurnitureMod with GIT CLONE it downloads 1.8 / 1.8.9 / 1.9 / 1.10.
You need to go into the 1.10 folder, and that is where you put the gradle.properties / build.gradle / gradlew / gradlew.bat.
Run the commands from there.
GROUP_NAME is part of the gradle.properties file as well. Make sure that the file was not created as gradle.properties.txt ;)!
You can do this by showing file extensions in your browser window, or in the command line.