This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class RectsArea { | |
| public static long area(java.awt.Rectangle... rects) { | |
| if (rects == null) | |
| return 0; | |
| java.awt.Rectangle massArea = null; | |
| for (java.awt.Rectangle r : rects) | |
| if (massArea == null) | |
| massArea = r; | |
| else | |
| massArea = massArea.union(r); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.Map; | |
| import net.minecraft.client.renderer.texture.IconRegister; | |
| import net.minecraft.util.Icon; | |
| import com.google.common.collect.Maps; | |
| public class ItemTexture { | |
| public static final ItemTexture INSTANCE = new ItemTexture(); | |
| private final Map<Integer, Map<Integer, String>> map; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public ItemStack transferStackInSlot(EntityPlayer par1EntityPlayer, int par2) { | |
| ItemStack itemstack = null; | |
| Slot slot = (Slot)this.inventorySlots.get(par2); | |
| if (slot != null && slot.getHasStack()) { | |
| ItemStack itemstack1 = slot.getStack(); | |
| itemstack = itemstack1.copy(); | |
| if (par2 < this.tile.getSizeInventory()) | |
| if (!this.mergeItemStack(itemstack1, this.tile.getSizeInventory(), this.inventorySlots.size(), true)) | |
| return null; | |
| else if (!this.mergeItemStack(itemstack1, 0, this.tile.getSizeInventory(), false)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package net.minecraftforge.common; | |
| import java.util.List; | |
| import java.util.Map; | |
| import net.minecraft.block.Block; | |
| import net.minecraft.item.Item; | |
| import net.minecraft.item.ItemStack; | |
| import net.minecraft.item.crafting.IRecipe; | |
| import net.minecraft.item.crafting.ShapedRecipes; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "ic_part":"7400", | |
| "description":"quad 2-input NAND gate", | |
| "pin_count":14, | |
| "pins": [ | |
| { | |
| "pin":1, | |
| "name":"1A", | |
| "description":"Input A of gate 1", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.unh0lytigg.circuitboards.guisystem; | |
| import org.unh0lytigg.circuitboards.inventory.ContainerConfiguration; | |
| public enum GuiIDs { | |
| BUILDER, | |
| SIMULATOR, | |
| CHIPSELECTOR, | |
| TOOLBOX, | |
| TOOLBOX_LARGE, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.awt.image.BufferedImage; | |
| import java.io.File; | |
| import java.io.FileNotFoundException; | |
| import java.io.IOException; | |
| import java.io.PrintWriter; | |
| import java.text.SimpleDateFormat; | |
| import java.util.ArrayList; | |
| import java.util.Date; | |
| import java.util.HashSet; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GL11.glDepthFunc(GL11.GL_EQUAL); | |
| GL11.glDisable(GL11.GL_LIGHTING); | |
| GL11.glBindTexture(glintTextureId); | |
| GL11.glEnable(GL11.GL_BLEND); | |
| if (GLContext.getCapabilities().OpenGL14) { | |
| if (GLContext.getCapabilities().GL_EXT_blend_func_separate) { | |
| EXTBlendFuncSeparate.glBlendFuncSeparateEXT(GL11.GL_SRC_COLOR, GL11.GL_ONE, GL11.GL_ONE, GL11.GL_ZERO); | |
| } else { | |
| GL14.glBlendFuncSeparate(GL11.GL_SRC_COLOR, GL11.GL_ONE, GL11.GL_ONE, GL11.GL_ZERO); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| configurations { | |
| attachThisSource | |
| } | |
| dependencies { | |
| compile 'codechicken:CodeChickenCore:1.7.10-1.0.2.11:dev' | |
| compile 'codechicken:CodeChickenLib:1.7.10-1.1.1.95:dev' | |
| compile 'codechicken:ForgeMultipart:1.7.10-1.1.0.297:dev' | |
| compile 'codechicken:NotEnoughItems:1.7.10-1.0.2.28:dev' | |
| attachThisSource 'codechicken:CodeChickenCore:1.7.10-1.0.2.11:src' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <body> | |
| <header> | |
| <a href="index.html" id="logo"> | |
| <h1>Unh0ly_Tigg</h1> | |
| <h2>Minecraft Modding</h2> | |
| </a> | |
| <nav> | |
| <ul> | |
| <li><a href="index.html" class="selected">Home</a></li> | |
| <li><a href="mods.html">Mods</a></li> |
OlderNewer