This file contains 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 test; | |
import java.io.File; | |
import java.util.List; | |
import net.minecraft.launchwrapper.ITweaker; | |
import net.minecraft.launchwrapper.LaunchClassLoader; | |
public class TestTweaker implements ITweaker { |
This file contains 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.datatransfer.DataFlavor; | |
import java.awt.datatransfer.UnsupportedFlavorException; | |
import java.awt.dnd.*; | |
import java.io.File; | |
import java.io.IOException; | |
import java.util.List; | |
public abstract class FileDropListener implements DropTargetListener { |
This file contains 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
{ | |
"name": "tmi", | |
"version": "2015-02-14_1.8", | |
"revision": "20150214", | |
"mcversion": "1.8", | |
"classTransformerClasses": "TMIForgeTransformer" | |
} |
This file contains 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 structure; | |
import java.io.File; | |
import java.io.IOException; | |
import java.util.HashMap; | |
import java.util.Map; | |
import java.util.Map.Entry; | |
import com.mojang.nbt.CompoundTag; | |
import com.mojang.nbt.ListTag; |
This file contains 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
# HD Skins en_US.lang file | |
hdskins.choose=Choose a file | |
hdskins.manager=HD Skin Manager | |
hdskins.error=ERROR\: | |
hdskins.error.unreadable=File not readable | |
hdskins.error.ext=File not PNG | |
hdskins.error.open=Error opening skin file | |
hdskins.error.invalid=Not a valid skin file | |
hdskins.error.select=Please select a skin first | |
hdskins.error.mojang=Mojang API Error |
This file contains 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 BoolTimer { | |
private final long expire; | |
private boolean b; | |
private long time; | |
public BoolTimer(long expire) { | |
if (expire < 0) throw new IllegalArgumentException("Expiration cannot be negative"); | |
this.expire = expire; |
This file contains 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 mnm.mods.tabbychat.compat.macros; | |
import com.google.common.eventbus.Subscribe; | |
import com.mumfrey.liteloader.transformers.event.EventInfo; | |
import mnm.mods.tabbychat.api.events.InputEvent; | |
import mnm.mods.tabbychat.api.events.ScreenEvent; | |
import net.eq2online.macros.core.MacroModCore; | |
import net.minecraft.client.gui.GuiChat; |
This file contains 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
def props = new Properties() | |
File propFile = new File('comments.properties') | |
propFile.withInputStream { props.load it } | |
def list = [] | |
props.each { name, weight -> | |
weight = weight.toInteger() | |
for (i in 1..weight) { | |
list += [name] | |
} |
This file contains 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
reobf { | |
// the name of a Jar task | |
jar { | |
// for notch names | |
useNotchSrg() // Deprecated in 2.1. Use mappingType | |
// or for srg names | |
useSrgSrg() // Deprecated in 2.1. Use mappingType | |
// in latest |
This file contains 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
@@ -69,37 +69,49 @@ | |
- flag = block.func_149716_u() && this.field_78531_r.field_71441_e.func_175625_s(blockpos) instanceof IInventory; | |
+ flag = block.hasTileEntity(this.field_78531_r.field_71441_e.func_180495_p(blockpos)) && this.field_78531_r.field_71441_e.func_175625_s(blockpos) instanceof IInventory; | |
} | |
else | |
{ | |
-@@ -1314,7 +1311,9 @@ | |
+@@ -1276,11 +1273,6 @@ | |
+ this.func_78468_a(0, p_175068_2_); | |
+ GlStateManager.func_179103_j(7425); |