Skip to content

Instantly share code, notes, and snippets.

View sustained's full-sized avatar
😓
working on website remake in Saber and exploring generative art and fractals

sustained sustained

😓
working on website remake in Saber and exploring generative art and fractals
View GitHub Profile
@sustained
sustained / leakproof_surface_oil_spouts_leading_to_underground_oil_lakes.json
Last active November 6, 2022 21:42
One of many examples of CoFH World custom world generation in Minecraft. Scroll down for more details.
{
"populate": {
"leakproof_surface_oil_spouts_leading_to_underground_oil_lakes": {
"distribution": "custom",
"x-offset": 0,
"y-offset": 32,
"z-offset": 0,
"cluster-count": 4,
"chunk-chance": 32,
"generator": {
@sustained
sustained / README.md
Last active July 16, 2022 08:26
Automatically clean up timers (setInterval, setTimeout) and event listeners (addEventListener) for Vue.js.

What?

It automatically cleans up timers and event listeners in beforeUnmount.

Why?

Because who wants to write boilerplate? And I was bored. And it seemed like a really good idea, until I wrote it.

Note

@sustained
sustained / stalagmite_example.json
Last active July 12, 2019 00:56
CoFH World Examples - Feature Types - Stalagmite
{
"populate": {
"stalagmite_example": {
"distribution": "surface",
"generator": {
"block": "minecraft:mossy_cobblestone",
"type": "stalagmite",
"diameter": 3,
"count": 1
},
@sustained
sustained / structure_example.json
Last active July 12, 2019 00:56
CoFH World Examples - Feature Types - Structure
{
"populate": {
"structure_example": {
"distribution": "surface",
"generator": {
"type": "structure",
"structure": "example_structure.nbt",
},
"material": [
"minecraft:dirt",
@sustained
sustained / stalactite_example.json
Last active July 12, 2019 00:25
CoFH World Examples - Feature Types - Stalactite
{
"populate": {
"stalactite_example": {
"distribution": "cave",
"generator": {
"block": "minecraft:mossy_cobblestone",
"type": "stalactite",
"diameter": 3,
"count": 1
},
@sustained
sustained / spout_example.json
Last active July 12, 2019 00:01
CoFH World Examples - Feature Types - Spout
{
"populate": {
"spout_example": {
"distribution": "surface",
"generator": {
"type": "spout",
"block": "minecraft:cobblestone",
"radius": 0,
"height": {
"min": 30,
@sustained
sustained / spout_example_sinkholes.json
Created July 11, 2019 23:35
CoFH World Examples - Feature Types - Spout (Sinkholes)
{
"populate": {
"spout_example": {
"distribution": "cave",
"generator": {
"type": "spout",
"block": "minecraft:air",
"radius": 3,
"height": {
"value-a": {
@sustained
sustained / sequential_example.json
Last active July 11, 2019 22:58
CoFH World Examples - Feature Types - Sequential
{
"populate": {
"sequential_example": {
"distribution": "surface",
"chunk-chance": 32,
"cluster-count": 1,
"generator": {
"type": "sequential",
"generators": [
{
@sustained
sustained / consecutive_example.json
Last active July 11, 2019 21:46
CoFH World Examples - Feature Types - Consecutive
{
"populate": {
"consecutive_example": {
"distribution": "surface",
"chunk-chance": 64,
"cluster-count": 4,
"generator": {
"type": "consecutive",
"generators": [
{
{
"populate": {
"dirt": {
"distribution": "uniform",
"generator": {
"block": "dirt",
"material": "minecraft:stone",
"cluster-size": 33
},
"cluster-count": 10,