Skip to content

Instantly share code, notes, and snippets.

package securecraftprotect.client.renderer.tile;
import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.util.IIcon;
import net.minecraft.world.IBlockAccess;
import securecraftprotect.common.tile.TileChair;
import securecraftprotect.common.tile.TileDesk;
package securecraftprotect.common.tile;
import net.minecraft.block.Block;
import net.minecraft.block.BlockContainer;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
package securecraftprotect.common.tileentity;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
public class TileEntityChair extends TileEntity
{
public int dir;
public TileEntityChair() {}
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'
@hanetzer
hanetzer / PKGBUILD
Created June 15, 2014 06:53
Gradle split PKGBUILD
# Maintainer Simon Legner <[email protected]>
# Maintainer: Chris Molozian (novabyte) <chris DOT molozian AT gmail DOT com>
# Contributor: Sanjuro Makabe (itti) <vuck AT gmx DOT de>
pkgname=('gradle' 'gradle-doc')
pkgver=1.12
pkgrel=0
arch=('any')
url=("http://www.gradle.org/")
license=('APACHE')
depends=('java-environment')
@hanetzer
hanetzer / mkxp.log
Created June 12, 2014 10:08
Backtrace with debugging symbols available:
(gdb) Undefined command: "". Try "help".
(gdb)
Thread 16 (Thread 4728.0x1468):
#0 0x0000000077730591 in ntdll!DbgBreakPoint ()
from C:\Windows\system32\ntdll.dll
#1 0x00000000777d7f48 in ntdll!DbgUiRemoteBreakin ()
from C:\Windows\system32\ntdll.dll
#2 0x00000000774d59ed in KERNEL32!BaseThreadInitThunk ()
from C:\Windows\system32\kernel32.dll
#3 0x000000007770c541 in ntdll!RtlUserThreadStart ()
@hanetzer
hanetzer / mkxp.log.1
Last active August 29, 2015 14:02
gdb backtrace
Starting program: C:\Users\The_NetZ\Documents\ReGaL.x86_64\Game.exe
[New Thread 6120.0x1644]
[New Thread 6120.0x17b8]
[New Thread 6120.0x2d8]
[New Thread 6120.0x1570]
[New Thread 6120.0x116c]
[Thread 6120.0x2d8 exited with code 0]
[Thread 6120.0x116c exited with code 0]
[New Thread 6120.0x1588]
[New Thread 6120.0x5b0]
@hanetzer
hanetzer / i686.log
Last active August 29, 2015 14:02
i686.log
mkxp/src/debuglogger.cpp: In constructor 'DebugLogger::DebugLogger(const char*)':
mkxp/src/debuglogger.cpp:99:41: error: invalid conversion from 'void (*)(GLenum, GLenum, GLuint, GLenum, GLsizei, const GLchar*, GLvoid*) {aka void (*)(unsigned int, unsigned int, unsigned int, unsigned int, int, const char*, void*)}' to 'GLDEBUGPROC {aka void (__attribute__((__stdcall__)) *)(unsigned int, unsigned int, unsigned int, unsigned int, int, const char*, void*)}' [-fpermissive]
glDebugMessageCallback(arbDebugFunc, p);
^
mkxp/src/debuglogger.cpp:101:44: error: invalid conversion from 'void (*)(GLenum, GLenum, GLuint, GLenum, GLsizei, const GLchar*, GLvoid*) {aka void (*)(unsigned int, unsigned int, unsigned int, unsigned int, int, const char*, void*)}' to 'GLDEBUGPROCARB {aka void (__attribute__((__stdcall__)) *)(unsigned int, unsigned int, unsigned int, unsigned int, int, const char*, void*)}' [-fpermissive]
glDebugMessageCallbackARB(arbDebugFunc, p);
@hanetzer
hanetzer / error.log
Created June 9, 2014 05:24
Undefined reference to Modplug
C:/msys64/mingw64/lib/libSDL_sound.a(modplug.o):(.text+0xf): undefined reference to `ModPlug_Seek'
C:/msys64/mingw64/lib/libSDL_sound.a(modplug.o):(.text+0x31): undefined reference to `ModPlug_Seek'
C:/msys64/mingw64/lib/libSDL_sound.a(modplug.o):(.text+0x61): undefined reference to `ModPlug_Read'
C:/msys64/mingw64/lib/libSDL_sound.a(modplug.o):(.text+0x1fc): undefined reference to `ModPlug_Load'
C:/msys64/mingw64/lib/libSDL_sound.a(modplug.o):(.text+0x231): undefined reference to `ModPlug_GetLength'
C:/msys64/mingw64/lib/libSDL_sound.a(modplug.o):(.text+0x2b8): undefined reference to `ModPlug_SetSettings'
C:/msys64/mingw64/lib/libSDL_sound.a(modplug.o):(.text+0x3d7): undefined reference to `ModPlug_SetSettings'
C:/msys64/mingw64/lib/libSDL_sound.a(modplug.o):(.text+0xc1): undefined reference to `ModPlug_Unload'
C:/msys64/mingw64/lib/libSDL_sound.a(modplug.o):(.text+0xd5): undefined reference to `ModPlug_Unload'
C:\msys64\mingw64\bin\ld.exe: C:/msys64/mingw64/lib/libSDL_sound.a(modplug.o): bad reloc address 0
@hanetzer
hanetzer / g++-E.log
Created June 8, 2014 23:36
g++ -E output
This file has been truncated, but you can view the full file.
# 1 "test.cpp"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "test.cpp"
# 1 "C:/msys64/mingw64/include/c++/4.9.0/string" 1 3
# 36 "C:/msys64/mingw64/include/c++/4.9.0/string" 3
# 37 "C:/msys64/mingw64/include/c++/4.9.0/string" 3
# 1 "C:/msys64/mingw64/include/c++/4.9.0/x86_64-w64-mingw32/bits/c++config.h" 1 3