Add Erebus pack

This commit is contained in:
Justin Aquadro committed 2015-05-23 23:34:36 -04:00
1 parent 49966b11b4
commit 2dd686ed00
101 files changed
+967 -29

No files matched your search

+8 -4
View File
@@ -22,7 +22,7 @@ group= "com.jaquadro.minecraft.storagedrawers" // http://maven.apache.org/guides
archivesBaseName = "StorageDrawers"
minecraft {
version = "1.7.10-10.13.2.1340-1.7.10"
version = "1.7.10-10.13.3.1408-1.7.10"
assetDir = "runtime/assets"
replace '@VERSION@', project.version
@@ -66,7 +66,11 @@ repositories {
}
dependencies {
compile "appeng:appliedenergistics2:rv2-beta-28:api"
compile "codechicken:CodeChickenLib:1.7.10-1.1.3.136:dev"
compile "codechicken:CodeChickenCore:1.7.10-1.0.6.44:dev"
compile "codechicken:NotEnoughItems:1.7.10-1.0.4.107:dev"
compile "appeng:appliedenergistics2:rv2-stable-3:api"
compile name: 'MineTweaker3', version: "Dev-1.7.10-3.0.9B", ext: 'jar'
}
@@ -108,5 +112,5 @@ task copyChicken(type: Copy, dependsOn: "extractUserDev") {
mustRunAfter "deobfBinJar"
mustRunAfter "repackMinecraft"
}
tasks.setupDevWorkspace.dependsOn copyChicken
tasks.setupDecompWorkspace.dependsOn copyChicken
//tasks.setupDevWorkspace.dependsOn copyChicken
//tasks.setupDecompWorkspace.dependsOn copyChicken
+72
View File
@@ -0,0 +1,72 @@
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.1"
group= "com.jaquadro.minecraft.storagedrawers" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "StorageDrawers-Erebus"
minecraft {
version = "1.7.10-10.13.3.1408-1.7.10"
assetDir = "../../runtime/assets"
replace '@VERSION@', project.version
replace 'required-after:StorageDrawers', "required-after:StorageDrawers@[1.4.7,)"
}
sourceSets.main {
java {
srcDirs project.projectDir.getPath() + '/src'
}
resources {
srcDirs project.projectDir.getPath() + '/resources'
}
}
dependencies {
}
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
}
+6
View File
@@ -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
+164
View File
@@ -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 "$@"
+90
View File
@@ -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
@@ -0,0 +1,74 @@
itemGroup.storageDrawersErebus=Storage Drawers: Erebus Pack
# Blocks
tile.storagedrawerserebus.fullDrawers1.baobab.name=Baobab Drawer
tile.storagedrawerserebus.fullDrawers1.eucalyptus.name=Eucalyptus Drawer
tile.storagedrawerserebus.fullDrawers1.mahogany.name=Mahogany Drawer
tile.storagedrawerserebus.fullDrawers1.mossbark.name=Mossbark Drawer
tile.storagedrawerserebus.fullDrawers1.asper.name=Asper Drawer
tile.storagedrawerserebus.fullDrawers1.cypress.name=Cypress Drawer
tile.storagedrawerserebus.fullDrawers1.sap.name=Sap Drawer
tile.storagedrawerserebus.fullDrawers1.white.name=White Drawer
tile.storagedrawerserebus.fullDrawers1.bamboo.name=Bamboo Drawer
tile.storagedrawerserebus.fullDrawers1.rotten.name=Rotten Drawer
tile.storagedrawerserebus.fullDrawers1.marshwood.name=Marshwood Drawer
tile.storagedrawerserebus.fullDrawers2.baobab.name=Baobab Drawers 1x2
tile.storagedrawerserebus.fullDrawers2.eucalyptus.name=Eucalyptus Drawers 1x2
tile.storagedrawerserebus.fullDrawers2.mahogany.name=Mahogany Drawers 1x2
tile.storagedrawerserebus.fullDrawers2.mossbark.name=Mossbark Drawers 1x2
tile.storagedrawerserebus.fullDrawers2.asper.name=Asper Drawers 1x2
tile.storagedrawerserebus.fullDrawers2.cypress.name=Cypress Drawers 1x2
tile.storagedrawerserebus.fullDrawers2.sap.name=Sap Drawers 1x2
tile.storagedrawerserebus.fullDrawers2.white.name=White Drawers 1x2
tile.storagedrawerserebus.fullDrawers2.bamboo.name=Bamboo Drawers 1x2
tile.storagedrawerserebus.fullDrawers2.rotten.name=Rotten Drawers 1x2
tile.storagedrawerserebus.fullDrawers2.marshwood.name=Marshwood Drawers 1x2
tile.storagedrawerserebus.fullDrawers4.baobab.name=Baobab Drawers 2x2
tile.storagedrawerserebus.fullDrawers4.eucalyptus.name=Eucalyptus Drawers 2x2
tile.storagedrawerserebus.fullDrawers4.mahogany.name=Mahogany Drawers 2x2
tile.storagedrawerserebus.fullDrawers4.mossbark.name=Mossbark Drawers 2x2
tile.storagedrawerserebus.fullDrawers4.asper.name=Asper Drawers 2x2
tile.storagedrawerserebus.fullDrawers4.cypress.name=Cypress Drawers 2x2
tile.storagedrawerserebus.fullDrawers4.sap.name=Sap Drawers 2x2
tile.storagedrawerserebus.fullDrawers4.white.name=White Drawers 2x2
tile.storagedrawerserebus.fullDrawers4.bamboo.name=Bamboo Drawers 2x2
tile.storagedrawerserebus.fullDrawers4.rotten.name=Rotten Drawers 2x2
tile.storagedrawerserebus.fullDrawers4.marshwood.name=Marshwood Drawers 2x2
tile.storagedrawerserebus.halfDrawers2.baobab.name=Compact Baobab Drawers 1x2
tile.storagedrawerserebus.halfDrawers2.eucalyptus.name=Compact Eucalyptus Drawers 1x2
tile.storagedrawerserebus.halfDrawers2.mahogany.name=Compact Mahogany Drawers 1x2
tile.storagedrawerserebus.halfDrawers2.mossbark.name=Compact Mossbark Drawers 1x2
tile.storagedrawerserebus.halfDrawers2.asper.name=Compact Asper Drawers 1x2
tile.storagedrawerserebus.halfDrawers2.cypress.name=Compact Cypress Drawers 1x2
tile.storagedrawerserebus.halfDrawers2.sap.name=Compact Sap Drawers 1x2
tile.storagedrawerserebus.halfDrawers2.white.name=Compact White Drawers 1x2
tile.storagedrawerserebus.halfDrawers2.bamboo.name=Compact Bamboo Drawers 1x2
tile.storagedrawerserebus.halfDrawers2.rotten.name=Compact Rotten Drawers 1x2
tile.storagedrawerserebus.halfDrawers2.marshwood.name=Compact Marshwood Drawers 1x2
tile.storagedrawerserebus.halfDrawers4.baobab.name=Compact Baobab Drawers 2x2
tile.storagedrawerserebus.halfDrawers4.eucalyptus.name=Compact Eucalyptus Drawers 2x2
tile.storagedrawerserebus.halfDrawers4.mahogany.name=Compact Mahogany Drawers 2x2
tile.storagedrawerserebus.halfDrawers4.mossbark.name=Compact Mossbark Drawers 2x2
tile.storagedrawerserebus.halfDrawers4.asper.name=Compact Asper Drawers 2x2
tile.storagedrawerserebus.halfDrawers4.cypress.name=Compact Cypress Drawers 2x2
tile.storagedrawerserebus.halfDrawers4.sap.name=Compact Sap Drawers 2x2
tile.storagedrawerserebus.halfDrawers4.white.name=Compact White Drawers 2x2
tile.storagedrawerserebus.halfDrawers4.bamboo.name=Compact Bamboo Drawers 2x2
tile.storagedrawerserebus.halfDrawers4.rotten.name=Compact Rotten Drawers 2x2
tile.storagedrawerserebus.halfDrawers4.marshwood.name=Compact Marshwood Drawers 2x2
tile.storagedrawerserebus.trim.baobab.name=Baobab Trim
tile.storagedrawerserebus.trim.eucalyptus.name=Eucalyptus Trim
tile.storagedrawerserebus.trim.mahogany.name=Mahogany Trim
tile.storagedrawerserebus.trim.mossbark.name=Mossbark Trim
tile.storagedrawerserebus.trim.asper.name=Asper Trim
tile.storagedrawerserebus.trim.cypress.name=Cypress Trim
tile.storagedrawerserebus.trim.sap.name=Sap Trim
tile.storagedrawerserebus.trim.white.name=White Trim
tile.storagedrawerserebus.trim.bamboo.name=Bamboo Trim
tile.storagedrawerserebus.trim.rotten.name=Rotten Trim
tile.storagedrawerserebus.trim.marshwood.name=Marshwood Trim
Binary file not shown.

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 399 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 317 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 415 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 355 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 370 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 322 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 364 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 389 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 322 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 433 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 437 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 465 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 370 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 345 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 403 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 408 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 431 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 362 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 295 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 362 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 405 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 429 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 355 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 B

+15
View File
@@ -0,0 +1,15 @@
[
{
"modid": "StorageDrawersErebus",
"name": "Storage Drawers: Erebus Pack",
"description": "Adds additional wood styles from the Erebus mod.",
"version": "$version",
"credits": "By jaquadro",
"logoFile": "",
"url": "http://www.jaquadro.com/",
"authorList": [ "jaquadro" ],
"requiredMods": [ "Forge", "StorageDrawers" ],
"dependencies": [ "StorageDrawers" ],
"useDependencyInformation": true
}
]
@@ -0,0 +1,6 @@
package com.jaquadro.minecraft.storagedrawers.packs.erebus;
public class CommonProxy
{
}
@@ -0,0 +1,44 @@
package com.jaquadro.minecraft.storagedrawers.packs.erebus;
import com.jaquadro.minecraft.storagedrawers.packs.erebus.core.ModBlocks;
import com.jaquadro.minecraft.storagedrawers.packs.erebus.core.ModRecipes;
import com.jaquadro.minecraft.storagedrawers.packs.erebus.core.RefinedRelocation;
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 = "StorageDrawersErebus";
public static final String MOD_NAME = "Storage Drawers: Erebus Pack";
public static final String MOD_VERSION = "@VERSION@";
public static final String SOURCE_PATH = "com.jaquadro.minecraft.storagedrawers.packs.erebus.";
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) {
RefinedRelocation.init();
}
@Mod.EventHandler
public void postInit (FMLPostInitializationEvent event) {
recipes.init();
RefinedRelocation.postInit();
}
}
@@ -0,0 +1,64 @@
package com.jaquadro.minecraft.storagedrawers.packs.erebus.block;
import com.jaquadro.minecraft.storagedrawers.block.BlockDrawers;
import com.jaquadro.minecraft.storagedrawers.packs.erebus.StorageDrawersPack;
import com.jaquadro.minecraft.storagedrawers.packs.erebus.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[] blockNames = new String[] { "Baobab", "Eucalyptus", "Mahogany", "Mossbark", "Asper", "Cypress", null, "White", null, "Rotten", null };
public static String[] textureNames = new String[] { "baobab", "eucalyptus", "mahogany", "mossbark", "asper", "cypress", null, "white", null, "rotten", null };
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 = 0; i < textureNames.length; i++) {
if (textureNames[i] != null)
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++) {
if (subtex[i] == null)
continue;
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");
}
}
}
@@ -0,0 +1,62 @@
package com.jaquadro.minecraft.storagedrawers.packs.erebus.block;
import com.jaquadro.minecraft.storagedrawers.integration.refinedrelocation.BlockSortingDrawers;
import com.jaquadro.minecraft.storagedrawers.packs.erebus.StorageDrawersPack;
import com.jaquadro.minecraft.storagedrawers.packs.erebus.core.ModCreativeTabs;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
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 BlockSortingDrawersPack extends BlockSortingDrawers
{
public BlockSortingDrawersPack (String blockName, int drawerCount, boolean halfDepth) {
super(blockName, drawerCount, halfDepth);
setCreativeTab(ModCreativeTabs.tabStorageDrawers);
}
@Override
public void getSubBlocks (Item item, CreativeTabs creativeTabs, List list) {
for (int i = 0; i < BlockDrawersPack.textureNames.length; i++) {
if (BlockDrawersPack.textureNames[i] != null)
list.add(new ItemStack(item, 1, i));
}
}
@Override
@SideOnly(Side.CLIENT)
public void registerBlockIcons (IIconRegister register) {
super.registerBlockIcons(register);
String[] subtex = BlockDrawersPack.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];
iconSort = new IIcon[subtex.length];
for (int i = 0; i < subtex.length; i++) {
if (subtex[i] == null)
continue;
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");
iconSort[i] = register.registerIcon(StorageDrawersPack.MOD_ID + ":drawers_" + subtex[i] + "_sort");
}
}
}
@@ -0,0 +1,36 @@
package com.jaquadro.minecraft.storagedrawers.packs.erebus.block;
import com.jaquadro.minecraft.storagedrawers.block.BlockTrim;
import com.jaquadro.minecraft.storagedrawers.packs.erebus.core.ModBlocks;
import com.jaquadro.minecraft.storagedrawers.packs.erebus.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 = 0; i < BlockDrawersPack.textureNames.length; i++) {
if (BlockDrawersPack.textureNames[i] != null)
list.add(new ItemStack(item, 1, i));
}
}
@Override
@SideOnly(Side.CLIENT)
public IIcon getIcon (int side, int meta) {
return ModBlocks.fullDrawers1.getIcon(0, meta);
}
}
@@ -0,0 +1,49 @@
package com.jaquadro.minecraft.storagedrawers.packs.erebus.core;
import com.jaquadro.minecraft.storagedrawers.StorageDrawers;
import com.jaquadro.minecraft.storagedrawers.block.*;
import com.jaquadro.minecraft.storagedrawers.config.ConfigManager;
import com.jaquadro.minecraft.storagedrawers.packs.erebus.StorageDrawersPack;
import com.jaquadro.minecraft.storagedrawers.packs.erebus.block.BlockDrawersPack;
import com.jaquadro.minecraft.storagedrawers.packs.erebus.block.BlockTrimPack;
import com.jaquadro.minecraft.storagedrawers.packs.erebus.item.ItemDrawersPack;
import com.jaquadro.minecraft.storagedrawers.packs.erebus.item.ItemTrimPack;
import cpw.mods.fml.common.registry.GameRegistry;
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");
if (config.isBlockEnabled("fulldrawers2"))
GameRegistry.registerBlock(fullDrawers2, ItemDrawersPack.class, "fullDrawers2");
if (config.isBlockEnabled("fulldrawers4"))
GameRegistry.registerBlock(fullDrawers4, ItemDrawersPack.class, "fullDrawers4");
if (config.isBlockEnabled("halfdrawers2"))
GameRegistry.registerBlock(halfDrawers2, ItemDrawersPack.class, "halfDrawers2");
if (config.isBlockEnabled("halfdrawers4"))
GameRegistry.registerBlock(halfDrawers4, ItemDrawersPack.class, "halfDrawers4");
if (config.isBlockEnabled("trim"))
GameRegistry.registerBlock(trim, ItemTrimPack.class, "trim");
}
public static String makeName (String name) {
return StorageDrawersPack.MOD_ID.toLowerCase() + "." + name;
}
}
@@ -0,0 +1,39 @@
package com.jaquadro.minecraft.storagedrawers.packs.erebus.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("storageDrawersErebus") {
@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);
}
}
@@ -0,0 +1,69 @@
package com.jaquadro.minecraft.storagedrawers.packs.erebus.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.erebus.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("erebus", "planks");
for (int i = 0; i < BlockDrawersPack.blockNames.length; i++) {
if (BlockDrawersPack.blockNames[i] == null)
continue;
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 slab = GameRegistry.findBlock("erebus", "slabPlanks" + BlockDrawersPack.blockNames[i]);
if (slab != null) {
if (config.isBlockEnabled("halfdrawers2"))
GameRegistry.addRecipe(new ItemStack(ModBlocks.halfDrawers2, config.getBlockRecipeOutput("halfdrawers2"), i), "xyx", "xxx", "xyx",
'x', new ItemStack(slab, 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(slab, 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));
}
}
@@ -0,0 +1,74 @@
package com.jaquadro.minecraft.storagedrawers.packs.erebus.core;
import com.jaquadro.minecraft.storagedrawers.StorageDrawers;
import com.jaquadro.minecraft.storagedrawers.config.ConfigManager;
import com.jaquadro.minecraft.storagedrawers.integration.refinedrelocation.*;
import com.jaquadro.minecraft.storagedrawers.packs.erebus.block.BlockDrawersPack;
import com.jaquadro.minecraft.storagedrawers.packs.erebus.block.BlockSortingDrawersPack;
import com.jaquadro.minecraft.storagedrawers.packs.erebus.item.ItemSortingDrawersPack;
import cpw.mods.fml.common.Loader;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
public class RefinedRelocation
{
public static BlockSortingDrawersPack fullDrawers1;
public static BlockSortingDrawersPack fullDrawers2;
public static BlockSortingDrawersPack fullDrawers4;
public static BlockSortingDrawersPack halfDrawers2;
public static BlockSortingDrawersPack halfDrawers4;
public static void init () {
ConfigManager config = StorageDrawers.config;
if (!Loader.isModLoaded("RefinedRelocation") || !config.cache.enableRefinedRelocationIntegration)
return;
fullDrawers1 = new BlockSortingDrawersPack(ModBlocks.makeName("fullDrawers1"), 1, false);
fullDrawers2 = new BlockSortingDrawersPack(ModBlocks.makeName("fullDrawers2"), 2, false);
fullDrawers4 = new BlockSortingDrawersPack(ModBlocks.makeName("fullDrawers4"), 4, false);
halfDrawers2 = new BlockSortingDrawersPack(ModBlocks.makeName("halfDrawers2"), 2, true);
halfDrawers4 = new BlockSortingDrawersPack(ModBlocks.makeName("halfDrawers4"), 4, true);
SortingBlockRegistry.register(ModBlocks.fullDrawers1, fullDrawers1);
SortingBlockRegistry.register(ModBlocks.fullDrawers2, fullDrawers2);
SortingBlockRegistry.register(ModBlocks.fullDrawers4, fullDrawers4);
SortingBlockRegistry.register(ModBlocks.halfDrawers2, halfDrawers2);
SortingBlockRegistry.register(ModBlocks.halfDrawers4, halfDrawers4);
if (config.isBlockEnabled("fulldrawers1"))
GameRegistry.registerBlock(fullDrawers1, ItemSortingDrawersPack.class, "fullDrawersSort1");
if (config.isBlockEnabled("fulldrawers2"))
GameRegistry.registerBlock(fullDrawers2, ItemSortingDrawersPack.class, "fullDrawersSort2");
if (config.isBlockEnabled("fulldrawers4"))
GameRegistry.registerBlock(fullDrawers4, ItemSortingDrawersPack.class, "fullDrawersSort4");
if (config.isBlockEnabled("halfdrawers2"))
GameRegistry.registerBlock(halfDrawers2, ItemSortingDrawersPack.class, "halfDrawersSort2");
if (config.isBlockEnabled("halfdrawers4"))
GameRegistry.registerBlock(halfDrawers4, ItemSortingDrawersPack.class, "halfDrawersSort4");
}
public static void postInit () {
ConfigManager config = StorageDrawers.config;
if (!Loader.isModLoaded("RefinedRelocation") || !config.cache.enableRefinedRelocationIntegration)
return;
for (int i = 0; i < BlockDrawersPack.textureNames.length; i++) {
if (config.isBlockEnabled("fulldrawers1"))
GameRegistry.addRecipe(new ItemStack(fullDrawers1, 1, i), "x x", " y ", "x x",
'x', Items.gold_nugget, 'y', new ItemStack(ModBlocks.fullDrawers1, 1, i));
if (config.isBlockEnabled("fulldrawers2"))
GameRegistry.addRecipe(new ItemStack(fullDrawers2, 1, i), "x x", " y ", "x x",
'x', Items.gold_nugget, 'y', new ItemStack(ModBlocks.fullDrawers2, 1, i));
if (config.isBlockEnabled("halfdrawers2"))
GameRegistry.addRecipe(new ItemStack(halfDrawers2, 1, i), "x x", " y ", "x x",
'x', Items.gold_nugget, 'y', new ItemStack(ModBlocks.halfDrawers2, 1, i));
if (config.isBlockEnabled("fulldrawers4"))
GameRegistry.addRecipe(new ItemStack(fullDrawers4, 1, i), "x x", " y ", "x x",
'x', Items.gold_nugget, 'y', new ItemStack(ModBlocks.fullDrawers4, 1, i));
if (config.isBlockEnabled("halfdrawers4"))
GameRegistry.addRecipe(new ItemStack(halfDrawers4, 1, i), "x x", " y ", "x x",
'x', Items.gold_nugget, 'y', new ItemStack(ModBlocks.halfDrawers4, 1, i));
}
}
}
@@ -0,0 +1,33 @@
package com.jaquadro.minecraft.storagedrawers.packs.erebus.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.erebus.block.BlockDrawersPack;
import com.jaquadro.minecraft.storagedrawers.packs.erebus.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;
}
}
@@ -0,0 +1,49 @@
package com.jaquadro.minecraft.storagedrawers.packs.erebus.item;
import com.jaquadro.minecraft.storagedrawers.StorageDrawers;
import com.jaquadro.minecraft.storagedrawers.config.ConfigManager;
import com.jaquadro.minecraft.storagedrawers.packs.erebus.core.RefinedRelocation;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumChatFormatting;
import net.minecraft.util.StatCollector;
import java.util.List;
public class ItemSortingDrawersPack extends ItemDrawersPack
{
public ItemSortingDrawersPack (Block block) {
super(block);
}
@Override
@SideOnly(Side.CLIENT)
public void addInformation (ItemStack itemStack, EntityPlayer player, List list, boolean par4) {
super.addInformation(itemStack, player, list, par4);
Block block = Block.getBlockFromItem(itemStack.getItem());
list.add(EnumChatFormatting.YELLOW + StatCollector.translateToLocalFormatted("storageDrawers.waila.sorting"));
}
@Override
protected int getCapacityForBlock (Block block) {
ConfigManager config = StorageDrawers.config;
int count = 0;
if (block == RefinedRelocation.fullDrawers1)
count = config.getBlockBaseStorage("fulldrawers1");
else if (block == RefinedRelocation.fullDrawers2)
count = config.getBlockBaseStorage("fulldrawers2");
else if (block == RefinedRelocation.fullDrawers4)
count = config.getBlockBaseStorage("fulldrawers4");
else if (block == RefinedRelocation.halfDrawers2)
count = config.getBlockBaseStorage("halfdrawers2");
else if (block == RefinedRelocation.halfDrawers4)
count = config.getBlockBaseStorage("halfdrawers4");
return count;
}
}
@@ -0,0 +1,12 @@
package com.jaquadro.minecraft.storagedrawers.packs.erebus.item;
import com.jaquadro.minecraft.storagedrawers.item.ItemTrim;
import com.jaquadro.minecraft.storagedrawers.packs.erebus.block.BlockDrawersPack;
import net.minecraft.block.Block;
public class ItemTrimPack extends ItemTrim
{
public ItemTrimPack (Block block) {
super(block, BlockDrawersPack.textureNames);
}
}
Loaded 100 of 101 files, more files were not shown because too many files have changed in this diff. Show more