Compare commits

..
Author SHA1 Message Date
boubou19 53d085d292 Cache more enum .values() (#67) 2026-08-11 02:54:09 +02:00
boubou19 4345981958 Cache enum .values() (#66) 2026-08-10 21:01:38 +02:00
__felix__andgithub-actions[bot] 1dd3f7342e fix gt loader check (#64)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-29 11:53:40 -04:00
Eldrinn-Elantey f88d1f8c96 Fix magic apiary GUI bypassing claim protection (#63) 2026-05-04 16:39:06 +02:00
Ranzu 59aa1ce79c Fix gui crop and localize Inventory title (#61) 2026-04-13 19:24:25 +02:00
Ranzu d571f64b14 Un-hide Hives (#62) 2026-04-13 17:32:48 +02:00
Martin Robertz f3cf6407cf update+gradle+deps+bs 2026-03-10 20:03:01 +01:00
EricC808andMartin Robertz e3460d5dbc Clarified tool tip for each blood frame to reflect actual use (#58)
Co-authored-by: Martin Robertz <[email protected]>
2026-03-09 23:32:27 -04:00
UltraProdigy d9a7759c49 Optimize Image & Workflow (#60) 2026-03-07 10:31:15 +01:00
Alexdoru 7c38b1101a cache frequent enum.values() calls (#59) 2026-03-04 16:28:06 +00:00
SST-03 9ce571f464 use AspectList.remove instead of AspectList.reduce to fix "sometimes drainer doesn't work with essentia import bus" (#56) 2026-02-02 20:38:45 +01:00
Martin Robertz f881470241 update 2025-11-05 18:15:32 +01:00
koolkrafter5 d4bd32c67b Add hint text for Tempus (#57) 2025-11-05 06:52:38 +00:00
Martin Robertz 60607bc521 update 2025-10-02 01:13:16 +02:00
Martin Robertz 2e7e1a3efc update 2025-06-08 10:51:18 +02:00
Nikolay S. 0bd57ed988 Add missing equals sign. (#55) 2025-06-08 05:31:53 +00:00
Martin Robertz eccceab233 update 2025-05-16 22:03:38 +02:00
Caedis e5d696f210 Replace Baubles with Baubles Expanded (#54) 2025-05-13 07:42:13 -05:00
Martin Robertz 0f59e8b4ef update 2025-03-22 12:32:24 +01:00
Yannick Marcotte-Gourde 7248bac5d0 Give Enchanted Earth some minimal hardness (#52) 2025-03-22 12:26:03 +01:00
Maya 81cb972fff update 2025-02-25 21:11:41 -06:00
FrostyFire1 9589da0f00 Fix hibeescus mana drain (#51) 2025-02-25 21:11:31 -06:00
Dream Master b5cf82b574 update 2025-01-02 13:32:42 +01:00
mM4riandMartin Robertz c4cb9a19c6 Fix crash for crumbling/transmuting effect if effect range is 0 (#49)
Co-authored-by: Martin Robertz <[email protected]>
2025-01-02 12:05:18 +01:00
glowredman 8fb3407357 Add Localizations (#50) 2025-01-02 12:03:06 +01:00
Martin Robertz 001f1b27f6 update 2024-09-12 08:22:10 +02:00
chochem 6429eea5d6 Merge pull request #48 from chochem/add-null-check
Add a couple of null checks
2024-09-11 18:27:58 +01:00
chochem 3ff6e91053 second null check 2024-09-11 18:07:25 +01:00
chochem cdf3046e61 sa 2024-09-11 17:59:35 +01:00
chochem 05476997e1 add null check to allow duplicate apatite removal 2024-09-11 17:58:27 +01:00
boubou19 c2cafd4a98 Merge pull request #47 from GTNewHorizons/rename
The renaming
2024-09-03 16:52:03 +02:00
NotAPenguin e9606af217 rename 2024-09-03 14:43:39 +02:00
Dream Master c3abd86907 update 2024-07-06 12:52:27 +07:00
Martin Robertz ddac6aeb67 Merge pull request #46 from Quantumlyy/patch-bee-speed-modifier
Patch production multiplier to account for difficulty and genome
2024-07-06 10:36:48 +07:00
Quantumlyy 31c130ebae adjust modifier calculations 2024-07-03 15:06:42 +02:00
Martin Robertz 77d5bcf6d1 update 2024-05-31 19:52:13 +02:00
Martin Robertz b43e100d6f Merge pull request #45 from ClassixX/master
Update MagicApiaryInventory.java
2024-05-31 19:51:01 +02:00
ClassixX 3483b613aa Update MagicApiaryInventory.java
Changed sidedness to match forestry apiary and fixed canExtractItem to return true for the product slots
2024-05-29 20:09:36 +02:00
Martin Robertz 9919f54cc8 update 2024-05-13 17:16:45 +02:00
Martin Robertz c4835b735a Merge pull request #44 from kappa-maintainer/master
Apply same GTNH coremod check to bee product
2024-05-13 12:10:56 +02:00
kappa-maintainer e035bdb914 Make BeeProductHelper checks gtnh 2024-05-13 09:54:31 +00:00
Martin Robertz dcaf57b506 update 2024-04-24 21:53:39 +02:00
Alastors 6b34a53afa Merge pull request #42 from GTNewHorizons/fixSucc 2024-04-24 15:24:15 -04:00
Alastors e990776988 fix the succ 2024-04-24 00:27:24 -04:00
Raven Szewczyk 53e83a0c1a [ci skip] upgraded build system 2024-02-04 20:00:02 +00:00
Martin Robertz 3c39529c6f update deps 2024-02-04 15:17:16 +01:00
Martin Robertz 774defd118 Merge pull request #38 from kamenskyi/patch-1
Update ru_RU.lang
2024-02-04 15:16:26 +01:00
kamenskyi 6b5b6b0efe Update ru_RU.lang
fix ru mistakes
2024-02-02 22:28:36 +03:00
Martin Robertz 41a0528d2a update bs+deps 2024-02-02 15:34:18 +01:00
Martin Robertz eb05b5c1eb Merge pull request #39 from AnrDaemon/fix-lang-refs
Fixed Thaumonomicon pages references
2024-02-02 05:21:36 +01:00
AnrDaemon 2f1bd92b33 Fixed thaumonomicon pages references 2024-02-02 02:43:02 +03:00
kamenskyi 3be904d27d Update ru_RU.lang
fix ru mistakes
2024-02-01 17:48:29 +03:00
kamenskyi 08b1b9b456 Update ru_RU.lang
fix
2024-01-30 12:59:27 +03:00
kamenskyi 6467ba4612 Update ru_RU.lang
fix ru mistakes, add blood mamic and botania
2024-01-30 12:43:43 +03:00
Martin Robertz 09dc0657ef update deps 2024-01-29 07:23:03 +01:00
192 changed files with 571 additions and 1896 deletions

No files matched your search

-51
View File
@@ -1,51 +0,0 @@
#!/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
@@ -0,0 +1,17 @@
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,3 +29,4 @@ src/main/resources/mixins.*.json
*.bat
*.DS_Store
!gradlew.bat
layout.json
+2 -1621
View File
File diff suppressed because it is too large. Load diff
+7 -7
View File
@@ -1,14 +1,14 @@
// Add your dependencies here
dependencies {
compile('com.github.GTNewHorizons:ForestryMC:4.8.2:dev')
api('com.github.GTNewHorizons:ForestryMC:4.11.8:dev')
compileOnly('com.github.GTNewHorizons:BloodMagic:1.5.1:dev')
compileOnly('com.github.GTNewHorizons:ThaumicHorizons:1.5.1:dev')
compileOnly('com.github.GTNewHorizons:Baubles:1.0.4:dev') {transitive = false}
compileOnly('com.github.GTNewHorizons:Botania:1.10.5-GTNH:api') {transitive = false}
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('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev') {transitive = false}
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.45.43:dev')
compileOnly('com.github.GTNewHorizons:ThaumicEnergistics:1.6.1-GTNH:dev')
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.52.347:dev')
compileOnly('com.github.GTNewHorizons:ThaumicEnergistics:1.7.34-GTNH:dev')
}
+198 -24
View File
@@ -1,64 +1,238 @@
# 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
# This is a case-sensitive string to identify your mod. Convention is to use lower case.
# Case-sensitive identifier string, available for mcmod.info population and used for automatic mixin JSON generation.
# Conventionally lowercase.
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
# 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/
# Whether to use modGroup as the maven publishing group.
# When false, com.github.GTNewHorizons is used.
useModGroupForPublishing = false
# Will update your build.gradle automatically whenever an update is available
# Updates your build.gradle and settings.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
# 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
# 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.
developmentEnvironmentUserName = Developer
# Define a source file of your project with:
# public static final String VERSION = "GRADLETOKEN_VERSION";
# 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
# 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 =
gradleTokenVersion = GRADLETOKEN_VERSION
# [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
# 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 =
# 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. I must be placed into /src/main/resources/META-INF/
# Example value: mymodid_at.cfg
# 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
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. You may only place Mixins in this package or the build will fail!
# 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.
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
# 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.
# 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.
usesShadowedDependencies = false
# Optional parameter to customize the produced artifacts. Use this to preserver artifact naming when migrating older
# 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
# 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
@@ -0,0 +1,12 @@
#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 -1
View File
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.0-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Vendored
+7 -8
View File
@@ -1,7 +1,7 @@
#!/bin/sh
#
# Copyright © 2015-2021 the original authors.
# Copyright © 2015 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,6 +15,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#
##############################################################################
#
@@ -55,7 +57,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/b631911858264c0b6e4d6603d677ff5218766cee/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -84,7 +86,7 @@ done
# 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 "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
@@ -112,7 +114,6 @@ 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.
@@ -170,7 +171,6 @@ 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" )
@@ -203,15 +203,14 @@ fi
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Collect all arguments for the java command:
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# * 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.
set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \
-classpath "$CLASSPATH" \
org.gradle.wrapper.GradleWrapperMain \
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
"$@"
# Stop when "xargs" is not available.
Vendored
+13 -12
View File
@@ -13,6 +13,8 @@
@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 ##########################################################################
@@ -43,11 +45,11 @@ set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute
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.
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
goto fail
@@ -57,22 +59,21 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto execute
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.
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
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%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
:end
@rem End local scope for the variables with windows NT shell
-2
View File
@@ -1,2 +0,0 @@
before_install:
- ./gradlew setupCIWorkspace
+3 -7
View File
@@ -6,6 +6,7 @@ pluginManagement {
name "GTNH Maven"
url "https://nexus.gtnewhorizons.com/repository/public/"
mavenContent {
includeGroup("com.gtnewhorizons")
includeGroupByRegex("com\\.gtnewhorizons\\..+")
}
}
@@ -16,12 +17,7 @@ pluginManagement {
}
plugins {
id 'com.diffplug.blowdryerSetup' version '1.7.1'
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.7.0' // Provides java toolchains
id 'com.gtnewhorizons.gtnhsettingsconvention' version '2.0.24'
}
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");
@@ -131,7 +131,6 @@ 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;
@@ -262,11 +261,11 @@ public class BeeProductHelper {
}
public static void initOreDictSProducts() {
boolean isGTLoaded = Loader.isModLoaded("gregtech");
boolean isGTNHCoreModLoaded = Config.isGTNHCoreModLoaded;
SILVER.addProduct(ForestryHelper.itemHoneycomb, 0.10f);
if (OreDictionary.getOres("nuggetSilver").size() > 0) {
SILVER.addSpecialty(
isGTLoaded ? Materials.Silver.getNuggets(1) : OreDictionary.getOres("nuggetSilver").get(0),
isGTNHCoreModLoaded ? Materials.Silver.getNuggets(1) : OreDictionary.getOres("nuggetSilver").get(0),
0.16f);
} else {
SILVER.setInactive();
@@ -275,7 +274,7 @@ public class BeeProductHelper {
LEAD.addProduct(ForestryHelper.itemHoneycomb, 0.10f);
if (OreDictionary.getOres("nuggetLead").size() > 0) {
LEAD.addSpecialty(
isGTLoaded ? Materials.Lead.getNuggets(1) : OreDictionary.getOres("nuggetLead").get(0),
isGTNHCoreModLoaded ? Materials.Lead.getNuggets(1) : OreDictionary.getOres("nuggetLead").get(0),
0.17f);
} else {
LEAD.setInactive();
@@ -292,7 +291,8 @@ public class BeeProductHelper {
TE_PLATINUM.addProduct(ForestryHelper.itemHoneycomb, 0.10f);
if (OreDictionary.getOres("nuggetPlatinum").size() > 0) {
TE_PLATINUM.addSpecialty(
isGTLoaded ? Materials.Platinum.getNuggets(1) : OreDictionary.getOres("nuggetPlatinum").get(0),
isGTNHCoreModLoaded ? Materials.Platinum.getNuggets(1)
: OreDictionary.getOres("nuggetPlatinum").get(0),
0.18f);
} else {
TE_PLATINUM.setInactive();
@@ -301,7 +301,7 @@ public class BeeProductHelper {
TE_NICKEL.addProduct(ForestryHelper.itemHoneycomb, 0.10f);
if (OreDictionary.getOres("nuggetNickel").size() > 0) {
TE_NICKEL.addSpecialty(
isGTLoaded ? Materials.Nickel.getNuggets(1) : OreDictionary.getOres("nuggetNickel").get(0),
isGTNHCoreModLoaded ? Materials.Nickel.getNuggets(1) : OreDictionary.getOres("nuggetNickel").get(0),
0.18f);
} else {
TE_NICKEL.setInactive();
@@ -310,7 +310,7 @@ public class BeeProductHelper {
ARDITE.addProduct(ForestryHelper.itemHoneycomb, 0.10f);
if (OreDictionary.getOres("nuggetArdite").size() > 0) {
ARDITE.addSpecialty(
isGTLoaded ? Materials.Ardite.getNuggets(1) : OreDictionary.getOres("nuggetArdite").get(0),
isGTNHCoreModLoaded ? Materials.Ardite.getNuggets(1) : OreDictionary.getOres("nuggetArdite").get(0),
0.18f);
} else {
ARDITE.setInactive();
@@ -319,7 +319,7 @@ public class BeeProductHelper {
COBALT.addProduct(ForestryHelper.itemHoneycomb, 0.10f);
if (OreDictionary.getOres("nuggetCobalt").size() > 0) {
COBALT.addSpecialty(
isGTLoaded ? Materials.Cobalt.getNuggets(1) : OreDictionary.getOres("nuggetCobalt").get(0),
isGTNHCoreModLoaded ? Materials.Cobalt.getNuggets(1) : OreDictionary.getOres("nuggetCobalt").get(0),
0.18f);
} else {
COBALT.setInactive();
@@ -328,7 +328,7 @@ public class BeeProductHelper {
TE_BRONZE.addProduct(ForestryHelper.itemHoneycomb, 0.10f);
if (OreDictionary.getOres("nuggetBronze").size() > 0) {
TE_BRONZE.addSpecialty(
isGTLoaded ? Materials.Bronze.getNuggets(1) : OreDictionary.getOres("nuggetBronze").get(0),
isGTNHCoreModLoaded ? Materials.Bronze.getNuggets(1) : OreDictionary.getOres("nuggetBronze").get(0),
0.18f);
} else {
TE_BRONZE.setInactive();
@@ -337,7 +337,7 @@ public class BeeProductHelper {
TE_INVAR.addProduct(ForestryHelper.itemHoneycomb, 0.10f);
if (OreDictionary.getOres("nuggetInvar").size() > 0) {
TE_INVAR.addSpecialty(
isGTLoaded ? Materials.Invar.getNuggets(1) : OreDictionary.getOres("nuggetInvar").get(0),
isGTNHCoreModLoaded ? Materials.Invar.getNuggets(1) : OreDictionary.getOres("nuggetInvar").get(0),
0.18f);
} else {
TE_INVAR.setInactive();
@@ -346,7 +346,8 @@ public class BeeProductHelper {
TE_ELECTRUM.addProduct(ForestryHelper.itemHoneycomb, 0.10f);
if (OreDictionary.getOres("nuggetElectrum").size() > 0) {
TE_ELECTRUM.addSpecialty(
isGTLoaded ? Materials.Electrum.getNuggets(1) : OreDictionary.getOres("nuggetElectrum").get(0),
isGTNHCoreModLoaded ? Materials.Electrum.getNuggets(1)
: OreDictionary.getOres("nuggetElectrum").get(0),
0.18f);
} else {
TE_ELECTRUM.setInactive();
@@ -355,7 +356,8 @@ public class BeeProductHelper {
MANYULLYN.addProduct(ForestryHelper.itemHoneycomb, 0.10f);
if (OreDictionary.getOres("nuggetManyullyn").size() > 0) {
MANYULLYN.addSpecialty(
isGTLoaded ? Materials.Manyullyn.getNuggets(1) : OreDictionary.getOres("nuggetManyullyn").get(0),
isGTNHCoreModLoaded ? Materials.Manyullyn.getNuggets(1)
: OreDictionary.getOres("nuggetManyullyn").get(0),
0.18f);
} else {
MANYULLYN.setInactive();
@@ -81,12 +81,11 @@ public class MagicApiaryInventory implements IApiaryInventory {
}
public int[] getAccessibleSlotsFromSide(int side) {
if (side == 0 || side == 1) {
return new int[] { SLOT_QUEEN, SLOT_DRONE };
}
int[] slots = new int[SLOT_PRODUCTS_COUNT];
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] = slot;
slots[i + 2] = slot;
}
return slots;
}
@@ -101,7 +100,7 @@ public class MagicApiaryInventory implements IApiaryInventory {
}
public boolean canExtractItem(int slot, ItemStack itemStack, int side) {
return slot >= SLOT_FRAME_START && slot <= SLOT_FRAME_START + 2;
return slot >= SLOT_PRODUCTS_START && slot <= SLOT_PRODUCTS_START + SLOT_PRODUCTS_COUNT;
}
public int getInventoryStackLimit() {
@@ -59,13 +59,17 @@ public class AlleleEffectCrumbling extends AlleleEffect {
IBeeModifier beeModifier = BeeManager.beeRoot.createBeeHousingModifier(housing);
// Get random coords within territory
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[] 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 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;
int xCoord = coords.posX + randomCoords[0];
int yCoord = coords.posY + randomCoords[1];
int zCoord = coords.posZ + randomCoords[2];
Block block = world.getBlock(xCoord, yCoord, zCoord);
if (block != null) {
@@ -37,13 +37,17 @@ public class AlleleEffectTransmuting extends AlleleEffect {
IBeeModifier beeModifier = BeeManager.beeRoot.createBeeHousingModifier(housing);
// Get random coords within territory
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[] 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 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;
int xCoord = coords.posX + randomCoords[0];
int yCoord = coords.posY + randomCoords[1];
int zCoord = coords.posZ + randomCoords[2];
BiomeGenBase biome = world.getBiomeGenForCoords(xCoord, zCoord);
transmutationController.attemptTransmutations(
@@ -36,7 +36,9 @@ public class BlockEffectJar extends BlockContainer {
boolean activate = false;
if (!player.isSneaking()) {
player.openGui(MagicBees.object, UIScreens.EFFECT_JAR.ordinal(), world, x, y, z);
if (!world.isRemote) {
player.openGui(MagicBees.object, UIScreens.EFFECT_JAR.ordinal(), world, x, y, z);
}
activate = true;
}
@@ -28,6 +28,7 @@ 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,7 +40,9 @@ public class BlockMagicApiary extends BlockContainer {
boolean activate = false;
if (!player.isSneaking()) {
player.openGui(MagicBees.object, UIScreens.THAUMIC_APIARY.ordinal(), world, x, y, z);
if (!world.isRemote) {
player.openGui(MagicBees.object, UIScreens.THAUMIC_APIARY.ordinal(), world, x, y, z);
}
activate = true;
}
@@ -25,9 +25,11 @@ 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, false),
INFERNAL("infernal", BeeSpecies.INFERNAL, 15, false),
OBLIVION("oblivion", BeeSpecies.OBLIVION, 7, false),;
DEEP("deep", BeeSpecies.ATTUNED, 4, true),
INFERNAL("infernal", BeeSpecies.INFERNAL, 15, true),
OBLIVION("oblivion", BeeSpecies.OBLIVION, 7, true),;
public static final HiveType[] VALUES = values();
private static String[] nameList;
@@ -43,8 +45,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;
@@ -96,7 +98,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");
@@ -167,9 +169,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,6 +3,7 @@ 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;
@@ -36,7 +37,7 @@ public class GUIEffectJar extends GuiContainer {
@Override
protected void drawGuiContainerForegroundLayer(int par1, int par2) {
fontRendererObj.drawString("Inventory", 9, 63, 0);
fontRendererObj.drawString(StatCollector.translateToLocal("container.inventory"), 9, 63, 0);
}
@Override
@@ -4,6 +4,7 @@ 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;
@@ -20,7 +21,7 @@ public class GuiMagicApiary extends GuiContainer {
CommonProxy.GUI_TEXTURE + "apiary.png");
private static final int WIDTH = 176;
private static final int HEIGHT = 190;
private static final int HEIGHT = 192;
private static final int LIFEBAR_WIDTH = 2;
private static final int LIFEBAR_HEIGHT = 46;
@@ -67,7 +68,7 @@ public class GuiMagicApiary extends GuiContainer {
@Override
protected void drawGuiContainerForegroundLayer(int par1, int par2) {
fontRendererObj.drawString("Inventory", 9, 99, 0);
fontRendererObj.drawString(StatCollector.translateToLocal("container.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 IIcon[] icons = new IIcon[ResourceType.values().length];
private final 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,9 +48,8 @@ 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());
}
}
@@ -62,6 +61,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].colour[0];
int meta = Math.max(0, Math.min(PollenType.VALUES.length - 1, stack.getItemDamage()));
int colour = PollenType.VALUES[meta].colourA;
if (pass >= 1) {
colour = PollenType.values()[meta].colour[1];
colour = PollenType.VALUES[meta].colourB;
}
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,7 +39,11 @@ public enum CombType {
TE_LUX("TElux", false),
TE_ENDEARING("TEendearing", false),;
private static int[][] colours = new int[][] { { 0xFF9859, 0xFFC58E }, { 0xcc3333, 0x1E160E },
/**
* 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 },
{ 0x9872FF, 0x2D2D2D }, { 0x3EE0D8, 0x3A3820 }, { 0xE5425D, 0x323291 }, { 0xBCA664, 0x35332E },
{ 0x7F7171, 0x876D53 }, { 0xB7ACB7, 0x636363 }, { 0x0092e9, 0x618fff }, { 0x2F9381, 0x773C31 },
{ 0xB191D8, 0x35443B }, { 0xffff7e, 0x606308 }, { 0xff3C01, 0x5B0D10 }, { 0x0090ff, 0x102F6B },
@@ -47,10 +51,11 @@ 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;
private CombType(String pName, boolean show) {
CombType(String pName, boolean show) {
this.name = pName;
this.showInList = show;
}
@@ -58,9 +63,6 @@ public enum CombType {
this.showInList = false;
}
private String name;
public boolean showInList;
public String getName() {
return LocalizationManager.getLocalizedString("comb." + this.name);
}
@@ -11,7 +11,9 @@ public enum DropType {
LUX("lux", 0xF5F3A4, 0xC9C87D),
ENDEARING("endearing", 0x12E3D9, 0x069E97),;
private DropType(String pName, int colourA, int colourB) {
public static final DropType[] VALUES = values();
DropType(String pName, int colourA, int colourB) {
this.name = pName;
this.combColour[0] = colourA;
this.combColour[1] = colourB;
@@ -48,12 +48,16 @@ public enum FluidType {
MANA("mana"),
COAL("coal"),;
public String liquidID;
/**
* 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 int iconIdx;
public boolean available = false;
public IIcon liquidIcon;
private FluidType(String l) {
FluidType(String l) {
this.liquidID = l;
}
@@ -15,6 +15,8 @@ public enum NuggetType {
EMERALD,
APATITE,;
public static final NuggetType[] VALUES = values();
private Item targetIngot;
private boolean active;
@@ -5,17 +5,22 @@ import magicbees.main.utils.LocalizationManager;
public enum PollenType {
UNUSUAL("unusual", 0xD8417B, 0xA03059),
PHASED("phased", 0x4974B4, 0x456BA5),;
PHASED("phased", 0x4974B4, 0x456BA5);
private PollenType(String pName, int colourA, int colourB) {
/**
* 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) {
this.name = pName;
this.colour[0] = colourA;
this.colour[1] = colourB;
this.colourA = colourA;
this.colourB = colourB;
}
private String name;
public int[] colour = new int[2];
public String getName() {
return LocalizationManager.getLocalizedString("pollen." + this.name);
}
@@ -13,7 +13,9 @@ public enum PropolisType {
ORDER("dull", 0xDDDDFF),
CHAOS("magic", 0x555577),;
private PropolisType(String pName, int overlayColour) {
public static final PropolisType[] VALUES = values();
PropolisType(String pName, int overlayColour) {
this.name = pName;
this.colour = overlayColour;
}
@@ -32,16 +32,20 @@ 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);
private ResourceType(String n, boolean show) {
/**
* 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) {
this.name = n;
this.showInList = show;
}
private String name;
public boolean showInList;
public void setHidden() {
this.showInList = false;
}
@@ -8,7 +8,9 @@ public enum WaxType {
SOUL("soul", false, 0x967C63),
AMNESIC("amnesic", true, 0x856DFF);
private WaxType(String n, boolean sp, int c) {
public static final WaxType[] VALUES = values();
WaxType(String n, boolean sp, int c) {
this.name = n;
this.sparkly = sp;
this.colour = c;
+6 -5
View File
@@ -63,7 +63,7 @@ import magicbees.tileentity.TileEntityEffectJar;
import magicbees.tileentity.TileEntityMagicApiary;
import magicbees.tileentity.TileEntityManaAuraProvider;
import magicbees.tileentity.TileEntityVisAuraProvider;
import thaumicenergistics.api.ThEApi;
import thaumicenergistics.implementaion.ThEAPIImplementation;
/**
* A class to hold some data related to mod state & functions.
@@ -165,7 +165,7 @@ public class Config {
public static Configuration configuration;
// ---- Loaded mods -----------------------------------------
public static boolean isGTLoaded = Loader.isModLoaded("gregtech");
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");
@@ -232,7 +232,8 @@ public class Config {
if (isThaumicEnergisticsLoaded) {
try {
Class c = BlockApimancersDrainer.drainer;
ThEApi.instance().transportPermissions().addAspectStorageTileToExtractPermissions(c);
// Has to be Implementation, ThEAPI is just the base
ThEAPIImplementation.instance().transportPermissions().addAspectStorageTileToExtractPermissions(c);
} catch (Exception ignored) {}
}
}
@@ -441,7 +442,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());
}
}
@@ -461,7 +462,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);
@@ -426,14 +426,16 @@ public class CraftingManager {
GameRegistry.addRecipe(
new ShapedOreRecipe(new ItemStack(Items.emerald), "xxx", "xxx", "xxx", 'x', "nuggetEmerald"));
GameRegistry.addRecipe(
new ShapedOreRecipe(
ItemInterface.getItemStack("apatite"),
"xxx",
"xxx",
"xxx",
'x',
Config.nuggets.getStackForType(NuggetType.APATITE)));
if (ItemInterface.getItemStack("apatite") != null) {
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(
@@ -820,7 +822,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,5 +1,7 @@
package magicbees.main.utils;
import magicbees.Tags;
/**
* Using some of the VersionInfo code from cofh. (Thanks, Lemming!)
*
@@ -8,7 +10,7 @@ package magicbees.main.utils;
public class VersionInfo {
public static final String ModName = "MagicBees";
public static final String Version = "GRADLETOKEN_VERSION";
public static final String Version = Tags.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";
@@ -404,7 +404,7 @@ public class ThaumcraftHelper implements IModHelper {
1,
1,
new ItemStack(Config.hiveFrameMagic))
.setPages(getResearchPage("MB_FrameMagic"), new ResearchPage((IArcaneRecipe) frameMagic))
.setPages(getResearchPage("MB_FrameMagic.1"), new ResearchPage((IArcaneRecipe) frameMagic))
.registerResearchItem();
input = new ItemStack(Config.hiveFrameMagic);
@@ -638,9 +638,11 @@ public class ThaumcraftHelper implements IModHelper {
new ItemStack(item.getItem(), 1, ForestryHelper.BlockResource.APATITE.ordinal()),
list.copy());
item = ItemInterface.getItemStack(ForestryHelper.Name, "apatite");
ThaumcraftApi.registerObjectTag(
new ItemStack(item.getItem(), 1, item.getItemDamage()),
list.copy().add(Aspect.CRYSTAL, 2));
if (item != null) {
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");
@@ -90,8 +90,8 @@ public class ItemBloodBaseFrame extends EnergyItems implements IHiveFrame {
@Override
@SuppressWarnings({ "unchecked", "rawtypes" })
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) {
par3List.add(StatCollector.translateToLocal("You feel gross touching this"));
par3List.add(StatCollector.translateToLocal("Uses " + String.valueOf(energyUsed) + " LP per cycle"));
par3List.add(StatCollector.translateToLocal("tooltip.bloodBaseFrame.desc"));
par3List.add(StatCollector.translateToLocalFormatted("tooltip.bloodFrame.cost", energyUsed));
if (par1ItemStack.hasTagCompound()) {
par3List.add(
@@ -91,7 +91,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.translateToLocal("Uses " + String.valueOf(energyUsed) + " LP per cycle"));
par3List.add(StatCollector.translateToLocalFormatted("tooltip.bloodFrame.cost", energyUsed));
if (par1ItemStack.hasTagCompound()) {
par3List.add(
@@ -90,8 +90,8 @@ public class ItemFrenziedFrame extends EnergyItems implements IHiveFrame {
@Override
@SuppressWarnings({ "unchecked", "rawtypes" })
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) {
par3List.add(StatCollector.translateToLocal("MAY CHAOS TAKE THE WORLD"));
par3List.add(StatCollector.translateToLocal("Uses " + String.valueOf(energyUsed) + " LP per cycle"));
par3List.add(StatCollector.translateToLocal("tooltip.FrenziedFlame.desc"));
par3List.add(StatCollector.translateToLocalFormatted("tooltip.bloodFrame.cost", energyUsed));
if (par1ItemStack.hasTagCompound()) {
par3List.add(
@@ -182,7 +182,7 @@ public class SubTileHibeescus extends SubTileFunctional {
}
protected float getManaPerOpTick() {
return getFinalOperationManaCost() / OPERATION_TICKS_TIME;
return (float) getFinalOperationManaCost() / OPERATION_TICKS_TIME;
}
@Override
@@ -15,6 +15,7 @@ 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;
@@ -91,8 +92,16 @@ public class TileEntityApimancersDrainerCommon extends TileEntity
}
protected int getProductionMultiplier(IBeeModifier modifier, IBee queen, TileEntity te) {
IBeeGenome queenGenome = queen.getGenome();
float productionMultiplier = modifier.getProductionModifier(queenGenome, 1.0F);
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);
}
@@ -118,7 +127,6 @@ public class TileEntityApimancersDrainerCommon extends TileEntity
return true;
}
@Override
public AspectList getAspects() {
return this.essentia;
}
@@ -151,7 +159,7 @@ public class TileEntityApimancersDrainerCommon extends TileEntity
this.worldObj.markBlockForUpdate(this.xCoord, this.yCoord, this.zCoord);
}
if (this.essentia.getAmount(tag) >= amount) {
this.essentia.reduce(tag, amount);
this.essentia.remove(tag, amount);
return true;
}
return false;
@@ -169,7 +177,7 @@ public class TileEntityApimancersDrainerCommon extends TileEntity
}
if (hasIt) {
for (Aspect next : ot.aspects.keySet()) {
essentia.reduce(next, ot.getAmount(next));
essentia.remove(next, ot.getAmount(next));
}
return true;
}
@@ -216,13 +224,10 @@ public class TileEntityApimancersDrainerCommon extends TileEntity
if (!this.worldObj.isRemote) {
this.worldObj.markBlockForUpdate(this.xCoord, this.yCoord, this.zCoord);
}
if (amount > this.essentia.getAmount(aspect)) {
int total = this.essentia.getAmount(aspect);
this.essentia.reduce(aspect, total);
return total;
}
this.essentia.reduce(aspect, amount);
return amount;
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;
}
@@ -281,6 +286,9 @@ public class TileEntityApimancersDrainerCommon extends TileEntity
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();
}
@@ -12,7 +12,7 @@ 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.GT_MetaTileEntity_IndustrialApiary;
import gregtech.common.tileentities.machines.basic.MTEIndustrialApiary;
public class TileEntityApimancersDrainerGT extends TileEntityApimancersDrainerCommon
implements IGregTechDeviceInformation {
@@ -43,7 +43,7 @@ public class TileEntityApimancersDrainerGT extends TileEntityApimancersDrainerCo
BaseMetaTileEntity GTMetaTileEntity = getGTTileEntity(above);
if (GTMetaTileEntity != null) {
IMetaTileEntity underlyingMetaTileEntity = GTMetaTileEntity.getMetaTileEntity();
if (!(underlyingMetaTileEntity instanceof GT_MetaTileEntity_IndustrialApiary)) return null;
if (!(underlyingMetaTileEntity instanceof MTEIndustrialApiary)) return null;
return (IBeeHousing) underlyingMetaTileEntity;
}
@@ -59,14 +59,14 @@ public class TileEntityApimancersDrainerGT extends TileEntityApimancersDrainerCo
@Override
protected ItemStack getQueen(IBeeHousing beeHousing, TileEntity te) {
BaseMetaTileEntity GTMetaTileEntity = getGTTileEntity(te);
GT_MetaTileEntity_IndustrialApiary industrialApiary = getGTIndustrialApiary(GTMetaTileEntity);
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);
GT_MetaTileEntity_IndustrialApiary industrialApiary = getGTIndustrialApiary(GTMetaTileEntity);
MTEIndustrialApiary industrialApiary = getGTIndustrialApiary(GTMetaTileEntity);
int housingProductionMultiplier = super.getProductionMultiplier(modifier, queen, te);
return industrialApiary != null
? housingProductionMultiplier * (int) Math.ceil(Math.sqrt(industrialApiary.mSpeed))
@@ -78,11 +78,11 @@ public class TileEntityApimancersDrainerGT extends TileEntityApimancersDrainerCo
return isGTMetaTileEntity ? (BaseMetaTileEntity) te : null;
}
private GT_MetaTileEntity_IndustrialApiary getGTIndustrialApiary(BaseMetaTileEntity bmte) {
private MTEIndustrialApiary getGTIndustrialApiary(BaseMetaTileEntity bmte) {
if (bmte != null) {
IMetaTileEntity underlyingMetaTileEntity = bmte.getMetaTileEntity();
if (!(underlyingMetaTileEntity instanceof GT_MetaTileEntity_IndustrialApiary)) return null;
return (GT_MetaTileEntity_IndustrialApiary) underlyingMetaTileEntity;
if (!(underlyingMetaTileEntity instanceof MTEIndustrialApiary)) return null;
return (MTEIndustrialApiary) underlyingMetaTileEntity;
}
return null;
}
@@ -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.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_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
@@ -40,6 +40,7 @@ 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
@@ -49,6 +50,7 @@ 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
@@ -78,11 +80,13 @@ 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
@@ -91,10 +95,12 @@ 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
@@ -106,6 +112,7 @@ 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
@@ -115,6 +122,7 @@ 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
@@ -150,8 +158,16 @@ 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
@@ -203,6 +219,8 @@ 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
@@ -629,6 +647,7 @@ 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
@@ -659,7 +678,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.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_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
@@ -5,10 +5,16 @@ 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=Плита из великого дерева
@@ -120,6 +126,9 @@ 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
@@ -166,6 +175,14 @@ 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
@@ -178,6 +195,14 @@ 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
@@ -300,7 +325,7 @@ magicbees.speciesMutable.description=Изменчивая по натуре, н
magicbees.speciesTransmuting=Трансмутирующая
magicbees.speciesTransmuting.description="Я мог бы поклясться, что вчера это было сделано из камня!"|Sengir, Mad Apiarist
magicbees.speciesCrumbling=Разрушающая
magicbees.speciesCrumbling.description=Они оказывают разъедающее воздействие на окружающую среду, быстро старея.|Apinomicon
magicbees.speciesCrumbling.description=Они оказывают разъедающее воздействие на окружающую среду, быстро состаривая.|Apinomicon
magicbees.speciesInvisible=Невидимая
magicbees.speciesInvisible.description=Их легко не заметить, их стекловидное тело трудно заметить в сельской местности.|Apinomicon
@@ -312,7 +337,7 @@ magicbees.speciesTCFire.description=Внимание: содержание ул
magicbees.speciesTCWater=Аква
magicbees.speciesTCWater.description="Я пытался размножить их однажды, но я получил мыло."|MysteriousAges, Apprentice Thaumaturge
magicbees.speciesTCEarth=Солим
magicbees.speciesTCEarth.description="Ты действительно собираешься выкопать этих пчел, но будь осторожен - они довольно легко размножаются".|MysteriousAges, Apprentice Comedian
magicbees.speciesTCEarth.description="Ты влюбишься в этих пчёл, но будь осторожен - они быстро наскучивают.".|MysteriousAges, Apprentice Comedian
magicbees.speciesTCOrder=Праекантатио
magicbees.speciesTCOrder.description=Пчеловодство это магия!|Apinomicon, Preface
magicbees.speciesTCChaos=Абсолютные
@@ -352,7 +377,7 @@ magicbees.speciesAMAir.description=Быстрые, как ветер, и лег
magicbees.speciesAMFire=Feuer
magicbees.speciesAMFire.description=Их колония может достигать температур, при которых кипит вода и плавятся металлы.|Apinomicon
magicbees.speciesAMWater=Wasser
magicbees.speciesAMWater.description=Из-за длительного воздействия жидкостей их гребни становятся довольно влажными и тяжелыми.|Apinomicon
magicbees.speciesAMWater.description=Из-за длительного воздействия жидкостей их соты становятся довольно влажными и тяжелыми.|Apinomicon
magicbees.speciesAMLightning=Blitz
magicbees.speciesAMLightning.description=Они могут преодолевать огромные расстояния в мгновение ока и известны тем, что устраивают множество лесных пожаров.|Apinomicon
magicbees.speciesAMPlant=Staude
@@ -404,6 +429,7 @@ magicbees.speciesBMBound.description=....|Apinomicon
magicbees.species=
magicbees.species.description=
magicbees.speedBlinding=Blinding
magicbees.effectCurative=Очищение
magicbees.effectDigSpeed=Добывание
magicbees.effectMoveSpeed=Ускорение
@@ -425,10 +451,12 @@ 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=Скрытые
@@ -495,7 +523,7 @@ tc.research_page.MB_EssenceLife.1=Простая в приготовлении
tc.research_name.MB_EssenceDeath=Эссенция неглубокой могилы
tc.research_text.MB_EssenceDeath=[MB] Не совсем шесть футов под килем.
tc.reseacrh_page.MB_EssenceDeath.1=Эссенция неглубокой могилы приводит к смерти... "естественных" мобов, которые бродят по миру: зомби, скелеты и тому подобное. Воздействие этой энергии на пчел приводит к тому, что они становятся медлительными и неповоротливыми и сокращает продолжительность их жизни. Некоторые Маги пчеловодства считают использование рамок, пропитанных этими эссенциями, жестоким, однако другие рассматривают это как естественную часть обычного пчеловодства с прицелом на создание своего идеального сорта пчел когда-нибудь в течение ИХ жизни. <BR> Гильдия по безопасности Магического пчеловодства рекомендует обращаться с ними телекинезом или очень длинными щипцами.
tc.research_page.MB_EssenceDeath.1=Эссенция неглубокой могилы приводит к смерти... "естественных" мобов, которые бродят по миру: зомби, скелеты и тому подобное. Воздействие этой энергии на пчел приводит к тому, что они становятся медлительными и неповоротливыми и сокращает продолжительность их жизни. Некоторые Маги пчеловодства считают использование рамок, пропитанных этими эссенциями, жестоким, однако другие рассматривают это как естественную часть обычного пчеловодства с прицелом на создание своего идеального сорта пчел когда-нибудь в течение ИХ жизни. <BR> Гильдия по безопасности Магического пчеловодства рекомендует обращаться с ними телекинезом или очень длинными щипцами.
tc.research_name.MB_EssenceArmor=Эссенция вечной прочности
tc.research_text.MB_EssenceArmor=[MB] Резина для Вашего клея
@@ -517,6 +545,51 @@ 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=Ожидайте от маны!
for.bees.custom.drone.magicbees.speciesMystical=Мистический трутень
for.bees.custom.beealyzer.drone.magicbees.speciesMystical=Мистический
for.bees.custom.drone.magicbees.speciesSorcerous=Волшебный трутень
@@ -642,7 +642,7 @@ tc.research_page.MB_EssenceLife.1=由魔力所创造,这种源质在暴露在蜜
tc.research_name.MB_EssenceDeath=暗影之墓源质
tc.research_text.MB_EssenceDeath=[MB] 离地六英尺不足.
tc.reseacrh_page.MB_EssenceDeath.1=暗影之墓源质引导着无数游荡于这个世界的..."自然"生物,走向死亡:僵尸, 骷髅, 诸如此类.暴露于这种能量下的蜜蜂会越来越迟缓, 寿命也会随之缩短.一部分神秘养蜂家认为使用浸有此种源质的框架是一种十分残忍的行为,然而, 也有其他观点认为这是常规养蜂中不可避免的一部分, 有时还可以让那些蜜蜂们在它们有限的生命周期里紧张工作起来.<BR> 神秘养蜂学安全指南章程中建议使用念力或者特别长的钳子来拿取此框架.
tc.research_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.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_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.3 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 348 B

After

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 348 B

After

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 378 B

After

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.7 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 416 B

After

Width:  |  Height:  |  Size: 405 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 719 B

After

Width:  |  Height:  |  Size: 718 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 415 B

After

Width:  |  Height:  |  Size: 396 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.2 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 834 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 640 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 930 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 912 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 B

After

Width:  |  Height:  |  Size: 265 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 305 B

After

Width:  |  Height:  |  Size: 258 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 412 B

After

Width:  |  Height:  |  Size: 347 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 425 B

After

Width:  |  Height:  |  Size: 373 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 403 B

After

Width:  |  Height:  |  Size: 322 B

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