Compare commits

..
Author SHA1 Message Date
Martin Robertz db153cc71e update deps and bs 2023-07-15 15:36:15 +02:00
204 changed files with 2406 additions and 1842 deletions

No files matched your search

+51
View File
@@ -0,0 +1,51 @@
#!/usr/bin/env bash
# bashsupport disable=BP5006 # Global environment variables
RUNDIR="run" \
CRASH="crash-reports" \
SERVERLOG="server.log"
# enable nullglob to get 0 results when no match rather than the pattern
shopt -s nullglob
# store matches in array
crash_reports=("$RUNDIR/$CRASH/crash"*.txt)
# if array not empty there are crash_reports
if [ "${#crash_reports[@]}" -gt 0 ]; then
# get the latest crash_report from array
latest_crash_report="${crash_reports[-1]}"
{
printf 'Latest crash report detected %s:\n' "${latest_crash_report##*/}"
cat "$latest_crash_report"
} >&2
exit 1
fi
if grep --quiet --fixed-strings 'Fatal errors were detected' "$SERVERLOG"; then
{
printf 'Fatal errors detected:\n'
cat server.log
} >&2
exit 1
fi
if grep --quiet --fixed-strings 'The state engine was in incorrect state ERRORED and forced into state SERVER_STOPPED' \
"$SERVERLOG"; then
{
printf 'Server force stopped:'
cat server.log
} >&2
exit 1
fi
if ! grep --quiet --perl-regexp --only-matching '.+Done \(.+\)\! For help, type "help" or "\?"' "$SERVERLOG"; then
{
printf 'Server did not finish startup:'
cat server.log
} >&2
exit 1
fi
printf 'No crash reports detected'
exit 0
-17
View File
@@ -1,17 +0,0 @@
name: Optimize images
on:
pull_request:
branches: [ master, main, release/** ]
paths:
- "**/*.png"
push:
branches: [ master, main, release/** ]
paths:
- "**/*.png"
jobs:
optimize-images:
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/optimize-images.yml@master
secrets: inherit
-1
View File
@@ -29,4 +29,3 @@ src/main/resources/mixins.*.json
*.bat
*.DS_Store
!gradlew.bat
layout.json
+1603 -3
View File
File diff suppressed because it is too large. Load diff
+6 -7
View File
@@ -1,14 +1,13 @@
// Add your dependencies here
dependencies {
api('com.github.GTNewHorizons:ForestryMC:4.11.8:dev')
compile('com.github.GTNewHorizons:ForestryMC:4.6.12-pre:dev')
compileOnly('com.github.GTNewHorizons:BloodMagic:1.8.14:dev')
compileOnly('com.github.GTNewHorizons:ThaumicHorizons:1.8.11:dev')
compileOnly('com.github.GTNewHorizons:Baubles-Expanded:2.2.11-GTNH:dev') {transitive = false}
compileOnly('com.github.GTNewHorizons:Botania:1.13.16-GTNH:api') {transitive = false}
compileOnly('com.github.GTNewHorizons:BloodMagic:1.4.2:dev')
compileOnly('com.github.GTNewHorizons:Baubles:1.0.1.16:dev') {transitive = false}
compileOnly('com.github.GTNewHorizons:Botania:1.9.23-GTNH:api') {transitive = false}
compileOnly('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev') {transitive = false}
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.52.347:dev')
compileOnly('com.github.GTNewHorizons:ThaumicEnergistics:1.7.34-GTNH:dev')
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.43.128:dev') { transitive = false }
}
+26 -200
View File
@@ -1,238 +1,64 @@
# ExampleMod tag to use as Blowdryer (Spotless, etc.) settings version, leave empty to disable.
# LOCAL to test local config updates.
gtnh.settings.blowdryerTag = 0.2.0
# Human-readable mod name, available for mcmod.info population.
modName = Magic Bees
# Case-sensitive identifier string, available for mcmod.info population and used for automatic mixin JSON generation.
# Conventionally lowercase.
# This is a case-sensitive string to identify your mod. Convention is to use lower case.
modId = MagicBees
# Root package of the mod, used to find various classes in other properties,
# mcmod.info substitution, enabling assertions in run tasks, etc.
modGroup = magicbees
# Whether to use modGroup as the maven publishing group.
# When false, com.github.GTNewHorizons is used.
useModGroupForPublishing = false
# WHY is there no version field?
# The build script relies on git to provide a version via tags. It is super easy and will enable you to always know the
# code base or your binary. Check out this tutorial: https://blog.mattclemente.com/2017/10/13/versioning-with-git-tags/
# Updates your build.gradle and settings.gradle automatically whenever an update is available.
# Will update your build.gradle automatically whenever an update is available
autoUpdateBuildScript = false
# Version of Minecraft to target
minecraftVersion = 1.7.10
# Version of Minecraft Forge to target
forgeVersion = 10.13.4.1614
# Specify an MCP channel for dependency deobfuscation and the deobfParams task.
channel = stable
# Specify an MCP mappings version for dependency deobfuscation and the deobfParams task.
mappingsVersion = 12
# Defines other MCP mappings for dependency deobfuscation.
remoteMappings = https\://raw.githubusercontent.com/MinecraftForge/FML/1.7.10/conf/
# Select a default username for testing your mod. You can always override this per-run by running
# `./gradlew runClient --username=AnotherPlayer`, or configuring this command in your IDE.
# Select a username for testing your mod with breakpoints. You may leave this empty for a random user name each time you
# restart Minecraft in development. Choose this dependent on your mod:
# Do you need consistent player progressing (for example Thaumcraft)? -> Select a name
# Do you need to test how your custom blocks interacts with a player that is not the owner? -> leave name empty
developmentEnvironmentUserName = Developer
# Enables modern Java syntax support. Valid values:
# - false: No modern syntax, Java 8 only
# - jabel: Jabel syntax-only support, compiles to J8 bytecode
# - jvmDowngrader: Full modern Java via JVM Downgrader (syntax + stdlib APIs)
# - modern: Native modern Java bytecode, no downgrading
enableModernJavaSyntax = false
# If set, ignores the above setting and compiles with the given toolchain. This may cause unexpected issues,
# and should *not* be used in most situations. -1 disables this.
# forceToolchainVersion = -1
# Target JVM version for JVM Downgrader bytecode downgrading.
# Only used when enableModernJavaSyntax = jvmDowngrader
# downgradeTargetVersion = 8
# Comma-separated list of Java versions for multi-release jar support (JVM Downgrader only).
# Classes will be available in META-INF/versions/N/ for each version N in this list.
# Default: "21,25" (J25+ gets native classes, J21-24 gets partial downgrade, J8-20 gets full downgrade).
# jvmDowngraderMultiReleaseVersions = 21,25
# Specifies how JVM Downgrader API stubs are provided. Options:
# - shade: Shade minimized stubs into the jar
# - gtnhlib: GTNHLib provides stubs at runtime (adds version constraint)
# - external: Another dependency provides stubs (no constraint, no warning)
# - (empty): Warning reminding you to configure stubs
# Note: 'shade' option requires you to verify license compliance, see: https://github.com/unimined/JvmDowngrader/blob/main/LICENSE.md
# jvmDowngraderStubsProvider =
# Enables injecting missing generics into the decompiled source code for a better coding experience.
# Turns most publicly visible List, Map, etc. into proper List<E>, Map<K, V> types.
enableGenericInjection = false
# Generate a class with a String field for the mod version named as defined below.
# If generateGradleTokenClass is empty or not missing, no such class will be generated.
# If gradleTokenVersion is empty or missing, the field will not be present in the class.
generateGradleTokenClass = magicbees.Tags
# Name of the token containing the project's current version to generate/replace.
gradleTokenVersion = VERSION
# [DEPRECATED] Mod ID replacement token.
gradleTokenModId =
# [DEPRECATED] Mod name replacement token.
gradleTokenModName =
# [DEPRECATED] Mod Group replacement token.
gradleTokenGroupName =
# [DEPRECATED]
# Multiple source files can be defined here by providing a comma-separated list: Class1.java,Class2.java,Class3.java
# Define a source file of your project with:
# public static final String VERSION = "GRADLETOKEN_VERSION";
# The string's content will be replaced with your mod's version when compiled. You should use this to specify your mod's
# version in @Mod([...], version = VERSION, [...]).
# Leave these properties empty to skip individual token replacements.
replaceGradleTokenInFile =
# The string's content will be replaced with your mods version when compiled. You should use this to specify your mod's
# version in @Mod([...], version = VERSION, [...])
# Leave these properties empty to skip individual token replacements
replaceGradleTokenInFile = VersionInfo.java
gradleTokenModId =
gradleTokenModName =
gradleTokenVersion = GRADLETOKEN_VERSION
gradleTokenGroupName =
# In case your mod provides an API for other mods to implement you may declare its package here. Otherwise, you can
# leave this property empty.
# Example value: (apiPackage = api) + (modGroup = com.myname.mymodid) -> com.myname.mymodid.api
# Example value: apiPackage = api + modGroup = com.myname.mymodid -> com.myname.mymodid.api
apiPackage = api
# Specify the configuration file for Forge's access transformers here. It must be placed into /src/main/resources/META-INF/
# There can be multiple files in a space-separated list.
# Example value: mymodid_at.cfg nei_at.cfg
# Specify the configuration file for Forge's access transformers here. I must be placed into /src/main/resources/META-INF/
# Example value: mymodid_at.cfg
accessTransformersFile =
# Provides setup for Mixins if enabled. If you don't know what mixins are: Keep it disabled!
usesMixins = false
# Set to a non-empty string to configure mixins in a separate source set under src/VALUE, instead of src/main.
# This can speed up compile times thanks to not running the mixin annotation processor on all input sources.
# Mixin classes will have access to "main" classes, but not the other way around.
separateMixinSourceSet =
# Adds some debug arguments like verbose output and class export.
usesMixinDebug = false
# Specify the location of your implementation of IMixinConfigPlugin. Leave it empty otherwise.
mixinPlugin =
# Specify the package that contains all of your Mixins. The package must exist or
# the build will fail. If you have a package property defined in your mixins.<modid>.json,
# it must match with this or the build will fail.
# Specify the package that contains all of your Mixins. You may only place Mixins in this package or the build will fail!
mixinsPackage =
# Specify the core mod entry class if you use a core mod. This class must implement IFMLLoadingPlugin!
# This parameter is for legacy compatibility only
# Example value: (coreModClass = asm.FMLPlugin) + (modGroup = com.myname.mymodid) -> com.myname.mymodid.asm.FMLPlugin
# Example value: coreModClass = asm.FMLPlugin + modGroup = com.myname.mymodid -> com.myname.mymodid.asm.FMLPlugin
coreModClass =
# If your project is only a consolidation of mixins or a core mod and does NOT contain a 'normal' mod ( = some class
# that is annotated with @Mod) you want this to be true. When in doubt: leave it on false!
containsMixinsAndOrCoreModOnly = false
# Enables Mixins even if this mod doesn't use them, useful if one of the dependencies uses mixins.
forceEnableMixins = false
# If enabled, you may use 'shadowCompile' for dependencies. They will be integrated into your jar. It is your
# responsibility to check the license and request permission for distribution if required.
# If enabled, you may use 'shadowCompile' for dependencies. They will be integrated in your jar. It is your
# responsibility check the licence and request permission for distribution, if required.
usesShadowedDependencies = false
# If disabled, won't remove unused classes from shadowed dependencies. Some libraries use reflection to access
# their own classes, making the minimization unreliable.
minimizeShadowedDependencies = true
# If disabled, won't rename the shadowed classes.
relocateShadowedDependencies = true
# Adds CurseMaven, Modrinth, and some more well-known 1.7.10 repositories.
includeWellKnownRepositories = true
# A list of repositories to exclude from the includeWellKnownRepositories setting. Should be a space separated
# list of strings, with the acceptable keys being(case does not matter):
# cursemaven
# modrinth
excludeWellKnownRepositories =
# Change these to your Maven coordinates if you want to publish to a custom Maven repository instead of the default GTNH Maven.
# Authenticate with the MAVEN_USER and MAVEN_PASSWORD environment variables.
# If you need a more complex setup disable maven publishing here and add a publishing repository to addon.gradle.
usesMavenPublishing = true
# Maven repository to publish the mod to.
# mavenPublishUrl = https\://nexus.gtnewhorizons.com/repository/releases/
# Publishing to Modrinth requires you to set the MODRINTH_TOKEN environment variable to your current Modrinth API token.
#
# The project's ID on Modrinth. Can be either the slug or the ID.
# Leave this empty if you don't want to publish to Modrinth.
modrinthProjectId =
# The project's relations on Modrinth. You can use this to refer to other projects on Modrinth.
# Syntax: scope1-type1:name1;scope2-type2:name2;...
# Where scope can be one of [required, optional, incompatible, embedded],
# type can be one of [project, version],
# and the name is the Modrinth project or version slug/id of the other mod.
# Example: required-project:fplib;optional-project:gasstation;incompatible-project:gregtech
# Note: UniMixins is automatically set as a required dependency if usesMixins = true.
modrinthRelations =
# Publishing to CurseForge requires you to set the CURSEFORGE_TOKEN environment variable to one of your CurseForge API tokens.
#
# The project's numeric ID on CurseForge. You can find this in the About Project box.
# Leave this empty if you don't want to publish on CurseForge.
curseForgeProjectId =
# The project's relations on CurseForge. You can use this to refer to other projects on CurseForge.
# Syntax: type1:name1;type2:name2;...
# Where type can be one of [requiredDependency, embeddedLibrary, optionalDependency, tool, incompatible],
# and the name is the CurseForge project slug of the other mod.
# Example: requiredDependency:railcraft;embeddedLibrary:cofhlib;incompatible:buildcraft
# Note: UniMixins is automatically set as a required dependency if usesMixins = true.
curseForgeRelations =
# Optional parameter to customize the produced artifacts. Use this to preserve artifact naming when migrating older
# Optional parameter to customize the produced artifacts. Use this to preserver artifact naming when migrating older
# projects. New projects should not use this parameter.
customArchiveBaseName = magicbees
# Optional parameter to customize the default working directory used by the runClient* tasks. Relative to the project directory.
# runClientWorkingDirectory = run/client
# Optional parameter to customize the default working directory used by the runServer* tasks. Relative to the project directory.
# runServerWorkingDirectory = run/server
# Optional parameter to have the build automatically fail if an illegal version is used.
# This can be useful if you e.g. only want to allow versions in the form of '1.1.xxx'.
# The check is ONLY performed if the version is a git tag.
# Note: the specified string must be escaped, so e.g. 1\\.1\\.\\d+ instead of 1\.1\.\d+
# versionPattern =
# Uncomment to prevent the source code from being published.
# noPublishedSources = true
# Uncomment this to disable Spotless checks.
# This should only be uncommented to keep it easier to sync with upstream/other forks.
# That is, if there is no other active fork/upstream, NEVER change this.
# disableSpotless = true
# Uncomment this to disable Checkstyle checks (currently wildcard import check).
# disableCheckstyle = true
# Override the IDEA build type. Valid values are: "" (leave blank, do not override), "idea" (force use native IDEA build), "gradle"
# (force use delegated build).
# This is meant to be set in $HOME/.gradle/gradle.properties.
# e.g. add "systemProp.org.gradle.project.ideaOverrideBuildType=idea" will override the build type to be native build.
# WARNING: If you do use this option, it will overwrite whatever you have in your existing projects. This might not be what you want!
# Usually there is no need to uncomment this here as other developers do not necessarily use the same build type as you.
# ideaOverrideBuildType = idea
# Whether IDEA should run spotless checks when pressing the Build button.
# This is meant to be set in $HOME/.gradle/gradle.properties.
# ideaCheckSpotlessOnBuild = true
# Non-GTNH properties
org.gradle.configuration-cache = true
org.gradle.parallel = true
-12
View File
@@ -1,12 +0,0 @@
#This file is generated by updateDaemonJvm
toolchainUrl.FREE_BSD.AARCH64=https\://api.foojay.io/disco/v3.0/ids/c5ee947fbfb70bc347d8d531e3a578c4/redirect
toolchainUrl.FREE_BSD.X86_64=https\://api.foojay.io/disco/v3.0/ids/cd495626d2ee49a75447e3fdc6afb287/redirect
toolchainUrl.LINUX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/c5ee947fbfb70bc347d8d531e3a578c4/redirect
toolchainUrl.LINUX.X86_64=https\://api.foojay.io/disco/v3.0/ids/cd495626d2ee49a75447e3fdc6afb287/redirect
toolchainUrl.MAC_OS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/d4fd992c9557644e637ebe98263e0ae7/redirect
toolchainUrl.MAC_OS.X86_64=https\://api.foojay.io/disco/v3.0/ids/59a9771cad43219260d9aac9a8ec4d6a/redirect
toolchainUrl.UNIX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/c5ee947fbfb70bc347d8d531e3a578c4/redirect
toolchainUrl.UNIX.X86_64=https\://api.foojay.io/disco/v3.0/ids/cd495626d2ee49a75447e3fdc6afb287/redirect
toolchainUrl.WINDOWS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/3689d0bcdd77ac01674ba3c9dbbe94d0/redirect
toolchainUrl.WINDOWS.X86_64=https\://api.foojay.io/disco/v3.0/ids/8e1d9ee5d0f13e442218f6884a306da1/redirect
toolchainVersion=25
Binary file not shown.
+1 -2
View File
@@ -1,7 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Vendored
+18 -22
View File
@@ -1,7 +1,7 @@
#!/bin/sh
#
# Copyright © 2015 the original authors.
# Copyright © 2015-2021 the original authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -15,8 +15,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#
##############################################################################
#
@@ -57,7 +55,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/b631911858264c0b6e4d6603d677ff5218766cee/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -85,8 +83,10 @@ done
# This is normally unused
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
@@ -114,6 +114,7 @@ case "$( uname )" in #(
NONSTOP* ) nonstop=true ;;
esac
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
@@ -132,13 +133,10 @@ location of your Java installation."
fi
else
JAVACMD=java
if ! command -v java >/dev/null 2>&1
then
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
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
fi
# Increase the maximum file descriptors if we can.
@@ -146,7 +144,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #(
max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC2039,SC3045
# shellcheck disable=SC3045
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
@@ -154,7 +152,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC2039,SC3045
# shellcheck disable=SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac
@@ -171,6 +169,7 @@ fi
# For Cygwin or MSYS, switch paths to Windows format before running java
if "$cygwin" || "$msys" ; then
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
JAVACMD=$( cygpath --unix "$JAVACMD" )
@@ -198,19 +197,16 @@ if "$cygwin" || "$msys" ; then
done
fi
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Collect all arguments for the java command:
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# and any embedded shellness will be escaped.
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
# treated as '${Hostname}' itself on the command line.
# Collect all arguments for the java command;
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
# shell script including quotes and variable substitutions, so put them in
# double quotes to make sure that they get re-expanded; and
# * put everything else in single quotes, so that it's not re-expanded.
set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
-classpath "$CLASSPATH" \
org.gradle.wrapper.GradleWrapperMain \
"$@"
# Stop when "xargs" is not available.
Vendored
+12 -13
View File
@@ -13,8 +13,6 @@
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@rem SPDX-License-Identifier: Apache-2.0
@rem
@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
@@ -45,11 +43,11 @@ set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute
echo. 1>&2
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2
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
@@ -59,21 +57,22 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto execute
echo. 1>&2
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2
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
: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%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
:end
@rem End local scope for the variables with windows NT shell
+2
View File
@@ -0,0 +1,2 @@
before_install:
- ./gradlew setupCIWorkspace
+22
View File
@@ -1,4 +1,26 @@
// Add any additional repositories for your dependencies here
repositories {
maven {
name 'GTNH Maven'
url 'http://jenkins.usrv.eu:8081/nexus/content/groups/public/'
allowInsecureProtocol
}
maven {
name 'ic2'
url 'https://maven.ic2.player.to/'
metadataSources {
mavenPom()
artifact()
}
}
maven {
url 'https://jitpack.io'
}
maven {
url 'https://cursemaven.com'
content {
includeGroup 'curse.maven'
}
}
}
+10 -5
View File
@@ -4,10 +4,10 @@ pluginManagement {
maven {
// RetroFuturaGradle
name "GTNH Maven"
url "https://nexus.gtnewhorizons.com/repository/public/"
url "http://jenkins.usrv.eu:8081/nexus/content/groups/public/"
allowInsecureProtocol = true
mavenContent {
includeGroup("com.gtnewhorizons")
includeGroupByRegex("com\\.gtnewhorizons\\..+")
includeGroup("com.gtnewhorizons.retrofuturagradle")
}
}
gradlePluginPortal()
@@ -17,7 +17,12 @@ pluginManagement {
}
plugins {
id 'com.gtnewhorizons.gtnhsettingsconvention' version '2.0.24'
id 'com.diffplug.blowdryerSetup' version '1.6.0'
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.4.0' // Provides java toolchains
}
blowdryerSetup {
repoSubfolder 'gtnhShared'
github('GTNewHorizons/ExampleMod1.7.10', 'tag', '0.2.0')
//devLocal '.' // Use this when testing config updates locally
}
@@ -19,7 +19,7 @@ public class BeeGenomeManager {
// Basic genome for All thaumic bees.
private static IAllele[] getTemplateModBase() {
IAllele[] genome = new IAllele[EnumBeeChromosome.VALUES.length];
IAllele[] genome = new IAllele[EnumBeeChromosome.values().length];
genome[EnumBeeChromosome.SPECIES.ordinal()] = BeeSpecies.MYSTICAL.getSpecies();
genome[EnumBeeChromosome.SPEED.ordinal()] = Allele.getBaseAllele("speedSlowest");
@@ -836,15 +836,6 @@ public class BeeGenomeManager {
return genome;
}
public static IAllele[] getTemplateTCEssentia() {
IAllele[] genome = getTemplateTCBase();
genome[EnumBeeChromosome.SPECIES.ordinal()] = BeeSpecies.TC_ESSENTIA.getSpecies();
genome[EnumBeeChromosome.FERTILITY.ordinal()] = Allele.getBaseAllele("fertilityNormal");
return genome;
}
public static IAllele[] getTemplateTCAir() {
IAllele[] genome = getTemplateTCBase();
@@ -488,11 +488,6 @@ public class BeeMutation {
BeeSpecies.SUPERNATURAL.getSpecies(),
BeeSpecies.TC_CHAOS.getGenome(),
8).requireResource(ThaumcraftHelper.crystal, ThaumcraftHelper.ShardType.CHAOS.ordinal());
beeMutationFactory.createMutation(
BeeSpecies.TC_ORDER.getSpecies(),
BeeSpecies.TC_CHAOS.getSpecies(),
BeeSpecies.TC_ESSENTIA.getGenome(),
8).requireResource(ThaumcraftHelper.crystal, ThaumcraftHelper.ShardType.CHAOS.ordinal());
beeMutationFactory.createMutation(
BeeSpecies.ETHEREAL.getSpecies(),
@@ -1,136 +1,13 @@
package magicbees.bees;
import static magicbees.bees.BeeSpecies.ABANDONED;
import static magicbees.bees.BeeSpecies.AE_SKYSTONE;
import static magicbees.bees.BeeSpecies.ALUMINUM;
import static magicbees.bees.BeeSpecies.AM_AIR;
import static magicbees.bees.BeeSpecies.AM_ARCANE;
import static magicbees.bees.BeeSpecies.AM_EARTH;
import static magicbees.bees.BeeSpecies.AM_ESSENCE;
import static magicbees.bees.BeeSpecies.AM_FIRE;
import static magicbees.bees.BeeSpecies.AM_ICE;
import static magicbees.bees.BeeSpecies.AM_LIGHTNING;
import static magicbees.bees.BeeSpecies.AM_PLANT;
import static magicbees.bees.BeeSpecies.AM_QUINTESSENCE;
import static magicbees.bees.BeeSpecies.AM_VORTEX;
import static magicbees.bees.BeeSpecies.AM_WATER;
import static magicbees.bees.BeeSpecies.AM_WIGHT;
import static magicbees.bees.BeeSpecies.APATITE;
import static magicbees.bees.BeeSpecies.ARCANE;
import static magicbees.bees.BeeSpecies.ARDITE;
import static magicbees.bees.BeeSpecies.ATTUNED;
import static magicbees.bees.BeeSpecies.AWARE;
import static magicbees.bees.BeeSpecies.BATTY;
import static magicbees.bees.BeeSpecies.BEEF;
import static magicbees.bees.BeeSpecies.BIGBAD;
import static magicbees.bees.BeeSpecies.BOT_ALFHEIM;
import static magicbees.bees.BeeSpecies.BOT_BLOSSOM;
import static magicbees.bees.BeeSpecies.BOT_BOTANIC;
import static magicbees.bees.BeeSpecies.BOT_DREAMING;
import static magicbees.bees.BeeSpecies.BOT_FLORAL;
import static magicbees.bees.BeeSpecies.BOT_ROOTED;
import static magicbees.bees.BeeSpecies.BOT_SOMNOLENT;
import static magicbees.bees.BeeSpecies.BOT_VAZBEE;
import static magicbees.bees.BeeSpecies.BRAINY;
import static magicbees.bees.BeeSpecies.CATTY;
import static magicbees.bees.BeeSpecies.CERTUS;
import static magicbees.bees.BeeSpecies.CHARMED;
import static magicbees.bees.BeeSpecies.CHICKEN;
import static magicbees.bees.BeeSpecies.COBALT;
import static magicbees.bees.BeeSpecies.COPPER;
import static magicbees.bees.BeeSpecies.CRUMBLING;
import static magicbees.bees.BeeSpecies.DIAMOND;
import static magicbees.bees.BeeSpecies.DOCTORAL;
import static magicbees.bees.BeeSpecies.DRACONIC;
import static magicbees.bees.BeeSpecies.EARTHY;
import static magicbees.bees.BeeSpecies.EE_MINIUM;
import static magicbees.bees.BeeSpecies.ELDRITCH;
import static magicbees.bees.BeeSpecies.EMERALD;
import static magicbees.bees.BeeSpecies.ENCHANTED;
import static magicbees.bees.BeeSpecies.ESOTERIC;
import static magicbees.bees.BeeSpecies.ETHEREAL;
import static magicbees.bees.BeeSpecies.FIREY;
import static magicbees.bees.BeeSpecies.FLUIX;
import static magicbees.bees.BeeSpecies.FORLORN;
import static magicbees.bees.BeeSpecies.GHASTLY;
import static magicbees.bees.BeeSpecies.GOLD;
import static magicbees.bees.BeeSpecies.HATEFUL;
import static magicbees.bees.BeeSpecies.HORSE;
import static magicbees.bees.BeeSpecies.INFERNAL;
import static magicbees.bees.BeeSpecies.INVISIBLE;
import static magicbees.bees.BeeSpecies.IRON;
import static magicbees.bees.BeeSpecies.LEAD;
import static magicbees.bees.BeeSpecies.LORDLY;
import static magicbees.bees.BeeSpecies.MANYULLYN;
import static magicbees.bees.BeeSpecies.MUTABLE;
import static magicbees.bees.BeeSpecies.MYSTERIOUS;
import static magicbees.bees.BeeSpecies.MYSTICAL;
import static magicbees.bees.BeeSpecies.NAMELESS;
import static magicbees.bees.BeeSpecies.OBLIVION;
import static magicbees.bees.BeeSpecies.PORK;
import static magicbees.bees.BeeSpecies.PUPIL;
import static magicbees.bees.BeeSpecies.RSA_FLUXED;
import static magicbees.bees.BeeSpecies.SAVANT;
import static magicbees.bees.BeeSpecies.SCHOLARLY;
import static magicbees.bees.BeeSpecies.SHEEPISH;
import static magicbees.bees.BeeSpecies.SILICON;
import static magicbees.bees.BeeSpecies.SILVER;
import static magicbees.bees.BeeSpecies.SKULKING;
import static magicbees.bees.BeeSpecies.SMOULDERING;
import static magicbees.bees.BeeSpecies.SORCEROUS;
import static magicbees.bees.BeeSpecies.SOUL;
import static magicbees.bees.BeeSpecies.SPIDERY;
import static magicbees.bees.BeeSpecies.SPIRIT;
import static magicbees.bees.BeeSpecies.SPITEFUL;
import static magicbees.bees.BeeSpecies.SUPERNATURAL;
import static magicbees.bees.BeeSpecies.TC_AIR;
import static magicbees.bees.BeeSpecies.TC_CHAOS;
import static magicbees.bees.BeeSpecies.TC_EARTH;
import static magicbees.bees.BeeSpecies.TC_EMPOWERING;
import static magicbees.bees.BeeSpecies.TC_FIRE;
import static magicbees.bees.BeeSpecies.TC_HUNGRY;
import static magicbees.bees.BeeSpecies.TC_NEXUS;
import static magicbees.bees.BeeSpecies.TC_ORDER;
import static magicbees.bees.BeeSpecies.TC_PURE;
import static magicbees.bees.BeeSpecies.TC_REJUVENATING;
import static magicbees.bees.BeeSpecies.TC_TAINT;
import static magicbees.bees.BeeSpecies.TC_VIS;
import static magicbees.bees.BeeSpecies.TC_VOID;
import static magicbees.bees.BeeSpecies.TC_WATER;
import static magicbees.bees.BeeSpecies.TC_WISPY;
import static magicbees.bees.BeeSpecies.TE_AMPED;
import static magicbees.bees.BeeSpecies.TE_BLIZZY;
import static magicbees.bees.BeeSpecies.TE_BRONZE;
import static magicbees.bees.BeeSpecies.TE_COAL;
import static magicbees.bees.BeeSpecies.TE_DANTE;
import static magicbees.bees.BeeSpecies.TE_DESTABILIZED;
import static magicbees.bees.BeeSpecies.TE_ELECTRUM;
import static magicbees.bees.BeeSpecies.TE_ENDEARING;
import static magicbees.bees.BeeSpecies.TE_GELID;
import static magicbees.bees.BeeSpecies.TE_GROUNDED;
import static magicbees.bees.BeeSpecies.TE_INVAR;
import static magicbees.bees.BeeSpecies.TE_LUMIUS;
import static magicbees.bees.BeeSpecies.TE_LUX;
import static magicbees.bees.BeeSpecies.TE_NICKEL;
import static magicbees.bees.BeeSpecies.TE_PLATINUM;
import static magicbees.bees.BeeSpecies.TE_PYRO;
import static magicbees.bees.BeeSpecies.TE_ROCKING;
import static magicbees.bees.BeeSpecies.TE_SHOCKING;
import static magicbees.bees.BeeSpecies.TE_SIGNALUS;
import static magicbees.bees.BeeSpecies.TE_WINSOME;
import static magicbees.bees.BeeSpecies.TIMELY;
import static magicbees.bees.BeeSpecies.TIN;
import static magicbees.bees.BeeSpecies.TRANSMUTING;
import static magicbees.bees.BeeSpecies.UNUSUAL;
import static magicbees.bees.BeeSpecies.WATERY;
import static magicbees.bees.BeeSpecies.WINDY;
import static magicbees.bees.BeeSpecies.WITHERING;
import static magicbees.bees.BeeSpecies.*;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.OreDictionary;
import cpw.mods.fml.common.Loader;
import gregtech.api.enums.Materials;
import magicbees.item.types.CombType;
import magicbees.item.types.DropType;
@@ -261,11 +138,11 @@ public class BeeProductHelper {
}
public static void initOreDictSProducts() {
boolean isGTNHCoreModLoaded = Config.isGTNHCoreModLoaded;
boolean isGTLoaded = Loader.isModLoaded("gregtech");
SILVER.addProduct(ForestryHelper.itemHoneycomb, 0.10f);
if (OreDictionary.getOres("nuggetSilver").size() > 0) {
SILVER.addSpecialty(
isGTNHCoreModLoaded ? Materials.Silver.getNuggets(1) : OreDictionary.getOres("nuggetSilver").get(0),
isGTLoaded ? Materials.Silver.getNuggets(1) : OreDictionary.getOres("nuggetSilver").get(0),
0.16f);
} else {
SILVER.setInactive();
@@ -274,7 +151,7 @@ public class BeeProductHelper {
LEAD.addProduct(ForestryHelper.itemHoneycomb, 0.10f);
if (OreDictionary.getOres("nuggetLead").size() > 0) {
LEAD.addSpecialty(
isGTNHCoreModLoaded ? Materials.Lead.getNuggets(1) : OreDictionary.getOres("nuggetLead").get(0),
isGTLoaded ? Materials.Lead.getNuggets(1) : OreDictionary.getOres("nuggetLead").get(0),
0.17f);
} else {
LEAD.setInactive();
@@ -291,8 +168,7 @@ public class BeeProductHelper {
TE_PLATINUM.addProduct(ForestryHelper.itemHoneycomb, 0.10f);
if (OreDictionary.getOres("nuggetPlatinum").size() > 0) {
TE_PLATINUM.addSpecialty(
isGTNHCoreModLoaded ? Materials.Platinum.getNuggets(1)
: OreDictionary.getOres("nuggetPlatinum").get(0),
isGTLoaded ? Materials.Platinum.getNuggets(1) : OreDictionary.getOres("nuggetPlatinum").get(0),
0.18f);
} else {
TE_PLATINUM.setInactive();
@@ -301,7 +177,7 @@ public class BeeProductHelper {
TE_NICKEL.addProduct(ForestryHelper.itemHoneycomb, 0.10f);
if (OreDictionary.getOres("nuggetNickel").size() > 0) {
TE_NICKEL.addSpecialty(
isGTNHCoreModLoaded ? Materials.Nickel.getNuggets(1) : OreDictionary.getOres("nuggetNickel").get(0),
isGTLoaded ? Materials.Nickel.getNuggets(1) : OreDictionary.getOres("nuggetNickel").get(0),
0.18f);
} else {
TE_NICKEL.setInactive();
@@ -310,7 +186,7 @@ public class BeeProductHelper {
ARDITE.addProduct(ForestryHelper.itemHoneycomb, 0.10f);
if (OreDictionary.getOres("nuggetArdite").size() > 0) {
ARDITE.addSpecialty(
isGTNHCoreModLoaded ? Materials.Ardite.getNuggets(1) : OreDictionary.getOres("nuggetArdite").get(0),
isGTLoaded ? Materials.Ardite.getNuggets(1) : OreDictionary.getOres("nuggetArdite").get(0),
0.18f);
} else {
ARDITE.setInactive();
@@ -319,7 +195,7 @@ public class BeeProductHelper {
COBALT.addProduct(ForestryHelper.itemHoneycomb, 0.10f);
if (OreDictionary.getOres("nuggetCobalt").size() > 0) {
COBALT.addSpecialty(
isGTNHCoreModLoaded ? Materials.Cobalt.getNuggets(1) : OreDictionary.getOres("nuggetCobalt").get(0),
isGTLoaded ? Materials.Cobalt.getNuggets(1) : OreDictionary.getOres("nuggetCobalt").get(0),
0.18f);
} else {
COBALT.setInactive();
@@ -328,7 +204,7 @@ public class BeeProductHelper {
TE_BRONZE.addProduct(ForestryHelper.itemHoneycomb, 0.10f);
if (OreDictionary.getOres("nuggetBronze").size() > 0) {
TE_BRONZE.addSpecialty(
isGTNHCoreModLoaded ? Materials.Bronze.getNuggets(1) : OreDictionary.getOres("nuggetBronze").get(0),
isGTLoaded ? Materials.Bronze.getNuggets(1) : OreDictionary.getOres("nuggetBronze").get(0),
0.18f);
} else {
TE_BRONZE.setInactive();
@@ -337,7 +213,7 @@ public class BeeProductHelper {
TE_INVAR.addProduct(ForestryHelper.itemHoneycomb, 0.10f);
if (OreDictionary.getOres("nuggetInvar").size() > 0) {
TE_INVAR.addSpecialty(
isGTNHCoreModLoaded ? Materials.Invar.getNuggets(1) : OreDictionary.getOres("nuggetInvar").get(0),
isGTLoaded ? Materials.Invar.getNuggets(1) : OreDictionary.getOres("nuggetInvar").get(0),
0.18f);
} else {
TE_INVAR.setInactive();
@@ -346,8 +222,7 @@ public class BeeProductHelper {
TE_ELECTRUM.addProduct(ForestryHelper.itemHoneycomb, 0.10f);
if (OreDictionary.getOres("nuggetElectrum").size() > 0) {
TE_ELECTRUM.addSpecialty(
isGTNHCoreModLoaded ? Materials.Electrum.getNuggets(1)
: OreDictionary.getOres("nuggetElectrum").get(0),
isGTLoaded ? Materials.Electrum.getNuggets(1) : OreDictionary.getOres("nuggetElectrum").get(0),
0.18f);
} else {
TE_ELECTRUM.setInactive();
@@ -356,8 +231,7 @@ public class BeeProductHelper {
MANYULLYN.addProduct(ForestryHelper.itemHoneycomb, 0.10f);
if (OreDictionary.getOres("nuggetManyullyn").size() > 0) {
MANYULLYN.addSpecialty(
isGTNHCoreModLoaded ? Materials.Manyullyn.getNuggets(1)
: OreDictionary.getOres("nuggetManyullyn").get(0),
isGTLoaded ? Materials.Manyullyn.getNuggets(1) : OreDictionary.getOres("nuggetManyullyn").get(0),
0.18f);
} else {
MANYULLYN.setInactive();
@@ -186,8 +186,6 @@ public enum BeeSpecies {
EnumTemperature.NORMAL, EnumHumidity.NORMAL, true, true),
TC_CHAOS("TCChaos", "tenebrarum", BeeClassification.THAUMIC, 0xCCCCCC, BodyColours.THAUMCRAFT_SHARD,
EnumTemperature.NORMAL, EnumHumidity.NORMAL, true, false),
TC_ESSENTIA("TCEssentia", "defaultium essentia apis", BeeClassification.THAUMIC, 0xCCCCCC,
BodyColours.THAUMCRAFT_SHARD, EnumTemperature.NORMAL, EnumHumidity.NORMAL, true, false),
TC_VIS("TCVis", "arcanus saecula", BeeClassification.THAUMIC, 0x004c99, BodyColours.THAUMCRAFT_NODE,
EnumTemperature.NORMAL, EnumHumidity.NORMAL, false, false),
@@ -400,7 +398,6 @@ public enum BeeSpecies {
TC_EARTH.registerGenomeTemplate(BeeGenomeManager.getTemplateTCEarth());
TC_ORDER.registerGenomeTemplate(BeeGenomeManager.getTemplateTCOrder());
TC_CHAOS.registerGenomeTemplate(BeeGenomeManager.getTemplateTCChaos());
TC_ESSENTIA.registerGenomeTemplate(BeeGenomeManager.getTemplateTCEssentia());
TC_VIS.registerGenomeTemplate(BeeGenomeManager.getTemplateTCVis());
TC_REJUVENATING.registerGenomeTemplate(BeeGenomeManager.getTemplateTCRejuvinating());
TC_EMPOWERING.registerGenomeTemplate(BeeGenomeManager.getTemplateTCEmpowering());
@@ -464,7 +461,6 @@ public enum BeeSpecies {
TC_WATER.setInactive();
TC_EARTH.setInactive();
TC_ORDER.setInactive();
TC_ESSENTIA.setInactive();
TC_VIS.setInactive();
TC_REJUVENATING.setInactive();
@@ -1,171 +0,0 @@
package magicbees.bees;
import java.util.ArrayList;
import java.util.Collection;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minecraftforge.common.util.Constants;
import forestry.api.apiculture.IBee;
import forestry.api.apiculture.IBeeHousing;
import forestry.api.apiculture.IBeekeepingMode;
import forestry.api.apiculture.IHiveFrame;
import forestry.apiculture.inventory.IApiaryInventory;
import magicbees.main.utils.ItemStackUtils;
import magicbees.tileentity.TileEntityMagicApiary;
public class MagicApiaryInventory implements IApiaryInventory {
public static final int SLOT_QUEEN = 0;
public static final int SLOT_DRONE = 1;
public static final int SLOT_FRAME_START = 2;
public static final int SLOT_FRAME_COUNT = 3;
public static final int SLOT_PRODUCTS_START = 5;
public static final int SLOT_PRODUCTS_COUNT = 7;
private final TileEntityMagicApiary magicApiary;
private final ItemStack[] items;
public MagicApiaryInventory(TileEntityMagicApiary magicApiary) {
this.magicApiary = magicApiary;
this.items = new ItemStack[12];
}
@Override
public ItemStack getQueen() {
return magicApiary.getStackInSlot(SLOT_QUEEN);
}
@Override
public ItemStack getDrone() {
return magicApiary.getStackInSlot(SLOT_DRONE);
}
@Override
public void setQueen(ItemStack itemstack) {
magicApiary.setInventorySlotContents(SLOT_QUEEN, itemstack);
}
@Override
public void setDrone(ItemStack itemstack) {
magicApiary.setInventorySlotContents(SLOT_DRONE, itemstack);
}
@Override
public boolean addProduct(ItemStack product, boolean all) {
int countAdded = ItemStackUtils
.addItemToInventory(magicApiary, product, SLOT_PRODUCTS_START, SLOT_PRODUCTS_COUNT);
if (all) {
return countAdded == product.stackSize;
}
return countAdded > 0;
}
public int getSizeInventory() {
return items.length;
}
public ItemStack getStackInSlot(int i) {
return items[i];
}
public void setInventorySlotContents(int i, ItemStack itemStack) {
items[i] = itemStack;
if (itemStack != null && itemStack.stackSize > getInventoryStackLimit()) {
itemStack.stackSize = getInventoryStackLimit();
}
}
public int[] getAccessibleSlotsFromSide(int side) {
int[] slots = new int[SLOT_PRODUCTS_COUNT + 2];
slots[0] = SLOT_QUEEN;
slots[1] = SLOT_DRONE;
for (int i = 0, slot = SLOT_PRODUCTS_START; i < SLOT_PRODUCTS_COUNT; ++i, ++slot) {
slots[i + 2] = slot;
}
return slots;
}
public boolean canInsertItem(int slot, ItemStack itemStack, int side) {
if (slot == SLOT_QUEEN && BeeManager.beeRoot.isMember(itemStack) && !BeeManager.beeRoot.isDrone(itemStack)) {
return true;
} else if (slot == SLOT_DRONE && BeeManager.beeRoot.isDrone(itemStack)) {
return true;
}
return slot == SLOT_DRONE && BeeManager.beeRoot.isDrone(itemStack);
}
public boolean canExtractItem(int slot, ItemStack itemStack, int side) {
return slot >= SLOT_PRODUCTS_START && slot <= SLOT_PRODUCTS_START + SLOT_PRODUCTS_COUNT;
}
public int getInventoryStackLimit() {
return 64;
}
public Collection<IHiveFrame> getFrames() {
Collection<IHiveFrame> hiveFrames = new ArrayList<IHiveFrame>(SLOT_FRAME_COUNT);
for (int i = SLOT_FRAME_START; i < SLOT_FRAME_START + SLOT_FRAME_COUNT; i++) {
ItemStack stackInSlot = magicApiary.getStackInSlot(i);
if (stackInSlot == null) {
continue;
}
Item itemInSlot = stackInSlot.getItem();
if (itemInSlot instanceof IHiveFrame) {
hiveFrames.add((IHiveFrame) itemInSlot);
}
}
return hiveFrames;
}
public void wearOutFrames(IBeeHousing beeHousing, int amount) {
IBeekeepingMode beekeepingMode = BeeManager.beeRoot.getBeekeepingMode(magicApiary.getWorldObj());
int wear = Math.round(amount * beekeepingMode.getWearModifier());
for (int i = MagicApiaryInventory.SLOT_FRAME_START; i
< MagicApiaryInventory.SLOT_FRAME_START + MagicApiaryInventory.SLOT_FRAME_COUNT; i++) {
ItemStack hiveFrameStack = magicApiary.getStackInSlot(i);
if (hiveFrameStack == null) {
continue;
}
Item hiveFrameItem = hiveFrameStack.getItem();
if (!(hiveFrameItem instanceof IHiveFrame)) {
continue;
}
IHiveFrame hiveFrame = (IHiveFrame) hiveFrameItem;
ItemStack queenStack = magicApiary.getBeeInventory().getQueen();
IBee queen = BeeManager.beeRoot.getMember(queenStack);
ItemStack usedFrame = hiveFrame.frameUsed(magicApiary, hiveFrameStack, queen, wear);
magicApiary.setInventorySlotContents(i, usedFrame);
}
}
public void writeToNBT(NBTTagCompound compound) {
NBTTagList itemsNBT = new NBTTagList();
for (int i = 0; i < items.length; i++) {
ItemStack itemStack = items[i];
if (itemStack != null) {
NBTTagCompound item = new NBTTagCompound();
item.setByte("Slot", (byte) i);
itemStack.writeToNBT(item);
itemsNBT.appendTag(item);
}
}
compound.setTag("Items", itemsNBT);
}
public void readFromNBT(NBTTagCompound compound) {
NBTTagList items = compound.getTagList("Items", Constants.NBT.TAG_COMPOUND);
for (int i = 0; i < items.tagCount(); i++) {
NBTTagCompound item = items.getCompoundTagAt(i);
int slot = item.getByte("Slot");
if (slot >= 0 && slot < getSizeInventory()) {
setInventorySlotContents(slot, ItemStack.loadItemStackFromNBT(item));
}
}
}
}
@@ -59,17 +59,13 @@ public class AlleleEffectCrumbling extends AlleleEffect {
IBeeModifier beeModifier = BeeManager.beeRoot.createBeeHousingModifier(housing);
// Get random coords within territory
int[] randomCoords = new int[3];
for (int i = 0; i < 3; i++) {
int range = (int) (beeModifier.getTerritoryModifier(genome, 1f) * genome.getTerritory()[i]);
if (range > 0) {
randomCoords[i] = world.rand.nextInt(range) - range / 2;
}
}
int xRange = (int) (beeModifier.getTerritoryModifier(genome, 1f) * genome.getTerritory()[0]);
int yRange = (int) (beeModifier.getTerritoryModifier(genome, 1f) * genome.getTerritory()[1]);
int zRange = (int) (beeModifier.getTerritoryModifier(genome, 1f) * genome.getTerritory()[2]);
int xCoord = coords.posX + randomCoords[0];
int yCoord = coords.posY + randomCoords[1];
int zCoord = coords.posZ + randomCoords[2];
int xCoord = coords.posX + world.rand.nextInt(xRange) - xRange / 2;
int yCoord = coords.posY + world.rand.nextInt(yRange) - yRange / 2;
int zCoord = coords.posZ + world.rand.nextInt(zRange) - zRange / 2;
Block block = world.getBlock(xCoord, yCoord, zCoord);
if (block != null) {
@@ -2,11 +2,7 @@ package magicbees.bees.allele.effect;
import static magicbees.main.utils.compat.thaumcraft.NodeHelper.updateNode;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.*;
import net.minecraft.util.ChunkCoordinates;
import net.minecraft.world.World;
@@ -37,17 +37,13 @@ public class AlleleEffectTransmuting extends AlleleEffect {
IBeeModifier beeModifier = BeeManager.beeRoot.createBeeHousingModifier(housing);
// Get random coords within territory
int[] randomCoords = new int[3];
for (int i = 0; i < 3; i++) {
int range = (int) (beeModifier.getTerritoryModifier(genome, 1f) * genome.getTerritory()[i]);
if (range > 0) {
randomCoords[i] = world.rand.nextInt(range) - range / 2;
}
}
int xRange = (int) (beeModifier.getTerritoryModifier(genome, 1f) * genome.getTerritory()[0]);
int yRange = (int) (beeModifier.getTerritoryModifier(genome, 1f) * genome.getTerritory()[1]);
int zRange = (int) (beeModifier.getTerritoryModifier(genome, 1f) * genome.getTerritory()[2]);
int xCoord = coords.posX + randomCoords[0];
int yCoord = coords.posY + randomCoords[1];
int zCoord = coords.posZ + randomCoords[2];
int xCoord = coords.posX + world.rand.nextInt(xRange) - xRange / 2;
int yCoord = coords.posY + world.rand.nextInt(yRange) - yRange / 2;
int zCoord = coords.posZ + world.rand.nextInt(zRange) - zRange / 2;
BiomeGenBase biome = world.getBiomeGenForCoords(xCoord, zCoord);
transmutationController.attemptTransmutations(
@@ -1,93 +0,0 @@
package magicbees.block;
import net.minecraft.block.BlockContainer;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.ChatComponentTranslation;
import net.minecraft.util.IIcon;
import net.minecraft.world.World;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import magicbees.main.CommonProxy;
import magicbees.main.utils.TabMagicBees;
import magicbees.tileentity.TileEntityApimancersDrainerCommon;
import thaumcraft.api.aspects.Aspect;
import thaumcraft.api.aspects.IEssentiaContainerItem;
public class BlockApimancersDrainer extends BlockContainer {
@SideOnly(Side.CLIENT)
private IIcon[] icons;
public static Class<? extends TileEntity> drainer = TileEntityApimancersDrainerCommon.class;
public BlockApimancersDrainer() {
super(Material.rock);
this.setCreativeTab(TabMagicBees.tabMagicBees);
this.setBlockName("apimancersDrainer");
this.setHardness(1f);
this.setResistance(1.5f);
this.setHarvestLevel("pickaxe", 0);
}
@Override
public TileEntity createNewTileEntity(World world, int metadata) {
try {
return drainer.newInstance();
} catch (Exception e) {
return null;
}
}
@Override
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float par7,
float par8, float par9) {
if (world.isRemote) {
return false;
} else {
TileEntity tile = world.getTileEntity(x, y, z);
if (tile instanceof TileEntityApimancersDrainerCommon && side != 1) {
ItemStack tItemStack = player.getHeldItem();
if (tItemStack != null) {
Item tItem = tItemStack.getItem();
if (tItem instanceof IEssentiaContainerItem
&& ((IEssentiaContainerItem) tItem).getAspects(player.getHeldItem()) != null
&& ((IEssentiaContainerItem) tItem).getAspects(player.getHeldItem()).size() > 0) {
Aspect tLocked = ((IEssentiaContainerItem) tItem).getAspects(player.getHeldItem())
.getAspects()[0];
((TileEntityApimancersDrainerCommon) tile).setAspect(tLocked);
player.addChatMessage(
new ChatComponentTranslation("Producing " + tLocked.getLocalizedDescription()));
}
} else {
((TileEntityApimancersDrainerCommon) tile).setAspect(null);
player.addChatMessage(new ChatComponentTranslation("Cleared production specifier"));
}
world.markBlockForUpdate(x, y, z);
return true;
}
return false;
}
}
@Override
@SideOnly(Side.CLIENT)
public IIcon getIcon(int side, int meta) {
return icons[side <= 1 ? side : 2];
}
@Override
@SideOnly(Side.CLIENT)
public void registerBlockIcons(IIconRegister register) {
icons = new IIcon[4];
for (int i = 0; i < icons.length; i++) {
icons[i] = register.registerIcon(CommonProxy.DOMAIN + ":apimancersdrainer." + i);
}
}
}
@@ -36,9 +36,7 @@ public class BlockEffectJar extends BlockContainer {
boolean activate = false;
if (!player.isSneaking()) {
if (!world.isRemote) {
player.openGui(MagicBees.object, UIScreens.EFFECT_JAR.ordinal(), world, x, y, z);
}
player.openGui(MagicBees.object, UIScreens.EFFECT_JAR.ordinal(), world, x, y, z);
activate = true;
}
@@ -28,7 +28,6 @@ public class BlockEnchantedEarth extends Block {
setBlockTextureName(CommonProxy.DOMAIN + ":enchantedEarth");
setTickRandomly(true);
setStepSound(soundTypeGravel);
setHardness(0.1F);
}
@Override
+3 -3
View File
@@ -43,7 +43,7 @@ public class BlockHive extends Block {
@Override
public int getLightValue(IBlockAccess world, int x, int y, int z) {
int meta = world.getBlockMetadata(x, y, z);
if (meta < 0 || meta > HiveType.VALUES.length) {
if (meta < 0 || meta > HiveType.values().length) {
meta = 0;
}
return HiveType.getHiveFromMeta(meta).getLightValue();
@@ -54,7 +54,7 @@ public class BlockHive extends Block {
@Override
public void getSubBlocks(Item item, CreativeTabs tab, List itemsList) {
// Java bitches about raw types & types not being checked. Sorry, but the API sucks.
for (HiveType type : HiveType.VALUES) {
for (HiveType type : HiveType.values()) {
if (type.show || Config.forestryDebugEnabled) {
itemsList.add(new ItemStack(this, 1, type.ordinal()));
}
@@ -75,7 +75,7 @@ public class BlockHive extends Block {
@Override
@SideOnly(Side.CLIENT)
public IIcon getIcon(int side, int meta) {
if (meta < 0 || meta > HiveType.VALUES.length) {
if (meta < 0 || meta > HiveType.values().length) {
meta = 0;
}
return HiveType.getHiveFromMeta(meta).getIconForSide(side);
@@ -40,9 +40,7 @@ public class BlockMagicApiary extends BlockContainer {
boolean activate = false;
if (!player.isSneaking()) {
if (!world.isRemote) {
player.openGui(MagicBees.object, UIScreens.THAUMIC_APIARY.ordinal(), world, x, y, z);
}
player.openGui(MagicBees.object, UIScreens.THAUMIC_APIARY.ordinal(), world, x, y, z);
activate = true;
}
@@ -25,11 +25,9 @@ public enum HiveType {
CURIOUS("curious", BeeSpecies.MYSTICAL, 12, true),
UNUSUAL("unusual", BeeSpecies.UNUSUAL, 12, true),
RESONANT("resonant", BeeSpecies.SORCEROUS, 12, true),
DEEP("deep", BeeSpecies.ATTUNED, 4, true),
INFERNAL("infernal", BeeSpecies.INFERNAL, 15, true),
OBLIVION("oblivion", BeeSpecies.OBLIVION, 7, true),;
public static final HiveType[] VALUES = values();
DEEP("deep", BeeSpecies.ATTUNED, 4, false),
INFERNAL("infernal", BeeSpecies.INFERNAL, 15, false),
OBLIVION("oblivion", BeeSpecies.OBLIVION, 7, false),;
private static String[] nameList;
@@ -45,8 +43,8 @@ public enum HiveType {
public static HiveType getHiveFromMeta(int meta) {
HiveType type = CURIOUS;
if (meta > 0 && meta < HiveType.VALUES.length) {
type = HiveType.VALUES[meta];
if (meta > 0 && meta < HiveType.values().length) {
type = HiveType.values()[meta];
}
return type;
@@ -98,7 +96,7 @@ public enum HiveType {
@SideOnly(Side.CLIENT)
public static void registerIcons(IIconRegister register) {
for (HiveType type : HiveType.VALUES) {
for (HiveType type : HiveType.values()) {
type.icons = new IIcon[2];
type.icons[0] = register.registerIcon(CommonProxy.DOMAIN + ":beehive." + type.ordinal() + ".top");
@@ -169,9 +167,9 @@ public enum HiveType {
}
private static String[] generateNames() {
String[] names = new String[VALUES.length];
String[] names = new String[values().length];
for (int i = 0; i < names.length; ++i) {
names[i] = VALUES[i].name;
names[i] = values()[i].name;
}
return names;
}
@@ -3,7 +3,6 @@ package magicbees.client.gui;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.StatCollector;
import org.lwjgl.opengl.GL11;
@@ -37,7 +36,7 @@ public class GUIEffectJar extends GuiContainer {
@Override
protected void drawGuiContainerForegroundLayer(int par1, int par2) {
fontRendererObj.drawString(StatCollector.translateToLocal("container.inventory"), 9, 63, 0);
fontRendererObj.drawString("Inventory", 9, 63, 0);
}
@Override
@@ -4,7 +4,6 @@ import net.minecraft.client.gui.GuiButton;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.StatCollector;
import org.lwjgl.opengl.GL11;
@@ -21,7 +20,7 @@ public class GuiMagicApiary extends GuiContainer {
CommonProxy.GUI_TEXTURE + "apiary.png");
private static final int WIDTH = 176;
private static final int HEIGHT = 192;
private static final int HEIGHT = 190;
private static final int LIFEBAR_WIDTH = 2;
private static final int LIFEBAR_HEIGHT = 46;
@@ -68,7 +67,7 @@ public class GuiMagicApiary extends GuiContainer {
@Override
protected void drawGuiContainerForegroundLayer(int par1, int par2) {
fontRendererObj.drawString(StatCollector.translateToLocal("container.inventory"), 9, 99, 0);
fontRendererObj.drawString("Inventory", 9, 99, 0);
}
@Override
@@ -38,7 +38,7 @@ public class ItemCapsule extends Item {
public String getItemStackDisplayName(ItemStack itemStack) {
return String.format(
this.capsuleType.getLocalizedName(),
FluidType.VALUES[itemStack.getItemDamage()].getDisplayName());
FluidType.values()[itemStack.getItemDamage()].getDisplayName());
}
public ItemStack getCapsuleForLiquid(FluidType l) {
@@ -49,7 +49,7 @@ public class ItemCapsule extends Item {
@Override
@SideOnly(Side.CLIENT)
public void getSubItems(Item item, CreativeTabs tab, List itemList) {
for (FluidType l : FluidType.VALUES) {
for (FluidType l : FluidType.values()) {
if (l.available) {
itemList.add(new ItemStack(this, 1, l.ordinal()));
}
@@ -68,7 +68,7 @@ public class ItemCapsule extends Item {
CommonProxy.DOMAIN + ":capsule"
+ this.capsuleType.getName().substring(0, 1).toUpperCase()
+ this.capsuleType.getName().substring(1));
for (FluidType t : FluidType.VALUES) {
for (FluidType t : FluidType.values()) {
if (t != FluidType.EMPTY) {
t.liquidIcon = iconRegister.registerIcon(CommonProxy.DOMAIN + ":liquids/" + t.liquidID);
}
@@ -80,7 +80,7 @@ public class ItemCapsule extends Item {
public IIcon getIconFromDamageForRenderPass(int metadata, int pass) {
IIcon i = this.itemIcon;
if (metadata != 0 && pass == 0) {
i = FluidType.VALUES[metadata % FluidType.VALUES.length].liquidIcon;
i = FluidType.values()[metadata % FluidType.values().length].liquidIcon;
}
return i;
}
+6 -6
View File
@@ -38,7 +38,7 @@ public class ItemComb extends Item {
@Override
@SideOnly(Side.CLIENT)
public void getSubItems(Item item, CreativeTabs tabs, List list) {
for (CombType type : CombType.VALUES) {
for (CombType type : CombType.values()) {
if (type.showInList || Config.forestryDebugEnabled) {
list.add(this.getStackForType(type));
}
@@ -73,11 +73,11 @@ public class ItemComb extends Item {
@Override
@SideOnly(Side.CLIENT)
public int getColorFromItemStack(ItemStack stack, int pass) {
int meta = Math.max(0, Math.min(CombType.VALUES.length - 1, stack.getItemDamage()));
int colour = CombType.VALUES[meta].getColours()[0];
int meta = Math.max(0, Math.min(CombType.values().length - 1, stack.getItemDamage()));
int colour = CombType.values()[meta].getColours()[0];
if (pass >= 1) {
colour = CombType.VALUES[meta].getColours()[1];
colour = CombType.values()[meta].getColours()[1];
}
return colour;
@@ -85,12 +85,12 @@ public class ItemComb extends Item {
@Override
public String getItemStackDisplayName(ItemStack stack) {
return CombType.VALUES[stack.getItemDamage()].getName();
return CombType.values()[stack.getItemDamage()].getName();
}
@Override
public int getDamage(ItemStack stack) {
if (CombType.VALUES.length < super.getDamage(stack)) {
if (CombType.values().length < super.getDamage(stack)) {
stack.setItemDamage(0);
}
return super.getDamage(stack);
+5 -5
View File
@@ -37,7 +37,7 @@ public class ItemDrop extends Item {
@SideOnly(Side.CLIENT)
@SuppressWarnings({ "unchecked", "rawtypes" })
public void getSubItems(Item item, CreativeTabs tabs, List list) {
for (DropType type : DropType.VALUES) {
for (DropType type : DropType.values()) {
list.add(this.getStackForType(type));
}
}
@@ -70,11 +70,11 @@ public class ItemDrop extends Item {
@Override
@SideOnly(Side.CLIENT)
public int getColorFromItemStack(ItemStack stack, int pass) {
int meta = Math.max(0, Math.min(DropType.VALUES.length - 1, stack.getItemDamage()));
int colour = DropType.VALUES[meta].combColour[0];
int meta = Math.max(0, Math.min(DropType.values().length - 1, stack.getItemDamage()));
int colour = DropType.values()[meta].combColour[0];
if (pass >= 1) {
colour = DropType.VALUES[meta].combColour[1];
colour = DropType.values()[meta].combColour[1];
}
return colour;
@@ -82,6 +82,6 @@ public class ItemDrop extends Item {
@Override
public String getItemStackDisplayName(ItemStack stack) {
return DropType.VALUES[stack.getItemDamage()].getName();
return DropType.values()[stack.getItemDamage()].getName();
}
}
@@ -17,7 +17,7 @@ import magicbees.main.utils.TabMagicBees;
public class ItemMiscResources extends Item {
private final IIcon[] icons = new IIcon[ResourceType.VALUES.length];
private IIcon[] icons = new IIcon[ResourceType.values().length];
public ItemMiscResources() {
super();
@@ -39,7 +39,7 @@ public class ItemMiscResources extends Item {
@SideOnly(Side.CLIENT)
@SuppressWarnings({ "unchecked", "rawtypes" })
public void getSubItems(Item item, CreativeTabs tabs, List list) {
for (ResourceType type : ResourceType.VALUES) {
for (ResourceType type : ResourceType.values()) {
if (type.showInList) {
list.add(this.getStackForType(type));
}
@@ -48,8 +48,9 @@ public class ItemMiscResources extends Item {
@SideOnly(Side.CLIENT)
public void registerIcons(IIconRegister par1IconRegister) {
for (int i = 0; i < ResourceType.VALUES.length; i++) {
this.icons[i] = par1IconRegister.registerIcon(CommonProxy.DOMAIN + ":" + ResourceType.VALUES[i].getName());
for (int i = 0; i < ResourceType.values().length; i++) {
this.icons[i] = par1IconRegister
.registerIcon(CommonProxy.DOMAIN + ":" + ResourceType.values()[i].getName());
}
}
@@ -61,6 +62,6 @@ public class ItemMiscResources extends Item {
@Override
public String getItemStackDisplayName(ItemStack stack) {
return ResourceType.VALUES[stack.getItemDamage()].getLocalizedName();
return ResourceType.values()[stack.getItemDamage()].getLocalizedName();
}
}
+6 -6
View File
@@ -37,7 +37,7 @@ public class ItemNugget extends Item {
@SideOnly(Side.CLIENT)
@SuppressWarnings({ "unchecked", "rawtypes" })
public void getSubItems(Item item, CreativeTabs tab, List list) {
for (NuggetType type : NuggetType.VALUES) {
for (NuggetType type : NuggetType.values()) {
if (type.isActive()) {
list.add(new ItemStack(item, 1, type.ordinal()));
}
@@ -46,12 +46,12 @@ public class ItemNugget extends Item {
@SideOnly(Side.CLIENT)
public void registerIcons(IIconRegister par1IconRegister) {
this.icons = new IIcon[NuggetType.VALUES.length];
for (int i = 0; i < NuggetType.VALUES.length; i++) {
this.icons = new IIcon[NuggetType.values().length];
for (int i = 0; i < NuggetType.values().length; i++) {
this.icons[i] = par1IconRegister.registerIcon(
CommonProxy.DOMAIN + ":nugget"
+ NuggetType.VALUES[i].name().substring(0, 1)
+ NuggetType.VALUES[i].name().substring(1).toLowerCase());
+ NuggetType.values()[i].name().substring(0, 1)
+ NuggetType.values()[i].name().substring(1).toLowerCase());
}
}
@@ -63,6 +63,6 @@ public class ItemNugget extends Item {
@Override
public String getItemStackDisplayName(ItemStack stack) {
return NuggetType.VALUES[stack.getItemDamage()].getName();
return NuggetType.values()[stack.getItemDamage()].getName();
}
}
+5 -5
View File
@@ -37,7 +37,7 @@ public class ItemPollen extends Item {
@SideOnly(Side.CLIENT)
@SuppressWarnings({ "unchecked", "rawtypes" })
public void getSubItems(Item item, CreativeTabs tabs, List list) {
for (PollenType type : PollenType.VALUES) {
for (PollenType type : PollenType.values()) {
list.add(this.getStackForType(type));
}
}
@@ -70,11 +70,11 @@ public class ItemPollen extends Item {
@Override
@SideOnly(Side.CLIENT)
public int getColorFromItemStack(ItemStack stack, int pass) {
int meta = Math.max(0, Math.min(PollenType.VALUES.length - 1, stack.getItemDamage()));
int colour = PollenType.VALUES[meta].colourA;
int meta = Math.max(0, Math.min(PollenType.values().length - 1, stack.getItemDamage()));
int colour = PollenType.values()[meta].colour[0];
if (pass >= 1) {
colour = PollenType.VALUES[meta].colourB;
colour = PollenType.values()[meta].colour[1];
}
return colour;
@@ -82,6 +82,6 @@ public class ItemPollen extends Item {
@Override
public String getItemStackDisplayName(ItemStack stack) {
return PollenType.VALUES[stack.getItemDamage()].getName();
return PollenType.values()[stack.getItemDamage()].getName();
}
}
@@ -36,7 +36,7 @@ public class ItemPropolis extends Item {
@SideOnly(Side.CLIENT)
@SuppressWarnings({ "unchecked", "rawtypes" })
public void getSubItems(Item item, CreativeTabs tabs, List list) {
for (PropolisType type : PropolisType.VALUES) {
for (PropolisType type : PropolisType.values()) {
list.add(this.getStackForType(type));
}
}
@@ -50,14 +50,14 @@ public class ItemPropolis extends Item {
public int getColorFromItemStack(ItemStack stack, int pass) {
int colour = 0xffffff;
int meta = stack.getItemDamage();
if (meta >= 0 && meta < PropolisType.VALUES.length) {
colour = PropolisType.VALUES[meta].colour;
if (meta >= 0 && meta < PropolisType.values().length) {
colour = PropolisType.values()[meta].colour;
}
return colour;
}
@Override
public String getItemStackDisplayName(ItemStack stack) {
return PropolisType.VALUES[stack.getItemDamage()].getName();
return PropolisType.values()[stack.getItemDamage()].getName();
}
}
+5 -5
View File
@@ -45,14 +45,14 @@ public class ItemWax extends Item {
@Override
@SideOnly(Side.CLIENT)
public IIcon getIconFromDamage(int meta) {
return (WaxType.VALUES[meta].sparkly) ? this.itemIcon : this.secondaryIcon;
return (WaxType.values()[meta].sparkly) ? this.itemIcon : this.secondaryIcon;
}
@Override
@SideOnly(Side.CLIENT)
@SuppressWarnings({ "unchecked", "rawtypes" })
public void getSubItems(Item item, CreativeTabs tabs, List list) {
for (WaxType type : WaxType.VALUES) {
for (WaxType type : WaxType.values()) {
list.add(this.getStackForType(type));
}
}
@@ -62,14 +62,14 @@ public class ItemWax extends Item {
public int getColorFromItemStack(ItemStack stack, int pass) {
int colour = 0xffffff;
int meta = stack.getItemDamage();
if (meta >= 0 && meta < WaxType.VALUES.length) {
colour = WaxType.VALUES[meta].colour;
if (meta >= 0 && meta < WaxType.values().length) {
colour = WaxType.values()[meta].colour;
}
return colour;
}
@Override
public String getItemStackDisplayName(ItemStack stack) {
return WaxType.VALUES[stack.getItemDamage()].getName();
return WaxType.values()[stack.getItemDamage()].getName();
}
}
@@ -39,11 +39,7 @@ public enum CombType {
TE_LUX("TElux", false),
TE_ENDEARING("TEendearing", false),;
/**
* Cached values() array for frequent read-only operations, the array should NOT be mutated.
*/
public static final CombType[] VALUES = values();
private static final int[][] colours = new int[][] { { 0xFF9859, 0xFFC58E }, { 0xcc3333, 0x1E160E },
private static int[][] colours = new int[][] { { 0xFF9859, 0xFFC58E }, { 0xcc3333, 0x1E160E },
{ 0x9872FF, 0x2D2D2D }, { 0x3EE0D8, 0x3A3820 }, { 0xE5425D, 0x323291 }, { 0xBCA664, 0x35332E },
{ 0x7F7171, 0x876D53 }, { 0xB7ACB7, 0x636363 }, { 0x0092e9, 0x618fff }, { 0x2F9381, 0x773C31 },
{ 0xB191D8, 0x35443B }, { 0xffff7e, 0x606308 }, { 0xff3C01, 0x5B0D10 }, { 0x0090ff, 0x102F6B },
@@ -51,11 +47,10 @@ public enum CombType {
{ 0x28D328, 0x333004 }, { 0xDDDDFF, 0x9D9DB5 }, { 0x555577, 0x2D2D56 }, { 0xCC8604, 0x41046F },
{ 0xCCCC04, 0x41046F }, { 0xCC002C, 0x6B0118 }, { 0x454545, 0x0F0F0F }, { 0xF5F3A4, 0xC9C87D },
{ 0x12E3D9, 0x069E97 }, };
private final String name;
public boolean showInList;
CombType(String pName, boolean show) {
private CombType(String pName, boolean show) {
this.name = pName;
this.showInList = show;
}
@@ -63,6 +58,9 @@ public enum CombType {
this.showInList = false;
}
private String name;
public boolean showInList;
public String getName() {
return LocalizationManager.getLocalizedString("comb." + this.name);
}
@@ -11,9 +11,7 @@ public enum DropType {
LUX("lux", 0xF5F3A4, 0xC9C87D),
ENDEARING("endearing", 0x12E3D9, 0x069E97),;
public static final DropType[] VALUES = values();
DropType(String pName, int colourA, int colourB) {
private DropType(String pName, int colourA, int colourB) {
this.name = pName;
this.combColour[0] = colourA;
this.combColour[1] = colourB;
@@ -48,16 +48,12 @@ public enum FluidType {
MANA("mana"),
COAL("coal"),;
/**
* Cached values() array for frequent read-only operations, the array should NOT be mutated.
*/
public static final FluidType[] VALUES = values();
public final String liquidID;
public String liquidID;
public int iconIdx;
public boolean available = false;
public IIcon liquidIcon;
FluidType(String l) {
private FluidType(String l) {
this.liquidID = l;
}
@@ -6,10 +6,10 @@ import magicbees.main.utils.LocalizationManager;
public enum HiveFrameType implements IBeeModifier {
MAGIC("Magic", 240, 1f, 1f, 1f, 2f, 0.6f), // buffed post additive prod change
RESILIENT("Resilient", 800, 1f, 1f, 1f, 2f, 0.5f), // buffed post additive prod change
GENTLE("Gentle", 200, 1f, 0.7f, 1.5f, 0.4f, 0.01f), // production was 1.4x, now +0.4
METABOLIC("Metabolic", 130, 1f, 1.8f, 1f, 0.2f, 1f), // production was 1.2x, now +0.2
MAGIC("Magic", 240, 1f, 1f, 1f, 2f, 0.6f),
RESILIENT("Resilient", 800, 1f, 1f, 1f, 2f, 0.5f),
GENTLE("Gentle", 200, 1f, 0.7f, 1.5f, 1.4f, 0.01f),
METABOLIC("Metabolic", 130, 1f, 1.8f, 1f, 1.2f, 1f),
NECROTIC("Necrotic", 280, 1f, 1f, 0.3f, -0.25f, 1.2f), // production was 0.75x, now -0.25
TEMPORAL("Temporal", 300, 1f, 1f, 2.5f, 0f, 0.8f), // production was 1x, now +0
OBLIVION("Oblivion", 50, 1f, 1f, 0.0001f, -9001f, 1f);// production was 0.0001x, now -9001
@@ -15,8 +15,6 @@ public enum NuggetType {
EMERALD,
APATITE,;
public static final NuggetType[] VALUES = values();
private Item targetIngot;
private boolean active;
@@ -5,22 +5,17 @@ import magicbees.main.utils.LocalizationManager;
public enum PollenType {
UNUSUAL("unusual", 0xD8417B, 0xA03059),
PHASED("phased", 0x4974B4, 0x456BA5);
PHASED("phased", 0x4974B4, 0x456BA5),;
/**
* Cached values() array for frequent read-only operations, the array should NOT be mutated.
*/
public static final PollenType[] VALUES = values();
private final String name;
public final int colourA;
public final int colourB;
PollenType(String pName, int colourA, int colourB) {
private PollenType(String pName, int colourA, int colourB) {
this.name = pName;
this.colourA = colourA;
this.colourB = colourB;
this.colour[0] = colourA;
this.colour[1] = colourB;
}
private String name;
public int[] colour = new int[2];
public String getName() {
return LocalizationManager.getLocalizedString("pollen." + this.name);
}
@@ -13,9 +13,7 @@ public enum PropolisType {
ORDER("dull", 0xDDDDFF),
CHAOS("magic", 0x555577),;
public static final PropolisType[] VALUES = values();
PropolisType(String pName, int overlayColour) {
private PropolisType(String pName, int overlayColour) {
this.name = pName;
this.colour = overlayColour;
}
@@ -32,20 +32,16 @@ public enum ResourceType {
// Dummy items for Thaumanomicon research icons.
// These won't ever actually exist in-game, and so they can be moved around.
RESEARCH_STARTNODE("startNode", false),
RESEARCH_BEEINFUSION("beeInfusion", false);
RESEARCH_BEEINFUSION("beeInfusion", false),;
/**
* Cached values() array for frequent read-only operations, the array should NOT be mutated.
*/
public static final ResourceType[] VALUES = values();
private final String name;
public boolean showInList;
ResourceType(String n, boolean show) {
private ResourceType(String n, boolean show) {
this.name = n;
this.showInList = show;
}
private String name;
public boolean showInList;
public void setHidden() {
this.showInList = false;
}
@@ -8,9 +8,7 @@ public enum WaxType {
SOUL("soul", false, 0x967C63),
AMNESIC("amnesic", true, 0x856DFF);
public static final WaxType[] VALUES = values();
WaxType(String n, boolean sp, int c) {
private WaxType(String n, boolean sp, int c) {
this.name = n;
this.sparkly = sp;
this.colour = c;
+4 -78
View File
@@ -14,14 +14,12 @@ import net.minecraftforge.common.config.Property;
import net.minecraftforge.oredict.OreDictionary;
import cpw.mods.fml.client.event.ConfigChangedEvent;
import cpw.mods.fml.common.Loader;
import cpw.mods.fml.common.event.FMLInterModComms;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.registry.GameRegistry;
import forestry.api.apiculture.BeeManager;
import forestry.api.storage.BackpackManager;
import forestry.api.storage.EnumBackpackType;
import magicbees.block.BlockApimancersDrainer;
import magicbees.block.BlockEffectJar;
import magicbees.block.BlockEnchantedEarth;
import magicbees.block.BlockHive;
@@ -29,24 +27,7 @@ import magicbees.block.BlockMagicApiary;
import magicbees.block.BlockManaAuraProvider;
import magicbees.block.BlockVisAuraProvider;
import magicbees.block.types.HiveType;
import magicbees.item.ItemCapsule;
import magicbees.item.ItemComb;
import magicbees.item.ItemDrop;
import magicbees.item.ItemMagicHive;
import magicbees.item.ItemMagicHiveFrame;
import magicbees.item.ItemManasteelGrafter;
import magicbees.item.ItemManasteelScoop;
import magicbees.item.ItemMiscResources;
import magicbees.item.ItemMoonDial;
import magicbees.item.ItemMysteriousMagnet;
import magicbees.item.ItemNugget;
import magicbees.item.ItemPollen;
import magicbees.item.ItemPropolis;
import magicbees.item.ItemThaumiumGrafter;
import magicbees.item.ItemThaumiumScoop;
import magicbees.item.ItemVoidGrafter;
import magicbees.item.ItemVoidScoop;
import magicbees.item.ItemWax;
import magicbees.item.*;
import magicbees.item.types.CapsuleType;
import magicbees.item.types.HiveFrameType;
import magicbees.item.types.NuggetType;
@@ -58,12 +39,10 @@ import magicbees.main.utils.VersionInfo;
import magicbees.main.utils.compat.BotaniaHelper;
import magicbees.main.utils.compat.ThaumcraftHelper;
import magicbees.storage.BackpackDefinition;
import magicbees.tileentity.TileEntityApimancersDrainerGT;
import magicbees.tileentity.TileEntityEffectJar;
import magicbees.tileentity.TileEntityMagicApiary;
import magicbees.tileentity.TileEntityManaAuraProvider;
import magicbees.tileentity.TileEntityVisAuraProvider;
import thaumicenergistics.implementaion.ThEAPIImplementation;
/**
* A class to hold some data related to mod state & functions.
@@ -93,9 +72,6 @@ public class Config {
public static double thaumcraftSaplingDroprate;
public static int aromaticLumpSwarmerRate;
public static int thaumcraftNodeMaxSize;
public static int drainerTimeBetween;
public static int drainerAmount;
public static int drainerCapacity;
public static boolean arsMagicaActive;
public static boolean baublesActive;
@@ -104,7 +80,6 @@ public class Config {
public static boolean extraBeesActive;
public static boolean redstoneArsenalActive;
public static boolean thaumcraftActive;
public static boolean thaumicHorizonsActive;
public static boolean thermalFoundationActive;
public static boolean botaniaActive;
public static boolean ae2Active;
@@ -119,7 +94,6 @@ public class Config {
public static BlockEffectJar effectJar;
public static BlockHive hive;
public static BlockMagicApiary magicApiary;
public static BlockApimancersDrainer apimancersDrainer;
public static BlockManaAuraProvider manaAuraProvider;
public static BlockVisAuraProvider visAuraProvider;
@@ -164,11 +138,6 @@ public class Config {
// ----- Config State info ----------------------------------
public static Configuration configuration;
// ---- Loaded mods -----------------------------------------
public static boolean isGT5uNHLoaded = Loader.isModLoaded("gregtech_nh");
public static boolean isGTNHCoreModLoaded = Loader.isModLoaded("gregtech") && Loader.isModLoaded("dreamcraft");
public static boolean isThaumicEnergisticsLoaded = Loader.isModLoaded("thaumicenergistics");
public Config(File configFile) {
configuration = new Configuration(configFile);
configuration.load();
@@ -228,16 +197,6 @@ public class Config {
setupMiscForestryItemHooks();
}
public void setupThaumicEnergistics() {
if (isThaumicEnergisticsLoaded) {
try {
Class c = BlockApimancersDrainer.drainer;
// Has to be Implementation, ThEAPI is just the base
ThEAPIImplementation.instance().transportPermissions().addAspectStorageTileToExtractPermissions(c);
} catch (Exception ignored) {}
}
}
private void processConfigFile() {
// Pull config from Forestry via reflection
Field f;
@@ -290,9 +249,6 @@ public class Config {
p = configuration.get(CATEGORY_MODULES, "Thaumcraft", true);
thaumcraftActive = p.getBoolean();
p = configuration.get(CATEGORY_MODULES, "ThaumicHorizons", true);
thaumicHorizonsActive = p.getBoolean();
p = configuration.get(CATEGORY_MODULES, "ThermalExpansion", true);
thermalFoundationActive = p.getBoolean();
@@ -355,31 +311,6 @@ public class Config {
32767);
thaumcraftNodeMaxSize = p.getInt(256);
p = configuration.get(
CATEGORY_GENERAL,
"drainerTimeBetween",
200,
"The time in ticks between Apimancer's Drainer essentia generation",
1,
32767);
drainerTimeBetween = p.getInt(200);
p = configuration.get(
CATEGORY_GENERAL,
"drainerAmount",
1,
"The amount that the Apimancer's Drainer generates on every round",
1,
32767);
drainerAmount = p.getInt(1);
p = configuration.get(
CATEGORY_GENERAL,
"drainerCapacity",
512,
"The amount that the Apimancer's Drainer can hold of each aspect",
1,
32767);
drainerCapacity = p.getInt(512);
p = configuration.get(CATEGORY_GENERAL, "moonDialShowText", false);
p.comment = "set to true to show the current moon phase in mouse-over text.";
moonDialShowsPhaseInText = p.getBoolean(false);
@@ -442,7 +373,7 @@ public class Config {
hive = new BlockHive();
GameRegistry.registerBlock(hive, ItemMagicHive.class, "hive");
for (HiveType t : HiveType.VALUES) {
for (HiveType t : HiveType.values()) {
hive.setHarvestLevel("scoop", 0, t.ordinal());
}
}
@@ -462,7 +393,7 @@ public class Config {
private void setupNuggets() {
nuggets = new ItemNugget();
String item;
for (NuggetType type : NuggetType.VALUES) {
for (NuggetType type : NuggetType.values()) {
LogHelper.info("Found nugget of type " + type.toString());
item = type.toString().toLowerCase();
item = Character.toString(item.charAt(0)).toUpperCase() + item.substring(1);
@@ -519,11 +450,6 @@ public class Config {
visAuraProvider = new BlockVisAuraProvider();
GameRegistry.registerBlock(visAuraProvider, "visAuraProvider");
GameRegistry.registerTileEntity(TileEntityVisAuraProvider.class, "visAuraProvider");
if (isGTNHCoreModLoaded) BlockApimancersDrainer.drainer = TileEntityApimancersDrainerGT.class;
apimancersDrainer = new BlockApimancersDrainer();
GameRegistry.registerBlock(apimancersDrainer, "apimancersDrainer");
GameRegistry.registerTileEntity(BlockApimancersDrainer.drainer, "apimancersDrainer");
}
}
@@ -573,7 +499,7 @@ public class Config {
private void setupMiscForestryItemHooks() {
// Make Aromatic Lumps a swarmer inducer. Chance is /1000.
if (aromaticLumpSwarmerRate > 0) {
aromaticLumpSwarmerRate = Math.min(aromaticLumpSwarmerRate, 1000);
aromaticLumpSwarmerRate = (aromaticLumpSwarmerRate >= 1000) ? 1000 : aromaticLumpSwarmerRate;
BeeManager.inducers.put(miscResources.getStackForType(ResourceType.AROMATIC_LUMP), aromaticLumpSwarmerRate);
}
}
@@ -73,7 +73,6 @@ public class MagicBees {
proxy.registerRenderers();
this.modConfig.saveConfigs();
this.modConfig.setupThaumicEnergistics();
CraftingManager.setupCrafting();
CraftingManager.registerLiquidContainers();
@@ -426,16 +426,14 @@ public class CraftingManager {
GameRegistry.addRecipe(
new ShapedOreRecipe(new ItemStack(Items.emerald), "xxx", "xxx", "xxx", 'x', "nuggetEmerald"));
if (ItemInterface.getItemStack("apatite") != null) {
GameRegistry.addRecipe(
new ShapedOreRecipe(
ItemInterface.getItemStack("apatite"),
"xxx",
"xxx",
"xxx",
'x',
Config.nuggets.getStackForType(NuggetType.APATITE)));
}
GameRegistry.addRecipe(
new ShapedOreRecipe(
ItemInterface.getItemStack("apatite"),
"xxx",
"xxx",
"xxx",
'x',
Config.nuggets.getStackForType(NuggetType.APATITE)));
output = Config.miscResources.getStackForType(ResourceType.DIMENSIONAL_SINGULARITY);
GameRegistry.addRecipe(
@@ -822,7 +820,7 @@ public class CraftingManager {
ItemStack filled;
FluidStack liquid = null;
for (FluidType fluidType : FluidType.VALUES) {
for (FluidType fluidType : FluidType.values()) {
switch (fluidType) {
case EMPTY:
liquid = null;
@@ -1,7 +1,5 @@
package magicbees.main.utils;
import magicbees.Tags;
/**
* Using some of the VersionInfo code from cofh. (Thanks, Lemming!)
*
@@ -10,7 +8,7 @@ import magicbees.Tags;
public class VersionInfo {
public static final String ModName = "MagicBees";
public static final String Version = Tags.VERSION;
public static final String Version = "GRADLETOKEN_VERSION";
public static final String GUI_FACTORY_CLASS = "magicbees.client.gui.GuiFactory";
public static final String Logo = "/gfx/magicbees/logo.png";
public static final String Depends = "required-after:Forestry@[4.2.5,);after:Baubles;after:Thaumcraft;after:ExtraBees;after:EE3;after:ArsMagica;after:TConstruct;after:Railcraft;after:ThermalFoundation;after:ThermalExpansion;after:RedstoneArsenal;after:AWWayofTime;after:Botania;after:appliedenergistics2";
@@ -41,6 +41,5 @@ public class ModHelperManager {
helpers.add(new AppliedEnergisticsHelper());
helpers.add(new BaublesHelper());
helpers.add(new BloodHelper());
helpers.add(new ThaumicHorizonsHelper());
}
}
@@ -33,11 +33,151 @@ import thaumcraft.api.crafting.InfusionRecipe;
import thaumcraft.api.research.ResearchCategories;
import thaumcraft.api.research.ResearchItem;
import thaumcraft.api.research.ResearchPage;
import thaumcraft.common.config.ConfigBlocks;
public class ThaumcraftHelper implements IModHelper {
public static final String Name = "Thaumcraft";
public enum MiscResource {
ALUMENTUM,
NITOR,
THAUMIUM,
QUICKSILVER,
MAGIC_TALLOW,
BRAIN_DEPRECATED,
AMBER,
ENCHANTED_FABRIC,
VIS_FILTER,
KNOWLEDGE_FRAGMENT,
MIRRORED_GLASS,
TAINTED_GOO,
TAINTED_TENDRIL,
JAR_LABEL,
SALIS,
CHARM,
VOID_INGOT,
VOID_SEED,
COIN,;
}
public enum NuggetType {
IRON,
COPPER,
TIN,
SILVER,
LEAD,
QUICKSILVER,
THAUMIUM,
VOID_METAL,
_8,
_9,
_10,
_11,
_12,
_13,
_14,
_15,
NATIVE_IRON,
NATIVE_COPPER,
NATIVE_TIN,
NATIVE_SILVER,
NATIVE_LEAD,
NATIVE_CINNABAR,
_22,
_23,
_24,
_25,
_26,
_27,
_28,
_29,
_30,
NATIVE_GOLD,;
}
public enum ShardType {
AIR,
FIRE,
WATER,
EARTH,
ORDER,
CHAOS,
BALANCED,;
}
public enum MetalDeviceType {
CRUCIBLE,
ALEMBIC,
VIS_CHARGE_RELAY,
ADVANCED_ALCHEMICAL_CONSTRUCT,
_4,
ITEM_GRATE,
_6,
ARCANE_LAMP,
LAMP_OF_GROWTH,
ALCHEMICAL_CONSTRUCT,
THAUMATORIUM,
_11,
MNEMONIC_MATRIX,
LAMP_OF_FERTILITY,
VIS_RELAY,;
}
public enum WoodenDeviceType {
BELLOWS,
EAR,
PRESSURE_PLATE,
PRESSURE_PLATE_B,
BORE_BASE,
BORE,
PLANKS_GREATWOOD,
PLANKS_SILVERWOOD,
BANNER,;
}
public enum AiryBlockType {
NODE,
NITOR,
_2,
_3,
WARDING_STONE_FENCE,
ENERGIZED_NODE,;
}
public enum Entity {
BRAINY_ZOMBIE("entBrainyZombie", "EntityBrainyZombie"),
GIANT_BRAINY_ZOMBIE("entGiantBrainyZombie", "EntityGiantBrainyZombie"),
WISP("entWisp", "EntityWisp"),
FIREBAT("entFirebat", "EntityFireBat"),;
private static String packageName = "thaumcraft.common.entities.monster.";
public String entityID;
private String className;
private Entity(String id, String clazz) {
this.entityID = id;
this.className = clazz;
}
public String getClassName() {
return packageName + this.className;
}
}
public enum BlockPlant {
GREATWOOD_SAPLING,
SILVERWOOD_SAPLING,
SHIMMERLEAF,
CINDERPEARL,
PURIFYING_PLANT,
VISHROOM,;
}
public enum TreeType {
GREATWOOD,
SILVERWOOD,;
}
public static Block plant;
public static Block candle;
public static Block crystal;
@@ -51,6 +191,7 @@ public class ThaumcraftHelper implements IModHelper {
public static Block airy;
public static Block fluxGas;
public static Block fluxGoo;
public static Item filledJar;
public static Item miscResource;
public static Item shard;
@@ -60,17 +201,63 @@ public class ThaumcraftHelper implements IModHelper {
public static Item nuggetBeef;
public static Item nuggetPork;
public static Item zombieBrain;
public static ResearchItem bloodFramePage;
public static ResearchPage bloodFrame1;
public static ResearchPage bloodFrame2;
public static ResearchItem frenzyFramePage;
public static ResearchPage frenzyFrame1;
public static ResearchPage frenzyFrame2;
public static Class<? extends TileEntity> nodeClass;
public static Object bloodFrame;
public static Object frenziedFrame;
public static final String Name = "Thaumcraft";
private static boolean isThaumcraftPresent = false;
public static boolean isActive() {
return isThaumcraftPresent;
}
public void preInit() {
if (Loader.isModLoaded(Name) && Config.thaumcraftActive) {
isThaumcraftPresent = true;
aspectTime = new Aspect(
"tempus",
0xB68CFF,
new Aspect[] { Aspect.VOID, Aspect.ORDER },
new ResourceLocation(CommonProxy.DOMAIN, CommonProxy.TEXTURE + "aspects/tempus.png"),
1);
MagicBeesAPI.thaumcraftAspectTempus = aspectTime;
} else {
// Switch off TC-dependant items.
ResourceType.LORE_FRAGMENT.setHidden();
ResourceType.TC_DUST_AIR.setHidden();
ResourceType.TC_DUST_CHAOS.setHidden();
ResourceType.TC_DUST_EARTH.setHidden();
ResourceType.TC_DUST_FIRE.setHidden();
ResourceType.TC_DUST_ORDER.setHidden();
ResourceType.TC_DUST_WATER.setHidden();
}
}
public void init() {
if (isActive()) {
getBlocks();
getItems();
}
}
public void postInit() {
if (isActive()) {
setupItemAspects();
setupCrafting();
setupResearch();
}
}
private static Object aspectTime;
private static Object frameMagic;
private static Object thaumScoop;
private static Object thaumGrafter;
@@ -84,13 +271,12 @@ public class ThaumcraftHelper implements IModHelper {
private static Object essenceTime;
private static Object essenceOblivion;
private static Object visAuraProvider;
public static Object bloodFrame;
public static Object frenziedFrame;
private static Object voidScoop;
private static Object voidGrafter;
private static InfusionRecipe apimancersDrainer;
public static boolean isActive() {
return isThaumcraftPresent;
}
private static void getBlocks() {
plant = BlockInterface.getBlock(Name, "blockCustomPlant");
@@ -154,56 +340,32 @@ public class ThaumcraftHelper implements IModHelper {
"MB_Scoop",
new ItemStack(Config.thaumiumScoop),
new AspectList().add(Aspect.ORDER, 2),
"sWs",
"sTs",
" T ",
's',
Items.stick,
'W',
Blocks.wool,
'T',
new ItemStack(miscResource, 1, MiscResource.THAUMIUM.ordinal()));
new Object[] { "sWs", "sTs", " T ", 's', Items.stick, 'W', Blocks.wool, 'T',
new ItemStack(miscResource, 1, MiscResource.THAUMIUM.ordinal()) });
thaumGrafter = ThaumcraftApi.addArcaneCraftingRecipe(
"MB_Grafter",
new ItemStack(Config.thaumiumGrafter),
new AspectList().add(Aspect.ORDER, 5),
" T",
" s ",
"s ",
's',
Items.stick,
'T',
new ItemStack(miscResource, 1, MiscResource.THAUMIUM.ordinal()));
new Object[] { " T", " s ", "s ", 's', Items.stick, 'T',
new ItemStack(miscResource, 1, MiscResource.THAUMIUM.ordinal()) });
frameMagic = ThaumcraftApi.addArcaneCraftingRecipe(
"MB_FrameMagic",
new ItemStack(Config.hiveFrameMagic),
new AspectList().add(Aspect.ORDER, 5).add(Aspect.AIR, 2).add(Aspect.EARTH, 2),
"sss",
"sCs",
"sss",
's',
Items.stick,
'C',
new ItemStack(miscResource, 1, MiscResource.ENCHANTED_FABRIC.ordinal()));
new Object[] { "sss", "sCs", "sss", 's', Items.stick, 'C',
new ItemStack(miscResource, 1, MiscResource.ENCHANTED_FABRIC.ordinal()) });
visAuraProvider = ThaumcraftApi.addArcaneCraftingRecipe(
"MB_VisAuraProvider",
new ItemStack(Config.visAuraProvider),
new AspectList().add(Aspect.ORDER, 60).add(Aspect.AIR, 60).add(Aspect.ENTROPY, 60)
.add(Aspect.WATER, 60),
"ngn",
"gvg",
"npn",
'n',
Items.gold_nugget,
'g',
new ItemStack(wooden, 1, WoodenDeviceType.PLANKS_GREATWOOD.ordinal()),
'v',
new ItemStack(metal, 1, MetalDeviceType.VIS_RELAY.ordinal()),
'p',
Config.pollen.getStackForType(PollenType.UNUSUAL));
new Object[] { "ngn", "gvg", "npn", 'n', Items.gold_nugget, 'g',
new ItemStack(wooden, 1, WoodenDeviceType.PLANKS_GREATWOOD.ordinal()), 'v',
new ItemStack(metal, 1, MetalDeviceType.VIS_RELAY.ordinal()), 'p',
Config.pollen.getStackForType(PollenType.UNUSUAL) });
essenceLife = ThaumcraftApi.addCrucibleRecipe(
"MB_EssenceLife",
@@ -264,49 +426,22 @@ public class ThaumcraftHelper implements IModHelper {
"MB_EssenceOblivion",
Config.miscResources.getStackForType(ResourceType.ESSENCE_SCORNFUL_OBLIVION),
new AspectList().add(Aspect.ENTROPY, 25).add(Aspect.AIR, 40).add(Aspect.ORDER, 15),
Config.miscResources.getStackForType(ResourceType.DIMENSIONAL_SINGULARITY),
Blocks.dragon_egg);
new Object[] { Config.miscResources.getStackForType(ResourceType.DIMENSIONAL_SINGULARITY),
Blocks.dragon_egg, });
voidScoop = ThaumcraftApi.addArcaneCraftingRecipe(
"MB_ScoopVoid",
new ItemStack(Config.voidScoop),
new AspectList().add(Aspect.ORDER, 2),
"sWs",
"sTs",
" T ",
's',
Items.stick,
'W',
Blocks.wool,
'T',
new ItemStack(miscResource, 1, MiscResource.VOID_INGOT.ordinal()));
new Object[] { "sWs", "sTs", " T ", 's', Items.stick, 'W', Blocks.wool, 'T',
new ItemStack(miscResource, 1, MiscResource.VOID_INGOT.ordinal()) });
voidGrafter = ThaumcraftApi.addArcaneCraftingRecipe(
"MB_GrafterVoid",
new ItemStack(Config.voidGrafter),
new AspectList().add(Aspect.ORDER, 5),
" T",
" s ",
"s ",
's',
Items.stick,
'T',
new ItemStack(miscResource, 1, MiscResource.VOID_INGOT.ordinal()));
ItemStack centrifuge = new ItemStack(ConfigBlocks.blockTube);
centrifuge.setItemDamage(2);
apimancersDrainer = ThaumcraftApi.addInfusionCraftingRecipe(
"MB_ApimancersDrainer",
new ItemStack(Config.apimancersDrainer),
6,
new AspectList().add(Aspect.MAGIC, 40).add(Aspect.HARVEST, 20).add(Aspect.EXCHANGE, 20)
.add(Aspect.ELDRITCH, 20),
new ItemStack(ConfigBlocks.blockEssentiaReservoir),
new ItemStack[] { centrifuge, Config.pollen.getStackForType(PollenType.UNUSUAL),
Config.pollen.getStackForType(PollenType.PHASED),
Config.miscResources.getStackForType(ResourceType.DIMENSIONAL_SINGULARITY),
Config.pollen.getStackForType(PollenType.UNUSUAL),
Config.pollen.getStackForType(PollenType.PHASED) });
new Object[] { " T", " s ", "s ", 's', Items.stick, 'T',
new ItemStack(miscResource, 1, MiscResource.VOID_INGOT.ordinal()) });
}
private static void setupResearch() {
@@ -404,7 +539,7 @@ public class ThaumcraftHelper implements IModHelper {
1,
1,
new ItemStack(Config.hiveFrameMagic))
.setPages(getResearchPage("MB_FrameMagic.1"), new ResearchPage((IArcaneRecipe) frameMagic))
.setPages(getResearchPage("MB_FrameMagic"), new ResearchPage((IArcaneRecipe) frameMagic))
.registerResearchItem();
input = new ItemStack(Config.hiveFrameMagic);
@@ -551,19 +686,6 @@ public class ThaumcraftHelper implements IModHelper {
new ResearchPage((IArcaneRecipe) visAuraProvider))
.setParentsHidden("VISPOWER").registerResearchItem();
new ResearchItem(
"MB_ApimancersDrainer",
category,
new AspectList().add(Aspect.ELDRITCH, 1).add(Aspect.HARVEST, 1).add(Aspect.MAGIC, 1)
.add((Aspect) aspectTime, 1),
-3,
5,
4,
new ItemStack(Config.apimancersDrainer))
.setPages(getResearchPage("MB_ApimancersDrainer.1"), new ResearchPage(apimancersDrainer))
.setParentsHidden("VOIDMETAL", "ESSENTIARESERVOIR").setParents("MB_EssenceUnstable")
.setConcealed().registerResearchItem();
}
private static ResearchPage getResearchPage(String ident) {
@@ -638,11 +760,9 @@ public class ThaumcraftHelper implements IModHelper {
new ItemStack(item.getItem(), 1, ForestryHelper.BlockResource.APATITE.ordinal()),
list.copy());
item = ItemInterface.getItemStack(ForestryHelper.Name, "apatite");
if (item != null) {
ThaumcraftApi.registerObjectTag(
new ItemStack(item.getItem(), 1, item.getItemDamage()),
list.copy().add(Aspect.CRYSTAL, 2));
}
ThaumcraftApi.registerObjectTag(
new ItemStack(item.getItem(), 1, item.getItemDamage()),
list.copy().add(Aspect.CRYSTAL, 2));
list = new AspectList().add(Aspect.MOTION, 2).add(Aspect.FLIGHT, 1);
item = ItemInterface.getItemStack("beeDroneGE");
@@ -763,183 +883,4 @@ public class ThaumcraftHelper implements IModHelper {
new AspectList().add(Aspect.VOID, 6).add((Aspect) aspectTime, 8));
}
public void preInit() {
if (Loader.isModLoaded(Name) && Config.thaumcraftActive) {
isThaumcraftPresent = true;
aspectTime = new Aspect(
"tempus",
0xB68CFF,
new Aspect[] { Aspect.VOID, Aspect.ORDER },
new ResourceLocation(CommonProxy.DOMAIN, CommonProxy.TEXTURE + "aspects/tempus.png"),
1);
MagicBeesAPI.thaumcraftAspectTempus = aspectTime;
} else {
// Switch off TC-dependant items.
ResourceType.LORE_FRAGMENT.setHidden();
ResourceType.TC_DUST_AIR.setHidden();
ResourceType.TC_DUST_CHAOS.setHidden();
ResourceType.TC_DUST_EARTH.setHidden();
ResourceType.TC_DUST_FIRE.setHidden();
ResourceType.TC_DUST_ORDER.setHidden();
ResourceType.TC_DUST_WATER.setHidden();
}
}
public void init() {
if (isActive()) {
getBlocks();
getItems();
}
}
public void postInit() {
if (isActive()) {
setupItemAspects();
setupCrafting();
setupResearch();
}
}
public enum MiscResource {
ALUMENTUM,
NITOR,
THAUMIUM,
QUICKSILVER,
MAGIC_TALLOW,
BRAIN_DEPRECATED,
AMBER,
ENCHANTED_FABRIC,
VIS_FILTER,
KNOWLEDGE_FRAGMENT,
MIRRORED_GLASS,
TAINTED_GOO,
TAINTED_TENDRIL,
JAR_LABEL,
SALIS,
CHARM,
VOID_INGOT,
VOID_SEED,
COIN,
}
public enum NuggetType {
IRON,
COPPER,
TIN,
SILVER,
LEAD,
QUICKSILVER,
THAUMIUM,
VOID_METAL,
_8,
_9,
_10,
_11,
_12,
_13,
_14,
_15,
NATIVE_IRON,
NATIVE_COPPER,
NATIVE_TIN,
NATIVE_SILVER,
NATIVE_LEAD,
NATIVE_CINNABAR,
_22,
_23,
_24,
_25,
_26,
_27,
_28,
_29,
_30,
NATIVE_GOLD,
}
public enum ShardType {
AIR,
FIRE,
WATER,
EARTH,
ORDER,
CHAOS,
BALANCED,
}
public enum MetalDeviceType {
CRUCIBLE,
ALEMBIC,
VIS_CHARGE_RELAY,
ADVANCED_ALCHEMICAL_CONSTRUCT,
_4,
ITEM_GRATE,
_6,
ARCANE_LAMP,
LAMP_OF_GROWTH,
ALCHEMICAL_CONSTRUCT,
THAUMATORIUM,
_11,
MNEMONIC_MATRIX,
LAMP_OF_FERTILITY,
VIS_RELAY,
}
public enum WoodenDeviceType {
BELLOWS,
EAR,
PRESSURE_PLATE,
PRESSURE_PLATE_B,
BORE_BASE,
BORE,
PLANKS_GREATWOOD,
PLANKS_SILVERWOOD,
BANNER,
}
public enum AiryBlockType {
NODE,
NITOR,
_2,
_3,
WARDING_STONE_FENCE,
ENERGIZED_NODE,
}
public enum Entity {
BRAINY_ZOMBIE("entBrainyZombie", "EntityBrainyZombie"),
GIANT_BRAINY_ZOMBIE("entGiantBrainyZombie", "EntityGiantBrainyZombie"),
WISP("entWisp", "EntityWisp"),
FIREBAT("entFirebat", "EntityFireBat"),;
private static final String packageName = "thaumcraft.common.entities.monster.";
public String entityID;
private final String className;
Entity(String id, String clazz) {
this.entityID = id;
this.className = clazz;
}
public String getClassName() {
return packageName + this.className;
}
}
public enum BlockPlant {
GREATWOOD_SAPLING,
SILVERWOOD_SAPLING,
SHIMMERLEAF,
CINDERPEARL,
PURIFYING_PLANT,
VISHROOM,
}
public enum TreeType {
GREATWOOD,
SILVERWOOD,
}
}
@@ -1,24 +0,0 @@
package magicbees.main.utils.compat;
import cpw.mods.fml.common.Loader;
import magicbees.main.Config;
public class ThaumicHorizonsHelper implements IModHelper {
private static boolean isTHorizonsActive = false;
public static final String Name = "ThaumicHorizons";
public static boolean isActive() {
return isTHorizonsActive;
}
public void preInit() {
if (Loader.isModLoaded(Name) && Config.thaumicHorizonsActive) {
isTHorizonsActive = true;
}
}
public void init() {}
public void postInit() {}
}
@@ -14,13 +14,7 @@ import net.minecraft.world.biome.BiomeGenBase;
import com.google.common.collect.ImmutableSet;
import com.mojang.authlib.GameProfile;
import forestry.api.apiculture.DefaultBeeListener;
import forestry.api.apiculture.IBeeGenome;
import forestry.api.apiculture.IBeeHousing;
import forestry.api.apiculture.IBeeHousingInventory;
import forestry.api.apiculture.IBeeListener;
import forestry.api.apiculture.IBeeModifier;
import forestry.api.apiculture.IBeekeepingLogic;
import forestry.api.apiculture.*;
import forestry.api.core.EnumHumidity;
import forestry.api.core.EnumTemperature;
import forestry.api.core.IErrorLogic;
@@ -12,11 +12,7 @@ import WayofTime.alchemicalWizardry.api.soulNetwork.SoulNetworkHandler;
import WayofTime.alchemicalWizardry.common.items.EnergyItems;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import forestry.api.apiculture.IBee;
import forestry.api.apiculture.IBeeGenome;
import forestry.api.apiculture.IBeeHousing;
import forestry.api.apiculture.IBeeModifier;
import forestry.api.apiculture.IHiveFrame;
import forestry.api.apiculture.*;
import magicbees.main.CommonProxy;
import magicbees.main.utils.TabMagicBees;
@@ -38,27 +34,27 @@ public class ItemBloodBaseFrame extends EnergyItems implements IHiveFrame {
@Override
public float getMutationModifier(IBeeGenome genome, IBeeGenome mate, float currentModifier) {
return 1f;
return 1;
}
@Override
public float getLifespanModifier(IBeeGenome genome, IBeeGenome mate, float currentModifier) {
return 1f;
return 1;
}
@Override
public float getProductionModifier(IBeeGenome genome, float currentModifier) {
return 2f; // buffed post additive production change
return 2;
}
@Override
public float getFloweringModifier(IBeeGenome genome, float currentModifier) {
return 1f;
return 1;
}
@Override
public float getGeneticDecay(IBeeGenome genome, float currentModifier) {
return 0.8f;
return (float) 0.8;
}
@Override
@@ -83,15 +79,15 @@ public class ItemBloodBaseFrame extends EnergyItems implements IHiveFrame {
@Override
public float getTerritoryModifier(IBeeGenome genome, float currentModifier) {
return 1f;
return 1;
}
}
@Override
@SuppressWarnings({ "unchecked", "rawtypes" })
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) {
par3List.add(StatCollector.translateToLocal("tooltip.bloodBaseFrame.desc"));
par3List.add(StatCollector.translateToLocalFormatted("tooltip.bloodFrame.cost", energyUsed));
par3List.add(StatCollector.translateToLocal("You feel gross touching this"));
par3List.add(StatCollector.translateToLocal("Uses " + String.valueOf(energyUsed) + " LP per cycle"));
if (par1ItemStack.hasTagCompound()) {
par3List.add(
@@ -12,11 +12,7 @@ import WayofTime.alchemicalWizardry.api.soulNetwork.SoulNetworkHandler;
import WayofTime.alchemicalWizardry.common.items.EnergyItems;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import forestry.api.apiculture.IBee;
import forestry.api.apiculture.IBeeGenome;
import forestry.api.apiculture.IBeeHousing;
import forestry.api.apiculture.IBeeModifier;
import forestry.api.apiculture.IHiveFrame;
import forestry.api.apiculture.*;
import magicbees.main.CommonProxy;
import magicbees.main.utils.TabMagicBees;
@@ -38,7 +34,7 @@ public class ItemBloodFrame extends EnergyItems implements IHiveFrame {
@Override
public float getMutationModifier(IBeeGenome genome, IBeeGenome mate, float currentModifier) {
return 1f;
return 1;
}
@Override
@@ -53,12 +49,12 @@ public class ItemBloodFrame extends EnergyItems implements IHiveFrame {
@Override
public float getFloweringModifier(IBeeGenome genome, float currentModifier) {
return 1f;
return 1;
}
@Override
public float getGeneticDecay(IBeeGenome genome, float currentModifier) {
return 1f;
return 1;
}
@Override
@@ -83,7 +79,7 @@ public class ItemBloodFrame extends EnergyItems implements IHiveFrame {
@Override
public float getTerritoryModifier(IBeeGenome genome, float currentModifier) {
return 1f;
return 1;
}
}
@@ -91,7 +87,7 @@ public class ItemBloodFrame extends EnergyItems implements IHiveFrame {
@SuppressWarnings({ "unchecked", "rawtypes" })
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) {
par3List.add(StatCollector.translateToLocal("tooltip.bloodframe.desc"));
par3List.add(StatCollector.translateToLocalFormatted("tooltip.bloodFrame.cost", energyUsed));
par3List.add(StatCollector.translateToLocal("Uses " + String.valueOf(energyUsed) + " LP per cycle"));
if (par1ItemStack.hasTagCompound()) {
par3List.add(
@@ -12,11 +12,7 @@ import WayofTime.alchemicalWizardry.api.soulNetwork.SoulNetworkHandler;
import WayofTime.alchemicalWizardry.common.items.EnergyItems;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import forestry.api.apiculture.IBee;
import forestry.api.apiculture.IBeeGenome;
import forestry.api.apiculture.IBeeHousing;
import forestry.api.apiculture.IBeeModifier;
import forestry.api.apiculture.IHiveFrame;
import forestry.api.apiculture.*;
import magicbees.main.CommonProxy;
import magicbees.main.utils.TabMagicBees;
@@ -38,7 +34,7 @@ public class ItemFrenziedFrame extends EnergyItems implements IHiveFrame {
@Override
public float getMutationModifier(IBeeGenome genome, IBeeGenome mate, float currentModifier) {
return 10f;
return 10;
}
@Override
@@ -53,12 +49,12 @@ public class ItemFrenziedFrame extends EnergyItems implements IHiveFrame {
@Override
public float getFloweringModifier(IBeeGenome genome, float currentModifier) {
return 0f;
return 0;
}
@Override
public float getGeneticDecay(IBeeGenome genome, float currentModifier) {
return 10f;
return 10;
}
@Override
@@ -83,15 +79,15 @@ public class ItemFrenziedFrame extends EnergyItems implements IHiveFrame {
@Override
public float getTerritoryModifier(IBeeGenome genome, float currentModifier) {
return 1f;
return 1;
}
}
@Override
@SuppressWarnings({ "unchecked", "rawtypes" })
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) {
par3List.add(StatCollector.translateToLocal("tooltip.FrenziedFlame.desc"));
par3List.add(StatCollector.translateToLocalFormatted("tooltip.bloodFrame.cost", energyUsed));
par3List.add(StatCollector.translateToLocal("MAY CHAOS TAKE THE WORLD"));
par3List.add(StatCollector.translateToLocal("Uses " + String.valueOf(energyUsed) + " LP per cycle"));
if (par1ItemStack.hasTagCompound()) {
par3List.add(
@@ -182,7 +182,7 @@ public class SubTileHibeescus extends SubTileFunctional {
}
protected float getManaPerOpTick() {
return (float) getFinalOperationManaCost() / OPERATION_TICKS_TIME;
return getFinalOperationManaCost() / OPERATION_TICKS_TIME;
}
@Override
@@ -13,10 +13,7 @@ import net.minecraft.world.ChunkPosition;
import net.minecraft.world.World;
import net.minecraft.world.chunk.Chunk;
import com.kentington.thaumichorizons.common.tiles.TileSyntheticNode;
import magicbees.main.Config;
import magicbees.main.utils.compat.ThaumicHorizonsHelper;
import thaumcraft.api.aspects.Aspect;
import thaumcraft.api.aspects.AspectList;
import thaumcraft.api.nodes.INode;
@@ -44,9 +41,6 @@ public class NodeHelper {
((Map<ChunkPosition, TileEntity>) chunk.chunkTileEntityMap).values());
Collections.shuffle(tileEntities);
for (TileEntity entity : tileEntities) {
if (ThaumicHorizonsHelper.isActive() && entity instanceof TileSyntheticNode) {
continue;
}
if (entity instanceof INode) {
Vec3 tePos = Vec3.createVectorHelper(entity.xCoord, entity.yCoord, entity.zCoord);
Vec3 result = apiaryPos.subtract(tePos);
@@ -67,9 +61,6 @@ public class NodeHelper {
List<TileEntity> tileEntities = new ArrayList<TileEntity>(
((Map<ChunkPosition, TileEntity>) chunk.chunkTileEntityMap).values());
for (TileEntity entity : tileEntities) {
if (ThaumicHorizonsHelper.isActive() && entity instanceof TileSyntheticNode) {
continue;
}
if (entity instanceof INode) {
Vec3 tePos = Vec3.createVectorHelper(entity.xCoord, entity.yCoord, entity.zCoord);
Vec3 result = apiaryPos.subtract(tePos);
@@ -1,298 +0,0 @@
package magicbees.tileentity;
import java.util.Objects;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
import net.minecraftforge.common.util.ForgeDirection;
import cpw.mods.fml.common.Optional;
import forestry.api.apiculture.EnumBeeType;
import forestry.api.apiculture.IAlleleBeeSpecies;
import forestry.api.apiculture.IBee;
import forestry.api.apiculture.IBeeGenome;
import forestry.api.apiculture.IBeeHousing;
import forestry.api.apiculture.IBeeModifier;
import forestry.api.apiculture.IBeekeepingLogic;
import forestry.api.apiculture.IBeekeepingMode;
import forestry.apiculture.genetics.BeeGenome;
import magicbees.bees.BeeManager;
import magicbees.bees.BeeSpecies;
import magicbees.main.Config;
import thaumcraft.api.aspects.Aspect;
import thaumcraft.api.aspects.AspectList;
import thaumcraft.api.aspects.IAspectContainer;
import thaumcraft.api.aspects.IEssentiaTransport;
import thaumicenergistics.api.storage.IAspectStorage;
@Optional.InterfaceList({
@Optional.Interface(iface = "thaumicenergistics.api.storage.IAspectStorage", modid = "thaumicenergistics") })
public class TileEntityApimancersDrainerCommon extends TileEntity
implements IEssentiaTransport, IAspectContainer, IAspectStorage {
public Aspect aspect;
public AspectList essentia = new AspectList();
public final int maxAmount = Config.drainerCapacity;
protected int increment = 0;
public void setAspect(Aspect sAspect) {
aspect = sAspect;
}
@Override
public void updateEntity() {
super.updateEntity();
// If there's no stored aspect we shouldn't even check for the above block.
// We also don't need to run all the logic if the cabinet is full.
if (aspect == null || essentia.visSize() == maxAmount) return;
if (increment >= Config.drainerTimeBetween) {
increment = 0;
try {
TileEntity above = worldObj.getTileEntity(this.xCoord, this.yCoord + 1, this.zCoord);
IBeeHousing beeHousing = beeHousing(above);
if (beeHousing != null) {
// This performs all the checks to see if the bee is a living queen and if the species conditions
// are met.
if (!canWork(beeHousing, above)) return;
// The beeRoot.isMember call will treat null the same as EnumBeeType.NONE which leads getSpecies to
// return null.
ItemStack queenStack = getQueen(beeHousing, above);
IAlleleBeeSpecies queenSpecies = BeeGenome.getSpecies(queenStack);
if (queenSpecies == null) return;
if (BeeManager.beeRoot.getType(queenStack) != EnumBeeType.QUEEN) return;
if (Objects.equals(queenSpecies.getUID(), BeeSpecies.TC_ESSENTIA.getSpecies().getUID())) {
IBeeModifier modifier = BeeManager.beeRoot.createBeeHousingModifier(beeHousing);
IBee queen = BeeManager.beeRoot.getMember(queenStack);
int amount = Config.drainerAmount * getProductionMultiplier(modifier, queen, above);
addToContainer(aspect, amount);
drainQueen(beeHousing, modifier, queen);
}
}
} catch (Exception ignored) {}
}
increment++;
}
protected IBeeHousing beeHousing(TileEntity above) {
return above instanceof IBeeHousing ? (IBeeHousing) above : null;
}
protected boolean canWork(IBeeHousing beeHousing, TileEntity above) {
IBeekeepingLogic beekeepingLogic = beeHousing.getBeekeepingLogic();
return beekeepingLogic.canWork();
}
protected ItemStack getQueen(IBeeHousing beeHousing, TileEntity te) {
return beeHousing.getBeeInventory().getQueen();
}
protected int getProductionMultiplier(IBeeModifier modifier, IBee queen, TileEntity te) {
IBeekeepingMode mode = BeeManager.beeRoot.getBeekeepingMode(te.getWorldObj());
IBeeGenome genome = queen.getGenome();
float genomeSpeed = genome.getSpeed();
float productionMultiplier = modifier.getProductionModifier(genome, 1.0F);
productionMultiplier += mode != null ? mode.getBeeModifier().getProductionModifier(genome, productionMultiplier)
: 0.0F;
productionMultiplier += genomeSpeed;
float minimum = Math.max(productionMultiplier, 1.0F);
return (int) Math.ceil(minimum);
}
private void drainQueen(IBeeHousing housing, IBeeModifier modifier, IBee queen) {
float lifespanModifier = modifier.getLifespanModifier(queen.getGenome(), queen.getMate(), 1.0f);
queen.age(housing.getWorld(), lifespanModifier);
// Write the changed queen back into the item stack.
NBTTagCompound nbttagcompound = new NBTTagCompound();
queen.writeToNBT(nbttagcompound);
housing.getBeeInventory().getQueen().setTagCompound(nbttagcompound);
}
@Override
@Optional.Method(modid = "thaumicenergistics")
public int getContainerCapacity() {
return maxAmount;
}
@Override
@Optional.Method(modid = "thaumicenergistics")
public boolean doesShareCapacity() {
return true;
}
public AspectList getAspects() {
return this.essentia;
}
@Override
public void setAspects(AspectList aspects) {
this.essentia = aspects;
}
@Override
public boolean doesContainerAccept(Aspect tag) {
return false;
}
@Override
public int addToContainer(Aspect tag, int am) {
int toAdd = Math.min(maxAmount - essentia.visSize(), am);
if (aspect.equals(tag) && toAdd > 0) {
essentia.add(aspect, toAdd);
markDirty();
return am - toAdd;
}
markDirty();
return am;
}
@Override
public boolean takeFromContainer(Aspect tag, int amount) {
if (!this.worldObj.isRemote) {
this.worldObj.markBlockForUpdate(this.xCoord, this.yCoord, this.zCoord);
}
if (this.essentia.getAmount(tag) >= amount) {
this.essentia.remove(tag, amount);
return true;
}
return false;
}
@Override
public boolean takeFromContainer(AspectList ot) {
// TODO Auto-generated method stub
boolean hasIt = true;
if (!this.worldObj.isRemote) {
this.worldObj.markBlockForUpdate(this.xCoord, this.yCoord, this.zCoord);
}
for (Aspect next : ot.aspects.keySet()) {
if (this.essentia.getAmount(next) < ot.getAmount(next)) hasIt = false;
}
if (hasIt) {
for (Aspect next : ot.aspects.keySet()) {
essentia.remove(next, ot.getAmount(next));
}
return true;
}
return false;
}
@Override
public boolean doesContainerContainAmount(Aspect tag, int amount) {
return this.essentia.getAmount(tag) >= amount;
}
@Override
public boolean doesContainerContain(AspectList ot) {
boolean hasIt = true;
for (Aspect next : ot.aspects.keySet()) {
if (this.essentia.getAmount(next) < ot.getAmount(next)) hasIt = false;
}
return hasIt;
}
@Override
public int containerContains(Aspect tag) {
return this.essentia.getAmount(tag);
}
@Override
public boolean isConnectable(ForgeDirection face) {
return (face != ForgeDirection.UP);
}
@Override
public boolean canInputFrom(ForgeDirection face) {
return false;
}
@Override
public boolean canOutputTo(ForgeDirection face) {
return (face != ForgeDirection.UP);
}
@Override
public int takeEssentia(Aspect aspect, int amount, ForgeDirection face) {
if (face != ForgeDirection.UP) {
if (!this.worldObj.isRemote) {
this.worldObj.markBlockForUpdate(this.xCoord, this.yCoord, this.zCoord);
}
int total = this.essentia.getAmount(aspect);
this.essentia.remove(aspect, amount); // if amount >= total then it will also remove aspect.
return Math.min(amount, total);
}
return 0;
}
@Override
public void setSuction(Aspect aspect, int amount) {}
@Override
public int getMinimumSuction() {
return -1;
}
@Override
public int getSuctionAmount(ForgeDirection face) {
return -1;
}
@Override
public boolean renderExtendedTube() {
return false;
}
@Override
public Aspect getSuctionType(ForgeDirection face) {
return null;
}
@Override
public Aspect getEssentiaType(ForgeDirection face) {
return this.essentia.size() > 0
? this.essentia.getAspects()[this.worldObj.rand.nextInt(this.essentia.getAspects().length)]
: null;
}
@Override
public int getEssentiaAmount(ForgeDirection face) {
return this.essentia.visSize();
}
@Override
public int addEssentia(Aspect aspect, int amount, ForgeDirection face) {
return this.canInputFrom(face) ? amount - this.addToContainer(aspect, amount) : 0;
}
/* Saving and loading */
@Override
public void writeToNBT(NBTTagCompound compound) {
super.writeToNBT(compound);
this.essentia.writeToNBT(compound);
if (aspect != null) compound.setString("aspect", aspect.getTag());
compound.setInteger("increment", increment);
}
@Override
public void readFromNBT(NBTTagCompound compound) {
super.readFromNBT(compound);
this.essentia.readFromNBT(compound);
for (Aspect aspect : this.essentia.getAspects()) {
if (this.essentia.getAmount(aspect) <= 0) this.essentia.remove(aspect);
}
if (this.essentia.visSize() > this.maxAmount) {
this.essentia = new AspectList();
}
if (compound.hasKey("aspect")) aspect = Aspect.getAspect(compound.getString("aspect"));
increment = compound.getInteger("increment");
}
}
@@ -1,89 +0,0 @@
package magicbees.tileentity;
import java.util.stream.Collectors;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.EnumChatFormatting;
import forestry.api.apiculture.IBee;
import forestry.api.apiculture.IBeeHousing;
import forestry.api.apiculture.IBeeModifier;
import gregtech.api.interfaces.metatileentity.IMetaTileEntity;
import gregtech.api.interfaces.tileentity.IGregTechDeviceInformation;
import gregtech.api.metatileentity.BaseMetaTileEntity;
import gregtech.common.tileentities.machines.basic.MTEIndustrialApiary;
public class TileEntityApimancersDrainerGT extends TileEntityApimancersDrainerCommon
implements IGregTechDeviceInformation {
@Override
public boolean isGivingInformation() {
return true;
}
@Override
public String[] getInfoData() {
String aspects = essentia.aspects.entrySet().stream()
.map(
e -> EnumChatFormatting.LIGHT_PURPLE + e.getKey().getName()
+ ": "
+ EnumChatFormatting.GREEN
+ e.getValue())
.collect(Collectors.joining(EnumChatFormatting.RESET + ", " + EnumChatFormatting.RESET));
return new String[] { EnumChatFormatting.DARK_PURPLE + "Apimancer's Drainer" + EnumChatFormatting.RESET,
aspect != null ? "Attuned: " + aspect.getName() : "Not attuned", "Stored Essentia:", aspects };
}
@Override
protected IBeeHousing beeHousing(TileEntity above) {
IBeeHousing regularCheck = super.beeHousing(above);
if (regularCheck != null) return regularCheck;
BaseMetaTileEntity GTMetaTileEntity = getGTTileEntity(above);
if (GTMetaTileEntity != null) {
IMetaTileEntity underlyingMetaTileEntity = GTMetaTileEntity.getMetaTileEntity();
if (!(underlyingMetaTileEntity instanceof MTEIndustrialApiary)) return null;
return (IBeeHousing) underlyingMetaTileEntity;
}
return null;
}
@Override
protected boolean canWork(IBeeHousing beeHousing, TileEntity te) {
BaseMetaTileEntity GTMetaTileEntity = getGTTileEntity(te);
return GTMetaTileEntity != null ? GTMetaTileEntity.isActive() : super.canWork(beeHousing, te);
}
@Override
protected ItemStack getQueen(IBeeHousing beeHousing, TileEntity te) {
BaseMetaTileEntity GTMetaTileEntity = getGTTileEntity(te);
MTEIndustrialApiary industrialApiary = getGTIndustrialApiary(GTMetaTileEntity);
return industrialApiary != null ? industrialApiary.getUsedQueen() : super.getQueen(beeHousing, te);
}
@Override
protected int getProductionMultiplier(IBeeModifier modifier, IBee queen, TileEntity te) {
BaseMetaTileEntity GTMetaTileEntity = getGTTileEntity(te);
MTEIndustrialApiary industrialApiary = getGTIndustrialApiary(GTMetaTileEntity);
int housingProductionMultiplier = super.getProductionMultiplier(modifier, queen, te);
return industrialApiary != null
? housingProductionMultiplier * (int) Math.ceil(Math.sqrt(industrialApiary.mSpeed))
: housingProductionMultiplier;
}
private BaseMetaTileEntity getGTTileEntity(TileEntity te) {
boolean isGTMetaTileEntity = te instanceof BaseMetaTileEntity;
return isGTMetaTileEntity ? (BaseMetaTileEntity) te : null;
}
private MTEIndustrialApiary getGTIndustrialApiary(BaseMetaTileEntity bmte) {
if (bmte != null) {
IMetaTileEntity underlyingMetaTileEntity = bmte.getMetaTileEntity();
if (!(underlyingMetaTileEntity instanceof MTEIndustrialApiary)) return null;
return (MTEIndustrialApiary) underlyingMetaTileEntity;
}
return null;
}
}
@@ -1,6 +1,7 @@
package magicbees.tileentity;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
@@ -9,8 +10,10 @@ import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.ICrafting;
import net.minecraft.inventory.ISidedInventory;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minecraft.network.Packet;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.ChunkCoordinates;
@@ -19,33 +22,35 @@ import net.minecraft.world.ChunkPosition;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.chunk.Chunk;
import net.minecraftforge.common.util.Constants;
import com.mojang.authlib.GameProfile;
import forestry.api.apiculture.DefaultBeeListener;
import forestry.api.apiculture.DefaultBeeModifier;
import forestry.api.apiculture.IBee;
import forestry.api.apiculture.IBeeGenome;
import forestry.api.apiculture.IBeeHousing;
import forestry.api.apiculture.IBeeHousingInventory;
import forestry.api.apiculture.IBeeListener;
import forestry.api.apiculture.IBeeModifier;
import forestry.api.apiculture.IBeekeepingLogic;
import forestry.api.apiculture.IBeekeepingMode;
import forestry.api.apiculture.IHiveFrame;
import forestry.api.core.EnumHumidity;
import forestry.api.core.EnumTemperature;
import forestry.api.core.ForestryAPI;
import forestry.api.core.IErrorLogic;
import forestry.apiculture.ApiaryBeeListener;
import forestry.apiculture.IApiary;
import forestry.apiculture.inventory.IApiaryInventory;
import magicbees.api.bees.IMagicApiaryAuraProvider;
import magicbees.bees.AuraCharge;
import magicbees.bees.BeeManager;
import magicbees.bees.MagicApiaryInventory;
import magicbees.main.CommonProxy;
import magicbees.main.utils.ChunkCoords;
import magicbees.main.utils.ItemStackUtils;
import magicbees.main.utils.net.EventAuraChargeUpdate;
import magicbees.main.utils.net.NetworkEventHandler;
public class TileEntityMagicApiary extends TileEntity implements ISidedInventory, IApiary, ITileEntityAuraCharged {
public class TileEntityMagicApiary extends TileEntity implements ISidedInventory, IBeeHousing, ITileEntityAuraCharged {
// Constants
private static final int AURAPROVIDER_SEARCH_RADIUS = 6;
@@ -57,13 +62,21 @@ public class TileEntityMagicApiary extends TileEntity implements ISidedInventory
private BiomeGenBase biome;
private int breedingProgressPercent = 0;
private final IBeekeepingLogic beeLogic = BeeManager.beeRoot.createBeekeepingLogic(this);
private final IBeeListener beeListener = new ApiaryBeeListener(this);
private final IBeeModifier beeModifier = new MagicApiaryBeeModifier(this);
private final MagicApiaryInventory inventory = new MagicApiaryInventory(this);
private final IErrorLogic errorLogic = ForestryAPI.errorStateRegistry.createErrorLogic();
private final IBeekeepingLogic beeLogic;
private final IErrorLogic errorLogic;
private final IBeeListener beeListener;
private final IBeeModifier beeModifier;
private final MagicApiaryInventory inventory;
private final AuraCharges auraCharges = new AuraCharges();
public TileEntityMagicApiary() {
beeLogic = BeeManager.beeRoot.createBeekeepingLogic(this);
beeModifier = new MagicApiaryBeeModifier(this);
beeListener = new MagicApiaryBeeListener(this);
inventory = new MagicApiaryInventory(this);
errorLogic = ForestryAPI.errorStateRegistry.createErrorLogic();
}
@Override
public Iterable<IBeeModifier> getBeeModifiers() {
List<IBeeModifier> beeModifiers = new ArrayList<IBeeModifier>();
@@ -87,16 +100,15 @@ public class TileEntityMagicApiary extends TileEntity implements ISidedInventory
return inventory;
}
@Override
public IApiaryInventory getApiaryInventory() {
return inventory;
}
@Override
public IBeekeepingLogic getBeekeepingLogic() {
return beeLogic;
}
public void setOwner(EntityPlayer player) {
this.ownerProfile = player.getGameProfile();
}
@Override
public IErrorLogic getErrorLogic() {
return errorLogic;
@@ -224,6 +236,14 @@ public class TileEntityMagicApiary extends TileEntity implements ISidedInventory
return (breedingProgressPercent * i) / 100;
}
public int getTemperatureScaled(int i) {
return Math.round(i * (getExactTemperature() / 2));
}
public int getHumidityScaled(int i) {
return Math.round(i * getExactHumidity());
}
/* Saving and loading */
@Override
public void writeToNBT(NBTTagCompound compound) {
@@ -252,6 +272,10 @@ public class TileEntityMagicApiary extends TileEntity implements ISidedInventory
return event.getPacket();
}
public float getExactTemperature() {
return getBiome().getFloatTemperature(xCoord, yCoord, zCoord);
}
public float getExactHumidity() {
return getBiome().rainfall;
}
@@ -456,6 +480,156 @@ public class TileEntityMagicApiary extends TileEntity implements ISidedInventory
return inventory.canExtractItem(i, itemStack, i1);
}
private static class MagicApiaryInventory implements IBeeHousingInventory {
public static final int SLOT_QUEEN = 0;
public static final int SLOT_DRONE = 1;
public static final int SLOT_FRAME_START = 2;
public static final int SLOT_FRAME_COUNT = 3;
public static final int SLOT_PRODUCTS_START = 5;
public static final int SLOT_PRODUCTS_COUNT = 7;
private final TileEntityMagicApiary magicApiary;
private ItemStack[] items;
public MagicApiaryInventory(TileEntityMagicApiary magicApiary) {
this.magicApiary = magicApiary;
this.items = new ItemStack[12];
}
@Override
public ItemStack getQueen() {
return magicApiary.getStackInSlot(SLOT_QUEEN);
}
@Override
public ItemStack getDrone() {
return magicApiary.getStackInSlot(SLOT_DRONE);
}
@Override
public void setQueen(ItemStack itemstack) {
magicApiary.setInventorySlotContents(SLOT_QUEEN, itemstack);
}
@Override
public void setDrone(ItemStack itemstack) {
magicApiary.setInventorySlotContents(SLOT_DRONE, itemstack);
}
@Override
public boolean addProduct(ItemStack product, boolean all) {
int countAdded = ItemStackUtils
.addItemToInventory(magicApiary, product, SLOT_PRODUCTS_START, SLOT_PRODUCTS_COUNT);
if (all) {
return countAdded == product.stackSize;
} else {
return countAdded > 0;
}
}
public int getSizeInventory() {
return items.length;
}
public ItemStack getStackInSlot(int i) {
return items[i];
}
public void setInventorySlotContents(int i, ItemStack itemStack) {
items[i] = itemStack;
if (itemStack != null && itemStack.stackSize > getInventoryStackLimit()) {
itemStack.stackSize = getInventoryStackLimit();
}
}
public int[] getAccessibleSlotsFromSide(int side) {
if (side == 0 || side == 1) {
return new int[] { SLOT_QUEEN, SLOT_DRONE };
} else {
int[] slots = new int[SLOT_PRODUCTS_COUNT];
for (int i = 0, slot = SLOT_PRODUCTS_START; i < SLOT_PRODUCTS_COUNT; ++i, ++slot) {
slots[i] = slot;
}
return slots;
}
}
public boolean canInsertItem(int slot, ItemStack itemStack, int side) {
if (slot == SLOT_QUEEN && BeeManager.beeRoot.isMember(itemStack)
&& !BeeManager.beeRoot.isDrone(itemStack)) {
return true;
} else if (slot == SLOT_DRONE && BeeManager.beeRoot.isDrone(itemStack)) {
return true;
}
return slot == SLOT_DRONE && BeeManager.beeRoot.isDrone(itemStack);
}
public boolean canExtractItem(int slot, ItemStack itemStack, int side) {
switch (slot) {
case SLOT_FRAME_START:
case SLOT_FRAME_START + 1:
case SLOT_FRAME_START + 2:
return false;
default:
return true;
}
}
public int getInventoryStackLimit() {
return 64;
}
public Collection<IHiveFrame> getFrames() {
Collection<IHiveFrame> hiveFrames = new ArrayList<IHiveFrame>(SLOT_FRAME_COUNT);
for (int i = SLOT_FRAME_START; i < SLOT_FRAME_START + SLOT_FRAME_COUNT; i++) {
ItemStack stackInSlot = magicApiary.getStackInSlot(i);
if (stackInSlot == null) {
continue;
}
Item itemInSlot = stackInSlot.getItem();
if (itemInSlot instanceof IHiveFrame) {
hiveFrames.add((IHiveFrame) itemInSlot);
}
}
return hiveFrames;
}
public void writeToNBT(NBTTagCompound compound) {
NBTTagList itemsNBT = new NBTTagList();
for (int i = 0; i < items.length; i++) {
ItemStack itemStack = items[i];
if (itemStack != null) {
NBTTagCompound item = new NBTTagCompound();
item.setByte("Slot", (byte) i);
itemStack.writeToNBT(item);
itemsNBT.appendTag(item);
}
}
compound.setTag("Items", itemsNBT);
}
public void readFromNBT(NBTTagCompound compound) {
NBTTagList items = compound.getTagList("Items", Constants.NBT.TAG_COMPOUND);
for (int i = 0; i < items.tagCount(); i++) {
NBTTagCompound item = items.getCompoundTagAt(i);
int slot = item.getByte("Slot");
if (slot >= 0 && slot < getSizeInventory()) {
setInventorySlotContents(slot, ItemStack.loadItemStackFromNBT(item));
}
}
}
}
private static class MagicApiaryBeeModifier extends DefaultBeeModifier {
private final TileEntityMagicApiary magicApiary;
@@ -466,17 +640,29 @@ public class TileEntityMagicApiary extends TileEntity implements ISidedInventory
@Override
public float getMutationModifier(IBeeGenome genome, IBeeGenome mate, float currentModifier) {
return magicApiary.isMutationBoosted() ? 2f : 1f;
float mod = 1.0f;
if (magicApiary.isMutationBoosted()) {
mod = mod * 2f;
}
return mod;
}
@Override
public float getLifespanModifier(IBeeGenome genome, IBeeGenome mate, float currentModifier) {
return magicApiary.isDeathRateBoosted() ? 2f : 1f;
float mod = 1.0f;
if (magicApiary.isDeathRateBoosted()) {
mod = mod / 2f;
}
return mod;
}
@Override
public float getProductionModifier(IBeeGenome genome, float currentModifier) {
return magicApiary.isProductionBoosted() ? 0.8f : -0.1f;
float mod = -0.1f;// was 0.9x, now -0.1
if (magicApiary.isProductionBoosted()) {
mod = 1.8f;// was 1.8x, now "remains" as +1.8
}
return mod;
}
@Override
@@ -484,4 +670,40 @@ public class TileEntityMagicApiary extends TileEntity implements ISidedInventory
return 0.8f;
}
}
private static class MagicApiaryBeeListener extends DefaultBeeListener {
private final TileEntityMagicApiary magicApiary;
public MagicApiaryBeeListener(TileEntityMagicApiary magicApiary) {
this.magicApiary = magicApiary;
}
@Override
public void wearOutEquipment(int amount) {
IBeekeepingMode beekeepingMode = BeeManager.beeRoot.getBeekeepingMode(magicApiary.getWorldObj());
int wear = Math.round(amount * beekeepingMode.getWearModifier());
for (int i = MagicApiaryInventory.SLOT_FRAME_START; i
< MagicApiaryInventory.SLOT_FRAME_START + MagicApiaryInventory.SLOT_FRAME_COUNT; i++) {
ItemStack hiveFrameStack = magicApiary.getStackInSlot(i);
if (hiveFrameStack == null) {
continue;
}
Item hiveFrameItem = hiveFrameStack.getItem();
if (!(hiveFrameItem instanceof IHiveFrame)) {
continue;
}
IHiveFrame hiveFrame = (IHiveFrame) hiveFrameItem;
ItemStack queenStack = magicApiary.getBeeInventory().getQueen();
IBee queen = BeeManager.beeRoot.getMember(queenStack);
ItemStack usedFrame = hiveFrame.frameUsed(magicApiary, hiveFrameStack, queen, wear);
magicApiary.setInventorySlotContents(i, usedFrame);
}
}
}
}
@@ -605,7 +605,7 @@ tc.research_page.MB_EssenceLife.1=Einfach zu kreieren, durch Magie, hat diese Es
tc.research_name.MB_EssenceDeath=Essenz eines Flachen Grabes
tc.research_text.MB_EssenceDeath=[MB] Nicht ganz tot.
tc.research_page.MB_EssenceDeath.1=Die Essenz eines Flachen Grabes bündelt den Tod vieler... "natürlicher" Kreaturen, die die Welt bewandern: Zombies, Skelette, all solche Wesen. Wenn du Bienen dieser Energie aussetzt, werden sie langsam und träge, und ihre Lebensdauer sinkt. Einige Apimanten denken, das Nutzen von mit dieser Essenz erfüllten Rähmchen wäre grausam, jedoch sehen andere es als natürlichen Teil normaler Bienenzucht, dabei bestrebt, ihre perfekte Sorte Bienen irgendwann innerhalb IHRER Lebenszeit zu kreieren. <BR> Die Gilde der Sicherheit der Apimanten empfiehlt Umgang mit Telekinese oder einer sehr langen Zange.
tc.reseacrh_page.MB_EssenceDeath.1=Die Essenz eines Flachen Grabes bündelt den Tod vieler... "natürlicher" Kreaturen, die die Welt bewandern: Zombies, Skelette, all solche Wesen. Wenn du Bienen dieser Energie aussetzt, werden sie langsam und träge, und ihre Lebensdauer sinkt. Einige Apimanten denken, das Nutzen von mit dieser Essenz erfüllten Rähmchen wäre grausam, jedoch sehen andere es als natürlichen Teil normaler Bienenzucht, dabei bestrebt, ihre perfekte Sorte Bienen irgendwann innerhalb IHRER Lebenszeit zu kreieren. <BR> Die Gilde der Sicherheit der Apimanten empfiehlt Umgang mit Telekinese oder einer sehr langen Zange.
tc.research_name.MB_EssenceArmor=Essenz der Immerwährenden Haltbarkeit
tc.research_text.MB_EssenceArmor=[MB] The rubber to your glue
@@ -38,9 +38,7 @@ item.beeRing.name=Collector's Bee Ring
tile.effectJar.name=Bee Collector's Jar
tile.magicApiary.name=Magic Apiary
tile.visAuraProvider.name=Vis Apiary Booster
tile.apimancersDrainer.name=Apimancer's Drainer
tile.manaAuraProvider.name=Mana Apiary Booster
tile.hive.name=Hive
tile.hive.curious.name=Curious Hive
tile.hive.unusual.name=Unusual Hive
tile.hive.deep.name=Deep Hive
@@ -50,7 +48,6 @@ tile.hive.oblivion.name=Oblivion Hive
tile.enchantedEarth.name=Enchanted Earth
#Combs
item.comb.name=Comb
comb.mundane=Mundane Comb
comb.molten=Molten Comb
comb.occult=Occult Comb
@@ -80,13 +77,11 @@ comb.TElux=Lux Comb
comb.TEendearing=Endearing Comb
#Waxes
item.wax.name=Wax
wax.magic=Magic Wax
wax.soul=Soulful Wax
wax.amnesic=Amnesic Wax
#Drops
item.drop.name=Drop
drop.enchanting=Enchanting Drop
drop.intellect=Intellect Drop
drop.destabilized=Destabilized Drop
@@ -95,12 +90,10 @@ drop.lux=Lux Drop
drop.endearing=Endearing Drop
#Pollens
item.pollen.name=Pollen
pollen.unusual=Unusual Pollen
pollen.phased=Phased Pollen
#Nuggets
item.beeNugget.name=Nugget
nugget.iron=Iron Nugget
nugget.steel=Steel Nugget
nugget.copper=Copper Nugget
@@ -112,7 +105,6 @@ nugget.emerald=Emerald Shard
nugget.apatite=Apatite Shard
#Propolises
item.propolis.name=Propolis
propolis.dull=Ordered Propolis
propolis.air=Breezey Propolis
propolis.fire=Burning Propolis
@@ -122,7 +114,6 @@ propolis.magic=Chaotic Propolis
propolis.unstable=Unstable Propolis
#Misc resources
item.miscResources.name=Resource
resource.fragment=Lore Fragment
resource.lump=Aromatic Lump
resource.fertilizer=Concentrated Compound
@@ -158,16 +149,8 @@ item.bloodFrame.name=Sanguis Artus
item.frenziedFrame.name=Maddening Frame of Frenzy
item.bloodSoakedFrame.name=Blood Frame
#Tooltips
tooltip.bloodBaseFrame.desc=You feel gross touching this
tooltip.bloodFrame.desc=Stirs Bees into a frenzy
tooltip.FrenziedFlame.desc=MAY CHAOS TAKE THE WORLD
tooltip.bloodFrame.cost=Uses %d LP per bee tick
#Capsules
item.capsule.magic.name=Magic Capsule
capsule.magic=%s Magic Capsule
item.capsule.void.name=Void Capsule
capsule.void=%s Void Capsule
#Liquids
@@ -219,8 +202,6 @@ moon.new=New Moon
#moon.alt.new=
#Backpack
item.backpack.thaumaturgeT1.name=Thaumaturge's Backpack
item.backpack.thaumaturgeT2.name=Thaumaturge's Backpack
backpack.thaumaturge=Thaumaturge's Backpack
#Itemgroups
@@ -422,8 +403,6 @@ magicbees.speciesTCOrder=Ordered
magicbees.speciesTCOrder.description=Their combs are nearly perfect, each part mirroring the pattern of the whole.|Apinomicon
magicbees.speciesTCChaos=Chaotic
magicbees.speciesTCChaos.description=The social structure of their hives seems to vary day by day, making it more flexible and resillient than others, but significantly more unpredictable.|Apinomicon
magicbees.speciesTCEssentia=Essentia
magicbees.speciesTCEssentia.description="Why spam Essentia Condensers when you can just use bees?"|Quantumly, Condenser Enjoyer
magicbees.speciesTCVis=Vis
magicbees.speciesTCVis.description="They can feel changes in the aura, but are not yet able to affect it."|Azanor, research notes
magicbees.speciesTCRejuvenating=Rejuvenating
@@ -647,7 +626,6 @@ classification.botanical=Botanical
classification.botanical.description=A peculiar variant of mundane bees, they seem to have a hightened affinity for flowers.|Apinomicon
tc.aspect.tempus=Time, Moment, Eternity
tc.aspect.help.tempus=the flow of time
tc.research_category.MAGICBEES=Apimancy
@@ -678,7 +656,7 @@ tc.research_page.MB_EssenceLife.1=Simple to create by means of magic, this essen
tc.research_name.MB_EssenceDeath=Essence of a Shallow Grave
tc.research_text.MB_EssenceDeath=Not quite six feet under.
tc.research_page.MB_EssenceDeath.1=The Essence of a Shallow Grave channels the death of many of the ... "natural" creatures that wander the world: Zombies, Skeletons, those sorts of things. Exposing bees to this energy has the effect of making them slow and sluggish, and curtails the extent of their lifespan. Some Apimancers consider using frames imbued with these Essences to be cruel, however, others view it as a natrual part of normal beekeeping, with an eye to creating their perfect strain of bees sometime within THEIR lifetime. <BR> The Apimancer's Guild of Safety recommends handling them with telekenisis or very long tongs.
tc.reseacrh_page.MB_EssenceDeath.1=The Essence of a Shallow Grave channels the death of many of the ... "natural" creatures that wander the world: Zombies, Skeletons, those sorts of things. Exposing bees to this energy has the effect of making them slow and sluggish, and curtails the extent of their lifespan. Some Apimancers consider using frames imbued with these Essences to be cruel, however, others view it as a natrual part of normal beekeeping, with an eye to creating their perfect strain of bees sometime within THEIR lifetime. <BR> The Apimancer's Guild of Safety recommends handling them with telekenisis or very long tongs.
tc.research_name.MB_EssenceArmor=Essence of Everlasting Durability
tc.research_text.MB_EssenceArmor=The rubber to your glue
@@ -704,10 +682,6 @@ tc.research_name.MB_VisAuraProvider=Vis Apiary Booster
tc.research_text.MB_VisAuraProvider=Vis? What about Bis?
tc.research_page.MB_VisAuraProvider.1=Infusing Unusual Pollen with vis and combining it with gold creates an unusual crystal that, when fed centivis from an aura node, creates an energizing aura that bees are naturally attracted to when attuned to the environment within a Magic Apiary.<LINE>§3Aqua§0 CV will double mutation rate<BR>§8Perditio§0 CV will halve lifespan<BR>§6Aer§0 CV will double production rate
tc.research_name.MB_ApimancersDrainer=Apimancer's Drainer
tc.research_text.MB_ApimancersDrainer=How long will your queen last?
tc.research_page.MB_ApimancersDrainer.1=The Apimancer's Drainer is an innovative device in the field of Apimancy, designed to extract essentia from the life force of bees. It is placed beneath an apiary, establishing a direct connection with the apiary above.<BR>To determine the type of essentia it produces, the Drainer is attuned by tapping it with the desired essentia.<BR>Once attuned, the Drainer converts the life energy of the queen into the selected essentia...
tc.research_name.MB_ScoopVoid=Void Scoop
tc.research_text.MB_ScoopVoid=The dark net
tc.research_page.MB_ScoopVoid.1=Void metal is a curious thing, and it's time to see what it can bring to Apimancy. Its self-regenerative properties have seeped their way into the net as well, creating a most unsettling mesh.<BR>Hopefully it won't affect the bees too much...
@@ -5,16 +5,10 @@ language.code=ru_RU
#Items
item.magicbees:jellyBabies.name=Горсть маленького желе
item.thaumiumScoop.name=Таумический сачок
item.manasteelScoop.name=Манасталиевый сачок
item.thaumiumGrafter.name=Таумический садовый нож
item.manasteelGrafter.name=Манасталиевый садовый нож
item.magicbees:mysteriousMagnet.name=Таинственный магнит
item.moonDial.name=Нефритовый набор луны
item.voidScoop.name=Пустотный сачок
item.voidGrafter.name=Пустотный садовый нож
item.beeRing.name=Кольцо для сбора пчел
#Tiles
tile.planks.greatwood.name=Доски из великого дерева
tile.slab.wood.greatwood.name=Плита из великого дерева
@@ -126,9 +120,6 @@ item.frameMetabolic.name=Метаболическая рамка
item.frameNecrotic.name=Некротическая рамка
item.frameTemporal.name=Временная рамка
item.frameOblivion.name=Забвенная рамка
item.bloodFrame.name=Сангиус Артус
item.frenziedFrame.name=Сводящая с ума рамка Безумия
item.bloodSoakedFrame.name=Кровавая рамка
#Capsules
capsule.magic=Магическая капсула %s
@@ -175,14 +166,6 @@ misc.level=Уровень %s
misc.magnetActive=%s - активирован
misc.magnetInactive=%s - деактивирован
#Botania flowers; Lexicon entries nearer the end.
tile.botania:flower.beegonia.name=Бегония
tile.botania:flower.beegonia.lore=We won't bee seeing you any more...
tile.botania:flower.hiveacynth.name=Хивеацинт
tile.botania:flower.hiveacynth.lore=In a Morvelaira's Garden
tile.botania:flower.hibeescus.name=Гибискус
tile.botania:flower.hibeescus.lore=The puns may sting a bit
#Research
research.requiresBlock=Требует основы %s
research.requiresPhase=Происходит между %s и %s
@@ -195,14 +178,6 @@ research.node.dark=тёмного
research.node.chaotic=хаотического
research.block.crystals=Скопление кристаллов
#Blood Magic Compat
tc.research_name.MB_BloodFrame=Сангуис Артус
tc.research_text.MB_BloodFrame=Добро пожаловать, уважаемый гость. К месту рождения нашей Династии!
tc.research_name.MB_FrenziedFrame=Сводящая с ума рамка Безумия
tc.research_text.MB_FrenziedFrame=Пусть хаос охватит мир! Пусть хаос охватит мир!
frenziedFrame.1=Вы не знаете, как это пришло к вам... безумие, не так ли?<BR>Вы помните, как ругались другим, что слышали какой-то голос где-то в глубине души, почти беззвучно.. кричать? Вы можете смутно вспомнить его ужасный призыв, кричащий о том, чтобы вы сожгли мир очищающим пламенем хаоса.<BR>You Вы взяли его в руки и отчетливо помните, как хаотические энергии прожигают ваше тело, опаливая ваш разум это огонь.<BR><BR>Но... конечно, ты этого не сделал, в конце концов, это было бы безумием...
bloodFrame.1=Вы чувствуете дрожь в самой своей душе, когда держите эту рамку. Вы чувствуете... ужас.<BR>Вы не совсем уверены в том, что вы создали, находясь в кровавом безумии, но вы можете только с ужасом наблюдать, как ваши пчелы медленно рушатся у вас на глазах, только для того, чтобы в мгновение ока сменится гротескным симулякром.<BR>Вы почти клянетесь, что видите это... избиение? Как если бы оно каким-то образом было живым?<BR>Но... конечно, нет, ведь это было бы безумием...
#Species
magicbees.speciesMystical=Мистическая
magicbees.speciesMystical.description=Распространены во многих частях мира, а также немного капризны.|Apinomicon
@@ -321,14 +296,14 @@ magicbees.speciesApatite=Апатитовая
magicbees.speciesApatite.description=День и ночь жужжат. Я забаррикадировал окна и спрятался в подвале, но пронзительный шум апатин пчёл проникал в стены и доводил меня до безумия.|Beekeeping 101
magicbees.speciesMutable=Изменчивая
magicbees.speciesMutable.description=Изменчивая по натуре, непостоянная по характеру.|Apinomicon
magicbees.speciesMutable.description=Changeable in nature, mercurial in personality.|Apinomicon
magicbees.speciesTransmuting=Трансмутирующая
magicbees.speciesTransmuting.description="Я мог бы поклясться, что вчера это было сделано из камня!"|Sengir, Mad Apiarist
magicbees.speciesTransmuting.description="I could've sworn this was made out of stone yesterday!"|Sengir, Mad Apiarist
magicbees.speciesCrumbling=Разрушающая
magicbees.speciesCrumbling.description=Они оказывают разъедающее воздействие на окружающую среду, быстро состаривая.|Apinomicon
magicbees.speciesCrumbling.description=They have a corrosive effect on their surroundings, rapidly aging them.|Apinomicon
magicbees.speciesInvisible=Невидимая
magicbees.speciesInvisible.description=Их легко не заметить, их стекловидное тело трудно заметить в сельской местности.|Apinomicon
magicbees.speciesInvisible.description=Easy to miss, their glassy body is difficult to spot in the countryside.|Apinomicon
magicbees.speciesTCAir=Аура
magicbees.speciesTCAir.description="Они работают так быстро, что это захватывает дух."|Sengir, Mad Apiarist
@@ -337,7 +312,7 @@ magicbees.speciesTCFire.description=Внимание: содержание ул
magicbees.speciesTCWater=Аква
magicbees.speciesTCWater.description="Я пытался размножить их однажды, но я получил мыло."|MysteriousAges, Apprentice Thaumaturge
magicbees.speciesTCEarth=Солим
magicbees.speciesTCEarth.description="Ты влюбишься в этих пчёл, но будь осторожен - они быстро наскучивают.".|MysteriousAges, Apprentice Comedian
magicbees.speciesTCEarth.description="You're really gonna dig these bees, but watch out - they bore quite easily."|MysteriousAges, Apprentice Comedian
magicbees.speciesTCOrder=Праекантатио
magicbees.speciesTCOrder.description=Пчеловодство это магия!|Apinomicon, Preface
magicbees.speciesTCChaos=Абсолютные
@@ -351,7 +326,7 @@ magicbees.speciesTCFlux.description="Я думал, что они помогут
magicbees.speciesTCAttractive=Привлекательные
magicbees.speciesTCAttractive.description=Претерпев странную мутацию, эти пчёлы в настоящее время привлекают магию к себе.|Apinomicon
magicbees.speciesTCRejuvenating=Rejuvenating
magicbees.speciesTCRejuvenating.description=Гул улья волшебный, и со временем он поглощается близлежащими узлами.|Apinomicon
magicbees.speciesTCRejuvenating.description=The hum of the hive is magical, and over time is absorbed by nearby nodes.|Apinomicon
magicbees.speciesTCBrainy=Умные
magicbees.speciesTCBrainy.description=Их соты могут быть вонючими и плохо пахнуть, но их интеллект хорошо развит.|Apinomicon
magicbees.speciesTCWispy=Виспи
@@ -366,40 +341,40 @@ magicbees.speciesTCPork=Свиные
magicbees.speciesTCPork.description="Хрю, хрю. Эм.... бззз?"|Confused bee
magicbees.speciesEEMinium=Алхимические
magicbees.speciesEEMinium.description=Это может быть возможным, чтобы воспользоваться их ртутной и изменчивой природой.|Apinomicon
magicbees.speciesAMEssence=Эссенция
magicbees.speciesAMEssence.description=Извлекая энергию из пылинок в воздухе и на земле, они концентрируют энергию
magicbees.speciesAMQuintessence=Квинтэссенция
magicbees.speciesAMQuintessence.description=Сердце магии дремлет во всех вещах.|Apinomicon, preface
magicbees.speciesAMEssence=Essence
magicbees.speciesAMEssence.description=Drawing from motes of dust in the air and ground, they concentrate the energy
magicbees.speciesAMQuintessence=Quintessential
magicbees.speciesAMQuintessence.description=The heart of magic lies dormant in all things.|Apinomicon, preface
magicbees.speciesAMEarth=Erde
magicbees.speciesAMEarth.description=Наделенные силой Земли, их продукты пропитаны ее сущностью.|Apinomicon
magicbees.speciesAMEarth.description=Empowered by the Earth, their produce is infused with its essence.|Apinomicon
magicbees.speciesAMAir=Luft
magicbees.speciesAMAir.description=Быстрые, как ветер, и легче воздуха.|Apinomicon
magicbees.speciesAMAir.description=Swift as the wind, and lighter than air.|Apinomicon
magicbees.speciesAMFire=Feuer
magicbees.speciesAMFire.description=Их колония может достигать температур, при которых кипит вода и плавятся металлы.|Apinomicon
magicbees.speciesAMFire.description=Their colony can reach temperatures that boil water and melt metals.|Apinomicon
magicbees.speciesAMWater=Wasser
magicbees.speciesAMWater.description=Из-за длительного воздействия жидкостей их соты становятся довольно влажными и тяжелыми.|Apinomicon
magicbees.speciesAMWater.description=Through prolonged exposure to liquids, their combs are quite wet and heavy.|Apinomicon
magicbees.speciesAMLightning=Blitz
magicbees.speciesAMLightning.description=Они могут преодолевать огромные расстояния в мгновение ока и известны тем, что устраивают множество лесных пожаров.|Apinomicon
magicbees.speciesAMLightning.description=They can travel vast distances in a blink, and are known for starting many wildfires.|Apinomicon
magicbees.speciesAMPlant=Staude
magicbees.speciesAMPlant.description=Они питают слабость ко всему зеленому и растущему.|Apinomicon
magicbees.speciesAMPlant.description=They have an affinity for all that is green and grows.|Apinomicon
magicbees.speciesAMIce=Eis
magicbees.speciesAMIce.description="Они продолжают красть у меня вещи, и я никогда их не вижу. Они слишком скользкие".|MysteriousAges, incorrigible punster
magicbees.speciesAMIce.description="They keep stealing stuff from me, and I never see them. They're far too slippery."|MysteriousAges, incorrigible punster
magicbees.speciesAMMagma=Magma
magicbees.speciesAMMagma.description=Пролетая мимо, они опаляют поверхность ландшафта, в конечном итоге уничтожая все растения и хрупкие минералы.|Apinomicon
magicbees.speciesAMMagma.description=As they fly by, they sear the surface of the landscape, eventually scouring all plants and fragile minerals away.|Apinomicon
magicbees.speciesAMArcane=Arkanen
magicbees.speciesAMArcane.description="Любопытные существа, хотя их продукция довольно полезна".|Mithion, Adept
magicbees.speciesAMArcane.description="Curious creatures, though their produce is quite useful."|Mithion, Adept
magicbees.speciesAMVortex=Вихревые
magicbees.speciesAMVortex.description=Ненасытны маной, они могут быть опасны для любого заклинателя.|Apinomicon
magicbees.speciesAMWight=Wight
magicbees.speciesAMWight.description=Они привлекают волшебных духов; не всегда послушны".|Mithion, Adept
magicbees.speciesAMWight.description="They attract magical spirits; not always docile."|Mithion, Adept
magicbees.speciesTEBlizzy=Blizzy
magicbees.speciesTEBlizzy.description=Холодные, как миниатюрные снеговики.|Apinomicon
magicbees.speciesTEBlizzy.description=Frigid and cold, like miniature snowmen.|Apinomicon
magicbees.speciesTEGelid=Gelid
magicbees.speciesTEGelid.description=Производители жидких охлаждающих жидкостей.|Apinomicon
magicbees.speciesTEGelid.description=Liquid coolant producers.|Apinomicon
magicbees.speciesTEDante=Dante
magicbees.speciesTEDante.description=Смешивание пчел в аду дает удивительные результаты.|Apinomicon
magicbees.speciesTEDante.description=Mixing bees in an inferno produces surprising results.|Apinomicon
magicbees.speciesTEPyro=Pyro
magicbees.speciesTEPyro.description=Ты монстр.|Everyone, to you.
magicbees.speciesTEPyro.description=You Monster.|Everyone, to you.
magicbees.speciesTEElectrum=Electrum
magicbees.speciesTEElectrum.description=...|Apinomicon
magicbees.speciesTEPlatinum=Platinum
@@ -413,9 +388,9 @@ magicbees.speciesTEBronze.description=...|Apinomicon
magicbees.speciesTECoal=Carbon
magicbees.speciesTECoal.description=...|Apinomicon
magicbees.speciesTEDestabilized=Destabilized
magicbees.speciesTEDestabilized.description=Эти пчелы изначально были нестабильными; со временем они не становились лучше.|Apinomicon
magicbees.speciesTEDestabilized.description=These bees started out unstable; they didn't get better with time.|Apinomicon
magicbees.speciesTELux=Lux
magicbees.speciesTELux.description=Да будет свет...|Apinomicon
magicbees.speciesTELux.description=Let there be light...|Apinomicon
magicbees.speciesTEWinsome=Winsome
magicbees.speciesTEWinsome.description=....|Apinomicon
magicbees.speciesTEEndearing=Endearing
@@ -429,7 +404,6 @@ magicbees.speciesBMBound.description=....|Apinomicon
magicbees.species=
magicbees.species.description=
magicbees.speedBlinding=Blinding
magicbees.effectCurative=Очищение
magicbees.effectDigSpeed=Добывание
magicbees.effectMoveSpeed=Ускорение
@@ -451,12 +425,10 @@ magicbees.effectAblaze=Ablaze
magicbees.effectManaDrainer=Vortex
magicbees.effectAMWisp=Spiritual
magicbees.effectTEBlizzy=Blizzy
flowerProvider.book=Книги
flowerProvider.magic=Таумические цветы
flowerProvider.arsmagica=Экзотические цветы
flowerProvider.node=Узел
classification.veiled=Сокрытые
classification.veiled.description=Эти странные виды разбросаны по всему миру, могут иметь способности за пределами своего мышления.|Apinomicon
classification.arcane=Скрытые
@@ -482,7 +454,7 @@ classification.metallic.description=Они собирают фрагменты
classification.gem=Жемчужные
classification.gem.description=Они собирают фрагменты драгоценных камней в их сотах.|Apinomicon
classification.transmuting=Polymorphic
classification.transmuting.description=Реальность, по-видимому, несколько изменчива в отношении пчел этого семейства.|Apinomicon
classification.transmuting.description=Reality seems to be somewhat volatile around bees of this family.|Apinomicon
classification.thaumic=Таумические
classification.thaumic.description=Эти пчёлы имеют повышенную близость к магии и ауре.|Apinomicon
classification.fleshy=Мясистые
@@ -493,102 +465,57 @@ classification.essential=Ценные
classification.essential.description=Эти пчёлы имеют повышенную близость к аспектированной магии.|Apinomicon
tc.aspect.tempus=Time, Moment, Eternity
tc.research_category.MAGICBEES=Магия пчеловодства
tc.research_category.MAGICBEES=Apimancy
tc.research_name.MB_Root=Магия пчеловодства
tc.research_text.MB_Root=[MB] Добавим немного блеска вашему кайфу.
tc.research_page.MB_Root.1=Добро пожаловать в Магия пчеловодства! Как начинающему хранителю волшебных пчел, есть несколько вещей, которые вы должны знать, прежде чем погрузиться в работу. Как упоминалось в вашем письме о приеме в Академию Суровых Пчеловодов, вам доступно несколько новых инструментов. К ним относятся несколько улучшенных версий инструментов для лесного хозяйства, каждая со своими особенностями, и новые рамки для ваших пасек. <LINE> Вы также можете обнаружить, что существуют новые штаммы пчел, которые можно обнаружить, если вам удастся уговорить их жить в определенных условиях. Секретер лесного хозяйства поможет вам обнаружить их и стать предметом зависти
tc.research_page.MB_Root.2=ваших бывших, не магических коллег. Также обратите внимание на несколько появившихся новых штаммов диких пчел: они являются ключом к развитию волшебных линий ваших маленьких крылатых подопечных.
tc.research_name.MB_Root=Apimancy
tc.research_text.MB_Root=[MB] Adding some sparkle to your buzz.
tc.research_page.MB_Root.1=Welcome to Apimancy! As a budding keeper of magical bees, there are a few things you should know before diving in. As your acceptance letter to the Academy of Austere Apimancers has mentioned, there are several new tools available to discover. These include some improved versions of Forestry tools, each with their own particular quirks and new frames for your apiaries. <LINE> You may also discover that there are new bee strains available to discover, if you can coax them to live in certain conditions. The Forestry Escritoire will help you discover them and become the envy
tc.research_page.MB_Root.2=of your former, nonmagical colleagues. Also take note of the several new strains of wild bees that have appeared: these are the key to progressing into the magical lineages of your small winged charges.
tc.research_name.MB_LoreFragment=Фрагменты знаний
tc.research_text.MB_LoreFragment=[MB] Исследование? Скорее всего пчелиное исследование!
tc.research_page.MB_LoreFragment.1=Экспериментируя с породами пчел, вы можете наткнуться на штамм, интеллектуальные способности которого соответствуют вашим собственным. Что ж, возможно, как бы маловероятно это ни было. Вполне возможно, что они раскопают какую-нибудь неясную ссылку или фрагмент информации, которые ваш великий интеллект, возможно, упустил, исследуя великие тайны Вселенной. <BR> Если вашим услужливым жужжащим друзьям посчастливится найти для вас что-нибудь подобное, возможно, удастся объединить обрезки в нечто более цельное.
tc.research_page.MB_LoreFragment.1=While experimenting with bee breeds, you may run accross a strain whose intellectual capabilities are a match for your own. Well, maybe, however unlikely that is. It's possible that they may unearth some obscure reference or a snippet of information that your great intellect may have missed while exploiting the greater mysteries of the universe. <BR> Should your helpful buzzing friends happen to locate this sort of item for you, it may be possible to combine the scraps together into something a little more cohesive.
tc.research_name.MB_FrameMagic=Магическая рамка
tc.research_text.MB_FrameMagic=[MB] Появление магии в контекстах пчеловодства
tc.research_page.MB_FrameMagic.1=Волшебная рамка - это простое усовершенствование по сравнению с обычными необработанными рамками. Несмотря на то, что она довольно проста в изготовлении, она способна прослужить на пасеке в три раза дольше, чем необработанные рамки, прежде чем придет в негодность. Зачаровывающие свойства Магической рамки позволяют использовать ее с несколькими особыми эссенциями, используемыми в Магии пчеловодства, там, где другие рамки отвергли бы вливание магии.
tc.research_page.MB_FrameMagic.1=The Magic Frame is a simple improvement over your regular, run-of-the-mill Untreated Frames. Still fairly simple to produce, it is capable of lasting three times longer in an apiary than Untreated Frames before becoming unuseable. The enchantable properties of the Magic Frame enable it to be used with several of the special essences involved in Apimancy where other frames would reject the infusion of magics.
tc.research_name.MB_Scoop=Таумический сачок
tc.research_text.MB_Scoop=[MB] Используйте с осторожностью.
tc.research_page.MB_Scoop.1=Обычные сачки хрупкие и склонны к поломке. Как специалист по Магии пчеловедения, вы можете сделать лучше. Если добавить немного таумия в ручку и аккуратно зашнуровать ее, ваш новый сачок прослужит в три раза дольше! <BR> Кроме того, таумий в устройстве примет восстанавливающее заклинание.
tc.research_page.MB_Scoop.1=Normal scoops are fragile, and prone to breakage. As an authority in Apimancy, you can do better. By adding some Thaumium to the handle, and lacing it with a measure of order, your new scoop will last up to three times longer! <BR> In addition, the Thaumium in the device will accept the Repair enchantment.
tc.research_name.MB_Grafter=Таумический садовый нож
tc.research_text.MB_Grafter=[MB] Саженцы для каждого случая.
tc.research_page.MB_Grafter.1=Простой садовый нож почти бесполезно хрупок, и, хотя проверенные садовые ножи полезны, редкость садовый ножей затрудняет их приобретение. Решение? Сделай это сам! <BR> Таумический садовый нож, как и таумический сачок, представляет собой более жесткую, зачаровываемую версию самого простого из инструментов лесовода. Однако будьте осторожны, поскольку, хотя восстанавливающее заклинание может быть применено к прививщику, его необычные свойства делают его использование утомительным.
tc.research_page.MB_Grafter.1=Simple grafters are almost uselessly fragile, and while Proven Grafters are useful, the rarity of emeralds makes them annoying to procure. The solution? Make it yourself! <BR> The Thaumium Grafter, like the Thaumium Scoop, is a tougher, enchantable version of the most basic of the Arborimancer's tools. Use caution though, for although the Repair enchantment can be applied to the grafter, its unusual properties make it exhausting to use.
tc.research_name.MB_EssenceLife=Эссенция ложной жизни
tc.research_text.MB_EssenceLife=[MB] Роза с другим названием. . .
tc.research_page.MB_EssenceLife.1=Простая в приготовлении с помощью магии, эта эссенция обладает необычными свойствами при воздействии на пчел. В сочетании с обычной рамкой для пасеки она значительно продлевает срок службы рабочего улья.
tc.research_page.MB_EssenceLife.1=Simple to create by means of magic, this essence has unusual properties when exposed to bees. When combined with an everyday apiary frame, it has the effect of greatly extending the lifespan of a working hive.
tc.research_name.MB_EssenceDeath=Эссенция неглубокой могилы
tc.research_text.MB_EssenceDeath=[MB] Не совсем шесть футов под килем.
tc.research_page.MB_EssenceDeath.1=Эссенция неглубокой могилы приводит к смерти... "естественных" мобов, которые бродят по миру: зомби, скелеты и тому подобное. Воздействие этой энергии на пчел приводит к тому, что они становятся медлительными и неповоротливыми и сокращает продолжительность их жизни. Некоторые Маги пчеловодства считают использование рамок, пропитанных этими эссенциями, жестоким, однако другие рассматривают это как естественную часть обычного пчеловодства с прицелом на создание своего идеального сорта пчел когда-нибудь в течение ИХ жизни. <BR> Гильдия по безопасности Магического пчеловодства рекомендует обращаться с ними телекинезом или очень длинными щипцами.
tc.reseacrh_page.MB_EssenceDeath.1=The Essence of a Shallow Grave channels the death of many of the ... "natural" creatures that wander the world: Zombies, Skeletons, those sorts of things. Exposing bees to this energy has the effect of making them slow and sluggish, and curtails the extent of their lifespan. Some Apimancers consider using frames imbued with these Essences to be cruel, however, others view it as a natrual part of normal beekeeping, with an eye to creating their perfect strain of bees sometime within THEIR lifetime. <BR> The Apimancer's Guild of Safety recommends handling them with telekenisis or very long tongs.
tc.research_name.MB_EssenceArmor=Эссенция вечной прочности
tc.research_text.MB_EssenceArmor=[MB] Резина для Вашего клея
tc.research_page.MB_EssenceArmor.1=Это дистиллированная эссенция защиты, которая должна длиться вечно или до тех пор, пока хранящаяся в ней магия не ослабнет и, в конечном счете, не сломается. Но до тех пор она неуязвима. В основном. <BR> Хотя волшебные рамки полезны, они немного хрупкие. Эта эссенция выводит чары, которые вы вплетаете в магические рамки, на совершенно новый уровень. Соедините эссенцию с магической рамкой, и срок ее службы значительно увеличится.
tc.research_page.MB_EssenceArmor.1=This is the distilled essence of protection, bound to last forever, or until the magics stored within it weaken and eventually break. But until then, it's invincible. Mostly. <BR> While Magic Frames are useful, they are a tad fragile. This essence takes the enchantments you weave into Magic frames to an entirely new level. Combine the essence with a magic frame, and it should have a vastly extended lifespan.
tc.research_name.MB_EssenceUnstable=Эссенция изменчивого постоянства
tc.research_text.MB_EssenceUnstable=[MB] Гарантированная неуверенность
tc.research_page.MB_EssenceUnstable.1=Нестабильная по своей природе эссенция Изменчивого постоянства имеет побочный эффект, заключающийся в том, что обычно стабильные объекты и системы становятся несколько ненадежными. Хотя в основном это может быть плохо, Маги пчеловодства обнаружили, что воздействие эссенции на улей имеет противоположный эффект: пчелы работают быстрее, а у потомства повышается частота мутаций.
tc.research_page.MB_EssenceUnstable.1=Unstable by nature, the Essence of Fickle Permanence has the side effect of causing normally stable objects and systems to become somewhat unreliable. While this may mostly be a bad thing, Apimancers have discovered that exposing a hive to the essence has the duel effects of both causing the bees to work faster, and the offspring to have higher mutation rates.
tc.research_name.MB_EssenceTime=Эссенция утраченного времени
tc.research_text.MB_EssenceTime=[MB] Нет времени лучше, чем безработица
tc.research_page.MB_EssenceTime.1=Время - непостоянная вещь. Оно приходит и уходит, но куда именно оно уходит? Как у уважаемого тауматурга, стало возможным улавливать эти потраченные впустую моменты и сохранять их в магической форме. Итак, теперь, когда можно собирать дополнительное время в мире, кажется уместным использовать его там, где это было бы полезно. Было бы слишком опасно пытаться получить доступ к этим моментам самостоятельно в данный момент, но, возможно, было бы просто предоставить вашим пчелам доступ к этому неиспользованному кусочку времени. <BR> Обычного сочетания эссенции с волшебной рамкой будет достаточно, чтобы продлить продолжительность жизни пчел в вашем хозяйстве в несколько раз.
tc.research_text.MB_EssenceTime=[MB] No time like the unmoment
tc.research_page.MB_EssenceTime.1=Time is a fickle thing. It comes and it goes, but where exactly does it go to? As a respectable thaumaturge, it has become possible to trap these wasted moments and save them in a magical form. So, now that it is possible to collect extra time from the world, it seems only appropriate that they are used in a place that would be useful. It would be too dangerous to attempt to access these moments yourself for the moment, but perhaps it would be simple to allow your bees access to this untapped lump of time. <BR> By combining the essence with a Magic Frame as usual will suffice to extend the lifespan of bees in your keeping by several times.
tc.research_name.MB_DimensionalSingularity=Пространственная сингулярность
tc.research_text.MB_DimensionalSingularity=[MB] Квантовый поток для них, неограниченное хранилище для вас
tc.research_page.MB_DimensionalSingularity.1=Хотя это может показаться похожим на Переносную дыру, оно служит двусторонней связью с другим местом, которое... вероятно, необитаемо. Должно быть возможно использовать эти особенности для хранения материалов за пределами вашего понимания измерений - что, конечно, означает, что они не будут загромождать ваш инвентарь. В нынешнем виде они не особенно полезны, но должны быть способы раскрыть их потенциал.
tc.research_text.MB_DimensionalSingularity=[MB] Quantum flux for them, unlimited storage for you
tc.research_page.MB_DimensionalSingularity.1=While it may appear similar to the Portable Hole, it serves as a two-way link with another place, which is... probably uninhabited. It should be possible to utilize these singularities to store materials outside of your dimensional understanding - which of course means that they won't clutter up your inventory. As they are now, they are not particularly useful, but there should be ways to unlock their potential.
tc.research_name.MB_EssenceOblivion=Эссенция бесконечного равнодушия
tc.research_text.MB_EssenceOblivion=[MB] Отброшенный со злобой
tc.research_page.MB_EssenceOblivion.1=Разведение пчел для мутаций может быть агрессивным, особенно для долгоживущих видов. Проявив немного сообразительности и лишь малейший намек на самодовольство, вы нашли способ использовать Пространственную сингулярность таким образом, который только высасывает жизненную силу ваших крошечных летающих друзей, понемногу. Ну, может быть, значительные количества сразу. Вероятно, это не повлияет на них слишком сильно. <BR> Возможно, будет несколько сложно получить более одного из §5драконьих яиц§0 необходимо получить более одного из них. Возможно, есть вид пчел, который может помочь с этим ограничением.
tc.research_name.MB_VisAuraProvider=Вис Ускоритель Пасеки
tc.research_text.MB_VisAuraProvider=Вис? А что насчет Биса?
tc.research_page.MB_VisAuraProvider.1=Наполнение необычной пыльцы Вис и объединение ее с золотом создает необычный кристалл, который при подаче сантивиса из узла ауры создает энергетическую ауру, которая естественным образом привлекает пчел, когда они настраиваются на окружающую среду внутри Волшебной Пасеки.<LINE>§3Aqua§0 CV удвоит частоту мутаций<BR>§8Perditio§0 CV сократит продолжительность жизни вдвое<BR>§6Aer§0 CV удвоит производительность
tc.research_name.MB_ApimancersDrainer=Apimancer's Drainer
tc.research_text.MB_ApimancersDrainer=Как долго продержится ваша королева?
tc.research_page.MB_ApimancersDrainer.1=Apimancer's Drainer — это инновационное устройство в области Магии пчеловодства, предназначенное для извлечения эссенции из жизненной силы пчел. Он размещается под пасекой, устанавливая прямую связь с пасекой выше.<BR>Чтобы определить тип производимой им эссенции, Drainer настраивается путем постукивания по нему нужной эссенцией.<BR>После настройки Drainer преобразует жизненная энергия королевы в выбранную эссенцию...
tc.research_name.MB_ScoopVoid=Пустотный сачок
tc.research_text.MB_ScoopVoid=Темная сеть
tc.research_page.MB_ScoopVoid.1=Пустотный металл — любопытная вещь, и пришло время посмотреть, что он может принести в Магию пчеловодства. Его самовосстанавливающиеся свойства проникли и в сеть, создав весьма тревожную сетку.<BR>Будем надеяться, что это не слишком сильно повлияет на пчел...
tc.research_name.MB_GrafterVoid=Пустотный садовый нож
tc.research_text.MB_GrafterVoid=Искаженная Ива
tc.research_page.MB_GrafterVoid.1=Хотя нет никаких сомнений в том, что тауминит является превосходным материалом, ваше недавнее открытие пустотного металла и последующие эксперименты показали большие перспективы его использования в качестве материала для инструментов. Деликатная природа садовых ножей и восстанавливающие свойства пустотного металла выглядят многообещающей комбинацией. <BR>Очень похож на таумический нож и вызывает такое же утомление.
#Botania Lexicon entries
magicbees.botania.lexicon.subtitle=[Magic Bees]
magicbees.botania.lexicon.manasteelTools.title=Инструменты натуралиста из манастали
magicbees.botania.lexicon.manasteelTools.0=Необычные свойства манастали хорошо подходят для инструментов натуралиста. &1Манасталевый сачок&0 можно использовать для эффективного сбора ульев, а &1Манасталевый садовый нож&0 является надежной заменой обычного бронзового садового ножа. Конечно, оба инструмента обладают способностью восстанавливаться за счет маны. Для достижения наилучших результатов комбинируйте средство с Living Wood.
magicbees.botania.lexicon.manasteelScoop=&1Манасталевый сачок&0
magicbees.botania.lexicon.manasteelGrafter=&1Манасталевый садовый нож&0
magicbees.botania.lexicon.beeAlfheim.title=Альфхеймская Магия пчеловодства
magicbees.botania.lexicon.beeAlfheim.trade=Обмен на &bАльфхеймских дронов&0
magicbees.botania.lexicon.beeAlfheim.0=&1=&1Эльфийские пчеловоды&0 стремятся открыть для себя прелести пчел вашего мира и особенно заинтересованы в &1Dreaming Drones&0 которые вы можете им предоставить. Взамен они будут торговать &bАльфхеймскими трутнями&0, единственными пчелами, существующими в Альфхейме.
magicbees.botania.lexicon.beegonia.0=Дроны — это основа будущего здоровой колонии, но на самом деле они могут начать просто накапливаться до такой степени, что вы больше не будете знать, что с ними делать. <br>The &1Бегония&0 – решение проблемы переполненности! Просто бросьте запасные дроны поблизости, и они восстановят жизненную силу дрона и преобразуют ее в ману! Они не очень придирчивы и будут
magicbees.botania.lexicon.beegonia.1=производят постоянное количество маны во время работы, хотя кажется, что более «сложные» пчелы обеспечивают больше маны, чем обычные пчелы, что бы это ни значило.
magicbees.botania.lexicon.beegonia.crafting=Syncrostrike's Elegant Solution
magicbees.botania.lexicon.beegonia.2=Ну. Это была эта или &2Beenus Fly Trap&0, но здесь есть свои проблемы.
magicbees.botania.lexicon.hiveacynth.0=Поиск новых пчел для вашего поголовья может оказаться непростой задачей. К счастью, мы можем использовать воспоминания цветов, чтобы воспроизводить пчел с точностью до 74%! Возможно.<br>The &1Хивеацинт&0 поглощает ману из ближайшего хранилища маны, и как только он соберет достаточно, он начинает преобразовывать ее в жизненную сущность и производить пчелу! Кажется, этот вид несколько случайный, хотя это только «обычные» пчелы
magicbees.botania.lexicon.hiveacynth.1=будут когда-либо производиться, и примерно пропорционально тому, как они встречаются в дикой природе.<br>Иногда цветок важничает и производит хваленую наследницу, а не вульгарного трутня . Сигнал красного камня не позволит &1Хивеацинту&0 преобразовать ману в жизненную сущность.
magicbees.botania.lexicon.hiveacynth.crafting=> beesbeesbees.com
magicbees.botania.lexicon.hibeescus.0=&5Неблагородные&0 пчелы, хотя и столь же полезные, как и их &2Нетронутые&0 сородичи, имеют только один недостаток - примерно через 100 поколений они начинают болеть, слабеть и могут погибнуть из-за вас, верно? прежде чем вы получите ту желанную мутацию, которая сведет с ума ваших собратьев-пчеловодов от зависти. Однако, похоже, решение этой проблемы все-таки есть! При наличии достаточного количества маны, времени и помощи особых
magicbees.botania.lexicon.hibeescus.1=&1Гибискуса&0 на вашей стороне, вы можете устранить множество генетических недостатков у &5Неблагородных&0 диких пчел. Терпение является необходимостью, так как &1Гибискус&0 творит свою магию очень медленно, до 2 полных дней!<br>Также рекомендуется использовать его силу экономно, так как он невероятно жаждет маны. Применение сигнала красного камня к его корням не позволит ему поглощать новых принцесс или королев, но не
magicbees.botania.lexicon.hibeescus.2=остановить операцию генетической очистки, как только она начнется.
magicbees.botania.lexicon.hibeescus.crafting=Только для злобных людей.
magicbees.botania.lexicon.manaBooster.0=Волшебная пасека — это естественный способ заставить пчел работать быстро, но он немного... ограничен. К счастью, свойства живых камней и лепестков, очевидно, заряжают пчел энергией, заставляя их производить больше. Просто обеспечьте &1Ускоритель маны пасеки&0 постоянным запасом маны, и пасеки будут работать эффективно..
magicbees.botania.lexicon.manaBooster.crafting=Ожидайте от маны!
tc.research_text.MB_EssenceOblivion=[MB] Cast aside with malice
tc.research_page.MB_EssenceOblivion.1=Breeding bees for mutations can be aggrivating, especially whith long-lived species. With a little cleverness and only the slightest hint of smugness, you have found a way to utilize the Dimensional Singularity in a manner that only sucks away the life force of your tiny flying friends, bit by bit. Well, maybe significant amounts all at once. It's probably not going to affect them too badly. <BR> It may be somewhat tricky to obtain more than one of the §5Dragon Eggs§0 nessecary to obtain more than one of these. Perhaps there is a bee species that can assist with the limitation.
for.bees.custom.drone.magicbees.speciesMystical=Мистический трутень
for.bees.custom.beealyzer.drone.magicbees.speciesMystical=Мистический
@@ -714,4 +641,4 @@ for.bees.custom.drone.magicbees.speciesCrumbling=Разрушающий трут
for.bees.custom.beealyzer.drone.magicbees.speciesCrumbling=Разрушающий
for.bees.custom.drone.magicbees.speciesInvisible=Невидимый трутень
for.bees.custom.beealyzer.drone.magicbees.speciesInvisible=Невидимый
for.bees.custom.beealyzer.drone.magicbees.speciesInvisible=Невидимый
@@ -642,7 +642,7 @@ tc.research_page.MB_EssenceLife.1=由魔力所创造,这种源质在暴露在蜜
tc.research_name.MB_EssenceDeath=暗影之墓源质
tc.research_text.MB_EssenceDeath=[MB] 离地六英尺不足.
tc.research_page.MB_EssenceDeath.1=暗影之墓源质引导着无数游荡于这个世界的..."自然"生物,走向死亡:僵尸, 骷髅, 诸如此类.暴露于这种能量下的蜜蜂会越来越迟缓, 寿命也会随之缩短.一部分神秘养蜂家认为使用浸有此种源质的框架是一种十分残忍的行为,然而, 也有其他观点认为这是常规养蜂中不可避免的一部分, 有时还可以让那些蜜蜂们在它们有限的生命周期里紧张工作起来.<BR> 神秘养蜂学安全指南章程中建议使用念力或者特别长的钳子来拿取此框架.
tc.reseacrh_page.MB_EssenceDeath.1=暗影之墓源质引导着无数游荡于这个世界的..."自然"生物,走向死亡:僵尸, 骷髅, 诸如此类.暴露于这种能量下的蜜蜂会越来越迟缓, 寿命也会随之缩短.一部分神秘养蜂家认为使用浸有此种源质的框架是一种十分残忍的行为,然而, 也有其他观点认为这是常规养蜂中不可避免的一部分, 有时还可以让那些蜜蜂们在它们有限的生命周期里紧张工作起来.<BR> 神秘养蜂学安全指南章程中建议使用念力或者特别长的钳子来拿取此框架.
tc.research_name.MB_EssenceArmor=恒久不灭源质
tc.research_text.MB_EssenceArmor=[MB] 你胶水上的橡胶
@@ -493,7 +493,7 @@ tc.research_page.MB_EssenceLife.1=Simple to create by means of magic, this essen
tc.research_name.MB_EssenceDeath=暗影之墓源質
tc.research_text.MB_EssenceDeath=[MB] Not quite six feet under.
tc.research_page.MB_EssenceDeath.1=The Essence of a Shallow Grave channels the death of many of the ... "natural" creatures that wander the world: Zombies, Skeletons, those sorts of things. Exposing bees to this energy has the effect of making them slow and sluggish, and curtails the extent of their lifespan. Some Apimancers consider using frames imbued with these Essences to be cruel, however, others view it as a natrual part of normal beekeeping, with an eye to creating their perfect strain of bees sometime within THEIR lifetime. <BR> The Apimancer's Guild of Safety recommends handling them with telekenisis or very long tongs.
tc.reseacrh_page.MB_EssenceDeath.1=The Essence of a Shallow Grave channels the death of many of the ... "natural" creatures that wander the world: Zombies, Skeletons, those sorts of things. Exposing bees to this energy has the effect of making them slow and sluggish, and curtails the extent of their lifespan. Some Apimancers consider using frames imbued with these Essences to be cruel, however, others view it as a natrual part of normal beekeeping, with an eye to creating their perfect strain of bees sometime within THEIR lifetime. <BR> The Apimancer's Guild of Safety recommends handling them with telekenisis or very long tongs.
tc.research_name.MB_EssenceArmor=恆久不滅源質
tc.research_text.MB_EssenceArmor=[MB] The rubber to your glue
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 267 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 405 B

After

Width:  |  Height:  |  Size: 416 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 718 B

After

Width:  |  Height:  |  Size: 719 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 396 B

After

Width:  |  Height:  |  Size: 415 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 834 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 640 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 930 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 912 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Loaded 100 of 204 files, more files were not shown because too many files have changed in this diff. Show more