Skip to content

Instantly share code, notes, and snippets.

{
"condition": "minecraft:alternative",
"terms": [
{
"condition": "minecraft:match_tool",
"predicate": {
"item": "minecraft:shears"
}
},
{
@boq
boq / particles.mcfunction
Created February 6, 2019 13:12
particles
setblock ~2 ~ ~ minecraft:command_block{Command:"particle minecraft:ambient_entity_effect ~ ~1 ~"}
setblock ~2 ~ ~1 minecraft:stone_button[face=wall,facing=south]
setblock ~4 ~ ~ minecraft:command_block{Command:"particle minecraft:angry_villager ~ ~1 ~"}
setblock ~4 ~ ~1 minecraft:stone_button[face=wall,facing=south]
setblock ~6 ~ ~ minecraft:command_block{Command:"particle minecraft:barrier ~ ~1 ~"}
setblock ~6 ~ ~1 minecraft:stone_button[face=wall,facing=south]
setblock ~8 ~ ~ minecraft:command_block{Command:"particle minecraft:block grass ~ ~1 ~"}
setblock ~8 ~ ~1 minecraft:stone_button[face=wall,facing=south]
setblock ~10 ~ ~ minecraft:command_block{Command:"particle minecraft:bubble ~ ~1 ~"}
setblock ~10 ~ ~1 minecraft:stone_button[face=wall,facing=south]
@boq
boq / patch.py
Created November 18, 2018 21:45
from __future__ import division
from PIL import Image, ImageMath
MC_CHARS = u"\u00c0\u00c1\u00c2\u00c8\u00ca\u00cb\u00cd\u00d3\u00d4\u00d5\u00da\u00df\u00e3\u00f5\u011f\u0130" + \
u"\u0131\u0152\u0153\u015e\u015f\u0174\u0175\u017e\u0207\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + \
u"\u0020\u0021\"\u0023\u0024\u0025\u0026\u0027\u0028\u0029\u002a\u002b\u002c\u002d\u002e\u002f" + \
u"\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037\u0038\u0039\u003a\u003b\u003c\u003d\u003e\u003f" + \
u"\u0040\u0041\u0042\u0043\u0044\u0045\u0046\u0047\u0048\u0049\u004a\u004b\u004c\u004d\u004e\u004f" + \
u"\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057\u0058\u0059\u005a\u005b\\\u005d\u005e\u005f" + \
u"\u0060\u0061\u0062\u0063\u0064\u0065\u0066\u0067\u0068\u0069\u006a\u006b\u006c\u006d\u006e\u006f" + \
drop block ~ ~1 ~ insert container.0 replace kill @p
tellraw @p {"nbt":"Items[{Slot:0b}].tag.SkullOwner.Name","block":"~ ~1 ~","extra":[": ", {"nbt":"Items[{Slot:0b}].tag.SkullOwner.Id","block":"~ ~1 ~"}]}
container.0=0,
container.1=1,
container.2=2,
container.3=3,
container.4=4,
container.5=5,
container.6=6,
container.7=7,
container.8=8,
container.9=9,
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:alternatives",
"children": [
{
{
"parent": "item/handheld",
"textures": {
"layer0": "item/diamond_shovel"
},
"overrides": [
{
"predicate": {
"custom_model_data": 1
},
// Glyphs with blurry pixels in scale 1/100
// hShift = -ix0 * scale; vShift = -iy0 * scale;
// 'blurred' value contains counts for pixels values other than 0 and 255.
[00A6]BROKEN BAR: x0=50 y0=-100 x1=150 y=1800 glyph=103 blurred={128=2}
[00C5]LATIN CAPITAL LETTER A WITH RING ABOVE: x0=50 y0=0 x1=550 y=1900 glyph=127 blurred={128=6}
[00C8]LATIN CAPITAL LETTER E WITH GRAVE: x0=50 y0=0 x1=550 y=1900 glyph=130 blurred={128=4}
[00EC]LATIN SMALL LETTER I WITH GRAVE: x0=0 y0=0 x1=200 y=1700 glyph=166 blurred={128=10}
[00ED]LATIN SMALL LETTER I WITH ACUTE: x0=0 y0=0 x1=200 y=1700 glyph=167 blurred={128=10}
[00F9]LATIN SMALL LETTER U WITH GRAVE: x0=50 y0=0 x1=550 y=1700 glyph=179 blurred={128=4}
@boq
boq / exc1
Created January 6, 2018 13:25
[14:19:17] [main/INFO] [STDERR]: [org.lwjgl.opengl.KHRDebugCallback$1:handleMessage:94]: [LWJGL] KHR_debug message
[14:19:17] [main/INFO] [STDERR]: [org.lwjgl.opengl.KHRDebugCallback$1:handleMessage:95]: ID: 65536
[14:19:18] [main/INFO] [STDERR]: [org.lwjgl.opengl.KHRDebugCallback$1:handleMessage:120]: Source: API
[14:19:22] [main/INFO] [STDERR]: [org.lwjgl.opengl.KHRDebugCallback$1:handleMessage:147]: Type: OTHER
[14:19:35] [main/INFO] [STDERR]: [org.lwjgl.opengl.KHRDebugCallback$1:handleMessage:165]: Severity: MEDIUM
[14:19:36] [main/INFO] [STDERR]: [org.lwjgl.opengl.KHRDebugCallback$1:handleMessage:167]: Message: Framebuffer unsupported. Framebuffer object 1 is unsupported because the depth and stencil attachments are mismatched.
Thread [Client thread] (Suspended)
KHRDebugCallback$1.handleMessage(int, int, int, int, String) line: 149
EXTFramebufferObject.nglFramebufferTexture2DEXT(int, int, int, int, int, long) line: not available [native method]
We can't make this file beautiful and searchable because it's too large.
domain,path,variant,
advgenerators,generators_data_port,inventory,
advgenerators,generators_data_port,normal,
appliedenergistics2,models/block/crafting/crafting_accelerator/builtin,,
appliedenergistics2,models/blocks/spatial_pylon/builtin,,
appliedenergistics2,models/block/crafting/crafting_storage_16k/builtin,,
appliedenergistics2,models/block/crafting/crafting_unit/builtin,,
appliedenergistics2,models/block/crafting/crafting_storage_4k/builtin,,
appliedenergistics2,models/block/crafting/crafting_storage_1k/builtin,,
appliedenergistics2,models/block/crafting/crafting_monitor/builtin,,