Compare commits

...
36 Commits
Author SHA1 Message Date
UltraProdigy 508a51f2ca Optimize Images & Workflow (#114) 2026-03-08 09:29:07 +01:00
Martin Robertz ffbb1ec566 update+gradle+deps+bs 2026-03-04 17:33:30 +01:00
Yoshy d7e8bb0d42 Fix typos/grammar (#113) 2026-03-04 17:25:06 +01:00
Connor-ColensoandConnor Colenso ba59445a58 Format number migration (#112)
Co-authored-by: Connor Colenso <colen@CONNORSPC>
2026-01-24 01:46:28 +00:00
Connor Colenso e2da675b0d Revert "Update bs"
This reverts commit ebe7bcf718.
2026-01-24 01:35:01 +00:00
Connor Colenso fceabea560 Revert "Bump GT5u dep"
This reverts commit 002deef14e.
2026-01-24 01:35:00 +00:00
Connor Colenso e2ffd4b11b Revert "Switch to GTNHLib"
This reverts commit 303a815ba4.
2026-01-24 01:35:00 +00:00
Connor Colenso 303a815ba4 Switch to GTNHLib 2026-01-24 01:30:56 +00:00
Connor Colenso 002deef14e Bump GT5u dep 2026-01-24 01:29:52 +00:00
Connor Colenso ebe7bcf718 Update bs 2026-01-24 01:19:00 +00:00
WanderingHeroandMartin Robertz 572b1eff97 Rework The One Ring (#110)
Co-authored-by: Martin Robertz <[email protected]>
2026-01-14 08:06:02 +01:00
danyadevandWilhelm Schuster eab5ce16af respect step assist config and make it enabled by default (#111)
Co-authored-by: Wilhelm Schuster <[email protected]>
2026-01-07 12:30:15 +01:00
Martin Robertz f657893feb update 2026-01-05 20:45:33 +01:00
Martin Robertz 94220122e3 update 2025-12-22 21:56:19 +01:00
SST-03andRuling-0 3ee7e99054 Rebalance Falling and Flying Speed for Boots of Traveller (#107)
Co-authored-by: Ruling-0 <[email protected]>
2025-12-18 06:14:44 +01:00
sisyphussy d42aa5e7bd Fix speed & jump modifiers (#109) 2025-11-10 19:51:24 +01:00
Martin Robertz 824b6bc3b4 update 2025-10-31 19:54:43 +01:00
JohnandDream Master 83ef9ce92c Fix tooltip for Vis Discount on Nano and Quantum Wings (#108)
Co-authored-by: Dream Master <[email protected]>
2025-10-31 16:16:00 +01:00
Dream Master c1642ad8e1 update 2025-10-30 13:45:36 +01:00
Martin Robertz 9a51e36a33 update 2025-10-16 11:04:42 +02:00
WanderingHero 41ba26b62d Fix dungeon chests spawning with the one ring. (#105) 2025-10-16 09:03:14 +00:00
Julia d16c3f27d4 Update for Deprecated Tier Removal PR #5085 (#106) 2025-10-16 10:26:55 +02:00
Woriveandsisyphussy 46fa64f4f7 Fix(ItemElectricGoggles): ic2 energy bar not being displayed nor updated (#104)
Co-authored-by: sisyphussy <[email protected]>
2025-09-07 17:56:53 +00:00
Martin Robertz 893d79e147 update 2025-09-07 19:44:17 +02:00
Matthew Bentham 4920c605bc Fix Electric Goggles taking durability damage when they shouldn't (#103) 2025-09-07 13:42:54 +00:00
Worive 5eadeb8067 Fix Electric Goggles (and inheritors) from breaking from anvil or fallingBlock damage (#102) 2025-09-07 21:39:48 +10:00
Martin Robertz 9dee3ae782 update 2025-09-02 17:18:50 +02:00
Pedro Ortiz Bledow 9b40d06fb7 Swap references to EMT.TEXTURE_PATH with EMT.RESOURCE_PATH (#101) 2025-09-02 12:49:29 +02:00
Dream Master 1c69ce9b4d update 2025-08-16 18:47:40 +07:00
Pedro Ortiz Bledow 1049ca875c Add sound for Maintenance Focus (#100) 2025-08-15 17:35:40 +07:00
Dream Master 1d613494e9 update 2025-08-04 09:58:02 +07:00
Andreyandgithub-actions[bot] 1d81835e32 Fix solar panel draining Thaumcraft node twice (#98)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-04 08:17:34 +07:00
boubou19 940073709b Speed up forge event registration (#97) 2025-07-17 23:01:47 +00:00
Martin Robertz 9052428a3d update 2025-06-21 00:32:16 +02:00
JuliaandMartin Robertz e1e53af24f Update uses of crafting tools (#96)
Co-authored-by: Martin Robertz <[email protected]>
2025-05-25 16:34:37 +02:00
ceg 71c9976777 Fix ConcurrentModificationException in ItemShieldFocus (#95) 2025-05-18 19:04:37 +02:00
244 changed files with 533 additions and 381 deletions

No files matched your search

+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
+3 -3
View File
@@ -1,6 +1,6 @@
![](/src/main/resources/logo.png?raw=true)
#Electro-Magic Tools
# Electro-Magic Tools
Electro-Magic Tools is a Minecraft mod which integrates Thaumcraft 4 with IndustrialCraft 2 by adding cross-mod tools and items, such as magic solar panels, essentia generators and legendary items.
@@ -19,7 +19,7 @@ Before posting to the issue tracker, make sure you meet the following criteria:
- You've gone through the effort to isolate EMT from other mods that aren't related to the issue.
- You've gone through the effort to find what conditions are necessary to reproduce the issue.
- The issue is subtle enough and has been around long enough that you think we might have missed it.
- You speak English or Russian well enough to explain yourself without wondering whether you will be understood.
- You speak English or Russian well enough to explain yourself without wondering whether you will be understood.
# Upstream
@@ -27,4 +27,4 @@ Before posting to the issue tracker, make sure you meet the following criteria:
# License
Electro-Magic-Tools is licensed under the GPL 3
Electro-Magic-Tools is licensed under the GPL 3
+4 -4
View File
@@ -1,9 +1,9 @@
// Add your dependencies here
dependencies {
api('com.github.GTNewHorizons:Baubles-Expanded:2.1.7-GTNH:dev')
api('com.github.GTNewHorizons:ModularUI:1.2.18:dev')
api('com.github.GTNewHorizons:ThaumicBoots:1.4.6:dev') {
api('com.github.GTNewHorizons:Baubles-Expanded:2.2.9-GTNH:dev')
api('com.github.GTNewHorizons:ModularUI:1.3.1:dev')
api('com.github.GTNewHorizons:ThaumicBoots:1.5.8:dev') {
exclude group: 'com.github.GTNewHorizons', module: 'Electro-Magic-Tools'
exclude module: 'Baubles'
}
@@ -11,5 +11,5 @@ dependencies {
api('net.industrial-craft:industrialcraft-2:2.2.828-experimental:dev')
api('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev')
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.51.285:dev')
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.52.331:dev')
}
+40 -5
View File
@@ -39,9 +39,33 @@ remoteMappings = https\://raw.githubusercontent.com/MinecraftForge/FML/1.7.10/co
# `./gradlew runClient --username=AnotherPlayer`, or configuring this command in your IDE.
developmentEnvironmentUserName = Developer
# Enables using modern Java syntax (up to version 17) via Jabel, while still targeting JVM 8.
# See https://github.com/bsideup/jabel for details on how this works.
enableModernJavaSyntax = true
# 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 = jabel
# 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.
@@ -96,7 +120,9 @@ 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!
@@ -151,7 +177,7 @@ modrinthProjectId =
# 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: GTNH Mixins is automatically set as a required dependency if usesMixins = true
# 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.
@@ -172,6 +198,12 @@ curseForgeRelations =
# projects. New projects should not use this parameter.
# customArchiveBaseName =
# 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.
@@ -201,3 +233,6 @@ curseForgeRelations =
# 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/df211d3c3eefdc408b462041881bc575/redirect
toolchainUrl.FREE_BSD.X86_64=https\://api.foojay.io/disco/v3.0/ids/b41931cf1e70bc8e08d7dd19c343ef00/redirect
toolchainUrl.LINUX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/df211d3c3eefdc408b462041881bc575/redirect
toolchainUrl.LINUX.X86_64=https\://api.foojay.io/disco/v3.0/ids/b41931cf1e70bc8e08d7dd19c343ef00/redirect
toolchainUrl.MAC_OS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/46949723aaa20c7b64d7ecfed7207034/redirect
toolchainUrl.MAC_OS.X86_64=https\://api.foojay.io/disco/v3.0/ids/d6690dfd71c4c91e08577437b5b2beb0/redirect
toolchainUrl.UNIX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/df211d3c3eefdc408b462041881bc575/redirect
toolchainUrl.UNIX.X86_64=https\://api.foojay.io/disco/v3.0/ids/b41931cf1e70bc8e08d7dd19c343ef00/redirect
toolchainUrl.WINDOWS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/3cd7045fca9a72cd9bc7d14a385e594c/redirect
toolchainUrl.WINDOWS.X86_64=https\://api.foojay.io/disco/v3.0/ids/552c7bffe0370c66410a51c55985b511/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.13-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Vendored
+2 -5
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.
@@ -114,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.
@@ -172,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" )
@@ -212,8 +210,7 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
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
+1 -2
View File
@@ -70,11 +70,10 @@ 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
+11
View File
@@ -1,4 +1,15 @@
// Add any additional repositories for your dependencies here
repositories {
exclusiveContent {
forRepository {
maven {
name = 'glease'
url = 'https://maven.glease.net/repos/releases/'
}
}
filter {
includeGroup('net.glease')
}
}
}
+1 -1
View File
@@ -17,7 +17,7 @@ pluginManagement {
}
plugins {
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.38'
id 'com.gtnewhorizons.gtnhsettingsconvention' version '2.0.21'
}
+1 -1
View File
@@ -41,7 +41,7 @@ public class EMT {
public static final String NAME = "Electro-Magic Tools";
public static final String MOD_ID = "EMT";
public static final String VERSION = EMTTags.VERSION;
public static final String TEXTURE_PATH = "emt";
public static final String RESOURCE_PATH = "emt";
public static final String GUI_FACTORY = "emt.client.gui.config.EMTGuiFactory";
public static final String CLIENT_PROXY = "emt.proxy.ClientProxy";
public static final String COMMON_PROXY = "emt.proxy.CommonProxy";
+1 -1
View File
@@ -14,7 +14,7 @@ public abstract class BlockBase extends Block {
name = unlocName;
setBlockName(EMT.MOD_ID + ".block." + unlocName);
if (textureName != null) {
setBlockTextureName(EMT.TEXTURE_PATH + ":" + textureName);
setBlockTextureName(EMT.RESOURCE_PATH + ":" + textureName);
}
setCreativeTab(EMT.TAB);
setStepSound(soundType);
@@ -56,7 +56,7 @@ public class BlockElectricCloud extends BlockBase {
@Override
public void registerBlockIcons(IIconRegister ir) {
icon = ir.registerIcon(EMT.TEXTURE_PATH + ":empty");
icon = ir.registerIcon(EMT.RESOURCE_PATH + ":empty");
}
@Override
@@ -33,20 +33,20 @@ public class BlockEssentiaGenerators extends BlockBaseContainer {
@SideOnly(Side.CLIENT)
public void registerBlockIcons(IIconRegister ir) {
super.registerBlockIcons(ir);
this.blockIcon = ir.registerIcon(EMT.TEXTURE_PATH + ":machines/top");
this.blockIcon = ir.registerIcon(EMT.RESOURCE_PATH + ":machines/top");
for (int meta = 0; meta < subtypes; meta++) {
iconSets[meta].top = ir.registerIcon(EMT.TEXTURE_PATH + ":essentiagenerator/top");
iconSets[meta].bottom = ir.registerIcon(EMT.TEXTURE_PATH + ":essentiagenerator/top");
iconSets[meta].side = ir.registerIcon(EMT.TEXTURE_PATH + ":essentiagenerator/side");
iconSets[meta].top = ir.registerIcon(EMT.RESOURCE_PATH + ":essentiagenerator/top");
iconSets[meta].bottom = ir.registerIcon(EMT.RESOURCE_PATH + ":essentiagenerator/top");
iconSets[meta].side = ir.registerIcon(EMT.RESOURCE_PATH + ":essentiagenerator/side");
}
iconSets[0].frontOff = ir.registerIcon(EMT.TEXTURE_PATH + ":essentiagenerator/potentiafront");
iconSets[1].frontOff = ir.registerIcon(EMT.TEXTURE_PATH + ":essentiagenerator/ignisfront");
iconSets[2].frontOff = ir.registerIcon(EMT.TEXTURE_PATH + ":essentiagenerator/auramfront");
iconSets[3].frontOff = ir.registerIcon(EMT.TEXTURE_PATH + ":essentiagenerator/arborfront");
iconSets[4].frontOff = ir.registerIcon(EMT.TEXTURE_PATH + ":essentiagenerator/aerfront");
iconSets[5].frontOff = ir.registerIcon(EMT.TEXTURE_PATH + ":essentiagenerator/aerfront");
iconSets[0].frontOff = ir.registerIcon(EMT.RESOURCE_PATH + ":essentiagenerator/potentiafront");
iconSets[1].frontOff = ir.registerIcon(EMT.RESOURCE_PATH + ":essentiagenerator/ignisfront");
iconSets[2].frontOff = ir.registerIcon(EMT.RESOURCE_PATH + ":essentiagenerator/auramfront");
iconSets[3].frontOff = ir.registerIcon(EMT.RESOURCE_PATH + ":essentiagenerator/arborfront");
iconSets[4].frontOff = ir.registerIcon(EMT.RESOURCE_PATH + ":essentiagenerator/aerfront");
iconSets[5].frontOff = ir.registerIcon(EMT.RESOURCE_PATH + ":essentiagenerator/aerfront");
}
@Override
+16 -16
View File
@@ -36,27 +36,27 @@ public class BlockMachines extends BlockBaseContainer {
public void registerBlockIcons(IIconRegister ir) {
super.registerBlockIcons(ir);
this.blockIcon = ir.registerIcon(EMT.TEXTURE_PATH + ":machines/top");
this.blockIcon = ir.registerIcon(EMT.RESOURCE_PATH + ":machines/top");
iconSets[0].top = ir.registerIcon(EMT.TEXTURE_PATH + ":machines/top");
iconSets[1].top = ir.registerIcon(EMT.TEXTURE_PATH + ":machines/etherealmaceratortop");
iconSets[2].top = ir.registerIcon(EMT.TEXTURE_PATH + ":machines/etherealmaceratortop");
iconSets[0].top = ir.registerIcon(EMT.RESOURCE_PATH + ":machines/top");
iconSets[1].top = ir.registerIcon(EMT.RESOURCE_PATH + ":machines/etherealmaceratortop");
iconSets[2].top = ir.registerIcon(EMT.RESOURCE_PATH + ":machines/etherealmaceratortop");
iconSets[0].bottom = ir.registerIcon(EMT.TEXTURE_PATH + ":machines/side");
iconSets[1].bottom = ir.registerIcon(EMT.TEXTURE_PATH + ":machines/etherealmacerator");
iconSets[2].bottom = ir.registerIcon(EMT.TEXTURE_PATH + ":machines/etherealmaceratortop");
iconSets[0].bottom = ir.registerIcon(EMT.RESOURCE_PATH + ":machines/side");
iconSets[1].bottom = ir.registerIcon(EMT.RESOURCE_PATH + ":machines/etherealmacerator");
iconSets[2].bottom = ir.registerIcon(EMT.RESOURCE_PATH + ":machines/etherealmaceratortop");
iconSets[0].side = ir.registerIcon(EMT.TEXTURE_PATH + ":machines/side");
iconSets[1].side = ir.registerIcon(EMT.TEXTURE_PATH + ":machines/etherealmacerator");
iconSets[2].side = ir.registerIcon(EMT.TEXTURE_PATH + ":machines/etherealmaceratortop");
iconSets[0].side = ir.registerIcon(EMT.RESOURCE_PATH + ":machines/side");
iconSets[1].side = ir.registerIcon(EMT.RESOURCE_PATH + ":machines/etherealmacerator");
iconSets[2].side = ir.registerIcon(EMT.RESOURCE_PATH + ":machines/etherealmaceratortop");
iconSets[0].frontOff = ir.registerIcon(EMT.TEXTURE_PATH + ":machines/wandcharger");
iconSets[1].frontOff = ir.registerIcon(EMT.TEXTURE_PATH + ":machines/etherealmaceratorfront");
iconSets[2].frontOff = ir.registerIcon(EMT.TEXTURE_PATH + ":machines/etherealmaceratortop");
iconSets[0].frontOff = ir.registerIcon(EMT.RESOURCE_PATH + ":machines/wandcharger");
iconSets[1].frontOff = ir.registerIcon(EMT.RESOURCE_PATH + ":machines/etherealmaceratorfront");
iconSets[2].frontOff = ir.registerIcon(EMT.RESOURCE_PATH + ":machines/etherealmaceratortop");
iconSets[0].frontOn = ir.registerIcon(EMT.TEXTURE_PATH + ":machines/wandcharger");
iconSets[1].frontOn = ir.registerIcon(EMT.TEXTURE_PATH + ":machines/etherealmaceratorfrontactive");
iconSets[2].frontOn = ir.registerIcon(EMT.TEXTURE_PATH + ":machines/etherealmaceratortop");
iconSets[0].frontOn = ir.registerIcon(EMT.RESOURCE_PATH + ":machines/wandcharger");
iconSets[1].frontOn = ir.registerIcon(EMT.RESOURCE_PATH + ":machines/etherealmaceratorfrontactive");
iconSets[2].frontOn = ir.registerIcon(EMT.RESOURCE_PATH + ":machines/etherealmaceratortop");
}
@SideOnly(Side.CLIENT)
@@ -60,7 +60,7 @@ public class BlockPortableNode extends BlockAiry {
@SideOnly(Side.CLIENT)
@Override
public void registerBlockIcons(IIconRegister ri) {
texture = ri.registerIcon(EMT.TEXTURE_PATH + ":portablenode");
texture = ri.registerIcon(EMT.RESOURCE_PATH + ":portablenode");
}
@SideOnly(Side.CLIENT)
+1 -1
View File
@@ -39,7 +39,7 @@ public class BlockShield extends Block {
@SideOnly(Side.CLIENT)
@Override
public void registerBlockIcons(IIconRegister iconRegister) {
this.blockIcon = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":shield");
this.blockIcon = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":shield");
}
@Override
+11 -11
View File
@@ -30,19 +30,19 @@ public class BlockSolars extends BlockBaseContainer {
@Override
@SideOnly(Side.CLIENT)
public void registerBlockIcons(IIconRegister ir) {
IIcon solarTop = ir.registerIcon(EMT.TEXTURE_PATH + ":solars/solartop");
IIcon doubleSolarTop = ir.registerIcon(EMT.TEXTURE_PATH + ":solars/doublesolartop");
IIcon tripleSolarTop = ir.registerIcon(EMT.TEXTURE_PATH + ":solars/triplesolartop");
IIcon solarTop = ir.registerIcon(EMT.RESOURCE_PATH + ":solars/solartop");
IIcon doubleSolarTop = ir.registerIcon(EMT.RESOURCE_PATH + ":solars/doublesolartop");
IIcon tripleSolarTop = ir.registerIcon(EMT.RESOURCE_PATH + ":solars/triplesolartop");
IIcon bottom = ir.registerIcon(EMT.TEXTURE_PATH + ":solars/bottom");
IIcon bottom = ir.registerIcon(EMT.RESOURCE_PATH + ":solars/bottom");
IIcon side = ir.registerIcon(EMT.TEXTURE_PATH + ":solars/side");
IIcon waterSide = ir.registerIcon(EMT.TEXTURE_PATH + ":solars/water/waterside");
IIcon darkSide = ir.registerIcon(EMT.TEXTURE_PATH + ":solars/dark/darkside");
IIcon orderSide = ir.registerIcon(EMT.TEXTURE_PATH + ":solars/order/orderside");
IIcon fireSide = ir.registerIcon(EMT.TEXTURE_PATH + ":solars/fire/fireside");
IIcon airSide = ir.registerIcon(EMT.TEXTURE_PATH + ":solars/air/airside");
IIcon earthSide = ir.registerIcon(EMT.TEXTURE_PATH + ":solars/earth/earthside");
IIcon side = ir.registerIcon(EMT.RESOURCE_PATH + ":solars/side");
IIcon waterSide = ir.registerIcon(EMT.RESOURCE_PATH + ":solars/water/waterside");
IIcon darkSide = ir.registerIcon(EMT.RESOURCE_PATH + ":solars/dark/darkside");
IIcon orderSide = ir.registerIcon(EMT.RESOURCE_PATH + ":solars/order/orderside");
IIcon fireSide = ir.registerIcon(EMT.RESOURCE_PATH + ":solars/fire/fireside");
IIcon airSide = ir.registerIcon(EMT.RESOURCE_PATH + ":solars/air/airside");
IIcon earthSide = ir.registerIcon(EMT.RESOURCE_PATH + ":solars/earth/earthside");
IIcon[] sides = { side, orderSide, darkSide, airSide, earthSide, waterSide, fireSide };
@@ -1,22 +1,22 @@
package emt.client.gui;
import static emt.EMT.TEXTURE_PATH;
import static emt.EMT.RESOURCE_PATH;
import com.gtnewhorizons.modularui.api.drawable.UITexture;
public class EMT_UITextures {
public static final UITexture OVERLAY_SLOT_FUSION_CRAFTING = UITexture
.fullImage(TEXTURE_PATH, "guis/overlay_slot/fusion_crafter");
public static final UITexture OVERLAY_SLOT_WAND = UITexture.fullImage(TEXTURE_PATH, "guis/overlay_slot/wand");
.fullImage(RESOURCE_PATH, "guis/overlay_slot/fusion_crafter");
public static final UITexture OVERLAY_SLOT_WAND = UITexture.fullImage(RESOURCE_PATH, "guis/overlay_slot/wand");
public static final UITexture PICTURE_GAUGE_EMPTY_25 = UITexture
.fullImage(TEXTURE_PATH, "guis/picture/gauge_empty_25");
.fullImage(RESOURCE_PATH, "guis/picture/gauge_empty_25");
public static final UITexture PICTURE_GAUGE_GENERATOR = UITexture
.fullImage(TEXTURE_PATH, "guis/picture/gauge_generator");
public static final UITexture PICTURE_GAUGE_SOLAR = UITexture.fullImage(TEXTURE_PATH, "guis/picture/gauge_solar");
.fullImage(RESOURCE_PATH, "guis/picture/gauge_generator");
public static final UITexture PICTURE_GAUGE_SOLAR = UITexture.fullImage(RESOURCE_PATH, "guis/picture/gauge_solar");
public static final UITexture PICTURE_GAUGE_EMPTY_11 = UITexture
.fullImage(TEXTURE_PATH, "guis/picture/gauge_empty_11");
.fullImage(RESOURCE_PATH, "guis/picture/gauge_empty_11");
public static final UITexture PICTURE_SOLAR_INDICATOR = UITexture
.fullImage(TEXTURE_PATH, "guis/picture/solar_indicator");
.fullImage(RESOURCE_PATH, "guis/picture/solar_indicator");
}
@@ -14,7 +14,7 @@ import emt.entity.EntityLaser;
public class RenderLaser extends Render {
private static final ResourceLocation laserTexture = new ResourceLocation(
EMT.TEXTURE_PATH,
EMT.RESOURCE_PATH,
"textures/models/lasermodel.png");
@Override
@@ -19,7 +19,7 @@ import emt.entity.EntityShield;
public class RenderShield extends Render {
private static final ResourceLocation shieldTexture = new ResourceLocation(
EMT.TEXTURE_PATH,
EMT.RESOURCE_PATH,
"textures/models/shield.png");
static int glCallList;
@@ -21,7 +21,7 @@ public class EMT_GT_Loader {
GTValues.RA.stdBuilder()
.itemInputs(
new ItemStack(Items.book),
GTOreDictUnificator.get(OrePrefixes.circuit, Materials.Basic, 1L),
GTOreDictUnificator.get(OrePrefixes.circuit, Materials.LV, 1L),
new ItemStack(ConfigItems.itemShard, 1, OreDictionary.WILDCARD_VALUE))
.itemOutputs(mkbook()).duration(6 * SECONDS).eut(TierEU.RECIPE_MV / 2).addTo(assemblerRecipes);
}
+3 -3
View File
@@ -19,9 +19,9 @@ public class EMTResearches {
}
public static void addResearchTab() {
ResourceLocation background = new ResourceLocation(EMT.TEXTURE_PATH, "textures/misc/background.png");
ResourceLocation background = new ResourceLocation(EMT.RESOURCE_PATH, "textures/misc/background.png");
ResearchCategories
.registerCategory("EMT", new ResourceLocation(EMT.TEXTURE_PATH, "textures/misc/emt.png"), background);
.registerCategory("EMT", new ResourceLocation(EMT.RESOURCE_PATH, "textures/misc/emt.png"), background);
}
public static void addResearch() {
@@ -31,7 +31,7 @@ public class EMTResearches {
0,
0,
0,
new ResourceLocation(EMT.TEXTURE_PATH, "textures/misc/emt.png")).setRound().setAutoUnlock()
new ResourceLocation(EMT.RESOURCE_PATH, "textures/misc/emt.png")).setRound().setAutoUnlock()
.registerResearchItem().setPages(new ResearchPage(""));
new EMTResearchItem("Diamond Chainsaw", 5, -6, 0, new ItemStack(EMTItems.diamondChainsaw)).setRound()
.setAutoUnlock().registerResearchItem()
+1 -1
View File
@@ -12,7 +12,7 @@ public class ItemBase extends Item {
public ItemBase(String unlocName, String textureName) {
super();
setUnlocalizedName(EMT.MOD_ID + unlocName);
setTextureName(EMT.TEXTURE_PATH + ":" + textureName);
setTextureName(EMT.RESOURCE_PATH + ":" + textureName);
setCreativeTab(EMT.TAB);
}
+2 -2
View File
@@ -57,8 +57,8 @@ public class ItemIC2Baubles extends ItemBase implements IBauble, IRunicArmor {
@SideOnly(Side.CLIENT)
public void registerIcons(IIconRegister ri) {
this.icon[0] = ri.registerIcon(EMT.TEXTURE_PATH + ":armoreumaker");
this.icon[1] = ri.registerIcon(EMT.TEXTURE_PATH + ":inventoryeumaker");
this.icon[0] = ri.registerIcon(EMT.RESOURCE_PATH + ":armoreumaker");
this.icon[1] = ri.registerIcon(EMT.RESOURCE_PATH + ":inventoryeumaker");
}
@SideOnly(Side.CLIENT)
+20 -20
View File
@@ -124,26 +124,26 @@ public class ItemMaterials extends Item {
@SideOnly(Side.CLIENT)
public void registerIcons(IIconRegister ri) {
this.icon[0] = ri.registerIcon(EMT.TEXTURE_PATH + ":materials/clusteruranium");
this.icon[1] = ri.registerIcon(EMT.TEXTURE_PATH + ":materials/crushedamber");
this.icon[2] = ri.registerIcon(EMT.TEXTURE_PATH + ":materials/purifiedamber");
this.icon[3] = ri.registerIcon(EMT.TEXTURE_PATH + ":materials/crushedcinnabar");
this.icon[4] = ri.registerIcon(EMT.TEXTURE_PATH + ":materials/purifiedcinnabar");
this.icon[5] = ri.registerIcon(EMT.TEXTURE_PATH + ":materials/thaumiumplate");
this.icon[6] = ri.registerIcon(EMT.TEXTURE_PATH + ":materials/lightningsummoner");
this.icon[7] = ri.registerIcon(EMT.TEXTURE_PATH + ":materials/feathermesh");
this.icon[8] = ri.registerIcon(EMT.TEXTURE_PATH + ":materials/glue");
this.icon[9] = ri.registerIcon(EMT.TEXTURE_PATH + ":materials/ducttape");
this.icon[10] = ri.registerIcon(EMT.TEXTURE_PATH + ":materials/rubberball");
this.icon[11] = ri.registerIcon(EMT.TEXTURE_PATH + ":materials/cardboard");
this.icon[12] = ri.registerIcon(EMT.TEXTURE_PATH + ":materials/cardboardsheet");
this.icon[13] = ri.registerIcon(EMT.TEXTURE_PATH + ":materials/taintedfeather");
this.icon[14] = ri.registerIcon(EMT.TEXTURE_PATH + ":materials/thaumiumWing");
this.icon[15] = ri.registerIcon(EMT.TEXTURE_PATH + ":materials/uumatterdrop");
this.icon[16] = ri.registerIcon(EMT.TEXTURE_PATH + ":materials/draconicSchematic");
this.icon[17] = ri.registerIcon(EMT.TEXTURE_PATH + ":materials/wyvernSchematic");
this.icon[18] = ri.registerIcon(EMT.TEXTURE_PATH + ":materials/awakenedSchematic");
this.icon[19] = ri.registerIcon(EMT.TEXTURE_PATH + ":materials/chaoticSchematic");
this.icon[0] = ri.registerIcon(EMT.RESOURCE_PATH + ":materials/clusteruranium");
this.icon[1] = ri.registerIcon(EMT.RESOURCE_PATH + ":materials/crushedamber");
this.icon[2] = ri.registerIcon(EMT.RESOURCE_PATH + ":materials/purifiedamber");
this.icon[3] = ri.registerIcon(EMT.RESOURCE_PATH + ":materials/crushedcinnabar");
this.icon[4] = ri.registerIcon(EMT.RESOURCE_PATH + ":materials/purifiedcinnabar");
this.icon[5] = ri.registerIcon(EMT.RESOURCE_PATH + ":materials/thaumiumplate");
this.icon[6] = ri.registerIcon(EMT.RESOURCE_PATH + ":materials/lightningsummoner");
this.icon[7] = ri.registerIcon(EMT.RESOURCE_PATH + ":materials/feathermesh");
this.icon[8] = ri.registerIcon(EMT.RESOURCE_PATH + ":materials/glue");
this.icon[9] = ri.registerIcon(EMT.RESOURCE_PATH + ":materials/ducttape");
this.icon[10] = ri.registerIcon(EMT.RESOURCE_PATH + ":materials/rubberball");
this.icon[11] = ri.registerIcon(EMT.RESOURCE_PATH + ":materials/cardboard");
this.icon[12] = ri.registerIcon(EMT.RESOURCE_PATH + ":materials/cardboardsheet");
this.icon[13] = ri.registerIcon(EMT.RESOURCE_PATH + ":materials/taintedfeather");
this.icon[14] = ri.registerIcon(EMT.RESOURCE_PATH + ":materials/thaumiumWing");
this.icon[15] = ri.registerIcon(EMT.RESOURCE_PATH + ":materials/uumatterdrop");
this.icon[16] = ri.registerIcon(EMT.RESOURCE_PATH + ":materials/draconicSchematic");
this.icon[17] = ri.registerIcon(EMT.RESOURCE_PATH + ":materials/wyvernSchematic");
this.icon[18] = ri.registerIcon(EMT.RESOURCE_PATH + ":materials/awakenedSchematic");
this.icon[19] = ri.registerIcon(EMT.RESOURCE_PATH + ":materials/chaoticSchematic");
}
@SideOnly(Side.CLIENT)
+67 -39
View File
@@ -72,7 +72,7 @@ public class ItemOneRing extends ItemBase implements IBauble, IWarpingGear, IRun
@SideOnly(Side.CLIENT)
public void registerIcons(IIconRegister ri) {
this.icon[0] = ri.registerIcon(EMT.TEXTURE_PATH + ":onering");
this.icon[0] = ri.registerIcon(EMT.RESOURCE_PATH + ":onering");
}
@SideOnly(Side.CLIENT)
@@ -124,10 +124,6 @@ public class ItemOneRing extends ItemBase implements IBauble, IWarpingGear, IRun
@Override
public void onWornTick(ItemStack stack, EntityLivingBase player) {
if (!player.isInvisible()) {
player.setInvisible(true);
((EntityPlayer) player).capabilities.disableDamage = true;
}
// Stop doing this 20 times per second...
if (random.nextInt(20) > 0) return;
@@ -151,11 +147,27 @@ public class ItemOneRing extends ItemBase implements IBauble, IWarpingGear, IRun
if (!player.worldObj.isRemote) {
// EMT.LOGGER.info( String.format( "Total Corruption: %d ItemWarpLevel: %d", corruption, getItemWarpLevel(
// stack, false ) ));
if (random.nextInt(55) == 0) {
player.addPotionEffect(new PotionEffect(Potion.invisibility.id, 2000, 4, false));
player.addPotionEffect(new PotionEffect(Potion.resistance.id, 2000, 4, false));
player.addPotionEffect(new PotionEffect(Potion.hunger.id, 2000, 0, false));
if (corruption > 3000) {
player.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 2000, 1, false));
player.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 2000, 1, false));
}
if (corruption > 1000) {
player.addPotionEffect(new PotionEffect(Potion.damageBoost.id, 2000, 1, false));
}
if (corruption > 6000) {
player.addPotionEffect(new PotionEffect(Potion.digSpeed.id, 2000, 1, false));
}
}
if (corruption == 0) {
player.addPotionEffect(new PotionEffect(Potion.invisibility.id, 2000, 4, false));
player.addPotionEffect(new PotionEffect(Potion.resistance.id, 2000, 4, false));
((EntityPlayer) player).addChatMessage(
new ChatComponentText(
EMTTextHelper.PURPLE + "You have worn the Ring. Your soul has now been forever "
EMTTextHelper.PURPLE + "You have worn the Ring. Your soul has now been temporarily "
+ EMTTextHelper.PURPLE
+ "tainted. "
+ EMTTextHelper.RED
@@ -165,48 +177,62 @@ public class ItemOneRing extends ItemBase implements IBauble, IWarpingGear, IRun
+ EMTTextHelper.ITALIC
+ "increase, and strange things will start happening."));
}
// First effect should become active after ~5 Minutes
else if (corruption > 300 && corruption < 1400 && random.nextInt(100) == 0) {
// First effect should become active after ~1 Minute
if (corruption > 60 && corruption < 400 && random.nextInt(100) == 0) {
((EntityPlayer) player)
.addChatMessage(new ChatComponentText(EMTTextHelper.PURPLE + "The Ring somehow feels heavy"));
if (random.nextBoolean()) player.addPotionEffect(new PotionEffect(Potion.blindness.id, 500, 2, false));
else player.addPotionEffect(new PotionEffect(Potion.confusion.id, 500, 2, false));
} else if (corruption >= 1400 && corruption < 3800 && random.nextInt(100) == 0) {
((EntityPlayer) player).capabilities.disableDamage = false;
player.addPotionEffect(new PotionEffect(Potion.poison.id, 500, 2, false));
} else if (corruption >= 3800 && corruption < 6500 && random.nextInt(100) == 0) {
((EntityPlayer) player).capabilities.disableDamage = false;
player.addPotionEffect(new PotionEffect(Potion.digSlowdown.id, 200, 3, false));
if (random.nextBoolean()) player.addPotionEffect(new PotionEffect(Potion.blindness.id, 500, 4, false));
else player.addPotionEffect(new PotionEffect(Potion.confusion.id, 500, 4, false));
}
if (corruption > 30 && random.nextInt(80) == 0) {
((EntityPlayer) player)
.addChatMessage(new ChatComponentText(EMTTextHelper.PURPLE + "The Ring falters"));
player.removePotionEffect(14);
player.removePotionEffect(11);
player.removePotionEffect(5);
player.removePotionEffect(1);
player.removePotionEffect(8);
player.removePotionEffect(3);
player.addPotionEffect(new PotionEffect(Potion.digSlowdown.id, 400, 3, false));
/*
* Wtf? Remove ForgeData tag? There are more mods using this tag than just emt! ((EntityPlayer)
* player).writeToNBT(tag); tag.removeTag( NBT_TAG_FORGE_DATA ); ((EntityPlayer)
* player).readFromNBT(tag);
*/
player.addPotionEffect(new PotionEffect(Potion.confusion.id, 200, 1, false));
}
if (corruption >= 150 && corruption < 8000 && random.nextInt(150) == 0) {
((EntityPlayer) player)
.addChatMessage(new ChatComponentText(EMTTextHelper.PURPLE + "Your arms feel heavy"));
player.addPotionEffect(new PotionEffect(Potion.digSlowdown.id, 600, 4, false));
player.addPotionEffect(new PotionEffect(Potion.weakness.id, 600, 4, false));
}
if (corruption >= 700 && corruption < 8000 && random.nextInt(150) == 0) {
player.removePotionEffect(11);
player.motionY += 2d;
} else if (corruption >= 6500 && random.nextInt(10000) == 0) {
((EntityPlayer) player).capabilities.disableDamage = false;
} else if (corruption >= 1000 && random.nextInt(500) == 0) {
player.removePotionEffect(11);
player.addPotionEffect(new PotionEffect(Potion.wither.id, 100, 4, false));
}
if (corruption >= 300) { // worn more than 5 minutes
if (corruption >= 60) { // worn more than 1 minute
if (random.nextInt(100) == 0) { // every 100 seconds
getItemWarpLevel(stack, true);
((EntityPlayer) player).addChatMessage(
new ChatComponentText(EMTTextHelper.PURPLE + "The Ring suddenly starts to glow purple"));
}
if (random.nextInt(300) == 0) { // randomly every 5 minutes
ThaumcraftApiHelper.addWarpToPlayer((EntityPlayer) player, 1, false); // adds 1 perm warp
ThaumcraftApiHelper.addStickyWarpToPlayer((EntityPlayer) player, random.nextInt(1)); // adds 0-1
// sticky warp
if (random.nextInt(300) == 2) { // randomly every 5 minutes
ThaumcraftApiHelper.addWarpToPlayer((EntityPlayer) player, 15, true); // adds 15 temp warp
((EntityPlayer) player).addChatMessage(
new ChatComponentText(EMTTextHelper.PURPLE + "Your body suddenly starts to glow purple"));
}
if (corruption >= 3600) { // if you wear it for more than an hour total
if (random.nextInt(300) == 0) {
ThaumcraftApiHelper.addWarpToPlayer((EntityPlayer) player, 5 + random.nextInt(5), false); // adds
// 5-10
// perm
// warp
ThaumcraftApiHelper.addStickyWarpToPlayer((EntityPlayer) player, 5 + random.nextInt(5)); // adds
// 5-10
// sticky
// warp
ThaumcraftApiHelper.addWarpToPlayer((EntityPlayer) player, 10 + random.nextInt(40), true); // adds
// 10-50
if (corruption >= 180) { // if you wear it for 3 minutes
if (random.nextInt(290) == 1) {
((EntityPlayer) player)
.addChatMessage(new ChatComponentText(EMTTextHelper.PURPLE + "The Ring corrupts"));
ThaumcraftApiHelper.addWarpToPlayer((EntityPlayer) player, 10 + random.nextInt(20), true); // adds
// 10-30
// temp
// warp,
// but
@@ -240,10 +266,12 @@ public class ItemOneRing extends ItemBase implements IBauble, IWarpingGear, IRun
@Override
public void onUnequipped(ItemStack stack, EntityLivingBase player) {
player.setInvisible(false);
if (!((EntityPlayer) player).capabilities.isCreativeMode)
((EntityPlayer) player).capabilities.disableDamage = false;
player.removePotionEffect(14);
player.removePotionEffect(11);
player.removePotionEffect(5);
player.removePotionEffect(1);
player.removePotionEffect(8);
player.removePotionEffect(3);
/*
* Wtf? Remove ForgeData tag? There are more mods using this tag than just emt! ((EntityPlayer)
* player).writeToNBT(tag); tag.removeTag( NBT_TAG_FORGE_DATA ); ((EntityPlayer) player).readFromNBT(tag);
@@ -24,7 +24,6 @@ import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import emt.EMT;
import emt.init.EMTItems;
import emt.util.EMTConfigHandler;
import emt.util.EMTTextHelper;
import ic2.api.item.ElectricItem;
@@ -36,6 +35,7 @@ import thaumcraft.api.aspects.Aspect;
import thaumcraft.common.Thaumcraft;
import thaumcraft.common.items.armor.Hover;
import thaumicboots.api.IBoots;
import thaumicboots.mixins.early.minecraft.EntityLivingBaseAccessor;
@Interface(iface = "thaumicboots.api.IBoots", modid = "thaumicboots")
public class ItemElectricBootsTraveller extends ItemArmor
@@ -46,7 +46,8 @@ public class ItemElectricBootsTraveller extends ItemArmor
public int visDiscount = 2;
public float speedBonus = 0.055F;
// constant from Thaumcraft's EventHandlerEntity#playerJumps for basic Traveller Boots
public float jumpBonus = 0.2750000059604645F;
public static final float BASE_JUMP_BONUS = 0.2750000059604645F;
public float jumpBonus = BASE_JUMP_BONUS;
public double transferLimit = 100;
public ItemElectricBootsTraveller(ArmorMaterial material, int par3, int par4) {
@@ -54,7 +55,7 @@ public class ItemElectricBootsTraveller extends ItemArmor
this.setMaxDamage(27);
this.setMaxStackSize(1);
this.setCreativeTab(EMT.TAB);
MinecraftForge.EVENT_BUS.register(this);
MinecraftForge.EVENT_BUS.register(new EventHandler());
}
@SideOnly(Side.CLIENT)
@@ -73,7 +74,7 @@ public class ItemElectricBootsTraveller extends ItemArmor
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister iconRegister) {
this.itemIcon = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":armor/boots_electric");
this.itemIcon = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":armor/boots_electric");
}
@Override
@@ -125,22 +126,21 @@ public class ItemElectricBootsTraveller extends ItemArmor
@Override
public void onArmorTick(World world, EntityPlayer player, ItemStack itemStack) {
if (getIntertialState(itemStack) && player.moveForward == 0
if (getInertiaState(itemStack) && player.moveForward == 0
&& player.moveStrafing == 0
&& player.capabilities.isFlying) {
player.motionX *= 0.5;
player.motionZ *= 0.5;
}
boolean omniMode = false;
if (EMT.isBootsActive) {
omniMode = isOmniEnabled(itemStack);
boolean omniMode = getOmniState(itemStack);
if ((player.moveForward == 0F && player.moveStrafing == 0F && omniMode)
|| (player.moveForward <= 0F && !omniMode)) {
return;
}
}
if (player.moveForward != 0.0F || player.moveStrafing != 0.0F) {
if (player.worldObj.isRemote && !player.isSneaking()) {
if (player.worldObj.isRemote && !player.isSneaking() && getStepAssistState(itemStack)) {
if (!Thaumcraft.instance.entityEventHandler.prevStep.containsKey(player.getEntityId())) {
Thaumcraft.instance.entityEventHandler.prevStep.put(player.getEntityId(), player.stepHeight);
}
@@ -165,15 +165,9 @@ public class ItemElectricBootsTraveller extends ItemArmor
} else if (Hover.getHover(player.getEntityId())) {
// Base ItemBootsTraveller jumpBonus equals to jumpBonus of Electric Boots,
// so any other boots factor can be calculated via proportion method
player.jumpMovementFactor = 0.03F
/ ((ItemElectricBootsTraveller) EMTItems.electricBootsTraveller).jumpBonus
* jumpBonus
* speedMod;
player.jumpMovementFactor = (0.03F / BASE_JUMP_BONUS * jumpBonus - 0.02F) * speedMod + 0.02F;
} else {
player.jumpMovementFactor = 0.05F
/ ((ItemElectricBootsTraveller) EMTItems.electricBootsTraveller).jumpBonus
* jumpBonus
* speedMod;
player.jumpMovementFactor = (0.05F / BASE_JUMP_BONUS * jumpBonus - 0.02F) * speedMod + 0.02F;
}
}
}
@@ -183,19 +177,15 @@ public class ItemElectricBootsTraveller extends ItemArmor
if (player.moveForward != 0.0) {
player.moveFlying(0.0F, player.moveForward, bonus);
}
if (player.moveStrafing != 0.0 && getOmniState(itemStack)) {
player.moveFlying(player.moveStrafing, 0.0F, bonus);
}
}
@SubscribeEvent
public void onPlayerJump(LivingEvent.LivingJumpEvent event) {
if (event.entityLiving instanceof EntityPlayer) {
EntityPlayer player = (EntityPlayer) event.entityLiving;
ItemStack boots = player.getCurrentArmor(0);
boolean hasArmor = boots != null && boots.getItem() == this;
if (hasArmor) player.motionY += jumpBonus * (float) getJumpModifier(boots);
if (getOmniState(itemStack)) {
if (player.moveStrafing != 0.0) player.moveFlying(player.moveStrafing, 0.0F, bonus);
boolean jumping = ((EntityLivingBaseAccessor) player).getIsJumping();
boolean sneaking = player.isSneaking();
if (sneaking && !jumping && !player.onGround) {
player.motionY -= bonus;
} else if (jumping && !sneaking) {
player.motionY += bonus;
}
}
}
@@ -208,39 +198,9 @@ public class ItemElectricBootsTraveller extends ItemArmor
return 4.0f;
}
@SubscribeEvent
public void onLivingFall(LivingFallEvent event) {
if ((EMT.instance.isSimulating()) && ((event.entity instanceof EntityLivingBase))) {
if (event.entity instanceof EntityPlayer) {
EntityPlayer entity = (EntityPlayer) event.entity;
if ((entity.inventory.armorInventory[0] != null)
&& (entity.inventory.armorInventory[0].getItem() instanceof ItemElectricBootsTraveller)) {
ItemElectricBootsTraveller tUsedBoots = (ItemElectricBootsTraveller) entity.inventory.armorInventory[0]
.getItem();
ItemStack stack = entity.inventory.armorInventory[0];
// Check if we dropped the minimum amount; To cover the jump-boost bonus without penalty
if (tUsedBoots.getMinimumDropDist() > event.distance) {
event.setCanceled(true);
} else {
float tEnergyDemand = tUsedBoots.energyPerDamage
* (((event.distance > tUsedBoots.getMaxHealthyDropDist()) ? event.distance * 3
: event.distance) - 4.0F);
if (tEnergyDemand <= ElectricItem.manager.getCharge(stack)) {
// EMT.LOGGER.info( String.format("FD: %f DMG: %f EPD: %d HDD: %f", event.distance,
// tEnergyDemand, tUsedBoots.energyPerDamage, tUsedBoots.getMaxHealthyDropDist() ));
ElectricItem.manager.discharge(stack, tEnergyDemand, Integer.MAX_VALUE, true, false, false);
event.setCanceled(true);
}
}
}
}
}
}
@Override
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) {
return EMT.TEXTURE_PATH + ":textures/models/electricboots.png";
return EMT.RESOURCE_PATH + ":textures/models/electricboots.png";
}
@Override
@@ -255,20 +215,12 @@ public class ItemElectricBootsTraveller extends ItemArmor
@Override
public int getItemEnchantability() {
if (EMTConfigHandler.enchanting == false) {
return 0;
} else {
return 4;
}
return EMTConfigHandler.enchanting ? 4 : 0;
}
@Override
public boolean isBookEnchantable(ItemStack itemstack1, ItemStack itemstack2) {
if (EMTConfigHandler.enchanting == false) {
return false;
} else {
return true;
}
return EMTConfigHandler.enchanting;
}
public int getEnergyPerDamage() {
@@ -314,31 +266,83 @@ public class ItemElectricBootsTraveller extends ItemArmor
// Avoid NSM Exception when ThaumicBoots is not present.
public double getSpeedModifier(ItemStack stack) {
if (stack.stackTagCompound != null) {
if (stack.stackTagCompound != null && stack.stackTagCompound.hasKey("speed")) {
return stack.stackTagCompound.getDouble("speed");
}
return 1.0;
}
public double getJumpModifier(ItemStack stack) {
if (stack.stackTagCompound != null) {
if (stack.stackTagCompound != null && stack.stackTagCompound.hasKey("jump")) {
return stack.stackTagCompound.getDouble("jump");
}
return 1.0;
}
public boolean getOmniState(ItemStack stack) {
if (stack.stackTagCompound != null) {
if (stack.stackTagCompound != null && stack.stackTagCompound.hasKey("omni")) {
return stack.stackTagCompound.getBoolean("omni");
}
return false;
return true;
}
public boolean getIntertialState(ItemStack stack) {
public boolean getStepAssistState(ItemStack stack) {
if (stack.stackTagCompound != null && stack.stackTagCompound.hasKey("step")) {
return stack.stackTagCompound.getBoolean("step");
}
return true;
}
public boolean getInertiaState(ItemStack stack) {
if (stack.stackTagCompound != null) {
return stack.stackTagCompound.getBoolean("inertiacanceling");
}
return false;
}
public class EventHandler {
@SubscribeEvent
public void onPlayerJump(LivingEvent.LivingJumpEvent event) {
if (event.entityLiving instanceof EntityPlayer) {
EntityPlayer player = (EntityPlayer) event.entityLiving;
ItemStack boots = player.getCurrentArmor(0);
boolean hasArmor = boots != null && boots.getItem() == ItemElectricBootsTraveller.this;
if (hasArmor) player.motionY += jumpBonus * (float) getJumpModifier(boots);
}
}
@SubscribeEvent
public void onLivingFall(LivingFallEvent event) {
if ((EMT.instance.isSimulating()) && ((event.entity instanceof EntityLivingBase))) {
if (event.entity instanceof EntityPlayer) {
EntityPlayer entity = (EntityPlayer) event.entity;
if ((entity.inventory.armorInventory[0] != null)
&& (entity.inventory.armorInventory[0].getItem() instanceof ItemElectricBootsTraveller)) {
ItemElectricBootsTraveller tUsedBoots = (ItemElectricBootsTraveller) entity.inventory.armorInventory[0]
.getItem();
ItemStack stack = entity.inventory.armorInventory[0];
// Check if we dropped the minimum amount; To cover the jump-boost bonus without penalty
if (tUsedBoots.getMinimumDropDist() > event.distance) {
event.setCanceled(true);
} else {
float tEnergyDemand = tUsedBoots.energyPerDamage
* (((event.distance > tUsedBoots.getMaxHealthyDropDist()) ? event.distance * 3
: event.distance) - 4.0F);
if (tEnergyDemand <= ElectricItem.manager.getCharge(stack)) {
// EMT.LOGGER.info( String.format("FD: %f DMG: %f EPD: %d HDD: %f", event.distance,
// tEnergyDemand, tUsedBoots.energyPerDamage, tUsedBoots.getMaxHealthyDropDist() ));
ElectricItem.manager
.discharge(stack, tEnergyDemand, Integer.MAX_VALUE, true, false, false);
event.setCanceled(true);
}
}
}
}
}
}
}
}
@@ -48,12 +48,12 @@ public class ItemNanoBootsTraveller extends ItemElectricBootsTraveller implement
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister iconRegister) {
this.itemIcon = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":armor/boots_nano");
this.itemIcon = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":armor/boots_nano");
}
@Override
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) {
return EMT.TEXTURE_PATH + ":textures/models/nanobootstravel.png";
return EMT.RESOURCE_PATH + ":textures/models/nanobootstravel.png";
}
@Override
@@ -48,12 +48,12 @@ public class ItemQuantumBootsTraveller extends ItemElectricBootsTraveller implem
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister iconRegister) {
this.itemIcon = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":armor/boots_quantum");
this.itemIcon = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":armor/boots_quantum");
}
@Override
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) {
return EMT.TEXTURE_PATH + ":textures/models/quantumbootstravel.png";
return EMT.RESOURCE_PATH + ":textures/models/quantumbootstravel.png";
}
@Override
@@ -60,18 +60,18 @@ public class ItemInfusedQuantumChestplate extends ItemArmorElectric implements I
public ItemInfusedQuantumChestplate(InternalName internalName, int armorType) {
super(internalName, InternalName.quantum, armorType, 20000000D, 18000.0D, 4);
MinecraftForge.EVENT_BUS.register(this);
MinecraftForge.EVENT_BUS.register(new EventHandler());
this.setCreativeTab(EMT.TAB);
}
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister iconRegister) {
iconNONE = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":armor/armor_quantum_chest");
iconJETPACK = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":armor/armor_quantum_chest_jetpack");
iconTHAUMIUM = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":armor/armor_quantum_chest_wing_t");
iconNANO = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":armor/armor_quantum_chest_wing_n");
iconQUANTUM = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":armor/armor_quantum_chest_wing_q");
iconNONE = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":armor/armor_quantum_chest");
iconJETPACK = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":armor/armor_quantum_chest_jetpack");
iconTHAUMIUM = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":armor/armor_quantum_chest_wing_t");
iconNANO = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":armor/armor_quantum_chest_wing_n");
iconQUANTUM = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":armor/armor_quantum_chest_wing_q");
}
@Override
@@ -83,24 +83,6 @@ public class ItemInfusedQuantumChestplate extends ItemArmorElectric implements I
return (StatCollector.translateToLocal(this.getUnlocalizedNameInefficiently(stack) + ".name")).trim();
}
@SubscribeEvent
public void onEntityLivingFallEvent(LivingFallEvent event) {
if (IC2.platform.isSimulating() && (event.entity instanceof EntityLivingBase)) {
EntityLivingBase entity = (EntityLivingBase) event.entity;
ItemStack armor = entity.getEquipmentInSlot(1);
if ((armor != null) && (armor.getItem() == this)) {
int fallDamage = Math.max((int) event.distance - 10, 0);
double energyCost = getEnergyPerDamage() * fallDamage;
if (energyCost <= ElectricItem.manager.getCharge(armor)) {
ElectricItem.manager.discharge(armor, energyCost, Integer.MAX_VALUE, true, false, false);
event.setCanceled(true);
}
}
}
}
@Override
public double getDamageAbsorptionRatio() {
return 1.1D;
@@ -374,15 +356,15 @@ public class ItemInfusedQuantumChestplate extends ItemArmorElectric implements I
switch (wing) {
case JETPACK:
return EMT.TEXTURE_PATH + ":textures/models/quantum_jetpack.png";
return EMT.RESOURCE_PATH + ":textures/models/quantum_jetpack.png";
case THAUMIUM:
return EMT.TEXTURE_PATH + ":textures/models/quantum_wings_t.png";
return EMT.RESOURCE_PATH + ":textures/models/quantum_wings_t.png";
case NANO:
return EMT.TEXTURE_PATH + ":textures/models/quantum_wings_n.png";
return EMT.RESOURCE_PATH + ":textures/models/quantum_wings_n.png";
case QUANTUM:
return EMT.TEXTURE_PATH + ":textures/models/quantum_wings_q.png";
return EMT.RESOURCE_PATH + ":textures/models/quantum_wings_q.png";
default:
return EMT.TEXTURE_PATH + ":textures/models/quantum.png";
return EMT.RESOURCE_PATH + ":textures/models/quantum.png";
}
}
@@ -574,4 +556,25 @@ public class ItemInfusedQuantumChestplate extends ItemArmorElectric implements I
public boolean protectsAgainst(ItemStack itemStack, Hazard hazard) {
return true;
}
public class EventHandler {
@SubscribeEvent
public void onEntityLivingFallEvent(LivingFallEvent event) {
if (IC2.platform.isSimulating() && (event.entity instanceof EntityLivingBase)) {
EntityLivingBase entity = (EntityLivingBase) event.entity;
ItemStack armor = entity.getEquipmentInSlot(1);
if ((armor != null) && (armor.getItem() == ItemInfusedQuantumChestplate.this)) {
int fallDamage = Math.max((int) event.distance - 10, 0);
double energyCost = getEnergyPerDamage() * fallDamage;
if (energyCost <= ElectricItem.manager.getCharge(armor)) {
ElectricItem.manager.discharge(armor, energyCost, Integer.MAX_VALUE, true, false, false);
event.setCanceled(true);
}
}
}
}
}
}
@@ -43,15 +43,37 @@ public class ItemElectricGoggles extends ItemArmor
this.setCreativeTab(EMT.TAB);
}
/**
* Allow damage to be set to avoid breaking IC2 Energy bar or other features, while preventing the item from
* breaking.
*
* @param stack the item stack
* @param damage the new damage value
*/
@Override
public void setDamage(ItemStack stack, int damage) {
int max = stack.getMaxDamage();
if (max > 0) {
if (damage >= max) {
damage = max - 1;
} else if (damage < 0) {
damage = 0;
}
}
super.setDamage(stack, damage);
}
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister iconRegister) {
this.itemIcon = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":armor/goggles_electric");
this.itemIcon = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":armor/goggles_electric");
}
@Override
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) {
return EMT.TEXTURE_PATH + ":textures/models/electricgoggles.png";
return EMT.RESOURCE_PATH + ":textures/models/electricgoggles.png";
}
@Override
@@ -32,12 +32,12 @@ public class ItemNanoGoggles extends ItemElectricGoggles implements IHazardProte
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister iconRegister) {
this.itemIcon = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":armor/goggles_nano");
this.itemIcon = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":armor/goggles_nano");
}
@Override
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) {
return EMT.TEXTURE_PATH + ":textures/models/thaumicnanohelmet.png";
return EMT.RESOURCE_PATH + ":textures/models/thaumicnanohelmet.png";
}
@Override
@@ -42,12 +42,12 @@ public class ItemQuantumGoggles extends ItemNanoGoggles {
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister iconRegister) {
this.itemIcon = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":armor/goggles_quantum");
this.itemIcon = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":armor/goggles_quantum");
}
@Override
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) {
return EMT.TEXTURE_PATH + ":textures/models/thaumicquantumhelmet.png";
return EMT.RESOURCE_PATH + ":textures/models/thaumicquantumhelmet.png";
}
@Override
@@ -48,12 +48,12 @@ public class ItemSolarHelmetRevealing extends ItemQuantumGoggles {
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister iconRegister) {
this.itemIcon = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":armor/goggles_solar");
this.itemIcon = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":armor/goggles_solar");
}
@Override
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String layerType) {
return EMT.TEXTURE_PATH + ":textures/models/solarrevealinghelmet.png";
return EMT.RESOURCE_PATH + ":textures/models/solarrevealinghelmet.png";
}
@Override
@@ -39,13 +39,13 @@ public class ItemFeatherWing extends ItemArmor implements IRunicArmor {
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister iconRegister) {
this.itemIcon = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":armor/wing_feather");
this.itemIcon = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":armor/wing_feather");
}
@Override
@SideOnly(Side.CLIENT)
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) {
return EMT.TEXTURE_PATH + ":textures/models/featherwing.png";
return EMT.RESOURCE_PATH + ":textures/models/featherwing.png";
}
@Override
@@ -19,6 +19,7 @@ import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import emt.EMT;
import emt.util.EMTConfigHandler;
import emt.util.EMTTextHelper;
import gregtech.api.hazards.Hazard;
import gregtech.api.hazards.IHazardProtector;
import ic2.api.item.ElectricItem;
@@ -50,7 +51,7 @@ public class ItemNanoWing extends ItemThaumiumReinforcedWing
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister iconRegister) {
this.itemIcon = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":armor/wing_nano");
this.itemIcon = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":armor/wing_nano");
}
@SideOnly(Side.CLIENT)
@@ -69,7 +70,7 @@ public class ItemNanoWing extends ItemThaumiumReinforcedWing
@Override
@SideOnly(Side.CLIENT)
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) {
return EMT.TEXTURE_PATH + ":textures/models/nanowing.png";
return EMT.RESOURCE_PATH + ":textures/models/nanowing.png";
}
@Override
@@ -140,6 +141,7 @@ public class ItemNanoWing extends ItemThaumiumReinforcedWing
@Override
public void addInformation(ItemStack stack, EntityPlayer par2EntityPlayer, List<String> list, boolean par4) {
list.add(StatCollector.translateToLocal("ic2.item.tooltip.PowerTier") + " " + getTier(new ItemStack(this)));
list.add(EMTTextHelper.PURPLE + EMTTextHelper.localize("tooltip.EMT.visDiscount") + ": " + visDiscount + "%");
}
public double getDamageAbsorptionRatio() {
@@ -33,13 +33,13 @@ public class ItemQuantumWing extends ItemNanoWing {
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister iconRegister) {
this.itemIcon = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":armor/wing_quantum");
this.itemIcon = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":armor/wing_quantum");
}
@Override
@SideOnly(Side.CLIENT)
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) {
return EMT.TEXTURE_PATH + ":textures/models/quantumwing.png";
return EMT.RESOURCE_PATH + ":textures/models/quantumwing.png";
}
@Override
@@ -40,13 +40,13 @@ public class ItemThaumiumReinforcedWing extends ItemFeatherWing implements IVisD
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister iconRegister) {
this.itemIcon = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":armor/wing_thaumium");
this.itemIcon = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":armor/wing_thaumium");
}
@Override
@SideOnly(Side.CLIENT)
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) {
return EMT.TEXTURE_PATH + ":textures/models/thaumiumwing.png";
return EMT.RESOURCE_PATH + ":textures/models/thaumiumwing.png";
}
@Override
@@ -25,7 +25,7 @@ public class ItemBlockElectricCloud extends ItemBlock {
@Override
public void registerIcons(IIconRegister ir) {
icon = ir.registerIcon(EMT.TEXTURE_PATH + ":" + "electric_cloud");
icon = ir.registerIcon(EMT.RESOURCE_PATH + ":" + "electric_cloud");
}
@Override
@@ -1,7 +1,7 @@
package emt.item.block;
import static com.gtnewhorizon.gtnhlib.util.numberformatting.NumberFormatUtil.formatNumber;
import static emt.util.EMTTextHelper.localize;
import static gregtech.api.util.GTUtility.formatNumbers;
import java.io.StringReader;
import java.util.List;
@@ -59,19 +59,19 @@ public class ItemBlockSolars extends ItemBlock {
switch (itemstack.getItemDamage()) {
case 0: {
list.add(
formatNumbers(EMTConfigHandler.compressedSolarOutput)
formatNumber(EMTConfigHandler.compressedSolarOutput)
+ localize("tooltip.EMT.euPerTick"));
break;
}
case 1: {
list.add(
formatNumbers(EMTConfigHandler.doubleCompressedSolarOutput)
formatNumber(EMTConfigHandler.doubleCompressedSolarOutput)
+ localize("tooltip.EMT.euPerTick"));
break;
}
case 2: {
list.add(
formatNumbers(EMTConfigHandler.tripleCompressedSolarOutput)
formatNumber(EMTConfigHandler.tripleCompressedSolarOutput)
+ localize("tooltip.EMT.euPerTick"));
break;
}
@@ -80,14 +80,14 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(EMTConfigHandler.compressedSolarOutput)
+ formatNumber(EMTConfigHandler.compressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick"));
list.add(
EMTTextHelper.BRIGHT_GREEN + localize("tooltip.EMT.specialEffect")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(2F * EMTConfigHandler.compressedSolarOutput)
+ formatNumber(2F * EMTConfigHandler.compressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -96,7 +96,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_GREEN + localize("tooltip.EMT.specialEffect")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(3F * EMTConfigHandler.compressedSolarOutput)
+ formatNumber(3F * EMTConfigHandler.compressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -105,7 +105,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_GREEN + localize("tooltip.EMT.specialEffect")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(6F * EMTConfigHandler.compressedSolarOutput)
+ formatNumber(6F * EMTConfigHandler.compressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -117,14 +117,14 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(EMTConfigHandler.doubleCompressedSolarOutput)
+ formatNumber(EMTConfigHandler.doubleCompressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick"));
list.add(
EMTTextHelper.BRIGHT_GREEN + localize("tooltip.EMT.specialEffect")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(2F * EMTConfigHandler.doubleCompressedSolarOutput)
+ formatNumber(2F * EMTConfigHandler.doubleCompressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -133,7 +133,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_GREEN + localize("tooltip.EMT.specialEffect")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(3F * EMTConfigHandler.doubleCompressedSolarOutput)
+ formatNumber(3F * EMTConfigHandler.doubleCompressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -142,7 +142,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_GREEN + localize("tooltip.EMT.specialEffect")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(6F * EMTConfigHandler.doubleCompressedSolarOutput)
+ formatNumber(6F * EMTConfigHandler.doubleCompressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -154,14 +154,14 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(EMTConfigHandler.tripleCompressedSolarOutput)
+ formatNumber(EMTConfigHandler.tripleCompressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick"));
list.add(
EMTTextHelper.BRIGHT_GREEN + localize("tooltip.EMT.specialEffect")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(2F * EMTConfigHandler.tripleCompressedSolarOutput)
+ formatNumber(2F * EMTConfigHandler.tripleCompressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -170,7 +170,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_GREEN + localize("tooltip.EMT.specialEffect")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(3F * EMTConfigHandler.tripleCompressedSolarOutput)
+ formatNumber(3F * EMTConfigHandler.tripleCompressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -179,7 +179,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_GREEN + localize("tooltip.EMT.specialEffect")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(6F * EMTConfigHandler.tripleCompressedSolarOutput)
+ formatNumber(6F * EMTConfigHandler.tripleCompressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -192,7 +192,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(0.75F * EMTConfigHandler.compressedSolarOutput)
+ formatNumber(0.75F * EMTConfigHandler.compressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -201,7 +201,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_GREEN + localize("tooltip.EMT.specialEffect")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(2F * EMTConfigHandler.compressedSolarOutput)
+ formatNumber(2F * EMTConfigHandler.compressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -213,7 +213,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(0.75F * EMTConfigHandler.doubleCompressedSolarOutput)
+ formatNumber(0.75F * EMTConfigHandler.doubleCompressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -222,7 +222,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_GREEN + localize("tooltip.EMT.specialEffect")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(2F * EMTConfigHandler.doubleCompressedSolarOutput)
+ formatNumber(2F * EMTConfigHandler.doubleCompressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -234,7 +234,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(0.75F * EMTConfigHandler.tripleCompressedSolarOutput)
+ formatNumber(0.75F * EMTConfigHandler.tripleCompressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -243,7 +243,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_GREEN + localize("tooltip.EMT.specialEffect")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(2F * EMTConfigHandler.tripleCompressedSolarOutput)
+ formatNumber(2F * EMTConfigHandler.tripleCompressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -255,7 +255,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(2F * EMTConfigHandler.compressedSolarOutput)
+ formatNumber(2F * EMTConfigHandler.compressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -264,7 +264,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_GREEN + localize("tooltip.EMT.specialEffect")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(0.75F * EMTConfigHandler.compressedSolarOutput)
+ formatNumber(0.75F * EMTConfigHandler.compressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -276,7 +276,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(2F * EMTConfigHandler.doubleCompressedSolarOutput)
+ formatNumber(2F * EMTConfigHandler.doubleCompressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -285,7 +285,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_GREEN + localize("tooltip.EMT.specialEffect")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(0.75F * EMTConfigHandler.doubleCompressedSolarOutput)
+ formatNumber(0.75F * EMTConfigHandler.doubleCompressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -298,7 +298,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(2F * EMTConfigHandler.tripleCompressedSolarOutput)
+ formatNumber(2F * EMTConfigHandler.tripleCompressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -307,7 +307,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_GREEN + localize("tooltip.EMT.specialEffect")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(0.75F * EMTConfigHandler.tripleCompressedSolarOutput)
+ formatNumber(0.75F * EMTConfigHandler.tripleCompressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -319,7 +319,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(EMTConfigHandler.compressedSolarOutput)
+ formatNumber(EMTConfigHandler.compressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick"));
list.add(
@@ -343,7 +343,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(EMTConfigHandler.doubleCompressedSolarOutput)
+ formatNumber(EMTConfigHandler.doubleCompressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick"));
list.add(
@@ -367,7 +367,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(EMTConfigHandler.tripleCompressedSolarOutput)
+ formatNumber(EMTConfigHandler.tripleCompressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick"));
list.add(
@@ -391,7 +391,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(EMTConfigHandler.compressedSolarOutput)
+ formatNumber(EMTConfigHandler.compressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick"));
list.add(
@@ -413,7 +413,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(EMTConfigHandler.doubleCompressedSolarOutput)
+ formatNumber(EMTConfigHandler.doubleCompressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick"));
list.add(
@@ -428,7 +428,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(EMTConfigHandler.tripleCompressedSolarOutput)
+ formatNumber(EMTConfigHandler.tripleCompressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick"));
list.add(
@@ -443,7 +443,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(EMTConfigHandler.compressedSolarOutput)
+ formatNumber(EMTConfigHandler.compressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick"));
list.add(
@@ -458,7 +458,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(EMTConfigHandler.doubleCompressedSolarOutput)
+ formatNumber(EMTConfigHandler.doubleCompressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick"));
list.add(
@@ -473,7 +473,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(EMTConfigHandler.tripleCompressedSolarOutput)
+ formatNumber(EMTConfigHandler.tripleCompressedSolarOutput)
+ " "
+ localize("tooltip.EMT.euPerTick"));
list.add(
@@ -495,7 +495,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(2F * te.output)
+ formatNumber(2F * te.output)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -504,7 +504,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_GREEN + localize("tooltip.EMT.specialEffect")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(0.75F * te.output)
+ formatNumber(0.75F * te.output)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -515,7 +515,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(0.75F * te.output)
+ formatNumber(0.75F * te.output)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -524,7 +524,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_GREEN + localize("tooltip.EMT.specialEffect")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(2F * te.output)
+ formatNumber(2F * te.output)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -535,7 +535,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(te.output)
+ formatNumber(te.output)
+ " "
+ localize("tooltip.EMT.euPerTick"));
list.add(
@@ -549,7 +549,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(te.output)
+ formatNumber(te.output)
+ " "
+ localize("tooltip.EMT.euPerTick"));
list.add(
@@ -563,14 +563,14 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(te.output)
+ formatNumber(te.output)
+ " "
+ localize("tooltip.EMT.euPerTick"));
list.add(
EMTTextHelper.BRIGHT_GREEN + localize("tooltip.EMT.specialEffect")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(2F * te.output)
+ formatNumber(2F * te.output)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -579,7 +579,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_GREEN + localize("tooltip.EMT.specialEffect")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(3F * te.output)
+ formatNumber(3F * te.output)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -588,7 +588,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_GREEN + localize("tooltip.EMT.specialEffect")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(6F * te.output)
+ formatNumber(6F * te.output)
+ " "
+ localize("tooltip.EMT.euPerTick")
+ " "
@@ -599,7 +599,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(te.output)
+ formatNumber(te.output)
+ " "
+ localize("tooltip.EMT.euPerTick"));
list.add(
@@ -622,7 +622,7 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + localize("tooltip.EMT.normalConditions")
+ ": "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(te.output)
+ formatNumber(te.output)
+ " "
+ localize("tooltip.EMT.euPerTick"));
break;
@@ -632,9 +632,9 @@ public class ItemBlockSolars extends ItemBlock {
EMTTextHelper.BRIGHT_BLUE + StatCollector.translateToLocal("emt.OutputMax")
+ " "
+ EMTTextHelper.LIGHT_GRAY
+ formatNumbers(te.calculateMaxVoltAmp()[0])
+ formatNumber(te.calculateMaxVoltAmp()[0])
+ "EU/t @ "
+ formatNumbers(te.calculateMaxVoltAmp()[1])
+ formatNumber(te.calculateMaxVoltAmp()[1])
+ "A");
} else list.add(StatCollector.translateToLocal("emt.PressShift"));
}
@@ -31,7 +31,7 @@ public abstract class ItemBaseFocus extends ItemFocusBasic {
@SideOnly(Side.CLIENT)
public void registerIcons(IIconRegister ir) {
this.icon = ir.registerIcon(EMT.TEXTURE_PATH + ":" + "focus_" + textureName);
this.icon = ir.registerIcon(EMT.RESOURCE_PATH + ":" + "focus_" + textureName);
}
@Override
@@ -1,9 +1,12 @@
package emt.item.focus;
import static emt.EMT.RESOURCE_PATH;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.MovingObjectPosition;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.World;
import gregtech.api.interfaces.metatileentity.IMetaTileEntity;
@@ -19,6 +22,10 @@ public class ItemMaintenanceFocus extends ItemBaseFocus {
private static final AspectList visCost = new AspectList().add(Aspect.FIRE, 2500).add(Aspect.EARTH, 2500)
.add(Aspect.ORDER, 2500);
private static final ResourceLocation focusMaintenanceSound = new ResourceLocation(
RESOURCE_PATH,
"maintenance.MaintenanceWandFocus");
public ItemMaintenanceFocus() {
super("maintenance");
}
@@ -66,7 +73,8 @@ public class ItemMaintenanceFocus extends ItemBaseFocus {
hatch.mHardHammer = true;
hatch.mSolderingTool = true;
hatch.mWrench = true;
hatch.mSoftHammer = true;
hatch.mSoftMallet = true;
hatch.setMaintenanceSound(focusMaintenanceSound, 1.0F, 1.0F);
}
}
}
@@ -1,5 +1,8 @@
package emt.item.focus;
import java.util.ArrayList;
import java.util.List;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.PotionEffect;
@@ -50,7 +53,8 @@ public class ItemShieldFocus extends ItemBaseFocus {
@Override
public void onUsingFocusTick(ItemStack itemstack, EntityPlayer player, int count) {
ItemWandCasting wand = (ItemWandCasting) itemstack.getItem();
for (PotionEffect effect : player.getActivePotionEffects()) {
List<PotionEffect> potionEffects = new ArrayList<>(player.getActivePotionEffects());
for (PotionEffect effect : potionEffects) {
IC2.platform.removePotion(player, effect.getPotionID());
}
if (!player.capabilities.isCreativeMode
@@ -39,7 +39,7 @@ public class ItemElectricHoeGrowth extends ItemHoe implements IElectricItem {
@SideOnly(Side.CLIENT)
public void registerIcons(IIconRegister iconRegister) {
this.icon = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":tools/hoe_growth");
this.icon = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":tools/hoe_growth");
}
@SideOnly(Side.CLIENT)
@@ -41,7 +41,7 @@ public class ItemElectricThorHammer extends ItemSword implements IElectricItem {
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister iconRegister) {
this.itemIcon = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":hammer/electricthorhammer");
this.itemIcon = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":hammer/electricthorhammer");
}
@SideOnly(Side.CLIENT)
@@ -33,7 +33,7 @@ public class ItemThorHammer extends ItemSword implements IRepairable {
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister iconRegister) {
this.itemIcon = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":hammer/thorhammer");
this.itemIcon = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":hammer/thorhammer");
}
@Override
@@ -30,7 +30,7 @@ public class ItemThorHammerBroken extends ItemSword implements IRepairable {
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister iconRegister) {
this.itemIcon = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":hammer/taintedthorhammer");
this.itemIcon = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":hammer/taintedthorhammer");
}
@Override
@@ -54,7 +54,7 @@ public class ItemDiamondChainsaw extends ItemAxe implements IElectricItem {
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister iconRegister) {
this.itemIcon = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":tools/chainsaw_diamond");
this.itemIcon = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":tools/chainsaw_diamond");
}
@Override
@@ -42,7 +42,7 @@ public class ItemStreamChainsaw extends ItemThaumiumChainsaw {
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister iconRegister) {
this.itemIcon = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":tools/chainsaw_stream");
this.itemIcon = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":tools/chainsaw_stream");
}
@Override
@@ -28,7 +28,7 @@ public class ItemThaumiumChainsaw extends ItemDiamondChainsaw {
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister iconRegister) {
this.itemIcon = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":tools/chainsaw_thaumium");
this.itemIcon = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":tools/chainsaw_thaumium");
}
@Override
@@ -62,7 +62,7 @@ public class ItemRockbreakerDrill extends ItemThaumiumDrill {
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister iconRegister) {
this.itemIcon = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":tools/drill_rockbreaker");
this.itemIcon = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":tools/drill_rockbreaker");
}
private boolean isEffectiveAgainst(Block block) {
@@ -43,7 +43,7 @@ public class ItemThaumiumDrill extends ItemPickaxe implements IElectricItem {
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister iconRegister) {
this.itemIcon = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":tools/drill_thaumium");
this.itemIcon = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":tools/drill_thaumium");
}
@SideOnly(Side.CLIENT)
@@ -33,7 +33,7 @@ public class ItemOmnitoolDiamond extends ItemOmnitoolIron {
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister iconRegister) {
this.itemIcon = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":tools/omnitool_diamond");
this.itemIcon = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":tools/omnitool_diamond");
}
@Override
@@ -46,7 +46,7 @@ public class ItemOmnitoolIron extends ItemPickaxe implements IElectricItem {
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister iconRegister) {
this.itemIcon = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":tools/omnitool_iron");
this.itemIcon = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":tools/omnitool_iron");
}
@SideOnly(Side.CLIENT)
@@ -33,7 +33,7 @@ public class ItemOmnitoolThaumium extends ItemOmnitoolDiamond {
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister iconRegister) {
this.itemIcon = iconRegister.registerIcon(EMT.TEXTURE_PATH + ":tools/omnitool_thaumium");
this.itemIcon = iconRegister.registerIcon(EMT.RESOURCE_PATH + ":tools/omnitool_thaumium");
}
@Override
@@ -34,7 +34,7 @@ import gregtech.api.interfaces.tileentity.IBasicEnergyContainer;
import gregtech.api.interfaces.tileentity.IEnergyConnected;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import gregtech.api.interfaces.tileentity.IHasWorldObjectAndCoords;
import gregtech.api.net.GTPacketBlockEvent;
import gregtech.common.data.GTBlockEventTracker;
import thaumcraft.api.ThaumcraftApiHelper;
import thaumcraft.api.aspects.Aspect;
import thaumcraft.api.aspects.AspectList;
@@ -839,11 +839,7 @@ public class TileEntityBaseGenerator extends TileEntityEMT implements IInventory
@Override
public void sendBlockEvent(byte aID, byte aValue) {
GTValues.NW.sendPacketToAllPlayersInRange(
this.worldObj,
new GTPacketBlockEvent(this.xCoord, (short) this.yCoord, this.zCoord, aID, aValue),
this.xCoord,
this.zCoord);
GTBlockEventTracker.enqueue(worldObj, xCoord, yCoord, zCoord, aID, aValue);
}
@Override
@@ -34,7 +34,7 @@ import gregtech.api.interfaces.tileentity.IBasicEnergyContainer;
import gregtech.api.interfaces.tileentity.IEnergyConnected;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import gregtech.api.interfaces.tileentity.IHasWorldObjectAndCoords;
import gregtech.api.net.GTPacketBlockEvent;
import gregtech.common.data.GTBlockEventTracker;
import ic2.api.tile.IWrenchable;
import thaumcraft.api.aspects.Aspect;
import thaumcraft.api.visnet.VisNetHandler;
@@ -162,9 +162,7 @@ public class TileEntitySolarBase extends TileEntityEMT implements IInventory, IW
case AQUA: {
if (worldObj.isThundering()) return 6F;
else if (worldObj.isRaining()) return 3F;
else if (!worldObj.isThundering() && !worldObj.isRaining()
&& worldObj.getBlock(xCoord, yCoord + 1, zCoord).equals(Blocks.water))
return 2F;
else if (worldObj.getBlock(xCoord, yCoord + 1, zCoord).equals(Blocks.water)) return 2F;
else return 1F;
}
case IGNIS: {
@@ -193,7 +191,7 @@ public class TileEntitySolarBase extends TileEntityEMT implements IInventory, IW
this.isActive = true;
if (side) {
this.generating = output * calc_multi();
this.energySource.addEnergy(this.output * calc_multi());
this.energySource.addEnergy(this.generating);
}
} else {
isActive = false;
@@ -856,11 +854,7 @@ public class TileEntitySolarBase extends TileEntityEMT implements IInventory, IW
@Override
public void sendBlockEvent(byte aID, byte aValue) {
GTValues.NW.sendPacketToAllPlayersInRange(
this.worldObj,
new GTPacketBlockEvent(this.xCoord, (short) this.yCoord, this.zCoord, aID, aValue),
this.xCoord,
this.zCoord);
GTBlockEventTracker.enqueue(this.worldObj, this.xCoord, this.yCoord, this.zCoord, aID, aValue);
}
@Override
+5 -19
View File
@@ -1,18 +1,14 @@
package emt.util;
import net.minecraft.block.Block;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.monster.EntityCreeper;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;
import net.minecraft.util.DamageSource;
import net.minecraftforge.event.entity.living.LivingDropsEvent;
import net.minecraftforge.event.entity.living.LivingHurtEvent;
import net.minecraftforge.event.entity.living.LivingSetAttackTargetEvent;
import net.minecraftforge.event.entity.player.PlayerInteractEvent;
import baubles.api.BaublesApi;
import cpw.mods.fml.client.event.ConfigChangedEvent;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.gameevent.TickEvent;
@@ -27,6 +23,11 @@ import thaumcraft.common.entities.monster.EntityTaintChicken;
public class EMTEventHandler {
/**
* Intercept the onLivingHurt event so that we can mitigate fall damage with feather wings
*
* @param e Entity that is being damaged
*/
@SubscribeEvent
public void onLivingHurt(LivingHurtEvent e) {
if (!(e.entityLiving instanceof EntityPlayer) || e.source != DamageSource.fall) return;
@@ -77,21 +78,6 @@ public class EMTEventHandler {
}
}
@SubscribeEvent
public void onSetEntityAttack(LivingSetAttackTargetEvent e) {
if (e.entityLiving instanceof EntityLiving && e.target instanceof EntityPlayer) {
IInventory inventory = BaublesApi.getBaubles((EntityPlayer) e.target);
for (int i = 0; i < inventory.getSizeInventory(); i++) {
ItemStack stack = inventory.getStackInSlot(i);
if (stack != null && stack.getItem() == EMTItems.onering) {
((EntityLiving) e.entityLiving).setAttackTarget(null);
}
}
}
}
@SubscribeEvent
public void createCloud(PlayerInteractEvent e) {
if (e.action != PlayerInteractEvent.Action.RIGHT_CLICK_BLOCK || e.world.isRemote) {
+16 -16
View File
@@ -201,7 +201,7 @@ emt.text.Energy Ball Focus=It's necessary to put on the BatPack or nano/quant ch
emt.rsname.Electric Cloud=Electric Cloud
emt.tag.Electric Cloud=Still the same Nitor
emt.text.Electric Cloud.1=All thaumaturges (except Crimson ones, I guess) enjoy the shine and heat of the magic flame called Nitor, aren't they? You desided to make it more... energetic. Well, you did it.<BR><BR>You have created a new kind of magic flame — the Electric Cloud. It behaves and looks like normal Nitor, but it has purple colour and creates light-purple lightning charges around itself. For electrolizing need to click RMB on Nitor with advanced battery(or better) on hand.
emt.text.Electric Cloud.1=All thaumaturges (except Crimson ones, I guess) enjoy the shine and heat of the magic flame called Nitor, aren't they? You decided to make it more... energetic. Well, you did it.<BR><BR>You have created a new kind of magic flame — the Electric Cloud. It behaves and looks like normal Nitor, but it has purple color and creates light-purple lightning charges around itself. For electrolizing need to click RMB on Nitor with advanced battery(or better) on hand.
emt.text.Electric Cloud.2=<IMG>emt:textures/researches/electric_cloud.png:0:0:255:255:0.6</IMG>
emt.rsname.Thaumium Drill=Thaumium Drill
@@ -238,7 +238,7 @@ emt.text.Thaumium Omnitool=After creating the Diamond and Iron Omnitools, the ne
emt.rsname.Explosion Focus=Explosion Focus
emt.tag.Explosion Focus=Use only in well-ventilated areas
emt.text.Explosion Focus=You have found a way to improve the Nine Hells focus. By exposing the bats to the explosive properties of a Mining Laser, you have built a focus that acts similarly to the Laser but uses vis instead of EU. However, its effects are incredibly unstable, so you make a note to be careful.
emt.text.Explosion Focus=You have found a way to improve the Nine Hells focus. By exposing the bats to the explosive properties of a Mining Laser, you have built a focus that acts similarly to the Laser but uses vis instead of EU. However, its effects are incredibly unstable, so you make a note to be careful.
emt.rsname.Kris-tmas Focus=Kris-tmas Focus
emt.tag.Kris-tmas Focus=Ho! Ho! Ho!
@@ -266,7 +266,7 @@ emt.text.Ignis Generator=Just as you thought, with a bit of tweaking, you have f
emt.rsname.Auram Generator=Auram Generator
emt.tag.Auram Generator=Harnessing the magic in the air
emt.text.Auram Generator=Though it took a bit more work than you initially thought, you have found a way to produce EU using Auram Essenita. This required a complete reworking of the machine, relying on Auram's pulsating magical power to spin a Generator.
emt.text.Auram Generator=Though it took a bit more work than you initially thought, you have found a way to produce EU using Auram Essentia. This required a complete reworking of the machine, relying on Auram's pulsating magical power to spin a Generator.
emt.rsname.Arbor Generator=Arbor Generator
emt.tag.Arbor Generator=Bringing power generation back to its basics
@@ -294,7 +294,7 @@ emt.text.Tiny Uranium=After processing all your ores and using them for the crea
emt.rsname.Mjolnir=Mjolnir
emt.tag.Mjolnir=Godly power
emt.text.Mjolnir=You have travelled the world, in quest for the mighty Hammer of Thor. One day, you stumbled upon its broken remains, and your heart crumbled with it. After some long and tedious research, you found a way to restore this magnificent tool to its past greatness.<BR><BR>You have an odd feeling,(you seem to have a lot of these), that although this tool is amazingly powerful, you could do more with it.
emt.text.Mjolnir=You have travelled the world, in quest for the mighty Hammer of Thor. One day, you stumbled upon its broken remains, and your heart crumbled with it. After some long and tedious research, you found a way to restore this magnificent tool to its past greatness.<BR><BR>You have an odd feeling, (you seem to have a lot of these), that although this tool is amazingly powerful, you could do more with it.
emt.rsname.The Legend=The Legend
emt.tag.The Legend=Childhood memories...
@@ -306,7 +306,7 @@ emt.text.Lightning Summoner=This item is dropped by your archenemy, the Supercha
emt.rsname.Supercharged Mjolnir=Supercharged Mjolnir
emt.tag.Supercharged Mjolnir=Making it yours
emt.text.Supercharged Mjolnir=After some more exploring of the dungeons existing all around the worlds and dimensions, you have managed to find a method that makes you able to overpower Thor's power, making his Hammer yours. Furthermore, you have managed to make your Hammer summon defenders, some strange Snow-Golems like creature that shall protect you. However, the hammer lost its power to summon lightning where you desire it to, and creates a ring of lightning around you.
emt.text.Supercharged Mjolnir=After some more exploring of the dungeons existing all around the worlds and dimensions, you have managed to find a method that makes you able to overpower Thor's power, making his Hammer yours. Furthermore, you have managed to make your Hammer summon defenders, some strange Snow-Golems like creatures that shall protect you. However, the hammer lost its power to summon lightning where you desire it to, and creates a ring of lightning around you.
emt.rsname.Industrial Wand Charging Station=Industrial Wand Charging Station
emt.tag.Industrial Wand Charging Station=Charging your wand the industrial way
@@ -326,7 +326,7 @@ emt.text.Diamond Chainsaw=You are unsure why the thought of upgrading a Chainsaw
emt.rsname.Thaumium Plate=Thaumium Plate
emt.tag.Thaumium Plate=Thaumium, the industrial way
emt.text.Thaumium Plate=As every electrical engineer knows, plates are the basis of many devices. We knew that pressing Thaumium into plates would be a neccesary step to facilitate integration of magic into our tools, but this made the mages of the school of Thaumaturgy very upset. The don't like us tampering with their precious metal. You can produce these plates as shown, which is a bit more expensive, or in a metal former, requiring only one Thaumium Ingot. Keep an eye out for angry mages.
emt.text.Thaumium Plate=As every electrical engineer knows, plates are the basis of many devices. We knew that pressing Thaumium into plates would be a necessary step to facilitate integration of magic into our tools, but this made the mages of the school of Thaumaturgy very upset. They don't like us tampering with their precious metal. You can produce these plates as shown, which is a bit more expensive, or in a metal former, requiring only one Thaumium Ingot. Keep an eye out for angry mages.
emt.rsname.Macerating Native Ore Clusters=Macerating Native Ore Clusters
emt.tag.Macerating Native Ore Clusters=Augmenting your yield
@@ -350,7 +350,7 @@ emt.text.Electric Scribing Tools=You have decided not to kill any more squid. Th
emt.rsname.Etheral Processor=Etheral Processor
emt.tag.Etheral Processor=The sky is blue...
emt.text.Etheral Processor=After taping into hell's power with the Infernal Furnace to get some rewards out of your mining sessions, you have something totally different in mind. You are now using the power of the "Good", the sky and the so called "Paradise". This Ethereal Processor doubles the yield of every smelting recipe, and gives a 10% chance of getting a Thaumium Nugget as a bonus. You can see two drawbacks to this : as it doubles your smelting yield, it takes twice the time to process an item. As it is a highly magical device, some mundane smelting recipes do not seem to work. You are confident that smelting cobblestone into stone will not work into this wonder-machine.
emt.text.Etheral Processor=After tapping into hell's power with the Infernal Furnace to get some rewards out of your mining sessions, you have something totally different in mind. You are now using the power of the "Good", the sky and the so called "Paradise". This Ethereal Processor doubles the yield of every smelting recipe, and gives a 10% chance of getting a Thaumium Nugget as a bonus. You can see two drawbacks to this : as it doubles your smelting yield, it takes twice the time to process an item. As it is a highly magical device, some mundane smelting recipes do not seem to work. You are confident that smelting cobblestone into stone will not work into this wonder-machine.
emt.rsname.Water Infused Solar Panels=Water Infused Solar Panels
emt.tag.Water Infused Solar Panels=Curse you rain!
@@ -378,7 +378,7 @@ emt.text.Earth Infused Solar Panels=You have decided to get closer to the core.
emt.rsname.UU-Matter Infusion=UU-Matter Infusion
emt.tag.UU-Matter Infusion=A magically charged metamorphic liquid...
emt.text.UU-Matter Infusion=You have always found the powers possessed by UU-Mater very strange, even... magical looking, especially the ability to take a large number of shapes if manipulated correctly. And here you are, having discovered a way to shape the liquid through the process of Infusion Crafting. Many recipes are available, and all of them use between 4 to 32 of each primal aspect.
emt.text.UU-Matter Infusion=You have always found the powers possessed by UU-Matter very strange, even... magical looking, especially the ability to take a large number of shapes if manipulated correctly. And here you are, having discovered a way to shape the liquid through the process of Infusion Crafting. Many recipes are available, and all of them use between 4 to 32 of each primal aspect.
emt.rsname.Portable Node=Portable Node
emt.tag.Portable Node=Randomly convenient
@@ -390,33 +390,33 @@ emt.text.Electric Hoe of Growth=You have managed to upgrade your Hoe of Growth.
emt.rsname.Wand Focus: Charging=Wand Focus: Charging
emt.tag.Wand Focus: Charging=From vis to electricity
emt.text.Wand Focus: Charging=You realized you always carry a wand with you, along with your electric stuff. But sometimes, you have ran out of juice in your electric tools. That's why you created this wand focus. It is very simple, yet very useful, for it drains vis from your wand storage, and charges the items using mundane electricity.
emt.text.Wand Focus: Charging=You realized you always carry a wand with you, along with your electric stuff. But sometimes, you have run out of juice in your electric tools. That's why you created this wand focus. It is very simple, yet very useful, for it drains vis from your wand storage, and charges the items using mundane electricity.
emt.rsname.Wand Focus: Wand Charging=Wand Focus: Wand Charging
emt.tag.Wand Focus: Wand Charging=From electricity to vis
emt.text.Wand Focus: Wand Charging=You've discovered a way to take the benefits of the Industrial Recharge station and house them inside of a Charging Focus, reversing its polarity. Now it will drain electricity from your items in order to recharge your wand, albeit at a rather high cost. Furthermore, you have realized than you need a full set of Electric Armor to be able to start the wand charging process.
emt.text.Wand Focus: Wand Charging=You've discovered a way to take the benefits of the Industrial Recharge station and house them inside of a Charging Focus, reversing its polarity. Now it will drain electricity from your items in order to recharge your wand, albeit at a rather high cost. Furthermore, you have realized that you need a full set of Electric Armor to be able to start the wand charging process.
emt.rsname.Inventory Charging Ring=Inventory Charging Ring
emt.tag.Inventory Charging Ring=Passive charger
emt.text.Inventory Charging Ring=While other thaumaturgists use rings to charge their runic shields, you feel that there are better applications for them. By fusing power sources into a mundane ring, you have learned how to funnel its charging effects into electric items in your inventory instead. It doesn't generate much at only 32 EU per tick, but that just means there's room for improvement.
emt.text.Inventory Charging Ring=While other thaumaturgists use rings to charge their runic shields, you feel that there are better applications for them. By fusing power sources into a mundane ring, you have learned how to funnel its charging effects into electric items in your inventory instead. It doesn't generate much at only 32 EU per tick, but that just means there's room for improvement.
item.EMT.bauble.name=Armor Charging Ring
emt.rsname.Armor Charging Ring=Armor Charging Ring
emt.tag.Armor Charging Ring=Passive life-saver
emt.text.Armor Charging Ring=You have found the low but constant recharge rate of your new ring to be more useful than anticipated, but it would be nice if it charged your armor when there wasn't a tool in need of power. By infusing a few more power sources and a piece of armor, you have found a way to have it do just that. Sadly, the new power sources do not increase the recharge rate, but progress is progress.
emt.text.Armor Charging Ring=You have found the low but constant recharge rate of your new ring to be more useful than anticipated, but it would be nice if it charged your armor when there wasn't a tool in need of power. By infusing a few more power sources and a piece of armor, you have found a way to have it do just that. Sadly, the new power sources do not increase the recharge rate, but progress is progress.
item.EMT.item.bauble.name=The One Ring
emt.rsname.The One Ring=The One Ring
emt.tag.The One Ring=Forged inside the pit of the volcanic Mount Doom...
emt.text.The One Ring=Three Rings for the Elven-kings under the sky, Seven for the Dwarf-lords in their halls of stone, Nine for Mortal Men doomed to die, One for the Dark Lord on his dark throne in the Land of Mordor where the Shadows lie. One Ring to rule them all, One Ring to find them, One Ring to bring them all and in the darkness bind them in the Land of Mordor where the Shadows lie. -J.R.R. Tolkien's epigraph to The Lord of The Rings.<BR>You dream of being able to disappear from sight , therefore becoming invulnerable to any attack. You have heard that this Ring lays somewhere in ruins, unaltered by time...
emt.text.The One Ring=Three Rings for the Elven-kings under the sky, Seven for the Dwarf-lords in their halls of stone, Nine for Mortal Men doomed to die, One for the Dark Lord on his dark throne in the Land of Mordor where the Shadows lie. One Ring to rule them all, One Ring to find them, One Ring to bring them all and in the darkness bind them in the Land of Mordor where the Shadows lie. -J.R.R. Tolkien's epigraph to The Lord of The Rings.<BR>You dream of being able to disappear from sight, therefore becoming invulnerable to any attack. You have heard that this Ring lays somewhere in ruins, unaltered by time...
emt.rsname.Feather Wings=Feather Wings
emt.tag.Feather Wings=It only works in anime...
emt.text.Feather Wings=Duct-taping feathers to cardboard sheets, formed in the shape of wings sounded like a good idea. At least, you can thrust yourself in the air when the spacebar is hit. Not much, but it'll work. Using any wings underwater or during the rain sounds like a very bad idea. Included: fall damage reduction, 25%.
emt.text.Feather Wings=Duct-taping feathers to cardboard sheets, formed in the shape of wings sounded like a good idea. At least, you can thrust yourself in the air when the spacebar is pressed. Not much, but it'll work. Using any wings underwater or during the rain sounds like a very bad idea. Included: fall damage reduction, 25%.
emt.rsname.Thaumium Reinforced Wings=Thaumium Reinforced Wings
emt.tag.Thaumium Reinforced Wings=Already much better
emt.text.Thaumium Reinforced Wings=The magic infusing Thaumium is well known. Therefore, reinforcing your cardboard wings with Thaumium sounded like a good idea. You can thrust yourself much higher on spacebar hit, and slow your fall down when spacebar is held. Sneak to go down at a steady pace. Included: fall damage reduction, 50%.
emt.text.Thaumium Reinforced Wings=The magic infusing Thaumium is well known. Therefore, reinforcing your cardboard wings with Thaumium sounded like a good idea. You can thrust yourself much higher when spacebar is pressed, and slow your fall down when spacebar is held. Sneak to go down at a steady pace. Included: fall damage reduction, 50%.
emt.rsname.Nanosuit Wings=Nanosuit Wings
emt.tag.Nanosuit Wings=Nanotechnologies to the rescue!
@@ -428,4 +428,4 @@ emt.text.Quantum Wings=After exploring all the possibilities of nanotechnologies
emt.rsname.Infused Quantum Armor=Infused Quantum Сhestplate.
emt.tag.Infused Quantum Armor=The last step is here...
emt.text.Infused Quantum Armor=You had been nothing to do and you decided to do something useful. You had an idea in your head of making armor which you can fasten the wings or backpack for being protected in flight. Take the wings or backpack in your hands and sit down to put their on armor. To remove them, hold Shift + "Unequip"(see in options).
emt.text.Infused Quantum Armor=You had nothing to do and you decided to do something useful. You had an idea in your head of making armor which you can fasten the wings or backpack to protect yourself in flight. Take the wings or backpack in your hands and sit down to put them on the armor. To remove them, hold Shift + "Unequip"(see in options).
+34
View File
@@ -0,0 +1,34 @@
{
"maintenance.MaintenanceWandFocus": {
"category": "block",
"sounds": [
{
"name": "MaintenanceWandFocus",
"stream": false,
"licensing": {
"author_name": "Kynake",
"license_url": "https://creativecommons.org/licenses/by-sa/4.0/",
"license_name": "Attribution-ShareAlike 4.0",
"original_sound_urls": [
"https://freesound.org/people/tgerginov/sounds/671175/",
"https://opengameart.org/content/68-workshop-sounds"
],
"original_sound_names": [
"671175__tgerginov__magic.wav",
"workshop - ratchet2.wav"
],
"original_author_urls": [
"https://freesound.org/people/tgerginov/",
"https://opengameart.org/users/bart"
],
"original_author_names": [
"tgerginov",
"bart"
],
"original_license_url": "https://creativecommons.org/publicdomain/zero/1.0/",
"original_license_name": "CC0 1.0 Universal"
}
}
]
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 508 B

After

Width:  |  Height:  |  Size: 484 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 212 B

After

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 473 B

After

Width:  |  Height:  |  Size: 441 B

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: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

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: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

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