Move CarvableHelper to API

This commit is contained in:
tterrag1098 committed 2015-04-24 17:05:12 -04:00
1 parent 8abc50634b
commit 66d79e9d99
33 files changed
+216 -220

No files matched your search

@@ -4,8 +4,6 @@ import java.util.HashMap;
import java.util.Random;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.texture.TextureMap;
import net.minecraft.util.IIcon;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.World;
@@ -19,10 +17,6 @@ public class GeneralClient {
Minecraft.getMinecraft().theWorld.playSound(x + 0.5, y + 0.5, z + 0.5, sound, 0.3f + 0.7f * rand.nextFloat(), 0.6f + 0.4f * rand.nextFloat(), true);
}
public static IIcon getMissingIcon() {
return ((TextureMap) Minecraft.getMinecraft().getTextureManager().getTexture(TextureMap.locationBlocksTexture)).getAtlasSprite("missingno");
}
static HashMap<String, ResourceLocation> resources = new HashMap<String, ResourceLocation>();
public static void bind(String textureName) {