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
{ | |
"_comment": "Created by Tin Svagelj a.k.a. Feronzed a.k.a. Caellian", | |
"elements": [ | |
{ "from": [ 0, -15, 0 ], | |
"to": [ 16, 16, 16 ], | |
"faces": { | |
"north": { "uv": [ 0, 0, 8, 16 ], "texture": "#boxdoor"}, | |
"south": { "uv": [ 0, 0, 8, 16 ], "texture": "#boxwindow"}, | |
"west": { "uv": [ 0, 0, 8, 16 ], "texture": "#boxwindow"}, | |
"east": { "uv": [ 0, 0, 8, 16 ], "texture": "#boxwindow"} |
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
<generator> | |
<lvl1> | |
<gold> | |
<low/> | |
<medium/> | |
<high/> | |
</gold> | |
<magical> | |
<red> | |
<watch/> |
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 com.caellyan.core.explanation; | |
/** | |
* Created by Caellian on 3.7.2015., at 22:27. | |
*/ | |
public class Mod | |
{ | |
//You can do it this way, so if boots slot changes, you don't have to update your mod. | |
Slot bootsSlot = SlotHelper.slotMap.get(SlotEnum.BOOTS); |
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 com.caellian.codeBlocks.client.gui; | |
import com.google.common.collect.Lists; | |
import net.minecraft.client.Minecraft; | |
import net.minecraft.client.gui.FontRenderer; | |
import net.minecraft.client.gui.Gui; | |
import net.minecraft.client.gui.GuiScreen; | |
import net.minecraft.client.renderer.GlStateManager; | |
import net.minecraft.client.renderer.Tessellator; | |
import net.minecraft.client.renderer.WorldRenderer; |
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 groovy.json.JsonSlurper | |
import java.nio.file.Files | |
//Project data | |
String minecraftVersion = "1.8.3", | |
dirLib = "lib", | |
dirNatives = "natives/${minecraftVersion}" | |
//Minecraft data |
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 groovy.json.JsonSlurper | |
import java.nio.file.Files | |
//Project data | |
String minecraftVersion = "1.8.3", | |
dirLib = "lib", | |
dirNatives = "natives/${minecraftVersion}" | |
//Minecraft data |
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 com.caellian.codeBlocks.block; | |
import com.caellian.codeBlocks.lib.Constants; | |
import com.caellian.codeBlocks.lib.Reference; | |
import net.minecraft.block.Block; | |
import net.minecraft.client.Minecraft; | |
import net.minecraft.client.resources.model.ModelResourceLocation; | |
import net.minecraft.item.Item; | |
import net.minecraftforge.fml.common.registry.GameRegistry; |
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 xyz.openmodloader.api.flow.data; | |
import net.minecraft.nbt.NBTBase; | |
import net.minecraft.nbt.NBTTagCompound; | |
import xyz.openmodloader.OpenModLoader; | |
import xyz.openmodloader.nbt.NBTCompatible; | |
import xyz.openmodloader.nbt.NBTHelper; | |
/** | |
* @author Caellian |
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
# Find GLFW 3 | |
# | |
# GLFW_LIBRARIES | |
# GLFW_INCLUDE_DIRS. | |
# GLFW_FOUND | |
IF(NOT UNIX) | |
IF(NOT GLFW_ROOT) | |
MESSAGE("ERROR: GLFW_ROOT must be set!") | |
ENDIF(NOT GLFW_ROOT) |
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
#include<life> | |
int main(void) { | |
while (true) { | |
try { | |
if (!live()) { | |
die(); | |
} | |
} catch (const life::failiure& failiure) { | |
LiveState *state = failiure->getLifeState(); |
OlderNewer