- Goodbye bespoke Lexica code, hello Patchouli
- Rework Ring of Chordata for 1.13 swimming changes
- Spectrolus can eat (dyed) sheep for huge mana. You monster.
- Mana sparks can now be colored like corporea sparks to create separate networks
- Corporea keybind requests can now use the vanilla recipe book
- Allow any two vanilla dyes to be used to craft fertilizer instead of just red or yellow
- Flugel Tiara gliding now interacts properly with the Tornado Rod
- Ring of Dexterous Motion can now be used in forward and backward directions
- Snowflake pendant now has a snow effect (ToMe25)
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
| import java.util.ArrayDeque; | |
| import java.util.ArrayList; | |
| import java.util.Deque; | |
| import java.util.Iterator; | |
| import java.util.List; | |
| import java.io.IOException; | |
| import java.io.UncheckedIOException; | |
| import javax.tools.ToolProvider; | |
| import com.sun.source.util.JavacTask; | |
| import com.sun.source.util.TreeScanner; |
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
| public enum HexAngle { | |
| FORWARD(0, 'w'), | |
| LEFT(1, 'q'), | |
| SHARP_LEFT(2, 'a'), | |
| BACKWARD(3, 's'), | |
| SHARP_RIGHT(4, 'd'), | |
| RIGHT(5, 'e'); | |
| public final int count; | |
| public final char name; |
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
| {-# LANGUAGE DeriveFunctor #-} | |
| import Control.Applicative | |
| import Data.List (nub) | |
| import qualified Data.Map as Map | |
| data Fix f = Fix { unfix :: f (Fix f) } | |
| topDown :: (Functor f) => (a -> f a) -> a -> Fix f | |
| topDown fn = Fix . fmap (topDown fn) . fn |
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
| (* Content-type: application/vnd.wolfram.mathematica *) | |
| (*** Wolfram Notebook File ***) | |
| (* http://www.wolfram.com/nb *) | |
| (* CreatedBy='Mathematica 12.1' *) | |
| (*CacheID: 234*) | |
| (* Internal cache information: | |
| NotebookFileLineBreakTest |
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
| (* Pretty-printing *) | |
| Module[{destructCons, mkBox}, | |
| destructCons[k_] := | |
| Replace[NestWhileList[Replace[Hold[cons[x_, y_]] :> Hold[y]], k, | |
| MatchQ[Hold[_cons]]], {h___, | |
| t_} :> {Replace[Hold[cons[x_, _]] :> Hold[x]] /@ {h}, t}]; | |
| mkBox[Hold[x_]] := MakeBoxes[x, StandardForm]; | |
| cons /: MakeBoxes[l_cons, StandardForm] := | |
| Block[{$RecursionLimit = Infinity}, |
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
| import java.util.ArrayList; | |
| import java.util.HashMap; | |
| import java.util.List; | |
| import java.util.Map; | |
| import java.util.PriorityQueue; | |
| public class Huffman { | |
| /** Tree with data at leaves. */ | |
| public sealed interface Tree<T> { | |
| /** Traverse tree; coalesce into map. */ |
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
| eval@ | |
| {{lambda, {l}, | |
| {cond, l, | |
| {Plus, {First, l}, {recur, {Rest, l}}}, | |
| 0}}, | |
| {quote, {1, 2, 3, 4, 5}}} | |
| eval@ | |
| {{lambda, {l, acc}, | |
| {cond, l, |
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
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <meta name="description" content="The Hex Book, all in one place."> | |
| <meta name="author" content="petrak@, Alwinfy"> | |
| <link rel="icon" href="../../favicon.ico"> | |
| <title>Hex Book</title> |
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
| import java.util.ArrayList; | |
| import java.util.List; | |
| import java.util.StringJoiner; | |
| import java.lang.invoke.MethodHandles; | |
| import java.lang.invoke.MethodHandle; | |
| import java.lang.invoke.MethodType; | |
| import java.lang.reflect.Parameter; | |
| public class ArgParser<T> { |