From b5d8a36adf5b886f681574338586b04e30cf55d6 Mon Sep 17 00:00:00 2001 From: Alkalus <3060479+draknyte1@users.noreply.github.com> Date: Sun, 27 May 2018 22:30:15 +1000 Subject: $ Tried to fix console spam for invalid tooltip handling. $ Fixed NEI handler not showing % chances for recipes. (maybe?) $ Fixed Trinium not working correctly in GTNH. $ Fixed invalid cape lookups. % Tweaked recipe for Max tier Redox cells. % Tweaked name of Control Circuit. --- .../core/handler/events/BlockEventHandler.java | 10 +++--- src/Java/gtPlusPlus/core/item/ModItems.java | 4 +-- src/Java/gtPlusPlus/core/material/ELEMENT.java | 39 +++++++++++++++++++--- .../gtPlusPlus/core/recipe/RECIPES_GREGTECH.java | 2 +- .../gtPlusPlus/core/util/minecraft/ItemUtils.java | 1 + 5 files changed, 43 insertions(+), 13 deletions(-) (limited to 'src/Java/gtPlusPlus/core') diff --git a/src/Java/gtPlusPlus/core/handler/events/BlockEventHandler.java b/src/Java/gtPlusPlus/core/handler/events/BlockEventHandler.java index aac26418b0..c323acf753 100644 --- a/src/Java/gtPlusPlus/core/handler/events/BlockEventHandler.java +++ b/src/Java/gtPlusPlus/core/handler/events/BlockEventHandler.java @@ -3,7 +3,6 @@ package gtPlusPlus.core.handler.events; import static gtPlusPlus.core.lib.CORE.ConfigSwitches.*; import java.util.ArrayList; -import java.util.Random; import cpw.mods.fml.common.eventhandler.SubscribeEvent; @@ -21,7 +20,6 @@ import net.minecraftforge.event.entity.player.PlayerInteractEvent; import net.minecraftforge.event.world.BlockEvent; public class BlockEventHandler { - private final Random random = new Random(); public static ArrayList oreLimestone; public static ArrayList blockLimestone; public static ItemStack fluoriteOre; @@ -115,14 +113,16 @@ public class BlockEventHandler { ArrayList mBlockTypes = new ArrayList(); if (!oreLimestone.isEmpty()){ for (int i=0;i