Skip to content

Instantly share code, notes, and snippets.

View Efimero's full-sized avatar
💭
🏳️‍🌈 im gay

Efi Efimero

💭
🏳️‍🌈 im gay
View GitHub Profile
@Efimero
Efimero / game.tw2
Created April 16, 2017 20:29
Basic Twee2 template
::config [twee2]
Twee2::build_config.story_ifid = ''
Twee2::build_config.story_name = "Awesome Story"
Twee2::build_config.story_format = "Snowman"
::style [stylesheet]
::init [script]
var s = window.story.state
var merge = Object.assign
@Efimero
Efimero / crafttweaker.log
Created November 25, 2017 19:29
CraftTweaker Error
[PREINITIALIZATION][CLIENT][INFO] Loading scripts
[PREINITIALIZATION][CLIENT][INFO] [contenttweaker | SIDE_CLIENT]: Loading Script: {[0:contenttweaker]: custom_items.zs}
[PREINITIALIZATION][CLIENT][INFO] [contenttweaker | SIDE_CLIENT]: Skipping file {[0:crafttweaker]: custom_recipes.zs} as we are currently loading with a different loader
[INITIALIZATION][CLIENT][INFO] CraftTweaker: Building registry
[INITIALIZATION][CLIENT][INFO] CraftTweaker: Successfully built item registry
[INITIALIZATION][CLIENT][INFO] Loading scripts
[INITIALIZATION][CLIENT][INFO] [crafttweaker | SIDE_CLIENT]: Skipping file {[0:contenttweaker]: custom_items.zs} as we are currently loading with a different loader
[INITIALIZATION][CLIENT][INFO] [crafttweaker | SIDE_CLIENT]: Loading Script: {[0:crafttweaker]: custom_recipes.zs}
[INITIALIZATION][CLIENT][INFO] Removing Leather from ore dictionary entry leather
[INITIALIZATION][CLIENT][INFO] Adding Iron Hand Saw to ore dictionary entry ironSaw
(def tau (* 2 Math/PI))
(defn clamp [n minimum maximum]
(min (max n minimum) maximum))
(defn sph-v [long lat alt]; A polar vector
{:longitude (mod long 360)
:latitude (clamp lat -90 90)
:altitude (max alt 0)})
[00:23:03] [main/INFO]: Setting user: Efimero
[00:23:05] [main/WARN]: Skipping bad option: lastServer:
[00:23:05] [main/INFO]: LWJGL Version: 2.9.4
[00:23:14] [main/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:mercurius_updater, FMLFileResourcePack:AbyssalCraft Integration, FMLFileResourcePack:AbyssalCraft, FMLFileResourcePack:Antique Atlas, FMLFileResourcePack:antiqueatlasoverlay, FMLFileResourcePack:Example Mod, FMLFileResourcePack:AppleSkin, FMLFileResourcePack:Artisan Worktables, FMLFileResourcePack:Astral Sorcery, FMLFileResourcePack:Athenaeum, FMLFileResourcePack:AutoRegLib, FMLFileResourcePack:B.A.S.E, FMLFileResourcePack:Bedrock Replacer, FMLFileResourcePack:Better Boilers, FMLFileResourcePack:Better With Mods, FMLFileResourcePack:BiblioCraft, FMLFileResourcePack:Block Drops, FMLFileResourcePack:Bonfires, FMLFileResourcePack:Bottled Milk, FMLFileResourcePack:By The Gods, FMLFileResourcePack:Ceramics, FMLFileRe
[INITIALIZATION][CLIENT][ERROR] [crafttweaker]: Error executing {[0:crafttweaker]: custom_recipes_1.zs}: Method expects a return value
Exception Details:
Location:
ZenClass0.process(Lcrafttweaker/api/item/IItemStack;Ljava/util/Map;Lcrafttweaker/api/recipes/ICraftingInfo;)Lcrafttweaker/api/item/IItemStack; @116: return
Reason:
Error exists in the bytecode
Bytecode:
0x0000000: 2c12 0eb9 0014 0200 c000 163a 0512 18b8
0x0000010: 001e 1905 b900 2402 0099 005b bb00 2659
0x0000020: 1227 1228 b700 2b59 b600 2f36 07b6 0032
#loader contenttweaker
import mods.contenttweaker.VanillaFactory;
import mods.contenttweaker.Item;
import mods.contenttweaker.IItemRightClick;
import mods.contenttweaker.Player;
import mods.contenttweaker.MutableItemStack;
import mods.contenttweaker.Hand;
import mods.contenttweaker.Commands;
import mods.contenttweaker.Fluid;
import mods.contenttweaker.ItemFood;
[20:34:40] [main/INFO]: Setting user: Efimero
[20:34:42] [main/WARN]: Skipping bad option: lastServer:
[20:34:42] [main/INFO]: LWJGL Version: 2.9.4
[20:34:52] [main/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:mercurius_updater, FMLFileResourcePack:AbyssalCraft Integration, FMLFileResourcePack:AbyssalCraft, FMLFileResourcePack:Antique Atlas, FMLFileResourcePack:antiqueatlasoverlay, FMLFileResourcePack:Example Mod, FMLFileResourcePack:AppleSkin, FMLFileResourcePack:Artisan Worktables, FMLFileResourcePack:Astral Sorcery, FMLFileResourcePack:Athenaeum, FMLFileResourcePack:AutoRegLib, FMLFileResourcePack:B.A.S.E, FMLFileResourcePack:Bedrock Replacer, FMLFileResourcePack:Better Boilers, FMLFileResourcePack:Better With Mods, FMLFileResourcePack:BiblioCraft, FMLFileResourcePack:Block Drops, FMLFileResourcePack:Bonfires, FMLFileResourcePack:Bottled Milk, FMLFileResourcePack:By The Gods, FMLFileResourcePack:Ceramics, FMLFileRe
.columns-area>div:nth-child(1) {
width: 300px !important;
}
.columns-area>div:nth-child(2) {
width: 760px !important;
}
.columns-area>div:nth-child(3) {
width: 300px !important;
}
.columns-area>div>.column,
@Efimero
Efimero / perlin.cljs
Created March 7, 2018 13:44
ClojureScript Simplex Noise Implementation
(ns perlin.noise)
; Usage:
; (def my-generator (perlin.noise/generator "My Favorite Seed"))
; (my-generator 1.1 2.2 3.3) ; input coordinates as float, output single float (-1 to 1 gaussian distribution)
(defn generator
([] (generator (rand)))
([seed]
(let [T [0x15 0x38 0x32 0x2c 0x0d 0x13 0x07 0x2a]
[AVAILABLE][CLIENT][INFO] Removing chisel group called: blockGold
[AVAILABLE][CLIENT][ERROR] Error while applying actions
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextNode(HashMap.java:1442)
at java.util.HashMap$EntryIterator.next(HashMap.java:1476)
at java.util.HashMap$EntryIterator.next(HashMap.java:1474)
at com.google.common.collect.AbstractMapBasedMultimap$AsMap$AsMapIterator.next(AbstractMapBasedMultimap.java:1428)
at com.google.common.collect.AbstractMapBasedMultimap$AsMap$AsMapIterator.next(AbstractMapBasedMultimap.java:1417)
at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:47)
at team.chisel.common.carving.Carving.removeGroup(Carving.java:198)