Further merger

This commit is contained in:
Connor Colenso committed 2026-01-24 18:34:50 +00:00
1 parent 61e1f57705
commit d3816082d4
128 files changed
+621 -1079

No files matched your search

@@ -28,8 +28,9 @@ public class DraconicEvolution {
@Mod.Instance(References.MODID)
public static DraconicEvolution instance;
@SidedProxy(clientSide = References.CLIENTPROXYLOCATION, serverSide = References.SERVERPROXYLOCATION)
@SidedProxy(
clientSide = "com.brandon3055.draconicevolution.client.ClientProxy",
serverSide = "com.brandon3055.draconicevolution.common.CommonProxy")
public static CommonProxy proxy;
public static CreativeTabs tabToolsWeapons = new DETab(
@@ -4,7 +4,7 @@ import java.util.Random;
import net.minecraft.world.World;
import com.brandon3055.draconicevolution.brandonscore.common.utills.DataUtills;
import com.brandon3055.draconicevolution.common.utills.DataUtills;
import com.brandon3055.draconicevolution.common.world.ChaosWorldGenHandler;
import com.brandon3055.draconicevolution.common.world.DraconicWorldGenerator;
import com.brandon3055.draconicevolution.common.world.WorldGenEnderComet;
@@ -1,49 +0,0 @@
package com.brandon3055.draconicevolution.brandonscore.client;
import net.minecraft.client.Minecraft;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.server.MinecraftServer;
import net.minecraft.world.World;
import com.brandon3055.draconicevolution.common.CommonProxy;
/**
* Created by Brandon on 14/5/2015.
*/
public class ClientProxy extends CommonProxy {
@Override
public boolean isDedicatedServer() {
return false;
}
@Override
public MinecraftServer getMCServer() {
return super.getMCServer();
}
@Override
public World getClientWorld() {
return Minecraft.getMinecraft().theWorld;
}
@Override
public boolean isSpaceDown() {
return Minecraft.getMinecraft().gameSettings.keyBindJump.getIsKeyPressed();
}
@Override
public boolean isShiftDown() {
return Minecraft.getMinecraft().gameSettings.keyBindSneak.getIsKeyPressed();
}
@Override
public boolean isCtrlDown() {
return Minecraft.getMinecraft().gameSettings.keyBindSprint.getIsKeyPressed();
}
@Override
public EntityPlayer getClientPlayer() {
return Minecraft.getMinecraft().thePlayer;
}
}
@@ -1,744 +0,0 @@
package com.brandon3055.draconicevolution.brandonscore.common.utills;
/**
* Everything in this class is copied from openblocks
*/
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.ISidedInventory;
import net.minecraft.inventory.InventoryLargeChest;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.tileentity.TileEntityChest;
import net.minecraft.world.World;
import net.minecraftforge.common.util.ForgeDirection;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
public class InventoryUtils {
/***
* Try to merge the supplied stack into the supplied slot in the target inventory
*
* @param targetInventory Although it doesn't return anything, it'll REDUCE the stack size of the stack that you
* pass in
*
* @param slot
* @param stack
*/
public static void tryInsertStack(IInventory targetInventory, int slot, ItemStack stack, boolean canMerge) {
if (targetInventory.isItemValidForSlot(slot, stack)) {
ItemStack targetStack = targetInventory.getStackInSlot(slot);
if (targetStack == null) {
targetInventory.setInventorySlotContents(slot, stack.copy());
stack.stackSize = 0;
} else if (canMerge) {
if (targetInventory.isItemValidForSlot(slot, stack) && areMergeCandidates(stack, targetStack)) {
int space = targetStack.getMaxStackSize() - targetStack.stackSize;
int mergeAmount = Math.min(space, stack.stackSize);
ItemStack copy = targetStack.copy();
copy.stackSize += mergeAmount;
targetInventory.setInventorySlotContents(slot, copy);
stack.stackSize -= mergeAmount;
}
}
}
}
public static boolean areItemAndTagEqual(final ItemStack stackA, ItemStack stackB) {
return stackA.isItemEqual(stackB) && ItemStack.areItemStackTagsEqual(stackA, stackB);
}
public static boolean areMergeCandidates(ItemStack source, ItemStack target) {
return areItemAndTagEqual(source, target) && target.stackSize < target.getMaxStackSize();
}
public static void insertItemIntoInventory(IInventory inventory, ItemStack stack) {
insertItemIntoInventory(inventory, stack, ForgeDirection.UNKNOWN, -1);
}
public static void insertItemIntoInventory(IInventory inventory, ItemStack stack, ForgeDirection side,
int intoSlot) {
insertItemIntoInventory(inventory, stack, side, intoSlot, true);
}
public static void insertItemIntoInventory(IInventory inventory, ItemStack stack, ForgeDirection side, int intoSlot,
boolean doMove) {
insertItemIntoInventory(inventory, stack, side, intoSlot, doMove, true);
}
public static void insertItemIntoInventory(IInventory inventory, ItemStack stack, ForgeDirection side, int intoSlot,
boolean doMove, boolean canStack) {
if (stack == null) return;
final int sideId = side.ordinal();
IInventory targetInventory = inventory;
// if we're not meant to move, make a clone of the inventory
if (!doMove) {
GenericInventory copy = new GenericInventory(
"temporary.inventory",
false,
targetInventory.getSizeInventory());
copy.copyFrom(inventory);
targetInventory = copy;
}
final Set<Integer> attemptSlots = Sets.newTreeSet();
// if it's a sided inventory, get all the accessible slots
final boolean isSidedInventory = inventory instanceof ISidedInventory && side != ForgeDirection.UNKNOWN;
if (isSidedInventory) {
int[] accessibleSlots = ((ISidedInventory) inventory).getAccessibleSlotsFromSide(sideId);
for (int slot : accessibleSlots) attemptSlots.add(slot);
} else {
// if it's just a standard inventory, get all slots
for (int a = 0; a < inventory.getSizeInventory(); a++) {
attemptSlots.add(a);
}
}
// if we've defining a specific slot, we'll just use that
if (intoSlot > -1) attemptSlots.retainAll(ImmutableSet.of(intoSlot));
if (attemptSlots.isEmpty()) return;
for (Integer slot : attemptSlots) {
if (stack.stackSize <= 0) break;
if (isSidedInventory && !((ISidedInventory) inventory).canInsertItem(slot, stack, sideId)) continue;
tryInsertStack(targetInventory, slot, stack, canStack);
}
}
public static int moveItemInto(IInventory fromInventory, int fromSlot, Object target, int intoSlot, int maxAmount,
ForgeDirection direction, boolean doMove) {
return moveItemInto(fromInventory, fromSlot, target, intoSlot, maxAmount, direction, doMove, true);
}
/***
* Move an item from the fromInventory, into the target. The target can be an inventory or pipe. Double checks are
* automagically wrapped. If you're not bothered what slot you insert into, pass -1 for intoSlot. If you're passing
* false for doMove, it'll create a dummy inventory and its calculations on that instead
*
* @param fromInventory the inventory the item is coming from
* @param fromSlot the slot the item is coming from
* @param target the inventory you want the item to be put into. can be BC pipe or IInventory
* @param intoSlot the target slot. Pass -1 for any slot
* @param maxAmount The maximum amount you wish to pass
* @param direction The direction of the move. Pass UNKNOWN if not applicable
* @param doMove
* @param canStack
* @return The amount of items moved
*/
public static int moveItemInto(IInventory fromInventory, int fromSlot, Object target, int intoSlot, int maxAmount,
ForgeDirection direction, boolean doMove, boolean canStack) {
fromInventory = InventoryUtils.getInventory(fromInventory);
// if we dont have a stack in the source location, return 0
ItemStack sourceStack = fromInventory.getStackInSlot(fromSlot);
if (sourceStack == null) {
return 0;
}
if (fromInventory instanceof ISidedInventory
&& !((ISidedInventory) fromInventory).canExtractItem(fromSlot, sourceStack, direction.ordinal()))
return 0;
// create a clone of our source stack and set the size to either
// maxAmount or the stackSize
ItemStack clonedSourceStack = sourceStack.copy();
clonedSourceStack.stackSize = Math.min(clonedSourceStack.stackSize, maxAmount);
int amountToMove = clonedSourceStack.stackSize;
int inserted = 0;
if (target instanceof IInventory) {
IInventory targetInventory = getInventory((IInventory) target);
ForgeDirection side = direction.getOpposite();
// try insert the item into the target inventory. this'll reduce the
// stackSize of our stack
InventoryUtils
.insertItemIntoInventory(targetInventory, clonedSourceStack, side, intoSlot, doMove, canStack);
inserted = amountToMove - clonedSourceStack.stackSize;
}
// if we've done the move, reduce/remove the stack from our source
// inventory
if (doMove) {
ItemStack newSourcestack = sourceStack.copy();
newSourcestack.stackSize -= inserted;
if (newSourcestack.stackSize == 0) {
fromInventory.setInventorySlotContents(fromSlot, null);
} else {
fromInventory.setInventorySlotContents(fromSlot, newSourcestack);
}
}
return inserted;
}
private static IInventory doubleChestFix(TileEntity te) {
final World world = te.getWorldObj();
final int x = te.xCoord;
final int y = te.yCoord;
final int z = te.zCoord;
if (world.getBlock(x - 1, y, z) == Blocks.chest) return new InventoryLargeChest(
"Large chest",
(IInventory) world.getTileEntity(x - 1, y, z),
(IInventory) te);
if (world.getBlock(x + 1, y, z) == Blocks.chest) return new InventoryLargeChest(
"Large chest",
(IInventory) te,
(IInventory) world.getTileEntity(x + 1, y, z));
if (world.getBlock(x, y, z - 1) == Blocks.chest) return new InventoryLargeChest(
"Large chest",
(IInventory) world.getTileEntity(x, y, z - 1),
(IInventory) te);
if (world.getBlock(x, y, z + 1) == Blocks.chest) return new InventoryLargeChest(
"Large chest",
(IInventory) te,
(IInventory) world.getTileEntity(x, y, z + 1));
return (te instanceof IInventory) ? (IInventory) te : null;
}
public static IInventory getInventory(World world, int x, int y, int z) {
TileEntity tileEntity = world.getTileEntity(x, y, z);
if (tileEntity instanceof TileEntityChest) return doubleChestFix(tileEntity);
if (tileEntity instanceof IInventory) return (IInventory) tileEntity;
return null;
}
public static IInventory getInventory(World world, int x, int y, int z, ForgeDirection direction) {
if (direction != null) {
x += direction.offsetX;
y += direction.offsetY;
z += direction.offsetZ;
}
return getInventory(world, x, y, z);
}
public static IInventory getInventory(IInventory inventory) {
if (inventory instanceof TileEntityChest) return doubleChestFix((TileEntity) inventory);
return inventory;
}
public static List<ItemStack> getInventoryContents(IInventory inventory) {
List<ItemStack> result = Lists.newArrayList();
for (int i = 0; i < inventory.getSizeInventory(); i++) {
ItemStack slot = inventory.getStackInSlot(i);
if (slot != null) result.add(slot);
}
return result;
}
/***
* Get the indexes of all slots containing a stack of the supplied item type.
*
* @param inventory
* @param stack
* @return Returns a set of the slot indexes
*/
public static Set<Integer> getSlotsWithStack(IInventory inventory, ItemStack stack) {
inventory = getInventory(inventory);
Set<Integer> slots = Sets.newHashSet();
for (int i = 0; i < inventory.getSizeInventory(); i++) {
ItemStack stackInSlot = inventory.getStackInSlot(i);
if (stackInSlot != null && stackInSlot.isItemEqual(stack)) slots.add(i);
}
return slots;
}
/***
* Get the first slot containing an item type matching the supplied type.
*
* @param inventory
* @param stack
* @return Returns -1 if none found
*/
public static int getFirstSlotWithStack(IInventory inventory, ItemStack stack) {
inventory = getInventory(inventory);
for (int i = 0; i < inventory.getSizeInventory(); i++) {
ItemStack stackInSlot = inventory.getStackInSlot(i);
if (stackInSlot != null && stackInSlot.isItemEqual(stack)) {
return i;
}
}
return -1;
}
/***
* Consume ONE of the supplied item types
*
* @param inventory
* @param stack
* @return Returns whether or not it was able to
*/
public static boolean consumeInventoryItem(IInventory inventory, ItemStack stack) {
int slotWithStack = getFirstSlotWithStack(inventory, stack);
if (slotWithStack > -1) {
ItemStack stackInSlot = inventory.getStackInSlot(slotWithStack);
stackInSlot.stackSize--;
if (stackInSlot.stackSize == 0) {
inventory.setInventorySlotContents(slotWithStack, null);
}
return true;
}
return false;
}
/**
* Get the first slot index in an inventory with an item
*
* @param invent
* @return The slot index, or -1 if the inventory is empty
*/
public static int getSlotIndexOfNextStack(IInventory invent) {
for (int i = 0; i < invent.getSizeInventory(); i++) {
ItemStack stack = invent.getStackInSlot(i);
if (stack != null) {
return i;
}
}
return -1;
}
/***
* Removes an item stack from the inventory and returns a copy of it
*
* @param invent
* @return A copy of the stack it removed
*/
public static ItemStack removeNextItemStack(IInventory invent) {
int nextFilledSlot = getSlotIndexOfNextStack(invent);
if (nextFilledSlot > -1) {
ItemStack copy = invent.getStackInSlot(nextFilledSlot).copy();
invent.setInventorySlotContents(nextFilledSlot, null);
return copy;
}
return null;
}
public static int moveItemsFromOneOfSides(TileEntity te, IInventory inv, int maxAmount, int intoSlot,
Set<ForgeDirection> sides) {
return moveItemsFromOneOfSides(te, inv, null, maxAmount, intoSlot, sides);
}
public static int moveItemsFromOneOfSides(TileEntity te, IInventory inv, ItemStack filterStack, int maxAmount,
int intoSlot, Set<ForgeDirection> sides) {
List<ForgeDirection> shuffledSides = Lists.newArrayList(sides);
Collections.shuffle(shuffledSides);
IInventory ourInventory = getInventory(inv);
// loop through the shuffled sides
for (ForgeDirection dir : sides) {
TileEntity tileOnSurface = getTileInDirection(te, dir);
// if it's an inventory
if (tileOnSurface instanceof IInventory) {
final IInventory neighbor = (IInventory) tileOnSurface;
Set<Integer> slots;
if (filterStack == null) slots = getAllSlots(neighbor);
else slots = getSlotsWithStack(neighbor, filterStack);
for (Integer slot : slots) {
int moved = InventoryUtils
.moveItemInto(neighbor, slot, ourInventory, intoSlot, maxAmount, dir.getOpposite(), true);
if (moved > 0) return moved;
}
}
}
return 0;
}
/**
* Tests to see if an item stack can be inserted in to an inventory Does not perform the insertion, only tests the
* possibility
*
* @param inventory The inventory to insert the stack into
* @param item the stack to insert
* @return the amount of items that could be put in to the stack
*/
public static int testInventoryInsertion(IInventory inventory, ItemStack item) {
if (item == null || item.stackSize == 0) return 0;
if (inventory == null) return 0;
int slotCount = inventory.getSizeInventory();
/*
* Allows counting down the item size, without cloning or changing the object
*/
int itemSizeCounter = item.stackSize;
for (int i = 0; i < slotCount && itemSizeCounter > 0; i++) {
if (!inventory.isItemValidForSlot(i, item)) continue;
ItemStack inventorySlot = inventory.getStackInSlot(i);
/*
* If the slot is empty, dump the biggest stack we can, taking in to consideration, the remaining amount of
* stack
*/
if (inventorySlot == null) {
itemSizeCounter -= Math
.min(Math.min(itemSizeCounter, inventory.getInventoryStackLimit()), item.getMaxStackSize());
}
/* If the slot is not empty, check that these items stack */
else if (areMergeCandidates(item, inventorySlot)) {
/* If they stack, decrement by the amount of space that remains */
int space = inventorySlot.getMaxStackSize() - inventorySlot.stackSize;
itemSizeCounter -= Math.min(itemSizeCounter, space);
}
}
// itemSizeCounter might be less than zero here. It shouldn't be, but I
// don't trust me. -NC
if (itemSizeCounter != item.stackSize) {
itemSizeCounter = Math.max(itemSizeCounter, 0);
return item.stackSize - itemSizeCounter;
}
return 0;
}
public static Set<Integer> getAllSlots(IInventory inventory) {
inventory = getInventory(inventory);
Set<Integer> slots = new HashSet<Integer>();
for (int i = 0; i < inventory.getSizeInventory(); i++) {
slots.add(i);
}
return slots;
}
public static Map<Integer, ItemStack> getAllItems(IInventory inventory) {
Map<Integer, ItemStack> result = Maps.newHashMap();
for (int i = 0; i < inventory.getSizeInventory(); i++) {
ItemStack stack = inventory.getStackInSlot(i);
if (stack != null) result.put(i, stack);
}
return result;
}
public static int moveItemsToOneOfSides(TileEntity te, IInventory inv, int fromSlot, int maxAmount,
Set<ForgeDirection> sides) {
// wrap it. Sure, we dont need to really as this'll never be a double
// chest but, whatevs. (M?)
final IInventory inventory = getInventory(inv);
// if we've not got a stack in that slot, we dont care.
if (inventory.getStackInSlot(fromSlot) == null) return 0;
// shuffle the sides that have been passed in
List<ForgeDirection> shuffledSides = Lists.newArrayList(sides);
Collections.shuffle(shuffledSides);
for (ForgeDirection dir : shuffledSides) {
// grab the tile in the current direction
TileEntity tileOnSurface = getTileInDirection(te, dir);
if (tileOnSurface == null) {
return 0;
}
int moved = InventoryUtils.moveItemInto(inventory, fromSlot, tileOnSurface, -1, maxAmount, dir, true);
// move the object from our inventory, in the specified slot, to a
// pipe or any slot in an inventory in a particular direction
if (moved > 0) return moved;
}
return 0;
}
public static boolean inventoryIsEmpty(IInventory inventory) {
for (int i = 0, l = inventory.getSizeInventory(); i < l; i++)
if (inventory.getStackInSlot(i) != null) return false;
return true;
}
public static boolean tryMergeStacks(ItemStack stackToMerge, ItemStack stackInSlot) {
if (stackInSlot == null || !stackInSlot.isItemEqual(stackToMerge)
|| !ItemStack.areItemStackTagsEqual(stackToMerge, stackInSlot))
return false;
int newStackSize = stackInSlot.stackSize + stackToMerge.stackSize;
final int maxStackSize = stackToMerge.getMaxStackSize();
if (newStackSize <= maxStackSize) {
stackToMerge.stackSize = 0;
stackInSlot.stackSize = newStackSize;
return true;
} else if (stackInSlot.stackSize < maxStackSize) {
stackToMerge.stackSize -= maxStackSize - stackInSlot.stackSize;
stackInSlot.stackSize = maxStackSize;
return true;
}
return false;
}
public static ItemStack returnItem(ItemStack stack) {
return (stack == null || stack.stackSize <= 0) ? null : stack.copy();
}
public static void swapStacks(IInventory inventory, int slot1, int slot2) {
swapStacks(inventory, slot1, slot2, true, true);
}
public static void swapStacks(IInventory inventory, int slot1, int slot2, boolean copy, boolean validate) {
Preconditions.checkElementIndex(slot1, inventory.getSizeInventory(), "input slot id");
Preconditions.checkElementIndex(slot2, inventory.getSizeInventory(), "output slot id");
ItemStack stack1 = inventory.getStackInSlot(slot1);
ItemStack stack2 = inventory.getStackInSlot(slot2);
if (validate) {
isItemValid(inventory, slot2, stack1);
isItemValid(inventory, slot1, stack2);
}
if (copy) {
if (stack1 != null) stack1 = stack1.copy();
if (stack2 != null) stack2 = stack2.copy();
}
inventory.setInventorySlotContents(slot1, stack2);
inventory.setInventorySlotContents(slot2, stack1);
inventory.markDirty();
}
public static void swapStacks(ISidedInventory inventory, int slot1, ForgeDirection side1, int slot2,
ForgeDirection side2) {
swapStacks(inventory, slot1, side1, slot2, side2, true, true);
}
public static void swapStacks(ISidedInventory inventory, int slot1, ForgeDirection side1, int slot2,
ForgeDirection side2, boolean copy, boolean validate) {
Preconditions.checkElementIndex(slot1, inventory.getSizeInventory(), "input slot id");
Preconditions.checkElementIndex(slot2, inventory.getSizeInventory(), "output slot id");
ItemStack stack1 = inventory.getStackInSlot(slot1);
ItemStack stack2 = inventory.getStackInSlot(slot2);
if (validate) {
isItemValid(inventory, slot2, stack1);
isItemValid(inventory, slot1, stack2);
canExtract(inventory, slot1, side1, stack1);
canInsert(inventory, slot2, side2, stack1);
canExtract(inventory, slot2, side2, stack2);
canInsert(inventory, slot1, side1, stack2);
}
if (copy) {
if (stack1 != null) stack1 = stack1.copy();
if (stack2 != null) stack2 = stack2.copy();
}
inventory.setInventorySlotContents(slot1, stack2);
inventory.setInventorySlotContents(slot2, stack1);
inventory.markDirty();
}
protected static void isItemValid(IInventory inventory, int slot, ItemStack stack) {
Preconditions.checkArgument(inventory.isItemValidForSlot(slot, stack), "Slot %s cannot accept item", slot);
}
protected static void canInsert(ISidedInventory inventory, int slot, ForgeDirection side, ItemStack stack) {
Preconditions.checkArgument(
inventory.canInsertItem(slot, stack, side.ordinal()),
"Item cannot be inserted into slot %s on side %s",
slot,
side);
}
protected static void canExtract(ISidedInventory inventory, int slot, ForgeDirection side, ItemStack stack) {
Preconditions.checkArgument(
inventory.canExtractItem(slot, stack, side.ordinal()),
"Item cannot be extracted from slot %s on side %s",
slot,
side);
}
public static TileEntity getTileInDirection(TileEntity tile, ForgeDirection direction) {
int targetX = tile.xCoord + direction.offsetX;
int targetY = tile.yCoord + direction.offsetY;
int targetZ = tile.zCoord + direction.offsetZ;
return tile.getWorldObj().getTileEntity(targetX, targetY, targetZ);
}
public static class GenericInventory implements IInventory {
protected String inventoryTitle;
protected int slotsCount;
protected ItemStack[] inventoryContents;
protected boolean isInvNameLocalized;
public GenericInventory(String name, boolean isInvNameLocalized, int size) {
this.isInvNameLocalized = isInvNameLocalized;
this.slotsCount = size;
this.inventoryTitle = name;
this.inventoryContents = new ItemStack[size];
}
@Override
public ItemStack decrStackSize(int par1, int par2) {
if (this.inventoryContents[par1] != null) {
ItemStack itemstack;
if (this.inventoryContents[par1].stackSize <= par2) {
itemstack = this.inventoryContents[par1];
this.inventoryContents[par1] = null;
return itemstack;
}
itemstack = this.inventoryContents[par1].splitStack(par2);
if (this.inventoryContents[par1].stackSize == 0) {
this.inventoryContents[par1] = null;
}
return itemstack;
}
return null;
}
@Override
public int getInventoryStackLimit() {
return 64;
}
@Override
public int getSizeInventory() {
return slotsCount;
}
@Override
public ItemStack getStackInSlot(int i) {
return this.inventoryContents[i];
}
public ItemStack getStackInSlot(Enum<?> i) {
return getStackInSlot(i.ordinal());
}
@Override
public ItemStack getStackInSlotOnClosing(int i) {
if (i >= this.inventoryContents.length) {
return null;
}
if (this.inventoryContents[i] != null) {
ItemStack itemstack = this.inventoryContents[i];
this.inventoryContents[i] = null;
return itemstack;
}
return null;
}
public boolean isItem(int slot, Item item) {
return inventoryContents[slot] != null && inventoryContents[slot].getItem() == item;
}
@Override
public boolean isItemValidForSlot(int i, ItemStack itemstack) {
return true;
}
@Override
public boolean isUseableByPlayer(EntityPlayer entityplayer) {
return true;
}
public void clearAndSetSlotCount(int amount) {
this.slotsCount = amount;
inventoryContents = new ItemStack[amount];
}
public void readFromNBT(NBTTagCompound tag) {
if (tag.hasKey("size")) {
this.slotsCount = tag.getInteger("size");
}
NBTTagList nbttaglist = tag.getTagList("Items", 10);
inventoryContents = new ItemStack[slotsCount];
for (int i = 0; i < nbttaglist.tagCount(); i++) {
NBTTagCompound stacktag = nbttaglist.getCompoundTagAt(i);
int j = stacktag.getByte("Slot");
if (j >= 0 && j < inventoryContents.length) {
inventoryContents[j] = ItemStack.loadItemStackFromNBT(stacktag);
}
}
}
@Override
public void setInventorySlotContents(int i, ItemStack itemstack) {
this.inventoryContents[i] = itemstack;
if (itemstack != null && itemstack.stackSize > getInventoryStackLimit()) {
itemstack.stackSize = getInventoryStackLimit();
}
}
public void writeToNBT(NBTTagCompound tag) {
tag.setInteger("size", getSizeInventory());
NBTTagList nbttaglist = new NBTTagList();
for (int i = 0; i < inventoryContents.length; i++) {
if (inventoryContents[i] != null) {
NBTTagCompound stacktag = new NBTTagCompound();
stacktag.setByte("Slot", (byte) i);
inventoryContents[i].writeToNBT(stacktag);
nbttaglist.appendTag(stacktag);
}
}
tag.setTag("Items", nbttaglist);
}
/**
* This bastard never even gets called, so don't rely on it.
*/
@Override
public void markDirty() {}
public void copyFrom(IInventory inventory) {
for (int i = 0; i < inventory.getSizeInventory(); i++) {
if (i < getSizeInventory()) {
ItemStack stack = inventory.getStackInSlot(i);
if (stack != null) {
setInventorySlotContents(i, stack.copy());
} else {
setInventorySlotContents(i, null);
}
}
}
}
public List<ItemStack> contents() {
return Arrays.asList(inventoryContents);
}
@Override
public String getInventoryName() {
return this.inventoryTitle;
}
@Override
public boolean hasCustomInventoryName() {
return this.isInvNameLocalized;
}
@Override
public void openInventory() {}
@Override
public void closeInventory() {}
}
}
@@ -2,9 +2,12 @@ package com.brandon3055.draconicevolution.client;
import static com.brandon3055.draconicevolution.integration.nei.IMCForNEI.IMCSender;
import net.minecraft.client.Minecraft;
import net.minecraft.client.audio.ISound;
import net.minecraft.client.particle.EntityFX;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.server.MinecraftServer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
import net.minecraftforge.client.MinecraftForgeClient;
@@ -113,54 +116,6 @@ public class ClientProxy extends CommonProxy {
super.preInit(event);
ResourceHandler.init(event);
// downloadLocation = event.getModConfigurationDirectory().getParentFile().getAbsolutePath() +
// "/mods/derspack";
// downloadLocation = downloadLocation.replaceAll("\\\\", "/");
//
// File rescourcePack = new File(event.getModConfigurationDirectory().getParentFile(), "/mods/derspack");
//
//
// //File file = new File(downloadLocation);
// if (!rescourcePack.exists()) rescourcePack.mkdir();
//
// LogHelper.info("Downloading Images");
//
// try {
// URL url = new URL("http://i.imgur.com/oHRx1yQ.jpg");
// String fileName = url.getFile();
// //String destName = downloadLocation + fileName.substring(fileName.lastIndexOf("/"));
// File dll = new File(rescourcePack, fileName.substring(fileName.lastIndexOf("/")));
//
// InputStream is = url.openStream();
// OutputStream os = new FileOutputStream(dll);
//
// ByteStreams.copy(is, os);
//
// is.close();
// os.close();
// }catch (IOException e){
// LogHelper.info(e);
// }
//
//
// List defaultResourcePacks = Lists.newArrayList();
// Field f = ReflectionHelper.findField(Minecraft.class, "defaultResourcePacks", "field_110449_ao");
// f.setAccessible(true);
// try {
// defaultResourcePacks = (List)f.get(Minecraft.getMinecraft());
// defaultResourcePacks.add(new FolderResourcePack(rescourcePack));
// for (Object o : defaultResourcePacks){
// if (o instanceof FolderResourcePack) LogHelper.info(((FolderResourcePack) o).getPackName());
// if (o instanceof FileResourcePack) LogHelper.info(((FileResourcePack)o).getPackName());
// }
//
// f.set(Minecraft.getMinecraft(), defaultResourcePacks);
// }
// catch (IllegalAccessException e) {
// e.printStackTrace();
// }
}
@Override
@@ -400,4 +355,39 @@ public class ClientProxy extends CommonProxy {
FMLClientHandler.instance().getClient().getSoundHandler().playSound(sound);
return sound;
}
@Override
public boolean isDedicatedServer() {
return false;
}
@Override
public MinecraftServer getMCServer() {
return super.getMCServer();
}
@Override
public World getClientWorld() {
return Minecraft.getMinecraft().theWorld;
}
@Override
public boolean isSpaceDown() {
return Minecraft.getMinecraft().gameSettings.keyBindJump.getIsKeyPressed();
}
@Override
public boolean isShiftDown() {
return Minecraft.getMinecraft().gameSettings.keyBindSneak.getIsKeyPressed();
}
@Override
public boolean isCtrlDown() {
return Minecraft.getMinecraft().gameSettings.keyBindSprint.getIsKeyPressed();
}
@Override
public EntityPlayer getClientPlayer() {
return Minecraft.getMinecraft().thePlayer;
}
}
@@ -5,9 +5,9 @@ import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.ModBlocks;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
@@ -18,8 +18,8 @@ import net.minecraftforge.common.util.ForgeDirection;
import org.lwjgl.opengl.GL11;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.client.utills.GuiHelper;
import com.brandon3055.draconicevolution.client.handler.ResourceHandler;
import com.brandon3055.draconicevolution.client.utils.GuiHelper;
import com.brandon3055.draconicevolution.common.container.ContainerDraconiumChest;
import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.network.ButtonPacket;
@@ -16,7 +16,7 @@ import net.minecraft.util.StatCollector;
import org.lwjgl.opengl.GL11;
import com.brandon3055.draconicevolution.brandonscore.client.utills.GuiHelper;
import com.brandon3055.draconicevolution.client.utils.GuiHelper;
import com.brandon3055.draconicevolution.common.container.ContainerEnergyInfuser;
import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.tileentities.TileEnergyInfuser;
@@ -12,8 +12,8 @@ import net.minecraft.util.StatCollector;
import org.lwjgl.input.Keyboard;
import org.lwjgl.input.Mouse;
import com.brandon3055.draconicevolution.brandonscore.client.utills.GuiHelper;
import com.brandon3055.draconicevolution.client.handler.ResourceHandler;
import com.brandon3055.draconicevolution.client.utils.GuiHelper;
import com.brandon3055.draconicevolution.common.tileentities.gates.TileGate;
/**
@@ -15,7 +15,7 @@ import net.minecraftforge.common.util.ForgeDirection;
import org.lwjgl.opengl.GL11;
import com.brandon3055.draconicevolution.brandonscore.client.utills.GuiHelper;
import com.brandon3055.draconicevolution.client.utils.GuiHelper;
import com.brandon3055.draconicevolution.common.container.ContainerGenerator;
import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.tileentities.TileGenerator;
@@ -14,7 +14,7 @@ import net.minecraftforge.common.util.ForgeDirection;
import org.lwjgl.opengl.GL11;
import com.brandon3055.draconicevolution.brandonscore.client.utills.GuiHelper;
import com.brandon3055.draconicevolution.client.utils.GuiHelper;
import com.brandon3055.draconicevolution.common.container.ContainerGrinder;
import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.tileentities.TileGrinder;
@@ -21,13 +21,13 @@ import org.lwjgl.input.Keyboard;
import org.lwjgl.opengl.GL11;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.client.utills.GuiHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.Teleporter;
import com.brandon3055.draconicevolution.client.utils.GuiHelper;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.handler.ConfigHandler;
import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.network.TeleporterPacket;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.utills.Teleporter;
import cpw.mods.fml.common.Loader;
import cpw.mods.fml.relauncher.Side;
@@ -15,8 +15,8 @@ import net.minecraft.util.StatCollector;
import org.lwjgl.opengl.GL11;
import com.brandon3055.draconicevolution.brandonscore.client.utills.GuiHelper;
import com.brandon3055.draconicevolution.client.handler.ResourceHandler;
import com.brandon3055.draconicevolution.client.utils.GuiHelper;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.container.ContainerUpgradeModifier;
import com.brandon3055.draconicevolution.common.tileentities.TileUpgradeModifier;
@@ -11,8 +11,8 @@ import net.minecraft.util.StatCollector;
import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.GUIBase;
import com.brandon3055.draconicevolution.brandonscore.client.utills.GuiHelper;
import com.brandon3055.draconicevolution.client.utils.GuiHelper;
import com.brandon3055.draconicevolution.client.utils.guicomponents.GUIBase;
import com.brandon3055.draconicevolution.common.handler.ConfigHandler;
/**
@@ -25,22 +25,22 @@ import org.apache.commons.io.IOUtils;
import org.lwjgl.input.Keyboard;
import org.lwjgl.opengl.GL11;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentBase;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentButton;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentCollection;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentTextureButton;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentTexturedRect;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.GUIScrollingBase;
import com.brandon3055.draconicevolution.brandonscore.client.utills.ClientUtills;
import com.brandon3055.draconicevolution.brandonscore.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.client.gui.guicomponents.ComponentContributorsPage;
import com.brandon3055.draconicevolution.client.gui.guicomponents.ComponentIndexButton;
import com.brandon3055.draconicevolution.client.gui.guicomponents.ComponentManualPage;
import com.brandon3055.draconicevolution.client.handler.ResourceHandler;
import com.brandon3055.draconicevolution.client.utils.ClientUtills;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentBase;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentButton;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentCollection;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentTextureButton;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentTexturedRect;
import com.brandon3055.draconicevolution.client.utils.guicomponents.GUIScrollingBase;
import com.brandon3055.draconicevolution.common.container.DummyContainer;
import com.brandon3055.draconicevolution.common.handler.ConfigHandler;
import com.brandon3055.draconicevolution.common.handler.ContributorHandler;
import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.common.utills.LogHelper;
import com.google.gson.stream.JsonReader;
@@ -13,18 +13,18 @@ import net.minecraft.util.StatCollector;
import org.lwjgl.opengl.GL11;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentButton;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentCollection;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentTextureButton;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentTexturedRect;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.GUIBase;
import com.brandon3055.draconicevolution.brandonscore.client.utills.GuiHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.Utills;
import com.brandon3055.draconicevolution.client.handler.ResourceHandler;
import com.brandon3055.draconicevolution.client.utils.GuiHelper;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentButton;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentCollection;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentTextureButton;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentTexturedRect;
import com.brandon3055.draconicevolution.client.utils.guicomponents.GUIBase;
import com.brandon3055.draconicevolution.common.container.ContainerReactor;
import com.brandon3055.draconicevolution.common.handler.ConfigHandler;
import com.brandon3055.draconicevolution.common.tileentities.multiblocktiles.reactor.TileReactorCore;
import com.brandon3055.draconicevolution.common.tileentities.multiblocktiles.reactor.TileReactorCore.ReactorState;
import com.brandon3055.draconicevolution.common.utills.Utills;
/**
* Created by brandon3055 on 30/7/2015.
@@ -14,18 +14,17 @@ import net.minecraft.util.StatCollector;
import net.minecraft.util.StringUtils;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentBase;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentButton;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentCollection;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentItemRenderer;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentTextField;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentTexturedRect;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.GUIBase;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.client.gui.GuiHudConfig;
import com.brandon3055.draconicevolution.client.gui.guicomponents.ComponentConfigItemButton;
import com.brandon3055.draconicevolution.client.gui.guicomponents.ComponentFieldAdjuster;
import com.brandon3055.draconicevolution.client.gui.guicomponents.ComponentFieldButton;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentBase;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentButton;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentCollection;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentItemRenderer;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentTextField;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentTexturedRect;
import com.brandon3055.draconicevolution.client.utils.guicomponents.GUIBase;
import com.brandon3055.draconicevolution.common.container.ContainerAdvTool;
import com.brandon3055.draconicevolution.common.handler.ContributorHandler;
import com.brandon3055.draconicevolution.common.items.weapons.BowHandler;
@@ -35,6 +34,7 @@ import com.brandon3055.draconicevolution.common.network.ItemConfigPacket;
import com.brandon3055.draconicevolution.common.utills.IConfigurableItem;
import com.brandon3055.draconicevolution.common.utills.IInventoryTool;
import com.brandon3055.draconicevolution.common.utills.ItemConfigField;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
/**
* Created by Brandon on 26/12/2014.
@@ -6,12 +6,12 @@ import net.minecraft.util.ResourceLocation;
import org.lwjgl.opengl.GL11;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentButton;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentCollection;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentItemRenderer;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentSlotBackground;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentTexturedRect;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.GUIBase;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentButton;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentCollection;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentItemRenderer;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentSlotBackground;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentTexturedRect;
import com.brandon3055.draconicevolution.client.utils.guicomponents.GUIBase;
import com.brandon3055.draconicevolution.common.container.ContainerAdvTool;
import com.brandon3055.draconicevolution.common.lib.References;
@@ -9,7 +9,7 @@ import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.util.ResourceLocation;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentBase;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentBase;
import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.utills.IConfigurableItem;
import com.brandon3055.draconicevolution.common.utills.IInventoryTool;
@@ -17,13 +17,13 @@ import net.minecraft.util.StringUtils;
import org.lwjgl.opengl.GL11;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentScrollingBase;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.GUIScrollingBase;
import com.brandon3055.draconicevolution.brandonscore.client.utills.ClientUtills;
import com.brandon3055.draconicevolution.brandonscore.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.client.handler.ResourceHandler;
import com.brandon3055.draconicevolution.client.utils.ClientUtills;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentScrollingBase;
import com.brandon3055.draconicevolution.client.utils.guicomponents.GUIScrollingBase;
import com.brandon3055.draconicevolution.common.handler.ContributorHandler;
import com.brandon3055.draconicevolution.common.handler.ContributorHandler.Contributor;
import com.brandon3055.draconicevolution.common.utills.InfoHelper;
/**
* Created by brandon3055 on 5/11/2015.
@@ -6,11 +6,11 @@ import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.StatCollector;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentBase;
import com.brandon3055.draconicevolution.brandonscore.client.utills.GuiHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.DataUtills;
import com.brandon3055.draconicevolution.client.gui.componentguis.GUIToolConfig;
import com.brandon3055.draconicevolution.client.utils.GuiHelper;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentBase;
import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.utills.DataUtills;
import com.brandon3055.draconicevolution.common.utills.IConfigurableItem;
import com.brandon3055.draconicevolution.common.utills.ItemConfigField;
@@ -9,10 +9,10 @@ import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentBase;
import com.brandon3055.draconicevolution.brandonscore.common.utills.DataUtills;
import com.brandon3055.draconicevolution.client.gui.componentguis.GUIToolConfig;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentBase;
import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.utills.DataUtills;
import com.brandon3055.draconicevolution.common.utills.IConfigurableItem;
import com.brandon3055.draconicevolution.common.utills.ItemConfigField;
@@ -6,11 +6,11 @@ import net.minecraft.item.ItemStack;
import org.lwjgl.opengl.GL11;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentScrollingBase;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.GUIScrollingBase;
import com.brandon3055.draconicevolution.brandonscore.common.utills.Utills;
import com.brandon3055.draconicevolution.client.gui.componentguis.ManualPage;
import com.brandon3055.draconicevolution.client.handler.ResourceHandler;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentScrollingBase;
import com.brandon3055.draconicevolution.client.utils.guicomponents.GUIScrollingBase;
import com.brandon3055.draconicevolution.common.utills.Utills;
/**
* Created by Brandon on 7/03/2015.
@@ -21,14 +21,14 @@ import net.minecraftforge.oredict.ShapelessOreRecipe;
import org.apache.commons.io.FilenameUtils;
import org.lwjgl.opengl.GL11;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.ComponentScrollingBase;
import com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents.GUIScrollingBase;
import com.brandon3055.draconicevolution.brandonscore.client.utills.GuiHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.Utills;
import com.brandon3055.draconicevolution.client.gui.componentguis.ManualPage;
import com.brandon3055.draconicevolution.client.handler.ResourceHandler;
import com.brandon3055.draconicevolution.client.utill.CustomResourceLocation;
import com.brandon3055.draconicevolution.client.utils.CustomResourceLocation;
import com.brandon3055.draconicevolution.client.utils.GuiHelper;
import com.brandon3055.draconicevolution.client.utils.guicomponents.ComponentScrollingBase;
import com.brandon3055.draconicevolution.client.utils.guicomponents.GUIScrollingBase;
import com.brandon3055.draconicevolution.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.common.utills.Utills;
/**
* Created by Brandon on 19/03/2015.
@@ -21,7 +21,6 @@ import net.minecraftforge.client.model.IModelCustom;
import org.lwjgl.opengl.GL11;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.DataUtills;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.handler.ConfigHandler;
import com.brandon3055.draconicevolution.common.handler.ContributorHandler;
@@ -32,6 +31,7 @@ import com.brandon3055.draconicevolution.common.items.weapons.BowHandler;
import com.brandon3055.draconicevolution.common.items.weapons.DraconicBow;
import com.brandon3055.draconicevolution.common.items.weapons.WyvernBow;
import com.brandon3055.draconicevolution.common.network.MountUpdatePacket;
import com.brandon3055.draconicevolution.common.utills.DataUtills;
import com.brandon3055.draconicevolution.common.utills.LogHelper;
import cpw.mods.fml.common.eventhandler.EventPriority;
@@ -16,8 +16,8 @@ import net.minecraftforge.client.event.RenderGameOverlayEvent;
import org.lwjgl.opengl.GL11;
import com.brandon3055.draconicevolution.brandonscore.client.utills.GuiHelper;
import com.brandon3055.draconicevolution.client.gui.GuiHudConfig;
import com.brandon3055.draconicevolution.client.utils.GuiHelper;
import com.brandon3055.draconicevolution.common.handler.ConfigHandler;
import com.brandon3055.draconicevolution.common.items.armor.CustomArmorHandler;
import com.brandon3055.draconicevolution.common.utills.IHudDisplayBlock;
@@ -26,7 +26,7 @@ import net.minecraft.util.ResourceLocation;
import org.apache.commons.io.FilenameUtils;
import com.brandon3055.draconicevolution.client.gui.componentguis.GUIManual;
import com.brandon3055.draconicevolution.client.utill.CustomResourceLocation;
import com.brandon3055.draconicevolution.client.utils.CustomResourceLocation;
import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.utills.LogHelper;
import com.google.common.io.ByteStreams;
@@ -14,7 +14,6 @@ import net.minecraft.util.MovingObjectPosition;
import org.lwjgl.input.Mouse;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.items.tools.Magnet;
import com.brandon3055.draconicevolution.common.items.tools.baseclasses.ToolHandler;
@@ -25,6 +24,7 @@ import com.brandon3055.draconicevolution.common.network.PlacedItemPacket;
import com.brandon3055.draconicevolution.common.network.TeleporterPacket;
import com.brandon3055.draconicevolution.common.utills.IConfigurableItem;
import com.brandon3055.draconicevolution.common.utills.InventoryUtils;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.integration.ModHelper;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
@@ -10,7 +10,7 @@ import net.minecraftforge.client.IItemRenderer;
import org.lwjgl.opengl.GL11;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.utills.LogHelper;
public class RenderMobSoul implements IItemRenderer {
@@ -10,10 +10,10 @@ import net.minecraft.world.World;
import org.lwjgl.opengl.GL11;
import com.brandon3055.draconicevolution.brandonscore.common.utills.Utills;
import com.brandon3055.draconicevolution.client.handler.ClientEventHandler;
import com.brandon3055.draconicevolution.client.handler.ResourceHandler;
import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.utills.Utills;
/**
* Created by Brandon on 8/02/2015.
@@ -11,10 +11,10 @@ import net.minecraftforge.client.model.IModelCustom;
import org.lwjgl.opengl.GL11;
import com.brandon3055.draconicevolution.brandonscore.common.utills.Utills;
import com.brandon3055.draconicevolution.client.handler.ResourceHandler;
import com.brandon3055.draconicevolution.common.entity.EntityDragonProjectile;
import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.utills.Utills;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
@@ -20,13 +20,13 @@ import net.minecraft.util.ResourceLocation;
import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.Utills;
import com.brandon3055.draconicevolution.client.model.ModelTeleporterStand;
import com.brandon3055.draconicevolution.common.handler.ConfigHandler;
import com.brandon3055.draconicevolution.common.items.tools.TeleporterMKII;
import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.tileentities.TileTeleporterStand;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.utills.Utills;
/**
* Created by Brandon on 25/10/2014.
@@ -1,4 +1,4 @@
package com.brandon3055.draconicevolution.brandonscore.client.utills;
package com.brandon3055.draconicevolution.client.utils;
import java.net.URI;
@@ -1,4 +1,4 @@
package com.brandon3055.draconicevolution.client.utill;
package com.brandon3055.draconicevolution.client.utils;
import net.minecraft.util.ResourceLocation;
@@ -1,4 +1,4 @@
package com.brandon3055.draconicevolution.brandonscore.client.utills;
package com.brandon3055.draconicevolution.client.utils;
import java.util.Iterator;
import java.util.List;
@@ -1,4 +1,4 @@
package com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents;
package com.brandon3055.draconicevolution.client.utils.guicomponents;
/**
* Created by Brandon on 25/12/2014. This gui system is based on open blocks gui system
@@ -1,4 +1,4 @@
package com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents;
package com.brandon3055.draconicevolution.client.utils.guicomponents;
import java.util.ArrayList;
import java.util.List;
@@ -1,4 +1,4 @@
package com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents;
package com.brandon3055.draconicevolution.client.utils.guicomponents;
import java.util.ArrayList;
import java.util.List;
@@ -1,4 +1,4 @@
package com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents;
package com.brandon3055.draconicevolution.client.utils.guicomponents;
import net.minecraft.client.Minecraft;
import net.minecraft.item.ItemStack;
@@ -1,4 +1,4 @@
package com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents;
package com.brandon3055.draconicevolution.client.utils.guicomponents;
/**
* Created by Brandon on 6/03/2015.
@@ -1,4 +1,4 @@
package com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents;
package com.brandon3055.draconicevolution.client.utils.guicomponents;
import net.minecraft.client.Minecraft;
import net.minecraft.util.ResourceLocation;
@@ -1,4 +1,4 @@
package com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents;
package com.brandon3055.draconicevolution.client.utils.guicomponents;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiTextField;
@@ -1,4 +1,4 @@
package com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents;
package com.brandon3055.draconicevolution.client.utils.guicomponents;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.OpenGlHelper;
@@ -1,4 +1,4 @@
package com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents;
package com.brandon3055.draconicevolution.client.utils.guicomponents;
import net.minecraft.client.Minecraft;
import net.minecraft.util.ResourceLocation;
@@ -1,4 +1,4 @@
package com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents;
package com.brandon3055.draconicevolution.client.utils.guicomponents;
/**
* Created by Brandon on 25/12/2014. This class is copied from open blocks
@@ -1,4 +1,4 @@
package com.brandon3055.draconicevolution.brandonscore.client.gui.guicomponents;
package com.brandon3055.draconicevolution.client.utils.guicomponents;
import net.minecraft.inventory.Container;
@@ -10,8 +10,6 @@ import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.oredict.OreDictionary;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.handlers.FileHandler;
import com.brandon3055.draconicevolution.brandonscore.common.handlers.ProcessHandler;
import com.brandon3055.draconicevolution.client.creativetab.DETab;
import com.brandon3055.draconicevolution.client.gui.GuiHandler;
import com.brandon3055.draconicevolution.client.render.particle.ParticleEnergyBeam;
@@ -95,6 +93,8 @@ import com.brandon3055.draconicevolution.common.tileentities.multiblocktiles.rea
import com.brandon3055.draconicevolution.common.tileentities.multiblocktiles.reactor.TileReactorStabilizer;
import com.brandon3055.draconicevolution.common.utills.DragonChunkLoader;
import com.brandon3055.draconicevolution.common.utills.LogHelper;
import com.brandon3055.draconicevolution.common.utills.handlers.FileHandler;
import com.brandon3055.draconicevolution.common.utills.handlers.ProcessHandler;
import com.brandon3055.draconicevolution.common.world.DraconicWorldGenerator;
import com.brandon3055.draconicevolution.integration.computers.CCOCIntegration;
@@ -9,9 +9,9 @@ import net.minecraft.util.StatCollector;
import net.minecraftforge.common.AchievementPage;
import net.minecraftforge.event.entity.player.EntityItemPickupEvent;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.ModBlocks;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.gameevent.PlayerEvent;
@@ -10,7 +10,7 @@ import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
import com.brandon3055.draconicevolution.brandonscore.common.utills.InventoryUtils;
import com.brandon3055.draconicevolution.common.utills.InventoryUtils;
import com.google.common.collect.Lists;
/**
@@ -13,13 +13,13 @@ import net.minecraft.world.World;
import net.minecraftforge.common.util.ForgeDirection;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.ModBlocks;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.blocks.itemblocks.CKeyStoneItemBlock;
import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.lib.Strings;
import com.brandon3055.draconicevolution.common.tileentities.TileCKeyStone;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
@@ -24,14 +24,14 @@ import net.minecraft.world.World;
import net.minecraftforge.common.util.ForgeDirection;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.ModBlocks;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.handler.ConfigHandler;
import com.brandon3055.draconicevolution.common.lib.Strings;
import com.brandon3055.draconicevolution.common.tileentities.TileCustomSpawner;
import com.brandon3055.draconicevolution.common.utills.IHudDisplayBlock;
import com.brandon3055.draconicevolution.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.utills.LogHelper;
import cpw.mods.fml.relauncher.Side;
@@ -15,12 +15,12 @@ import net.minecraft.util.MovingObjectPosition;
import net.minecraft.world.World;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.Teleporter;
import com.brandon3055.draconicevolution.common.ModBlocks;
import com.brandon3055.draconicevolution.common.items.tools.TeleporterMKI;
import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.lib.Strings;
import com.brandon3055.draconicevolution.common.tileentities.TileTeleporterStand;
import com.brandon3055.draconicevolution.common.utills.Teleporter;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
@@ -21,7 +21,6 @@ import net.minecraft.world.World;
import net.minecraftforge.common.util.ForgeDirection;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.common.ModBlocks;
import com.brandon3055.draconicevolution.common.blocks.BlockDE;
import com.brandon3055.draconicevolution.common.blocks.itemblocks.EnergyCrystalItemBlock;
@@ -34,6 +33,7 @@ import com.brandon3055.draconicevolution.common.tileentities.energynet.TileEnerg
import com.brandon3055.draconicevolution.common.tileentities.energynet.TileRemoteEnergyBase;
import com.brandon3055.draconicevolution.common.tileentities.energynet.TileWirelessEnergyTransceiver;
import com.brandon3055.draconicevolution.common.utills.IHudDisplayBlock;
import com.brandon3055.draconicevolution.common.utills.InfoHelper;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
@@ -18,7 +18,6 @@ import net.minecraft.world.World;
import net.minecraftforge.common.util.ForgeDirection;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.Utills;
import com.brandon3055.draconicevolution.client.gui.GuiHandler;
import com.brandon3055.draconicevolution.common.ModBlocks;
import com.brandon3055.draconicevolution.common.ModItems;
@@ -28,6 +27,7 @@ import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.tileentities.gates.TileFluidGate;
import com.brandon3055.draconicevolution.common.tileentities.gates.TileFluxGate;
import com.brandon3055.draconicevolution.common.tileentities.gates.TileGate;
import com.brandon3055.draconicevolution.common.utills.Utills;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
@@ -13,11 +13,11 @@ import net.minecraft.world.World;
import net.minecraftforge.common.util.ForgeDirection;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.Utills;
import com.brandon3055.draconicevolution.common.ModBlocks;
import com.brandon3055.draconicevolution.common.blocks.BlockDE;
import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.tileentities.multiblocktiles.reactor.TileReactorEnergyInjector;
import com.brandon3055.draconicevolution.common.utills.Utills;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
@@ -12,12 +12,12 @@ import net.minecraft.world.World;
import net.minecraftforge.common.util.ForgeDirection;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.Utills;
import com.brandon3055.draconicevolution.common.ModBlocks;
import com.brandon3055.draconicevolution.common.blocks.BlockDE;
import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.tileentities.multiblocktiles.reactor.TileReactorCore;
import com.brandon3055.draconicevolution.common.tileentities.multiblocktiles.reactor.TileReactorStabilizer;
import com.brandon3055.draconicevolution.common.utills.Utills;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
@@ -9,9 +9,9 @@ import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.inventory.SlotOutput;
import com.brandon3055.draconicevolution.common.tileentities.TileDissEnchanter;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.integration.ModHelper;
public class ContainerDissEnchanter extends Container {
@@ -5,9 +5,9 @@ import java.util.Random;
import net.minecraft.util.DamageSource;
import net.minecraft.world.World;
import com.brandon3055.draconicevolution.brandonscore.common.handlers.IProcess;
import com.brandon3055.draconicevolution.brandonscore.common.handlers.ProcessHandler;
import com.brandon3055.draconicevolution.brandonscore.common.utills.Utills;
import com.brandon3055.draconicevolution.common.utills.Utills;
import com.brandon3055.draconicevolution.common.utills.handlers.IProcess;
import com.brandon3055.draconicevolution.common.utills.handlers.ProcessHandler;
/**
* Created by brandon3055 on 12/8/2015.
@@ -7,8 +7,8 @@ import net.minecraft.entity.Entity;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.world.World;
import com.brandon3055.draconicevolution.brandonscore.common.handlers.IProcess;
import com.brandon3055.draconicevolution.common.tileentities.multiblocktiles.reactor.ReactorExplosion;
import com.brandon3055.draconicevolution.common.utills.handlers.IProcess;
/**
* Created by brandon3055 on 12/8/2015.
@@ -7,9 +7,9 @@ import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.World;
import com.brandon3055.draconicevolution.brandonscore.common.utills.Utills;
import com.brandon3055.draconicevolution.common.blocks.multiblock.MultiblockHelper;
import com.brandon3055.draconicevolution.common.utills.LogHelper;
import com.brandon3055.draconicevolution.common.utills.Utills;
/**
* Created by Brandon on 14/09/2014.
@@ -25,11 +25,11 @@ import net.minecraft.util.Vec3;
import net.minecraft.util.WeightedRandom;
import net.minecraft.world.World;
import com.brandon3055.draconicevolution.brandonscore.common.utills.Utills;
import com.brandon3055.draconicevolution.common.handler.ConfigHandler;
import com.brandon3055.draconicevolution.common.tileentities.TileChaosShard;
import com.brandon3055.draconicevolution.common.utills.DamageSourceChaos;
import com.brandon3055.draconicevolution.common.utills.DragonChunkLoader;
import com.brandon3055.draconicevolution.common.utills.Utills;
/**
* Created by Brandon on 4/07/2014.
@@ -8,9 +8,9 @@ import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.World;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.handlers.ProcessHandler;
import com.brandon3055.draconicevolution.client.render.particle.Particles;
import com.brandon3055.draconicevolution.common.network.GenericParticlePacket;
import com.brandon3055.draconicevolution.common.utills.handlers.ProcessHandler;
import cpw.mods.fml.common.network.NetworkRegistry;
@@ -13,13 +13,13 @@ import net.minecraft.util.AxisAlignedBB;
import net.minecraft.util.DamageSource;
import net.minecraft.world.World;
import com.brandon3055.draconicevolution.brandonscore.common.utills.Utills;
import com.brandon3055.draconicevolution.client.handler.ParticleHandler;
import com.brandon3055.draconicevolution.client.render.particle.Particles;
import com.brandon3055.draconicevolution.common.ModBlocks;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.blocks.DraconiumBlock;
import com.brandon3055.draconicevolution.common.blocks.multiblock.MultiblockHelper.TileLocation;
import com.brandon3055.draconicevolution.common.utills.Utills;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
@@ -18,11 +18,11 @@ import net.minecraft.util.Vec3;
import net.minecraft.world.World;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.Teleporter;
import com.brandon3055.draconicevolution.brandonscore.common.utills.Utills;
import com.brandon3055.draconicevolution.client.handler.ParticleHandler;
import com.brandon3055.draconicevolution.client.render.particle.Particles;
import com.brandon3055.draconicevolution.common.network.GenericParticlePacket;
import com.brandon3055.draconicevolution.common.utills.Teleporter;
import com.brandon3055.draconicevolution.common.utills.Utills;
import cofh.api.energy.IEnergyContainerItem;
import cpw.mods.fml.common.network.NetworkRegistry;
@@ -18,7 +18,7 @@ import net.minecraft.world.World;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.event.entity.living.EnderTeleportEvent;
import com.brandon3055.draconicevolution.brandonscore.common.utills.Utills;
import com.brandon3055.draconicevolution.common.utills.Utills;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
@@ -20,11 +20,11 @@ import org.apache.commons.io.IOUtils;
import org.lwjgl.opengl.GL11;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.handlers.FileHandler;
import com.brandon3055.draconicevolution.client.handler.ResourceHandler;
import com.brandon3055.draconicevolution.client.model.special.ModelContributorWings;
import com.brandon3055.draconicevolution.common.network.ContributorPacket;
import com.brandon3055.draconicevolution.common.utills.LogHelper;
import com.brandon3055.draconicevolution.common.utills.handlers.FileHandler;
import com.google.common.base.Charsets;
import com.google.gson.stream.JsonReader;
@@ -8,9 +8,9 @@ import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.ShapedOreRecipe;
import net.minecraftforge.oredict.ShapelessOreRecipe;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.ModBlocks;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.utills.LogHelper;
import com.brandon3055.draconicevolution.common.utills.ShapedOreEnergyRecipe;
@@ -46,10 +46,6 @@ import net.minecraftforge.event.entity.player.PlayerUseItemEvent;
import net.minecraftforge.event.world.WorldEvent;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.handlers.ProcessHandler;
import com.brandon3055.draconicevolution.brandonscore.common.utills.DataUtills;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.Utills;
import com.brandon3055.draconicevolution.common.ModBlocks;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.achievements.Achievements;
@@ -60,7 +56,11 @@ import com.brandon3055.draconicevolution.common.items.armor.CustomArmorHandler;
import com.brandon3055.draconicevolution.common.network.MountUpdatePacket;
import com.brandon3055.draconicevolution.common.network.SpeedRequestPacket;
import com.brandon3055.draconicevolution.common.tileentities.TileGrinder;
import com.brandon3055.draconicevolution.common.utills.DataUtills;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.utills.LogHelper;
import com.brandon3055.draconicevolution.common.utills.Utills;
import com.brandon3055.draconicevolution.common.utills.handlers.ProcessHandler;
import com.brandon3055.draconicevolution.common.world.ChaosWorldGenHandler;
import cpw.mods.fml.common.eventhandler.EventPriority;
@@ -8,9 +8,9 @@ import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minecraft.util.StringUtils;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.container.ContainerAdvTool;
import com.brandon3055.draconicevolution.common.utills.IInventoryTool;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.utills.LogHelper;
/**
@@ -10,11 +10,11 @@ import net.minecraft.util.StatCollector;
import net.minecraft.world.World;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.common.ModBlocks;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.lib.Strings;
import com.brandon3055.draconicevolution.common.tileentities.TileCustomSpawner;
import com.brandon3055.draconicevolution.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.common.utills.LogHelper;
import cpw.mods.fml.relauncher.Side;
@@ -8,9 +8,9 @@ import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.lib.Strings;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
@@ -15,9 +15,9 @@ import net.minecraft.util.StatCollector;
import net.minecraft.world.World;
import net.minecraftforge.common.util.ForgeDirection;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.lib.Strings;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.utills.LogHelper;
import cpw.mods.fml.relauncher.Side;
@@ -20,11 +20,11 @@ import net.minecraftforge.event.entity.living.LivingDeathEvent;
import net.minecraftforge.event.entity.living.LivingHurtEvent;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.handler.BalanceConfigHandler;
import com.brandon3055.draconicevolution.common.handler.ConfigHandler;
import com.brandon3055.draconicevolution.common.network.ShieldHitPacket;
import com.brandon3055.draconicevolution.common.utills.IUpgradableItem;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.integration.ModHelper;
import cofh.api.energy.IEnergyContainerItem;
@@ -29,8 +29,6 @@ import net.minecraft.world.World;
import net.minecraftforge.common.ISpecialArmor;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.client.model.ModelDraconicArmor;
import com.brandon3055.draconicevolution.client.model.ModelDraconicArmorOld;
import com.brandon3055.draconicevolution.common.ModItems;
@@ -42,7 +40,9 @@ import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.utills.IConfigurableItem;
import com.brandon3055.draconicevolution.common.utills.IInventoryTool;
import com.brandon3055.draconicevolution.common.utills.IUpgradableItem;
import com.brandon3055.draconicevolution.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.common.utills.ItemConfigField;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.integration.ModHelper;
import cpw.mods.fml.common.Loader;
@@ -26,8 +26,6 @@ import net.minecraft.world.World;
import net.minecraftforge.common.ISpecialArmor;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.client.model.ModelDraconicArmorOld;
import com.brandon3055.draconicevolution.client.model.ModelWyvernArmor;
import com.brandon3055.draconicevolution.common.ModItems;
@@ -39,7 +37,9 @@ import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.utills.IConfigurableItem;
import com.brandon3055.draconicevolution.common.utills.IInventoryTool;
import com.brandon3055.draconicevolution.common.utills.IUpgradableItem;
import com.brandon3055.draconicevolution.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.common.utills.ItemConfigField;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.integration.ModHelper;
import cpw.mods.fml.common.Loader;
@@ -13,11 +13,11 @@ import net.minecraft.world.World;
import net.minecraftforge.common.util.ForgeDirection;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.items.ItemDE;
import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.lib.Strings;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.utills.LogHelper;
import cpw.mods.fml.relauncher.Side;
@@ -17,7 +17,6 @@ import net.minecraftforge.client.IItemRenderer;
import org.lwjgl.opengl.GL11;
import com.brandon3055.draconicevolution.brandonscore.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.client.render.IRenderTweak;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.handler.BalanceConfigHandler;
@@ -29,6 +28,7 @@ import com.brandon3055.draconicevolution.common.lib.Strings;
import com.brandon3055.draconicevolution.common.utills.IConfigurableItem;
import com.brandon3055.draconicevolution.common.utills.IInventoryTool;
import com.brandon3055.draconicevolution.common.utills.IUpgradableItem;
import com.brandon3055.draconicevolution.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.common.utills.ItemConfigField;
import cpw.mods.fml.relauncher.Side;
@@ -25,8 +25,6 @@ import net.minecraftforge.event.entity.player.UseHoeEvent;
import org.lwjgl.opengl.GL11;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.client.render.IRenderTweak;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.entity.EntityPersistentItem;
@@ -37,7 +35,9 @@ import com.brandon3055.draconicevolution.common.lib.Strings;
import com.brandon3055.draconicevolution.common.utills.IConfigurableItem;
import com.brandon3055.draconicevolution.common.utills.IHudDisplayItem;
import com.brandon3055.draconicevolution.common.utills.IUpgradableItem;
import com.brandon3055.draconicevolution.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.common.utills.ItemConfigField;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.utills.LogHelper;
import cofh.api.energy.IEnergyContainerItem;
@@ -17,14 +17,14 @@ import net.minecraft.util.StatCollector;
import net.minecraft.world.World;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.handler.BalanceConfigHandler;
import com.brandon3055.draconicevolution.common.items.tools.baseclasses.RFItemBase;
import com.brandon3055.draconicevolution.common.items.tools.baseclasses.ToolBase;
import com.brandon3055.draconicevolution.common.lib.Strings;
import com.brandon3055.draconicevolution.common.utills.IUpgradableItem;
import com.brandon3055.draconicevolution.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import cofh.api.energy.IEnergyContainerItem;
import cpw.mods.fml.relauncher.Side;
@@ -24,16 +24,16 @@ import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.event.entity.player.PlayerPickupXpEvent;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.handler.ConfigHandler;
import com.brandon3055.draconicevolution.common.items.ItemDE;
import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.tileentities.TileDislocatorInhibitor;
import com.brandon3055.draconicevolution.common.utills.IConfigurableItem;
import com.brandon3055.draconicevolution.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.common.utills.InventoryUtils;
import com.brandon3055.draconicevolution.common.utills.ItemConfigField;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.integration.ModHelper;
import com.gtnewhorizon.gtnhlib.GTNHLib;
@@ -12,12 +12,12 @@ import net.minecraft.util.StatCollector;
import net.minecraft.world.World;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.common.ModBlocks;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.items.ItemDE;
import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.lib.Strings;
import com.brandon3055.draconicevolution.common.utills.InfoHelper;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
@@ -16,13 +16,13 @@ import net.minecraft.util.StatCollector;
import net.minecraft.world.World;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.Teleporter;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.entity.EntityPersistentItem;
import com.brandon3055.draconicevolution.common.items.ItemDE;
import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.lib.Strings;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.utills.Teleporter;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
@@ -17,15 +17,15 @@ import net.minecraft.util.StatCollector;
import net.minecraft.world.World;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.Teleporter;
import com.brandon3055.draconicevolution.client.gui.GuiHandler;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.entity.EntityPersistentItem;
import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.lib.Strings;
import com.brandon3055.draconicevolution.common.utills.IHudDisplayItem;
import com.brandon3055.draconicevolution.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.utills.Teleporter;
import cpw.mods.fml.common.network.internal.FMLNetworkHandler;
import cpw.mods.fml.relauncher.Side;
@@ -14,13 +14,13 @@ import net.minecraft.world.World;
import net.minecraftforge.common.util.ForgeDirection;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.items.ItemDE;
import com.brandon3055.draconicevolution.common.lib.Strings;
import com.brandon3055.draconicevolution.common.tileentities.energynet.TileRemoteEnergyBase;
import com.brandon3055.draconicevolution.common.tileentities.energynet.TileWirelessEnergyTransceiver;
import com.brandon3055.draconicevolution.common.utills.IHudDisplayItem;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import cofh.api.energy.IEnergyReceiver;
import cpw.mods.fml.relauncher.Side;
@@ -32,13 +32,13 @@ import net.minecraft.world.World;
import net.minecraftforge.common.ForgeHooks;
import net.minecraftforge.event.world.BlockEvent;
import com.brandon3055.draconicevolution.brandonscore.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.handler.ConfigHandler;
import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.utills.IConfigurableItem;
import com.brandon3055.draconicevolution.common.utills.IUpgradableItem;
import com.brandon3055.draconicevolution.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.common.utills.ItemConfigField;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
/**
* Created by Brandon on 2/01/2015. Modified by bartimaeusnek on 23/05/2018
@@ -15,13 +15,13 @@ import net.minecraft.util.StatCollector;
import net.minecraft.world.World;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.entity.EntityPersistentItem;
import com.brandon3055.draconicevolution.common.items.ItemDE;
import com.brandon3055.draconicevolution.common.utills.IConfigurableItem;
import com.brandon3055.draconicevolution.common.utills.IHudDisplayItem;
import com.brandon3055.draconicevolution.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.common.utills.ItemConfigField;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import cofh.api.energy.IEnergyContainerItem;
import cpw.mods.fml.relauncher.Side;
@@ -20,16 +20,16 @@ import org.lwjgl.input.Keyboard;
import org.lwjgl.input.Mouse;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.DataUtills;
import com.brandon3055.draconicevolution.brandonscore.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.client.keybinding.KeyBindings;
import com.brandon3055.draconicevolution.common.handler.ConfigHandler;
import com.brandon3055.draconicevolution.common.lib.References;
import com.brandon3055.draconicevolution.common.network.ToolModePacket;
import com.brandon3055.draconicevolution.common.utills.DataUtills;
import com.brandon3055.draconicevolution.common.utills.IConfigurableItem;
import com.brandon3055.draconicevolution.common.utills.IUpgradableItem;
import com.brandon3055.draconicevolution.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.common.utills.ItemConfigField;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import com.google.common.collect.Sets;
import cpw.mods.fml.relauncher.Side;
@@ -20,8 +20,6 @@ import net.minecraft.util.StatCollector;
import net.minecraft.world.World;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.entity.EntityPersistentItem;
import com.brandon3055.draconicevolution.common.handler.BalanceConfigHandler;
@@ -32,7 +30,9 @@ import com.brandon3055.draconicevolution.common.lib.Strings;
import com.brandon3055.draconicevolution.common.utills.IHudDisplayItem;
import com.brandon3055.draconicevolution.common.utills.IInventoryTool;
import com.brandon3055.draconicevolution.common.utills.IUpgradableItem;
import com.brandon3055.draconicevolution.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.common.utills.ItemConfigField;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.relauncher.Side;
@@ -23,8 +23,6 @@ import net.minecraftforge.client.IItemRenderer;
import org.lwjgl.opengl.GL11;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.client.render.IRenderTweak;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.entity.EntityPersistentItem;
@@ -38,7 +36,9 @@ import com.brandon3055.draconicevolution.common.utills.IConfigurableItem;
import com.brandon3055.draconicevolution.common.utills.IHudDisplayItem;
import com.brandon3055.draconicevolution.common.utills.IInventoryTool;
import com.brandon3055.draconicevolution.common.utills.IUpgradableItem;
import com.brandon3055.draconicevolution.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.common.utills.ItemConfigField;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import com.google.common.collect.Multimap;
import cpw.mods.fml.common.registry.GameRegistry;
@@ -20,8 +20,6 @@ import net.minecraft.util.StatCollector;
import net.minecraft.world.World;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.entity.EntityPersistentItem;
import com.brandon3055.draconicevolution.common.handler.BalanceConfigHandler;
@@ -32,7 +30,9 @@ import com.brandon3055.draconicevolution.common.lib.Strings;
import com.brandon3055.draconicevolution.common.utills.IHudDisplayItem;
import com.brandon3055.draconicevolution.common.utills.IInventoryTool;
import com.brandon3055.draconicevolution.common.utills.IUpgradableItem;
import com.brandon3055.draconicevolution.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.common.utills.ItemConfigField;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.relauncher.Side;
@@ -24,8 +24,6 @@ import net.minecraftforge.client.IItemRenderer;
import org.lwjgl.opengl.GL11;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.client.render.IRenderTweak;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.entity.EntityPersistentItem;
@@ -39,7 +37,9 @@ import com.brandon3055.draconicevolution.common.utills.IConfigurableItem;
import com.brandon3055.draconicevolution.common.utills.IHudDisplayItem;
import com.brandon3055.draconicevolution.common.utills.IInventoryTool;
import com.brandon3055.draconicevolution.common.utills.IUpgradableItem;
import com.brandon3055.draconicevolution.common.utills.InfoHelper;
import com.brandon3055.draconicevolution.common.utills.ItemConfigField;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import com.google.common.collect.Multimap;
import cpw.mods.fml.common.registry.GameRegistry;
@@ -6,8 +6,6 @@ public final class References {
public static final String MODNAME = "Draconic Evolution";
public static final String VERSION = VersionHandler.FULL_VERSION;
public static final String MCVERSION = VersionHandler.MCVERSION;
public static final String CLIENTPROXYLOCATION = "com.brandon3055.draconicevolution.client.ClientProxy";
public static final String SERVERPROXYLOCATION = "com.brandon3055.draconicevolution.common.CommonProxy";
public static final String GUIFACTORY = "com.brandon3055.draconicevolution.client.gui.DEGUIFactory";
public static final String RESOURCESPREFIX = MODID.toLowerCase() + ":";
@@ -4,7 +4,6 @@ import net.minecraft.inventory.Container;
import net.minecraft.item.ItemStack;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.client.gui.GuiHandler;
import com.brandon3055.draconicevolution.common.container.ContainerDissEnchanter;
import com.brandon3055.draconicevolution.common.container.ContainerDraconiumChest;
@@ -13,6 +12,7 @@ import com.brandon3055.draconicevolution.common.tileentities.TileDissEnchanter;
import com.brandon3055.draconicevolution.common.tileentities.TileDraconiumChest;
import com.brandon3055.draconicevolution.common.tileentities.TileWeatherController;
import com.brandon3055.draconicevolution.common.utills.IConfigurableItem;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import cpw.mods.fml.common.network.simpleimpl.IMessage;
import cpw.mods.fml.common.network.simpleimpl.IMessageHandler;
@@ -5,11 +5,11 @@ import java.util.List;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import com.brandon3055.draconicevolution.brandonscore.common.lib.References;
import com.brandon3055.draconicevolution.brandonscore.common.utills.DataUtills;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.utills.DataUtills;
import com.brandon3055.draconicevolution.common.utills.IConfigurableItem;
import com.brandon3055.draconicevolution.common.utills.ItemConfigField;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.utills.lib.References;
import cpw.mods.fml.common.network.ByteBufUtils;
import cpw.mods.fml.common.network.simpleimpl.IMessage;
@@ -4,8 +4,8 @@ import net.minecraft.client.Minecraft;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import com.brandon3055.draconicevolution.brandonscore.common.utills.DataUtills;
import com.brandon3055.draconicevolution.client.handler.ClientEventHandler;
import com.brandon3055.draconicevolution.common.utills.DataUtills;
import cpw.mods.fml.common.network.simpleimpl.IMessage;
import cpw.mods.fml.common.network.simpleimpl.IMessageHandler;
@@ -1,9 +1,9 @@
package com.brandon3055.draconicevolution.common.network;
import com.brandon3055.draconicevolution.brandonscore.common.utills.PlayerUtils;
import com.brandon3055.draconicevolution.common.handler.ConfigHandler;
import com.brandon3055.draconicevolution.common.handler.MinecraftForgeEventHandler;
import com.brandon3055.draconicevolution.common.utills.LogHelper;
import com.brandon3055.draconicevolution.common.utills.PlayerUtils;
import cpw.mods.fml.common.network.simpleimpl.IMessage;
import cpw.mods.fml.common.network.simpleimpl.IMessageHandler;
@@ -6,10 +6,10 @@ import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import com.brandon3055.draconicevolution.DraconicEvolution;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.brandonscore.common.utills.Teleporter;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.handler.ConfigHandler;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.utills.Teleporter;
import cpw.mods.fml.common.network.ByteBufUtils;
import cpw.mods.fml.common.network.simpleimpl.IMessage;
@@ -2,9 +2,9 @@ package com.brandon3055.draconicevolution.common.network;
import net.minecraft.client.Minecraft;
import com.brandon3055.draconicevolution.brandonscore.common.utills.DataUtills;
import com.brandon3055.draconicevolution.common.container.ContainerDataSync;
import com.brandon3055.draconicevolution.common.tileentities.TileObjectSync;
import com.brandon3055.draconicevolution.common.utills.DataUtills;
import cpw.mods.fml.common.network.simpleimpl.IMessage;
import cpw.mods.fml.common.network.simpleimpl.IMessageHandler;
@@ -10,8 +10,8 @@ import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.ChatComponentText;
import net.minecraft.util.ChatComponentTranslation;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.ModItems;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
/**
* Created by Brandon on 27/08/2014.
@@ -17,7 +17,7 @@ import net.minecraft.network.play.server.S35PacketUpdateTileEntity;
import net.minecraft.tileentity.TileEntity;
import net.minecraftforge.common.ForgeHooks;
import com.brandon3055.draconicevolution.brandonscore.common.utills.ItemNBTHelper;
import com.brandon3055.draconicevolution.common.utills.ItemNBTHelper;
/**
* Created by Brandon on 27/06/2014.
Loaded 100 of 128 files, more files were not shown because too many files have changed in this diff. Show more