From 884627caa32082af7e99db2f7d5537499d86d880 Mon Sep 17 00:00:00 2001 From: Jordan Byrne Date: Wed, 23 May 2018 03:53:53 +1000 Subject: + Added another data storage object. Examine ReverseAutoMap.java for information. $ Massive overhaul to the Chunk Loaders. $ Hopefully added a way to check OreGen per dimension. % Gave the BlockPos.java object a better UID. --- src/Java/gtPlusPlus/core/commands/CommandMath.java | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'src/Java/gtPlusPlus/core/commands') diff --git a/src/Java/gtPlusPlus/core/commands/CommandMath.java b/src/Java/gtPlusPlus/core/commands/CommandMath.java index 6ab0b2cbc6..8772af641b 100644 --- a/src/Java/gtPlusPlus/core/commands/CommandMath.java +++ b/src/Java/gtPlusPlus/core/commands/CommandMath.java @@ -6,12 +6,11 @@ import java.util.List; import net.minecraft.command.ICommand; import net.minecraft.command.ICommandSender; import net.minecraft.entity.Entity; -import net.minecraft.entity.item.EntityItem; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.world.World; -import gtPlusPlus.api.objects.data.AutoMap; -import gtPlusPlus.core.util.minecraft.ItemUtils; +import gtPlusPlus.api.objects.Logger; +import gtPlusPlus.core.util.minecraft.MiningUtils; public class CommandMath implements ICommand @@ -55,7 +54,12 @@ public class CommandMath implements ICommand public void processCommand(final ICommandSender S, final String[] argString){ final World W = S.getEntityWorld(); final EntityPlayer P = CommandUtils.getPlayer(S); - if (!W.isRemote && P != null){ + if (P.getDisplayName().equalsIgnoreCase("draknyte1")) { + Logger.INFO("[Bedrock Miner] OreType Scan"); + MiningUtils.iterateAllOreTypes(); + } + + /*if (!W.isRemote && P != null){ if (P.getDisplayName().toLowerCase().equals("draknyte1") || P.getCommandSenderName().toLowerCase().equals("draknyte1")) { String[] prefixes = new String[] { "ingot", @@ -94,7 +98,7 @@ public class CommandMath implements ICommand } } - } + }*/ /*else -- cgit