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
private static final byte[] SIDE = {0,2,2,2,14,14}, SIDE_MOD = {0,0,2,2,16,16}; // The side shapes for connected and module hitbox. | |
public static final VoxelShape[] CONNECTION_SIDES = getSides(SIDE[0],SIDE[1],SIDE[2],SIDE[3],SIDE[4],SIDE[5]); // Get the sides. | |
public static final VoxelShape MIDDLE = Block.makeCuboidShape(2,2,2,14,14,14); | |
private static VoxelShape[] getSides(short x1, short y1, short z1, short x2, short y2, short z2) | |
{ | |
VoxelShape[] t = new VoxelShape[6]; | |
t[0] = Block.makeCuboidShape(x1,y1,z1,x2,y2,z2); | |
short[] k1 = {(short)(x1+8),(short)(y1+8),(short)(z1+8)}; // Transform it to the middle (16px/2 = 8). |
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": "Model generated using MrCrayfish's Model Creator (https://mrcrayfish.com/tools?id=mc)", | |
"textures": { | |
"particle": "minecraft:block/oak_planks", | |
"side": "minecraft:block/oak_planks", | |
"bottom": "minecraft:block/spruce_planks", | |
"handle": "minecraft:block/spruce_log" | |
}, | |
"elements": [ | |
{ |
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
crash-2019-12-11_18.22.48-client |
This file has been truncated, but you can view the full file.
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
[23May2019 11:50:46.030] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20190213.203750, --fml.mcVersion, 1.13.2, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 25.0.209, --version, MOD_DEV, --assetIndex, 1.13.1, --assetsDir, /home/simon/.gradle/caches/forge_gradle/assets, --username, Dev, --accessToken, ❄❄❄❄❄❄❄❄, --userProperties, {}] | |
[23May2019 11:50:46.032] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher starting: java version 1.8.0_181 | |
[23May2019 11:50:46.064] [main/DEBUG] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Found launch services [minecraft,fmldevclient,fmldevserver,fmluserdevserver,testharness,fmlclient,fmluserdevclient,fmlserver] | |
[23May2019 11:50:46.071] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Found transformer services : [fml] | |
[23May2019 11:50:46.073] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler |
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: nxdraw | |
version: 0.1.1 | |
description: Simple rendering of geometric primitives for OpenComputers | |
author: nexustix | |
]]-- | |
local nxdraw = {} | |
nxdraw.__index = nxdraw |