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
#include "GLEngine.h" | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <GL/glew.h> | |
#include <GLFW/glfw3.h> | |
#include <glm/glm.hpp> | |
GLEngine::GLEngine() |
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
<00:33:04> You poked "MageProtocol". | |
<00:33:04> "MageProtocol": Received your poke! | |
<00:33:04> You poked "MageProtocol". | |
<00:33:04> "MageProtocol": Received your poke! | |
<00:33:04> You poked "MageProtocol". | |
<00:33:04> "MageProtocol": Received your poke! | |
<00:33:04> You poked "MageProtocol". | |
<00:33:04> "MageProtocol": Received your poke! | |
<00:33:05> You poked "MageProtocol". | |
<00:33:05> "MageProtocol": Received your poke! |
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
local event = require "event" -- load event table and store the pointer to it in event | |
local char_space = string.byte(" ") -- numerical representation of the space char | |
local running = true -- state variable so the loop can terminate | |
function unknownEvent() | |
-- do nothing if the event wasn't relevant | |
end | |
-- table that holds all event handlers, and in case no match can be found returns the dummy function unknownEvent |
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
local component = require("component") | |
local hologram = component.hologram | |
function setVoxel(x, y, z, value) | |
local current = hologram.get(x, z) | |
local positiveMask = bit32.lshift(1, y - 1) | |
if value then | |
hologram.set(x, z, bit32.bor(current, positiveMask)) | |
else | |
local negativeMask = bit32.bnot(positiveMask) |
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.test; | |
import net.minecraftforge.common.MinecraftForge; | |
import net.minecraftforge.event.world.PistonEvent; | |
import net.minecraftforge.fml.common.Mod; | |
import net.minecraftforge.fml.common.Mod.EventHandler; | |
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; | |
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; | |
@Mod(modid = "pistonTest") |
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 me.modforgery.cc.block; | |
import me.modforgery.cc.CompactChests; | |
import me.modforgery.cc.tileentity.TileEntityDoubleChest; | |
import net.minecraft.block.Block; | |
import net.minecraft.block.ITileEntityProvider; | |
import net.minecraft.block.material.Material; | |
import net.minecraft.creativetab.CreativeTabs; | |
import net.minecraft.entity.EntityLivingBase; | |
import net.minecraft.entity.player.EntityPlayer; |
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 me.modforgery.cc.client; | |
import net.minecraft.client.gui.inventory.GuiContainer; | |
import net.minecraft.entity.player.EntityPlayer; | |
import net.minecraft.inventory.Container; | |
import net.minecraft.util.ResourceLocation; | |
import net.minecraft.world.World; | |
/** | |
* Created by Toby on 19/08/2014. |
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
@Override | |
protected void drawGuiContainerForegroundLayer(int i, int j) | |
{ | |
super.drawGuiContainerForegroundLayer(i, j); | |
try | |
{ | |
GL11.glPushMatrix(); | |
GL11.glTranslatef(guiLeft + (256 / 2), guiTop + 97, 100); |
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
## DO NOT EDIT THIS, IT IS DELETED AT RUNTIME, USE WV_CUSTOM.CFG | |
tile.air=0 | |
tile.stone=0 | |
tile.grass=0 | |
tile.dirt=0 | |
tile.stonebrick=0 | |
tile.wood=0 | |
tile.sapling=0 | |
tile.bedrock=0 | |
tile.water=0 |
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
**************************** | |
Powered By MCP: | |
http://mcp.ocean-labs.de/ | |
Searge, ProfMobius, Fesh0r, | |
R4wk, ZeuX, IngisKahn | |
MCP Data version : unknown | |
**************************** | |
FAILURE: Build failed with an exception. |