diff --git a/.gitignore b/.gitignore index 880f45d..9db5200 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ out/ *.iml *.ipr runtime-1.8/ +tools/ diff --git a/packs/Natura/build.gradle b/packs/Natura/build.gradle new file mode 100644 index 0000000..6627839 --- /dev/null +++ b/packs/Natura/build.gradle @@ -0,0 +1,95 @@ +buildscript { + repositories { + mavenCentral() + 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:1.2-SNAPSHOT' + } +} + +apply plugin: 'forge' + +version = "1.7.10-1.0.0" +group= "com.jaquadro.minecraft.storagedrawers" // http://maven.apache.org/guides/mini/guide-naming-conventions.html +archivesBaseName = "StorageDrawers-Natura" + +minecraft { + version = "1.7.10-10.13.2.1340-1.7.10" + assetDir = "../../runtime/assets" + + replace '@VERSION@', project.version +} + +sourceSets.main { + java { + srcDirs project.projectDir.getPath() + '/src' + } + resources { + srcDirs project.projectDir.getPath() + '/resources' + } +} + +repositories { + maven { + name 'CB Maven FS' + url "http://chickenbones.net/maven/" + } + + maven { + name "Waila Mobius Repo" + url "http://mobiusstrip.eu/maven" + } + + maven { + name "FireBall API Depot" + url "http://dl.tsr.me/artifactory/libs-release-local" + } + + ivy { + name "MineTweaker3" + artifactPattern "http://minetweaker3.powerofbytes.com/download/[module]-[revision].[ext]" + } +} + +dependencies { + compile "appeng:appliedenergistics2:rv2-beta-28:api" + + compile name: 'MineTweaker3', version: "Dev-1.7.10-3.0.9B", ext: 'jar' +} + +processResources +{ + // this will ensure that this task is redone when the versions change. + inputs.property "version", project.version + inputs.property "mcversion", project.minecraft.version + + // replace stuff in mcmod.info, nothing else + from(sourceSets.main.resources.srcDirs) { + include 'mcmod.info' + + // replace version and mcversion + expand 'version':project.version, 'mcversion':project.minecraft.version + } + + // copy everything else, thats not the mcmod.info + from(sourceSets.main.resources.srcDirs) { + exclude 'mcmod.info' + } +} + +task deobfJar(type: Jar) { + from sourceSets.main.output + classifier = 'dev' +} + +artifacts { + archives deobfJar +} \ No newline at end of file diff --git a/packs/Natura/gradle/wrapper/gradle-wrapper.properties b/packs/Natura/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000..678d9d8 --- /dev/null +++ b/packs/Natura/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,6 @@ +#Wed Jul 02 15:54:47 CDT 2014 +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-2.0-bin.zip diff --git a/packs/Natura/gradlew b/packs/Natura/gradlew new file mode 100644 index 0000000..91a7e26 --- /dev/null +++ b/packs/Natura/gradlew @@ -0,0 +1,164 @@ +#!/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 + +# For Cygwin, ensure paths are in UNIX format before anything is touched. +if $cygwin ; then + [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` +fi + +# 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\"`/" >&- +APP_HOME="`pwd -P`" +cd "$SAVED" >&- + +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"` + + # 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 "$@" diff --git a/packs/Natura/gradlew.bat b/packs/Natura/gradlew.bat new file mode 100644 index 0000000..8a0b282 --- /dev/null +++ b/packs/Natura/gradlew.bat @@ -0,0 +1,90 @@ +@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 diff --git a/packs/Natura/resources/assets/storagedrawersnatura/lang/en_US.lang b/packs/Natura/resources/assets/storagedrawersnatura/lang/en_US.lang new file mode 100644 index 0000000..76fd2f6 --- /dev/null +++ b/packs/Natura/resources/assets/storagedrawersnatura/lang/en_US.lang @@ -0,0 +1,86 @@ +itemGroup.storageDrawersNatura=Storage Drawers: Natura Pack + +# Blocks +tile.storagedrawersnatura.fullDrawers1.eucalyptus.name=Eucalyptus Drawer +tile.storagedrawersnatura.fullDrawers1.sakura.name=Sakura Drawer +tile.storagedrawersnatura.fullDrawers1.ghostwood.name=Ghostwood Drawer +tile.storagedrawersnatura.fullDrawers1.redwood.name=Redwood Drawer +tile.storagedrawersnatura.fullDrawers1.bloodwood.name=Blood Drawer +tile.storagedrawersnatura.fullDrawers1.hopseed.name=Hopseed Drawer +tile.storagedrawersnatura.fullDrawers1.maple.name=Maple Drawer +tile.storagedrawersnatura.fullDrawers1.silverbell.name=Silverbell Drawer +tile.storagedrawersnatura.fullDrawers1.purpleheart.name=Amaranth Drawer +tile.storagedrawersnatura.fullDrawers1.tigerwood.name=Tigerwood Drawer +tile.storagedrawersnatura.fullDrawers1.willow.name=Willow Drawer +tile.storagedrawersnatura.fullDrawers1.darkwood.name=Darkwood Drawer +tile.storagedrawersnatura.fullDrawers1.fusewood.name=Fusewood Drawer + +tile.storagedrawersnatura.fullDrawers2.eucalyptus.name=Eucalyptus Drawers 1x2 +tile.storagedrawersnatura.fullDrawers2.sakura.name=Sakura Drawers 1x2 +tile.storagedrawersnatura.fullDrawers2.ghostwood.name=Ghostwood Drawers 1x2 +tile.storagedrawersnatura.fullDrawers2.redwood.name=Redwood Drawers 1x2 +tile.storagedrawersnatura.fullDrawers2.bloodwood.name=Blood Drawers 1x2 +tile.storagedrawersnatura.fullDrawers2.hopseed.name=Hopseed Drawers 1x2 +tile.storagedrawersnatura.fullDrawers2.maple.name=Maple Drawers 1x2 +tile.storagedrawersnatura.fullDrawers2.silverbell.name=Silverbell Drawers 1x2 +tile.storagedrawersnatura.fullDrawers2.purpleheart.name=Amaranth Drawers 1x2 +tile.storagedrawersnatura.fullDrawers2.tigerwood.name=Tigerwood Drawers 1x2 +tile.storagedrawersnatura.fullDrawers2.willow.name=Willow Drawers 1x2 +tile.storagedrawersnatura.fullDrawers2.darkwood.name=Darkwood Drawers 1x2 +tile.storagedrawersnatura.fullDrawers2.fusewood.name=Fusewood Drawers 1x2 + +tile.storagedrawersnatura.fullDrawers4.eucalyptus.name=Eucalyptus Drawers 2x2 +tile.storagedrawersnatura.fullDrawers4.sakura.name=Sakura Drawers 2x2 +tile.storagedrawersnatura.fullDrawers4.ghostwood.name=Ghostwood Drawers 2x2 +tile.storagedrawersnatura.fullDrawers4.redwood.name=Redwood Drawers 2x2 +tile.storagedrawersnatura.fullDrawers4.bloodwood.name=Blood Drawers 2x2 +tile.storagedrawersnatura.fullDrawers4.hopseed.name=Hopseed Drawers 2x2 +tile.storagedrawersnatura.fullDrawers4.maple.name=Maple Drawers 2x2 +tile.storagedrawersnatura.fullDrawers4.silverbell.name=Silverbell Drawers 2x2 +tile.storagedrawersnatura.fullDrawers4.purpleheart.name=Amaranth Drawers 2x2 +tile.storagedrawersnatura.fullDrawers4.tigerwood.name=Tigerwood Drawers 2x2 +tile.storagedrawersnatura.fullDrawers4.willow.name=Willow Drawers 2x2 +tile.storagedrawersnatura.fullDrawers4.darkwood.name=Darkwood Drawers 2x2 +tile.storagedrawersnatura.fullDrawers4.fusewood.name=Fusewood Drawers 2x2 + +tile.storagedrawersnatura.halfDrawers2.eucalyptus.name=Compact Eucalyptus Drawers 1x2 +tile.storagedrawersnatura.halfDrawers2.sakura.name=Compact Sakura Drawers 1x2 +tile.storagedrawersnatura.halfDrawers2.ghostwood.name=Compact Ghostwood Drawers 1x2 +tile.storagedrawersnatura.halfDrawers2.redwood.name=Compact Redwood Drawers 1x2 +tile.storagedrawersnatura.halfDrawers2.bloodwood.name=Compact Blood Drawers 1x2 +tile.storagedrawersnatura.halfDrawers2.hopseed.name=Compact Hopseed Drawers 1x2 +tile.storagedrawersnatura.halfDrawers2.maple.name=Compact Maple Drawers 1x2 +tile.storagedrawersnatura.halfDrawers2.silverbell.name=Compact Silverbell Drawers 1x2 +tile.storagedrawersnatura.halfDrawers2.purpleheart.name=Compact Amaranth Drawers 1x2 +tile.storagedrawersnatura.halfDrawers2.tigerwood.name=Compact Tigerwood Drawers 1x2 +tile.storagedrawersnatura.halfDrawers2.willow.name=Compact Willow Drawers 1x2 +tile.storagedrawersnatura.halfDrawers2.darkwood.name=Compact Darkwood Drawers 1x2 +tile.storagedrawersnatura.halfDrawers2.fusewood.name=Compact Fusewood Drawers 1x2 + +tile.storagedrawersnatura.halfDrawers4.eucalyptus.name=Compact Eucalyptus Drawers 2x2 +tile.storagedrawersnatura.halfDrawers4.sakura.name=Compact Sakura Drawers 2x2 +tile.storagedrawersnatura.halfDrawers4.ghostwood.name=Compact Ghostwood Drawers 2x2 +tile.storagedrawersnatura.halfDrawers4.redwood.name=Compact Redwood Drawers 2x2 +tile.storagedrawersnatura.halfDrawers4.bloodwood.name=Compact Blood Drawers 2x2 +tile.storagedrawersnatura.halfDrawers4.hopseed.name=Compact Hopseed Drawers 2x2 +tile.storagedrawersnatura.halfDrawers4.maple.name=Compact Maple Drawers 2x2 +tile.storagedrawersnatura.halfDrawers4.silverbell.name=Compact Silverbell Drawers 2x2 +tile.storagedrawersnatura.halfDrawers4.purpleheart.name=Compact Amaranth Drawers 2x2 +tile.storagedrawersnatura.halfDrawers4.tigerwood.name=Compact Tigerwood Drawers 2x2 +tile.storagedrawersnatura.halfDrawers4.willow.name=Compact Willow Drawers 2x2 +tile.storagedrawersnatura.halfDrawers4.darkwood.name=Compact Darkwood Drawers 2x2 +tile.storagedrawersnatura.halfDrawers4.fusewood.name=Compact Fusewood Drawers 2x2 + +tile.storagedrawersnatura.trim.eucalyptus.name=Eucalyptus Trim +tile.storagedrawersnatura.trim.sakura.name=Sakura Trim +tile.storagedrawersnatura.trim.ghostwood.name=Ghostwood Trim +tile.storagedrawersnatura.trim.redwood.name=Redwood Trim +tile.storagedrawersnatura.trim.bloodwood.name=Blood Trim +tile.storagedrawersnatura.trim.hopseed.name=Hopseed Trim +tile.storagedrawersnatura.trim.maple.name=Maple Trim +tile.storagedrawersnatura.trim.silverbell.name=Silverbell Trim +tile.storagedrawersnatura.trim.purpleheart.name=Amaranth Trim +tile.storagedrawersnatura.trim.tigerwood.name=Tigerwood Trim +tile.storagedrawersnatura.trim.willow.name=Willow Trim +tile.storagedrawersnatura.trim.darkwood.name=Darkwood Trim +tile.storagedrawersnatura.trim.fusewood.name=Fusewood Trim \ No newline at end of file diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_bloodwood_front_1.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_bloodwood_front_1.png new file mode 100644 index 0000000..13303c5 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_bloodwood_front_1.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_bloodwood_front_2.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_bloodwood_front_2.png new file mode 100644 index 0000000..a6d587d Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_bloodwood_front_2.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_bloodwood_front_4.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_bloodwood_front_4.png new file mode 100644 index 0000000..38e98db Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_bloodwood_front_4.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_bloodwood_side.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_bloodwood_side.png new file mode 100644 index 0000000..dd0c793 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_bloodwood_side.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_bloodwood_side_h.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_bloodwood_side_h.png new file mode 100644 index 0000000..bb95c49 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_bloodwood_side_h.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_bloodwood_side_v.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_bloodwood_side_v.png new file mode 100644 index 0000000..8e0c026 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_bloodwood_side_v.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_bloodwood_sort.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_bloodwood_sort.png new file mode 100644 index 0000000..6649a83 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_bloodwood_sort.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_bloodwood_trim.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_bloodwood_trim.png new file mode 100644 index 0000000..4f891ff Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_bloodwood_trim.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_darkwood_front_1.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_darkwood_front_1.png new file mode 100644 index 0000000..ab476d8 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_darkwood_front_1.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_darkwood_front_2.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_darkwood_front_2.png new file mode 100644 index 0000000..f98601a Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_darkwood_front_2.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_darkwood_front_4.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_darkwood_front_4.png new file mode 100644 index 0000000..e935bf1 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_darkwood_front_4.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_darkwood_side.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_darkwood_side.png new file mode 100644 index 0000000..5d6ad0c Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_darkwood_side.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_darkwood_side_h.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_darkwood_side_h.png new file mode 100644 index 0000000..45753e9 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_darkwood_side_h.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_darkwood_side_v.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_darkwood_side_v.png new file mode 100644 index 0000000..c38be59 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_darkwood_side_v.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_darkwood_sort.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_darkwood_sort.png new file mode 100644 index 0000000..21f32c3 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_darkwood_sort.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_darkwood_trim.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_darkwood_trim.png new file mode 100644 index 0000000..7669f98 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_darkwood_trim.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_eucalyptus_front_1.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_eucalyptus_front_1.png new file mode 100644 index 0000000..a7bd1c2 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_eucalyptus_front_1.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_eucalyptus_front_2.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_eucalyptus_front_2.png new file mode 100644 index 0000000..0119ed2 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_eucalyptus_front_2.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_eucalyptus_front_4.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_eucalyptus_front_4.png new file mode 100644 index 0000000..d4bd25e Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_eucalyptus_front_4.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_eucalyptus_side.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_eucalyptus_side.png new file mode 100644 index 0000000..b46c4e4 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_eucalyptus_side.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_eucalyptus_side_h.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_eucalyptus_side_h.png new file mode 100644 index 0000000..facd751 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_eucalyptus_side_h.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_eucalyptus_side_v.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_eucalyptus_side_v.png new file mode 100644 index 0000000..e94df47 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_eucalyptus_side_v.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_eucalyptus_sort.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_eucalyptus_sort.png new file mode 100644 index 0000000..8735760 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_eucalyptus_sort.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_eucalyptus_trim.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_eucalyptus_trim.png new file mode 100644 index 0000000..1cb4fcd Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_eucalyptus_trim.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_fusewood_front_1.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_fusewood_front_1.png new file mode 100644 index 0000000..126fd73 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_fusewood_front_1.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_fusewood_front_2.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_fusewood_front_2.png new file mode 100644 index 0000000..558e883 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_fusewood_front_2.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_fusewood_front_4.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_fusewood_front_4.png new file mode 100644 index 0000000..fb0df0b Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_fusewood_front_4.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_fusewood_side.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_fusewood_side.png new file mode 100644 index 0000000..4736f28 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_fusewood_side.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_fusewood_side_h.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_fusewood_side_h.png new file mode 100644 index 0000000..56307c5 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_fusewood_side_h.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_fusewood_side_v.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_fusewood_side_v.png new file mode 100644 index 0000000..87b4eb0 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_fusewood_side_v.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_fusewood_sort.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_fusewood_sort.png new file mode 100644 index 0000000..8bc1e9c Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_fusewood_sort.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_fusewood_trim.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_fusewood_trim.png new file mode 100644 index 0000000..4834407 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_fusewood_trim.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_ghostwood_front_1.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_ghostwood_front_1.png new file mode 100644 index 0000000..4395b22 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_ghostwood_front_1.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_ghostwood_front_2.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_ghostwood_front_2.png new file mode 100644 index 0000000..c7dbf5e Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_ghostwood_front_2.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_ghostwood_front_4.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_ghostwood_front_4.png new file mode 100644 index 0000000..376c4bd Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_ghostwood_front_4.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_ghostwood_side.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_ghostwood_side.png new file mode 100644 index 0000000..f50639f Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_ghostwood_side.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_ghostwood_side_h.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_ghostwood_side_h.png new file mode 100644 index 0000000..132ff19 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_ghostwood_side_h.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_ghostwood_side_v.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_ghostwood_side_v.png new file mode 100644 index 0000000..527bfab Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_ghostwood_side_v.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_ghostwood_sort.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_ghostwood_sort.png new file mode 100644 index 0000000..051204d Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_ghostwood_sort.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_ghostwood_trim.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_ghostwood_trim.png new file mode 100644 index 0000000..45c0336 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_ghostwood_trim.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_hopseed_front_1.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_hopseed_front_1.png new file mode 100644 index 0000000..0b0e0b5 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_hopseed_front_1.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_hopseed_front_2.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_hopseed_front_2.png new file mode 100644 index 0000000..d8ffbf8 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_hopseed_front_2.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_hopseed_front_4.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_hopseed_front_4.png new file mode 100644 index 0000000..aef869e Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_hopseed_front_4.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_hopseed_side.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_hopseed_side.png new file mode 100644 index 0000000..a641692 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_hopseed_side.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_hopseed_side_h.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_hopseed_side_h.png new file mode 100644 index 0000000..cfdb1b8 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_hopseed_side_h.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_hopseed_side_v.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_hopseed_side_v.png new file mode 100644 index 0000000..30e9d48 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_hopseed_side_v.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_hopseed_sort.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_hopseed_sort.png new file mode 100644 index 0000000..942c9ae Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_hopseed_sort.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_hopseed_trim.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_hopseed_trim.png new file mode 100644 index 0000000..b778945 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_hopseed_trim.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_maple_front_1.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_maple_front_1.png new file mode 100644 index 0000000..e101eca Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_maple_front_1.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_maple_front_2.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_maple_front_2.png new file mode 100644 index 0000000..22c51f5 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_maple_front_2.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_maple_front_4.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_maple_front_4.png new file mode 100644 index 0000000..0db932f Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_maple_front_4.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_maple_side.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_maple_side.png new file mode 100644 index 0000000..63e0b36 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_maple_side.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_maple_side_h.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_maple_side_h.png new file mode 100644 index 0000000..6060991 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_maple_side_h.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_maple_side_v.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_maple_side_v.png new file mode 100644 index 0000000..20c000e Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_maple_side_v.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_maple_sort.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_maple_sort.png new file mode 100644 index 0000000..38afbb9 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_maple_sort.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_maple_trim.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_maple_trim.png new file mode 100644 index 0000000..f3dd4df Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_maple_trim.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_purpleheart_front_1.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_purpleheart_front_1.png new file mode 100644 index 0000000..07dc94c Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_purpleheart_front_1.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_purpleheart_front_2.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_purpleheart_front_2.png new file mode 100644 index 0000000..4877360 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_purpleheart_front_2.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_purpleheart_front_4.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_purpleheart_front_4.png new file mode 100644 index 0000000..d89d847 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_purpleheart_front_4.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_purpleheart_side.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_purpleheart_side.png new file mode 100644 index 0000000..fbe899e Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_purpleheart_side.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_purpleheart_side_h.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_purpleheart_side_h.png new file mode 100644 index 0000000..5d6513e Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_purpleheart_side_h.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_purpleheart_side_v.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_purpleheart_side_v.png new file mode 100644 index 0000000..072f493 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_purpleheart_side_v.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_purpleheart_sort.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_purpleheart_sort.png new file mode 100644 index 0000000..cf24297 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_purpleheart_sort.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_purpleheart_trim.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_purpleheart_trim.png new file mode 100644 index 0000000..c8e8462 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_purpleheart_trim.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_redwood_front_1.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_redwood_front_1.png new file mode 100644 index 0000000..c6c6715 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_redwood_front_1.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_redwood_front_2.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_redwood_front_2.png new file mode 100644 index 0000000..78cdb8f Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_redwood_front_2.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_redwood_front_4.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_redwood_front_4.png new file mode 100644 index 0000000..20edeec Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_redwood_front_4.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_redwood_side.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_redwood_side.png new file mode 100644 index 0000000..b777a09 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_redwood_side.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_redwood_side_h.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_redwood_side_h.png new file mode 100644 index 0000000..be0edbe Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_redwood_side_h.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_redwood_side_v.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_redwood_side_v.png new file mode 100644 index 0000000..b3df1d5 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_redwood_side_v.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_redwood_sort.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_redwood_sort.png new file mode 100644 index 0000000..8ae6a46 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_redwood_sort.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_redwood_trim.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_redwood_trim.png new file mode 100644 index 0000000..2d896bf Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_redwood_trim.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_sakura_front_1.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_sakura_front_1.png new file mode 100644 index 0000000..a66bbd9 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_sakura_front_1.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_sakura_front_2.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_sakura_front_2.png new file mode 100644 index 0000000..0c45b0a Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_sakura_front_2.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_sakura_front_4.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_sakura_front_4.png new file mode 100644 index 0000000..f5e85cc Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_sakura_front_4.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_sakura_side.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_sakura_side.png new file mode 100644 index 0000000..50706a1 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_sakura_side.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_sakura_side_h.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_sakura_side_h.png new file mode 100644 index 0000000..2a07cc2 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_sakura_side_h.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_sakura_side_v.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_sakura_side_v.png new file mode 100644 index 0000000..7cf2709 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_sakura_side_v.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_sakura_sort.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_sakura_sort.png new file mode 100644 index 0000000..efc9667 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_sakura_sort.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_sakura_trim.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_sakura_trim.png new file mode 100644 index 0000000..c6ff061 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_sakura_trim.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_silverbell_front_1.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_silverbell_front_1.png new file mode 100644 index 0000000..7525260 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_silverbell_front_1.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_silverbell_front_2.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_silverbell_front_2.png new file mode 100644 index 0000000..2af8cc4 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_silverbell_front_2.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_silverbell_front_4.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_silverbell_front_4.png new file mode 100644 index 0000000..9760b67 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_silverbell_front_4.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_silverbell_side.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_silverbell_side.png new file mode 100644 index 0000000..c0857ba Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_silverbell_side.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_silverbell_side_h.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_silverbell_side_h.png new file mode 100644 index 0000000..75aa18a Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_silverbell_side_h.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_silverbell_side_v.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_silverbell_side_v.png new file mode 100644 index 0000000..4199c45 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_silverbell_side_v.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_silverbell_sort.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_silverbell_sort.png new file mode 100644 index 0000000..984ab44 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_silverbell_sort.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_silverbell_trim.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_silverbell_trim.png new file mode 100644 index 0000000..90d195d Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_silverbell_trim.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_tigerwood_front_1.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_tigerwood_front_1.png new file mode 100644 index 0000000..6b9b730 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_tigerwood_front_1.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_tigerwood_front_2.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_tigerwood_front_2.png new file mode 100644 index 0000000..8d7b169 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_tigerwood_front_2.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_tigerwood_front_4.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_tigerwood_front_4.png new file mode 100644 index 0000000..f6dd660 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_tigerwood_front_4.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_tigerwood_side.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_tigerwood_side.png new file mode 100644 index 0000000..2978c19 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_tigerwood_side.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_tigerwood_side_h.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_tigerwood_side_h.png new file mode 100644 index 0000000..602f724 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_tigerwood_side_h.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_tigerwood_side_v.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_tigerwood_side_v.png new file mode 100644 index 0000000..7e02238 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_tigerwood_side_v.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_tigerwood_sort.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_tigerwood_sort.png new file mode 100644 index 0000000..f93e732 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_tigerwood_sort.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_tigerwood_trim.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_tigerwood_trim.png new file mode 100644 index 0000000..360d8b5 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_tigerwood_trim.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_willow_front_1.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_willow_front_1.png new file mode 100644 index 0000000..cac0a7d Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_willow_front_1.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_willow_front_2.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_willow_front_2.png new file mode 100644 index 0000000..bdd03f0 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_willow_front_2.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_willow_front_4.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_willow_front_4.png new file mode 100644 index 0000000..d79d4c1 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_willow_front_4.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_willow_side.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_willow_side.png new file mode 100644 index 0000000..c97c928 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_willow_side.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_willow_side_h.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_willow_side_h.png new file mode 100644 index 0000000..b4f7c9d Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_willow_side_h.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_willow_side_v.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_willow_side_v.png new file mode 100644 index 0000000..d5e214e Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_willow_side_v.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_willow_sort.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_willow_sort.png new file mode 100644 index 0000000..d1faad7 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_willow_sort.png differ diff --git a/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_willow_trim.png b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_willow_trim.png new file mode 100644 index 0000000..a2ca212 Binary files /dev/null and b/packs/Natura/resources/assets/storagedrawersnatura/textures/blocks/drawers_willow_trim.png differ diff --git a/packs/Natura/resources/mcmod.info b/packs/Natura/resources/mcmod.info new file mode 100644 index 0000000..8c326f2 --- /dev/null +++ b/packs/Natura/resources/mcmod.info @@ -0,0 +1,15 @@ +[ +{ + "modid": "StorageDrawersNatura", + "name": "Storage Drawers: Natura Pack", + "description": "Adds additional wood styles from the Natura mod.", + "version": "$version", + "credits": "By jaquadro", + "logoFile": "", + "url": "http://www.jaquadro.com/", + "authorList": [ "jaquadro" ], + "requiredMods": [ "Forge", "StorageDrawers" ], + "dependencies": [ "StorageDrawers" ], + "useDependencyInformation": true +} +] \ No newline at end of file diff --git a/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/CommonProxy.java b/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/CommonProxy.java new file mode 100644 index 0000000..6a9e261 --- /dev/null +++ b/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/CommonProxy.java @@ -0,0 +1,9 @@ +package com.jaquadro.minecraft.storagedrawers.packs.natura; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.EntityPlayerMP; + +public class CommonProxy +{ + +} diff --git a/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/StorageDrawersPack.java b/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/StorageDrawersPack.java new file mode 100644 index 0000000..70ea411 --- /dev/null +++ b/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/StorageDrawersPack.java @@ -0,0 +1,41 @@ +package com.jaquadro.minecraft.storagedrawers.packs.natura; + +import com.jaquadro.minecraft.storagedrawers.packs.natura.core.ModBlocks; +import com.jaquadro.minecraft.storagedrawers.packs.natura.core.ModRecipes; +import cpw.mods.fml.common.Mod; +import cpw.mods.fml.common.SidedProxy; +import cpw.mods.fml.common.event.FMLInitializationEvent; +import cpw.mods.fml.common.event.FMLPostInitializationEvent; +import cpw.mods.fml.common.event.FMLPreInitializationEvent; + +@Mod(modid = StorageDrawersPack.MOD_ID, name = StorageDrawersPack.MOD_NAME, version = StorageDrawersPack.MOD_VERSION, dependencies = "required-after:StorageDrawers;") +public class StorageDrawersPack +{ + public static final String MOD_ID = "StorageDrawersNatura"; + public static final String MOD_NAME = "Storage Drawers: Natura Pack"; + public static final String MOD_VERSION = "@VERSION@"; + public static final String SOURCE_PATH = "com.jaquadro.minecraft.storagedrawers.packs.natura."; + + public ModBlocks blocks = new ModBlocks(); + public ModRecipes recipes = new ModRecipes(); + + @Mod.Instance(MOD_ID) + public static StorageDrawersPack instance; + + @SidedProxy(clientSide = SOURCE_PATH + "CommonProxy", serverSide = SOURCE_PATH + "CommonProxy") + public static CommonProxy proxy; + + @Mod.EventHandler + public void preInit (FMLPreInitializationEvent event) { + blocks.init(); + } + + @Mod.EventHandler + public void init (FMLInitializationEvent event) { + } + + @Mod.EventHandler + public void postInit (FMLPostInitializationEvent event) { + recipes.init(); + } +} diff --git a/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/block/BlockDrawersPack.java b/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/block/BlockDrawersPack.java new file mode 100644 index 0000000..f37b3b2 --- /dev/null +++ b/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/block/BlockDrawersPack.java @@ -0,0 +1,58 @@ +package com.jaquadro.minecraft.storagedrawers.packs.natura.block; + +import com.jaquadro.minecraft.storagedrawers.block.BlockDrawers; +import com.jaquadro.minecraft.storagedrawers.packs.natura.StorageDrawersPack; +import com.jaquadro.minecraft.storagedrawers.packs.natura.core.ModCreativeTabs; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.creativetab.CreativeTabs; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.util.*; + +import java.util.List; + +public class BlockDrawersPack extends BlockDrawers +{ + public static String[] textureNames = new String[] { "eucalyptus", "sakura", "ghostwood", "redwood", "bloodwood", "hopseed", "maple", "silverbell", "purpleheart", "tigerwood", "willow", "darkwood", "fusewood" }; + + public BlockDrawersPack (String blockName, int drawerCount, boolean halfDepth) { + super(Material.wood, blockName, drawerCount, halfDepth); + + setCreativeTab(ModCreativeTabs.tabStorageDrawers); + } + + @Override + public void getSubBlocks (Item item, CreativeTabs creativeTabs, List list) { + for (int i = 1; i < textureNames.length; i++) + list.add(new ItemStack(item, 1, i)); + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons (IIconRegister register) { + super.registerBlockIcons(register); + + String[] subtex = textureNames; + + iconSide = new IIcon[subtex.length]; + iconSideH = new IIcon[subtex.length]; + iconSideV = new IIcon[subtex.length]; + iconFront1 = new IIcon[subtex.length]; + iconFront2 = new IIcon[subtex.length]; + iconFront4 = new IIcon[subtex.length]; + iconTrim = new IIcon[subtex.length]; + + for (int i = 0; i < subtex.length; i++) { + iconFront1[i] = register.registerIcon(StorageDrawersPack.MOD_ID + ":drawers_" + subtex[i] + "_front_1"); + iconFront2[i] = register.registerIcon(StorageDrawersPack.MOD_ID + ":drawers_" + subtex[i] + "_front_2"); + iconFront4[i] = register.registerIcon(StorageDrawersPack.MOD_ID + ":drawers_" + subtex[i] + "_front_4"); + iconSide[i] = register.registerIcon(StorageDrawersPack.MOD_ID + ":drawers_" + subtex[i] + "_side"); + iconSideV[i] = register.registerIcon(StorageDrawersPack.MOD_ID + ":drawers_" + subtex[i] + "_side_v"); + iconSideH[i] = register.registerIcon(StorageDrawersPack.MOD_ID + ":drawers_" + subtex[i] + "_side_h"); + iconTrim[i] = register.registerIcon(StorageDrawersPack.MOD_ID + ":drawers_" + subtex[i] + "_trim"); + } + } +} diff --git a/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/block/BlockTrimPack.java b/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/block/BlockTrimPack.java new file mode 100644 index 0000000..031c7db --- /dev/null +++ b/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/block/BlockTrimPack.java @@ -0,0 +1,34 @@ +package com.jaquadro.minecraft.storagedrawers.packs.natura.block; + +import com.jaquadro.minecraft.storagedrawers.block.BlockTrim; +import com.jaquadro.minecraft.storagedrawers.packs.natura.core.ModBlocks; +import com.jaquadro.minecraft.storagedrawers.packs.natura.core.ModCreativeTabs; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.creativetab.CreativeTabs; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.util.IIcon; + +import java.util.List; + +public class BlockTrimPack extends BlockTrim +{ + public BlockTrimPack (String name) { + super(name); + + setCreativeTab(ModCreativeTabs.tabStorageDrawers); + } + + @Override + public void getSubBlocks (Item item, CreativeTabs creativeTabs, List list) { + for (int i = 1; i < BlockDrawersPack.textureNames.length; i++) + list.add(new ItemStack(item, 1, i)); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon (int side, int meta) { + return ModBlocks.fullDrawers1.getIcon(0, meta); + } +} diff --git a/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/core/ModBlocks.java b/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/core/ModBlocks.java new file mode 100644 index 0000000..e31c67a --- /dev/null +++ b/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/core/ModBlocks.java @@ -0,0 +1,67 @@ +package com.jaquadro.minecraft.storagedrawers.packs.natura.core; + +import com.jaquadro.minecraft.storagedrawers.StorageDrawers; +import com.jaquadro.minecraft.storagedrawers.block.*; +import com.jaquadro.minecraft.storagedrawers.block.tile.TileEntityDrawersStandard; +import com.jaquadro.minecraft.storagedrawers.config.ConfigManager; +import com.jaquadro.minecraft.storagedrawers.packs.natura.StorageDrawersPack; +import com.jaquadro.minecraft.storagedrawers.packs.natura.block.BlockDrawersPack; +import com.jaquadro.minecraft.storagedrawers.packs.natura.block.BlockTrimPack; +import com.jaquadro.minecraft.storagedrawers.packs.natura.item.ItemDrawersPack; +import com.jaquadro.minecraft.storagedrawers.packs.natura.item.ItemTrimPack; +import cpw.mods.fml.common.registry.GameData; +import cpw.mods.fml.common.registry.GameRegistry; +import net.minecraft.block.Block; + +public class ModBlocks +{ + public static BlockDrawers fullDrawers1; + public static BlockDrawers fullDrawers2; + public static BlockDrawers fullDrawers4; + public static BlockDrawers halfDrawers2; + public static BlockDrawers halfDrawers4; + public static BlockTrim trim; + + public void init () { + fullDrawers1 = new BlockDrawersPack(makeName("fullDrawers1"), 1, false); + fullDrawers2 = new BlockDrawersPack(makeName("fullDrawers2"), 2, false); + fullDrawers4 = new BlockDrawersPack(makeName("fullDrawers4"), 4, false); + halfDrawers2 = new BlockDrawersPack(makeName("halfDrawers2"), 2, true); + halfDrawers4 = new BlockDrawersPack(makeName("halfDrawers4"), 4, true); + trim = new BlockTrimPack(makeName("trim")); + + ConfigManager config = StorageDrawers.config; + + if (config.isBlockEnabled("fulldrawers1")) { + GameRegistry.registerBlock(fullDrawers1, ItemDrawersPack.class, "fullDrawers1"); + GameRegistry.registerTileEntity(TileEntityDrawersStandard.class, ModBlocks.getQualifiedName(fullDrawers1)); + } + if (config.isBlockEnabled("fulldrawers2")) { + GameRegistry.registerBlock(fullDrawers2, ItemDrawersPack.class, "fullDrawers2"); + GameRegistry.registerTileEntity(TileEntityDrawersStandard.class, ModBlocks.getQualifiedName(fullDrawers2)); + } + if (config.isBlockEnabled("fulldrawers4")) { + GameRegistry.registerBlock(fullDrawers4, ItemDrawersPack.class, "fullDrawers4"); + GameRegistry.registerTileEntity(TileEntityDrawersStandard.class, ModBlocks.getQualifiedName(fullDrawers4)); + } + if (config.isBlockEnabled("halfdrawers2")) { + GameRegistry.registerBlock(halfDrawers2, ItemDrawersPack.class, "halfDrawers2"); + GameRegistry.registerTileEntity(TileEntityDrawersStandard.class, ModBlocks.getQualifiedName(halfDrawers2)); + } + if (config.isBlockEnabled("halfdrawers4")) { + GameRegistry.registerBlock(halfDrawers4, ItemDrawersPack.class, "halfDrawers4"); + GameRegistry.registerTileEntity(TileEntityDrawersStandard.class, ModBlocks.getQualifiedName(halfDrawers4)); + } + if (config.isBlockEnabled("trim")) { + GameRegistry.registerBlock(trim, ItemTrimPack.class, "trim"); + } + } + + public static String makeName (String name) { + return StorageDrawersPack.MOD_ID.toLowerCase() + "." + name; + } + + public static String getQualifiedName (Block block) { + return GameData.getBlockRegistry().getNameForObject(block); + } +} diff --git a/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/core/ModCreativeTabs.java b/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/core/ModCreativeTabs.java new file mode 100644 index 0000000..a3d6b1d --- /dev/null +++ b/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/core/ModCreativeTabs.java @@ -0,0 +1,39 @@ +package com.jaquadro.minecraft.storagedrawers.packs.natura.core; + +import com.jaquadro.minecraft.storagedrawers.StorageDrawers; +import com.jaquadro.minecraft.storagedrawers.config.ConfigManager; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.creativetab.CreativeTabs; +import net.minecraft.init.Blocks; +import net.minecraft.item.Item; + +public final class ModCreativeTabs +{ + private ModCreativeTabs () { } + + public static final CreativeTabs tabStorageDrawers = new CreativeTabs("storageDrawersNatura") { + @Override + @SideOnly(Side.CLIENT) + public Item getTabIconItem () { + return getTabItem(); + } + }; + + private static Item getTabItem () { + ConfigManager config = StorageDrawers.config; + + if (config.isBlockEnabled("fulldrawers2")) + return Item.getItemFromBlock(ModBlocks.fullDrawers2); + if (config.isBlockEnabled("fulldrawers4")) + return Item.getItemFromBlock(ModBlocks.fullDrawers4); + if (config.isBlockEnabled("fulldrawers1")) + return Item.getItemFromBlock(ModBlocks.fullDrawers1); + if (config.isBlockEnabled("halfdrawers2")) + return Item.getItemFromBlock(ModBlocks.halfDrawers2); + if (config.isBlockEnabled("halfdrawers4")) + return Item.getItemFromBlock(ModBlocks.halfDrawers4); + + return Item.getItemFromBlock(Blocks.chest); + } +} diff --git a/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/core/ModRecipes.java b/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/core/ModRecipes.java new file mode 100644 index 0000000..0cd3664 --- /dev/null +++ b/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/core/ModRecipes.java @@ -0,0 +1,67 @@ +package com.jaquadro.minecraft.storagedrawers.packs.natura.core; + +import com.jaquadro.minecraft.storagedrawers.StorageDrawers; +import com.jaquadro.minecraft.storagedrawers.config.ConfigManager; +import com.jaquadro.minecraft.storagedrawers.core.ModItems; +import com.jaquadro.minecraft.storagedrawers.packs.natura.block.BlockDrawersPack; +import cpw.mods.fml.common.registry.GameRegistry; +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.item.ItemStack; +import net.minecraftforge.oredict.OreDictionary; + +public class ModRecipes +{ + public void init () { + ConfigManager config = StorageDrawers.config; + + Block planks = GameRegistry.findBlock("Natura", "planks"); + Block slab1 = GameRegistry.findBlock("Natura", "plankSlab1"); + Block slab2 = GameRegistry.findBlock("Natura", "plankSlab2"); + + for (int i = 0; i < BlockDrawersPack.textureNames.length; i++) { + if (planks != null) { + if (config.isBlockEnabled("fulldrawers1")) + GameRegistry.addRecipe(new ItemStack(ModBlocks.fullDrawers1, config.getBlockRecipeOutput("fulldrawers1"), i), "xxx", " y ", "xxx", + 'x', new ItemStack(planks, 1, i), 'y', Blocks.chest); + if (config.isBlockEnabled("fulldrawers2")) + GameRegistry.addRecipe(new ItemStack(ModBlocks.fullDrawers2, config.getBlockRecipeOutput("fulldrawers2"), i), "xyx", "xxx", "xyx", + 'x', new ItemStack(planks, 1, i), 'y', Blocks.chest); + if (config.isBlockEnabled("fulldrawers4")) + GameRegistry.addRecipe(new ItemStack(ModBlocks.fullDrawers4, config.getBlockRecipeOutput("fulldrawers4"), i), "yxy", "xxx", "yxy", + 'x', new ItemStack(planks, 1, i), 'y', Blocks.chest); + if (config.isBlockEnabled("trim")) { + GameRegistry.addRecipe(new ItemStack(ModBlocks.trim, config.getBlockRecipeOutput("trim"), i), "xyx", "yyy", "xyx", + 'x', Items.stick, 'y', new ItemStack(planks, 1, i)); + } + } + + Block recipeSlab = (i < 8) ? slab1 : slab2; + if (recipeSlab != null) { + if (config.isBlockEnabled("halfdrawers2")) + GameRegistry.addRecipe(new ItemStack(ModBlocks.halfDrawers2, config.getBlockRecipeOutput("halfdrawers2"), i), "xyx", "xxx", "xyx", + 'x', new ItemStack(recipeSlab, 1, i), 'y', Blocks.chest); + if (config.isBlockEnabled("halfdrawers4")) + GameRegistry.addRecipe(new ItemStack(ModBlocks.halfDrawers4, config.getBlockRecipeOutput("halfdrawers4"), i), "yxy", "xxx", "yxy", + 'x', new ItemStack(recipeSlab, 1, i), 'y', Blocks.chest); + } + } + + if (config.isBlockEnabled("fulldrawers1")) + GameRegistry.addRecipe(new ItemStack(ModItems.upgradeTemplate, 2), "xxx", "xyx", "xxx", + 'x', Items.stick, 'y', new ItemStack(ModBlocks.fullDrawers1, 1, OreDictionary.WILDCARD_VALUE)); + if (config.isBlockEnabled("fulldrawers2")) + GameRegistry.addRecipe(new ItemStack(ModItems.upgradeTemplate, 2), "xxx", "xyx", "xxx", + 'x', Items.stick, 'y', new ItemStack(ModBlocks.fullDrawers2, 1, OreDictionary.WILDCARD_VALUE)); + if (config.isBlockEnabled("halfdrawers2")) + GameRegistry.addRecipe(new ItemStack(ModItems.upgradeTemplate, 2), "xxx", "xyx", "xxx", + 'x', Items.stick, 'y', new ItemStack(ModBlocks.halfDrawers2, 1, OreDictionary.WILDCARD_VALUE)); + if (config.isBlockEnabled("fulldrawers4")) + GameRegistry.addRecipe(new ItemStack(ModItems.upgradeTemplate, 2), "xxx", "xyx", "xxx", + 'x', Items.stick, 'y', new ItemStack(ModBlocks.fullDrawers4, 1, OreDictionary.WILDCARD_VALUE)); + if (config.isBlockEnabled("halfdrawers4")) + GameRegistry.addRecipe(new ItemStack(ModItems.upgradeTemplate, 2), "xxx", "xyx", "xxx", + 'x', Items.stick, 'y', new ItemStack(ModBlocks.halfDrawers4, 1, OreDictionary.WILDCARD_VALUE)); + } +} diff --git a/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/item/ItemDrawersPack.java b/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/item/ItemDrawersPack.java new file mode 100644 index 0000000..74213ff --- /dev/null +++ b/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/item/ItemDrawersPack.java @@ -0,0 +1,33 @@ +package com.jaquadro.minecraft.storagedrawers.packs.natura.item; + +import com.jaquadro.minecraft.storagedrawers.StorageDrawers; +import com.jaquadro.minecraft.storagedrawers.config.ConfigManager; +import com.jaquadro.minecraft.storagedrawers.item.ItemDrawers; +import com.jaquadro.minecraft.storagedrawers.packs.natura.block.BlockDrawersPack; +import com.jaquadro.minecraft.storagedrawers.packs.natura.core.ModBlocks; +import net.minecraft.block.Block; + +public class ItemDrawersPack extends ItemDrawers +{ + public ItemDrawersPack (Block block) { + super(block, BlockDrawersPack.textureNames); + } + + protected int getCapacityForBlock (Block block) { + ConfigManager config = StorageDrawers.config; + int count = 0; + + if (block == ModBlocks.fullDrawers1) + count = config.getBlockBaseStorage("fulldrawers1"); + else if (block == ModBlocks.fullDrawers2) + count = config.getBlockBaseStorage("fulldrawers2"); + else if (block == ModBlocks.fullDrawers4) + count = config.getBlockBaseStorage("fulldrawers4"); + else if (block == ModBlocks.halfDrawers2) + count = config.getBlockBaseStorage("halfdrawers2"); + else if (block == ModBlocks.halfDrawers4) + count = config.getBlockBaseStorage("halfdrawers4"); + + return count; + } +} diff --git a/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/item/ItemTrimPack.java b/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/item/ItemTrimPack.java new file mode 100644 index 0000000..29fed19 --- /dev/null +++ b/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/item/ItemTrimPack.java @@ -0,0 +1,12 @@ +package com.jaquadro.minecraft.storagedrawers.packs.natura.item; + +import com.jaquadro.minecraft.storagedrawers.item.ItemTrim; +import com.jaquadro.minecraft.storagedrawers.packs.natura.block.BlockDrawersPack; +import net.minecraft.block.Block; + +public class ItemTrimPack extends ItemTrim +{ + public ItemTrimPack (Block block) { + super(block, BlockDrawersPack.textureNames); + } +}