Repository: slicedlime/examples
Branch: master
Commit: 44e7d21d1d47
Files: 28
Total size: 17.9 KB
Directory structure:
gitextract_391z_5zq/
├── README.md
├── datapacks/
│ ├── enchantments/
│ │ ├── data/
│ │ │ ├── example/
│ │ │ │ ├── enchantment/
│ │ │ │ │ ├── annoyance.json
│ │ │ │ │ ├── boom_boom.json
│ │ │ │ │ ├── claw.json
│ │ │ │ │ ├── cowbow.json
│ │ │ │ │ ├── diminishing.json
│ │ │ │ │ ├── fire_walker.json
│ │ │ │ │ ├── fishy.json
│ │ │ │ │ ├── fragility_curse.json
│ │ │ │ │ ├── galaxy_brain.json
│ │ │ │ │ ├── multi_multi_shot.json
│ │ │ │ │ ├── pollen_allergy_curse.json
│ │ │ │ │ ├── roulette.json
│ │ │ │ │ ├── sparkles.json
│ │ │ │ │ └── thor.json
│ │ │ │ └── function/
│ │ │ │ └── annoying.mcfunction
│ │ │ └── minecraft/
│ │ │ └── tags/
│ │ │ └── enchantment/
│ │ │ └── curse.json
│ │ └── pack.mcmeta
│ └── v16demo/
│ ├── data/
│ │ └── v16/
│ │ └── functions/
│ │ ├── concat.mcfunction
│ │ ├── eval.mcfunction
│ │ ├── fails.mcfunction
│ │ ├── fails2.mcfunction
│ │ ├── get_player_health.mcfunction
│ │ ├── line_continuation.mcfunction
│ │ ├── set_time.mcfunction
│ │ └── succeeds.mcfunction
│ └── pack.mcmeta
└── so_lime.json
================================================
FILE CONTENTS
================================================
================================================
FILE: README.md
================================================
# Random example files
This repo contains random example files in random state of up-to-dateness.
================================================
FILE: datapacks/enchantments/data/example/enchantment/annoyance.json
================================================
{
"anvil_cost": 8,
"description": {
"text": "Curse of Annoyance"
},
"effects": {
"minecraft:hit_block": [
{
"effect": {
"type": "minecraft:run_function",
"function": "example:annoying"
},
"requirements": {
"chance": 0.2,
"condition": "minecraft:random_chance"
}
}
]
},
"max_cost": {
"base": 50,
"per_level_above_first": 0
},
"max_level": 1,
"min_cost": {
"base": 25,
"per_level_above_first": 0
},
"slots": [
"mainhand"
],
"supported_items": "#minecraft:enchantable/vanishing",
"weight": 1
}
================================================
FILE: datapacks/enchantments/data/example/enchantment/boom_boom.json
================================================
{
"anvil_cost": 4,
"description": {
"text": "Boom Boom"
},
"effects": {
"minecraft:hit_block": [
{
"effect": {
"type": "minecraft:explode",
"block_interaction": "mob",
"large_particle": {
"type": "minecraft:angry_villager"
},
"radius": 2.0,
"small_particle": {
"type": "minecraft:ash"
},
"sound": "minecraft:entity.generic.explode"
},
"requirements": {
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type": "#minecraft:arrows"
}
}
}
]
},
"max_cost": {
"base": 65,
"per_level_above_first": 9
},
"max_level": 3,
"min_cost": {
"base": 15,
"per_level_above_first": 9
},
"slots": [
"mainhand",
"offhand"
],
"supported_items": "#minecraft:enchantable/bow",
"weight": 2
}
================================================
FILE: datapacks/enchantments/data/example/enchantment/claw.json
================================================
{
"anvil_cost": 4,
"description": {
"text": "Claw"
},
"effects": {
"minecraft:attributes": [
{
"amount": {
"type": "minecraft:linear",
"base": 2,
"per_level_above_first": 2
},
"attribute": "minecraft:player.block_interaction_range",
"id": "example:enchantment.claw",
"operation": "add_value"
}
]
},
"max_cost": {
"base": 40,
"per_level_above_first": 10
},
"max_level": 5,
"min_cost": {
"base": 10,
"per_level_above_first": 10
},
"slots": [
"mainhand"
],
"supported_items": "#minecraft:enchantable/vanishing",
"weight": 2
}
================================================
FILE: datapacks/enchantments/data/example/enchantment/cowbow.json
================================================
{
"anvil_cost": 2,
"description": {
"text": "Cowbow"
},
"effects": {
"minecraft:crossbow_charging_sounds": [
{
"end": "minecraft:entity.cow.hurt",
"start": "minecraft:entity.cow.ambient"
}
]
},
"max_cost": {
"base": 50,
"per_level_above_first": 0
},
"max_level": 1,
"min_cost": {
"base": 12,
"per_level_above_first": 20
},
"slots": [
"mainhand"
],
"supported_items": "#minecraft:enchantable/crossbow",
"weight": 5
}
================================================
FILE: datapacks/enchantments/data/example/enchantment/diminishing.json
================================================
{
"anvil_cost": 4,
"description": {
"text": "Diminishing"
},
"effects": {
"minecraft:attributes": [
{
"amount": {
"type": "minecraft:linear",
"base": -0.2,
"per_level_above_first": -0.2
},
"attribute": "minecraft:generic.scale",
"id": "example:enchantment.diminishing",
"operation": "add_multiplied_base"
}
]
},
"max_cost": {
"base": 40,
"per_level_above_first": 10
},
"max_level": 3,
"min_cost": {
"base": 10,
"per_level_above_first": 10
},
"slots": [
"head"
],
"supported_items": "#minecraft:enchantable/head_armor",
"weight": 2
}
================================================
FILE: datapacks/enchantments/data/example/enchantment/fire_walker.json
================================================
{
"anvil_cost": 4,
"description": {
"text": "Fire Walker"
},
"effects": {
"minecraft:damage_immunity": [
{
"effect": {},
"requirements": {
"condition": "minecraft:damage_source_properties",
"predicate": {
"tags": [
{
"expected": true,
"id": "minecraft:is_freezing"
},
{
"expected": false,
"id": "minecraft:bypasses_invulnerability"
}
]
}
}
}
],
"minecraft:location_changed": [
{
"effect": {
"type": "minecraft:replace_disk",
"block_state": {
"type": "minecraft:weighted_state_provider",
"entries": [
{
"data": {
"Name": "minecraft:obsidian"
},
"weight": 9
},
{
"data": {
"Name": "minecraft:crying_obsidian"
},
"weight": 1
}
] },
"height": 1.0,
"offset": [
0,
-1,
0
],
"predicate": {
"type": "minecraft:all_of",
"predicates": [
{
"type": "minecraft:matching_blocks",
"blocks": "minecraft:air",
"offset": [
0,
1,
0
]
},
{
"type": "minecraft:matching_fluids",
"fluids": "minecraft:lava"
},
{
"type": "minecraft:unobstructed"
}
]
},
"radius": {
"type": "minecraft:clamped",
"max": 16.0,
"min": 0.0,
"value": {
"type": "minecraft:linear",
"base": 3.0,
"per_level_above_first": 1.0
}
}
},
"requirements": {
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"flags": {
"is_on_ground": true
}
}
}
}
]
},
"exclusive_set": "#minecraft:exclusive_set/boots",
"max_cost": {
"base": 25,
"per_level_above_first": 10
},
"max_level": 2,
"min_cost": {
"base": 10,
"per_level_above_first": 10
},
"slots": [
"feet"
],
"supported_items": "#minecraft:enchantable/foot_armor",
"weight": 2
}
================================================
FILE: datapacks/enchantments/data/example/enchantment/fishy.json
================================================
{
"anvil_cost": 8,
"description": {
"text": "Fishy"
},
"effects": {
"minecraft:tick": [
{
"effect": {
"type": "minecraft:summon_entity",
"entity": "silverfish"
},
"requirements": {
"chance": 0.001,
"condition": "minecraft:random_chance"
}
}
]
},
"max_cost": {
"base": 50,
"per_level_above_first": 0
},
"max_level": 1,
"min_cost": {
"base": 25,
"per_level_above_first": 0
},
"slots": [
"mainhand"
],
"supported_items": "#minecraft:enchantable/fishing",
"weight": 1
}
================================================
FILE: datapacks/enchantments/data/example/enchantment/fragility_curse.json
================================================
{
"anvil_cost": 8,
"description": {
"text": "Curse of Fragility"
},
"effects": {
"minecraft:hit_block": [
{
"effect": {
"type": "minecraft:damage_item",
"amount": 64
},
"requirements": {
"chance": 0.03,
"condition": "minecraft:random_chance"
}
}
],
"minecraft:post_attack": [
{
"enchanted": "attacker",
"affected": "attacker",
"effect": {
"type": "minecraft:damage_item",
"amount": 256
},
"requirements": {
"chance": 0.03,
"condition": "minecraft:random_chance"
}
},
{
"enchanted": "victim",
"affected": "victim",
"effect": {
"type": "minecraft:damage_item",
"amount": 64
},
"requirements": {
"chance": 0.03,
"condition": "minecraft:random_chance"
}
}
]
},
"max_cost": {
"base": 50,
"per_level_above_first": 0
},
"max_level": 1,
"min_cost": {
"base": 25,
"per_level_above_first": 0
},
"slots": [
"any"
],
"supported_items": "#minecraft:enchantable/vanishing",
"weight": 1
}
================================================
FILE: datapacks/enchantments/data/example/enchantment/galaxy_brain.json
================================================
{
"anvil_cost": 4,
"description": {
"text": "Galaxy Brain"
},
"effects": {
"minecraft:mob_experience": [
{
"effect": {
"type": "minecraft:add",
"value": 100.0
}
}
]
},
"max_cost": {
"base": 65,
"per_level_above_first": 9
},
"max_level": 3,
"min_cost": {
"base": 15,
"per_level_above_first": 9
},
"slots": [
"mainhand"
],
"supported_items": "#minecraft:enchantable/sword",
"weight": 2
}
================================================
FILE: datapacks/enchantments/data/example/enchantment/multi_multi_shot.json
================================================
{
"anvil_cost": 4,
"description": {
"text": "Multi-Multishot"
},
"effects": {
"minecraft:projectile_count": [
{
"effect": {
"type": "minecraft:add",
"value": {
"type": "minecraft:linear",
"base": 20.0,
"per_level_above_first": 20.0
}
}
}
],
"minecraft:projectile_spread": [
{
"effect": {
"type": "minecraft:add",
"value": {
"type": "minecraft:linear",
"base": 20.0,
"per_level_above_first": 20.0
}
}
}
]
},
"exclusive_set": "#minecraft:exclusive_set/crossbow",
"max_cost": {
"base": 50,
"per_level_above_first": 0
},
"max_level": 3,
"min_cost": {
"base": 20,
"per_level_above_first": 0
},
"slots": [
"mainhand"
],
"supported_items": "#minecraft:enchantable/bow",
"weight": 2
}
================================================
FILE: datapacks/enchantments/data/example/enchantment/pollen_allergy_curse.json
================================================
{
"anvil_cost": 4,
"description": {
"text": "Curse of Pollen Allergy"
},
"effects": {
"minecraft:tick": [
{
"effect": {
"type": "damage_entity",
"damage_type": "thorns",
"min_damage": 1,
"max_damage": 1
},
"requirements": {
"condition": "minecraft:all_of",
"terms": [
{
"chance": 0.005,
"condition": "minecraft:random_chance"
},
{
"condition": "minecraft:location_check",
"predicate": {
"biomes": "#is_forest"
}
}
]
}
}
]
},
"max_cost": {
"base": 40,
"per_level_above_first": 10
},
"max_level": 3,
"min_cost": {
"base": 10,
"per_level_above_first": 10
},
"slots": [
"armor"
],
"supported_items": "#minecraft:enchantable/armor",
"weight": 2
}
================================================
FILE: datapacks/enchantments/data/example/enchantment/roulette.json
================================================
{
"anvil_cost": 2,
"description": {
"text": "Roulette"
},
"effects": {
"minecraft:item_damage": [
{
"effect": {
"type": "minecraft:set",
"value": 0
}
},
{
"effect": {
"type": "minecraft:add",
"value": 2000
},
"requirements": {
"condition": "random_chance",
"chance": 0.01
}
}
]
},
"max_cost": {
"base": 55,
"per_level_above_first": 8
},
"max_level": 1,
"min_cost": {
"base": 5,
"per_level_above_first": 8
},
"slots": [
"mainhand"
],
"supported_items": "#minecraft:enchantable/durability",
"weight": 5
}
================================================
FILE: datapacks/enchantments/data/example/enchantment/sparkles.json
================================================
{
"anvil_cost": 4,
"description": {
"text": "Sparkles!"
},
"effects": {
"minecraft:tick": [
{
"effect": {
"type": "minecraft:spawn_particles",
"horizontal_position": {
"type": "in_bounding_box"
},
"horizontal_velocity": {
"movement_scale": 0
},
"particle": {
"type": "minecraft:ominous_spawning"
},
"speed": 1.0,
"vertical_position": {
"type": "in_bounding_box"
},
"vertical_velocity": {
"base": 0.1
}
}
}
]
},
"max_cost": {
"base": 40,
"per_level_above_first": 10
},
"max_level": 1,
"min_cost": {
"base": 10,
"per_level_above_first": 10
},
"slots": [
"armor"
],
"supported_items": "#minecraft:enchantable/armor",
"weight": 2
}
================================================
FILE: datapacks/enchantments/data/example/enchantment/thor.json
================================================
{
"anvil_cost": 4,
"description": {
"text": "Thor"
},
"effects": {
"minecraft:damage_immunity": [
{
"effect": {},
"requirements": {
"condition": "minecraft:weather_check",
"thundering": true
}
}
]
},
"max_cost": {
"base": 65,
"per_level_above_first": 9
},
"max_level": 1,
"min_cost": {
"base": 15,
"per_level_above_first": 9
},
"slots": [
"mainhand"
],
"supported_items": "#minecraft:enchantable/mace",
"weight": 2
}
================================================
FILE: datapacks/enchantments/data/example/function/annoying.mcfunction
================================================
scoreboard objectives add Random dummy
execute store result score @s Random run random value 1..11
execute if score @s Random matches 1 run tellraw @s "Cat Facts: Thanks for signing up for Cat Facts! You now will receive fun daily facts about CATS! >o<"
execute if score @s Random matches 2 run tellraw @s "Cat Facts: Cats use their tails for balance and have nearly 30 individual bones in them! <To cancel Daily Cat Facts, reply ‘cancel’>"
execute if score @s Random matches 3 run tellraw @s "Cat Facts: In ancient Egypt, killing a cat was a crime punishable by death. Thank you for choosing Cat Facts!"
execute if score @s Random matches 4 run tellraw @s "Cat Facts: Did you know that the first cat show was held in 1871 at the Crystal Palace in London? Mee-wow!"
execute if score @s Random matches 5 run tellraw @s "Cat Facts: Did you know there are about 100 distinct breeds of domestic cat? Plenty of furry love!"
execute if score @s Random matches 6 run tellraw @s "Cat Facts: Cats bury their feces to cover their trails from predators. <To cancel Cat Facts, reply catfactscancel>"
execute if score @s Random matches 7 run tellraw @s "Cat Facts: A cat has two vocal chords, and can make over 100 sounds."
execute if score @s Random matches 8 run tellraw @s "Cat Facts: <Command not recognized> To unsubscribe, please reply ‘catfactscancel’"
execute if score @s Random matches 9 run tellraw @s "Cat Facts: A cat will spend nearly 30% of her life grooming herself. <To cancel Cat Facts, reply catfactscancel>"
execute if score @s Random matches 10 run tellraw @s "Cat Facts: Recent studies have shown that cats can see blue and green. There is disagreement as to whether they can see red."
execute if score @s Random matches 11 run tellraw @s "Cat Facts: A domestic cat can sprint at about 31 miles per hour. <To cancel Cat Facts, reply catfactscancel>"
================================================
FILE: datapacks/enchantments/data/minecraft/tags/enchantment/curse.json
================================================
{
"values": [
"example:fragility_curse",
"example:pollen_allergy_curse",
"example:annoyance"
]
}
================================================
FILE: datapacks/enchantments/pack.mcmeta
================================================
{
"pack": {
"pack_format": 48,
"description": "Enchantments Demo"
}
}
================================================
FILE: datapacks/v16demo/data/v16/functions/concat.mcfunction
================================================
# Concatenate $(string1) and $(string2), save that to $(path) in storage $(id)
$data modify storage $(id) $(path) set value "$(string1)$(string2)"
================================================
FILE: datapacks/v16demo/data/v16/functions/eval.mcfunction
================================================
# Run the command in $(command)
$$(command)
================================================
FILE: datapacks/v16demo/data/v16/functions/fails.mcfunction
================================================
# A function fails if it doesn't use return
setblock ~ ~-1 ~ stone
================================================
FILE: datapacks/v16demo/data/v16/functions/fails2.mcfunction
================================================
# A function fails if it returns 0
return 0
================================================
FILE: datapacks/v16demo/data/v16/functions/get_player_health.mcfunction
================================================
# If this is a player, return the health value
execute if entity @s[type=player] run return run data get entity @s Health
# Return 0 for non-players
return 0
================================================
FILE: datapacks/v16demo/data/v16/functions/line_continuation.mcfunction
================================================
scoreboard players operation @a result \
+= @e[type=marker,limit=1,tag=source] value
================================================
FILE: datapacks/v16demo/data/v16/functions/set_time.mcfunction
================================================
# Set the time to $(time)
$time set $(time)
================================================
FILE: datapacks/v16demo/data/v16/functions/succeeds.mcfunction
================================================
# Return non-zero as a success value
return 1
================================================
FILE: datapacks/v16demo/pack.mcmeta
================================================
{
"pack": {
"pack_format": 16,
"description": "Data Pack v16 Demo"
}
}
================================================
FILE: so_lime.json
================================================
{
"generator": {
"type": "minecraft:noise",
"seed": -1464245863,
"biome_source": {
"type": "minecraft:vanilla_layered",
"seed": -1464245863,
"large_biomes": true
},
"settings": {
"default_block": {
"Name": "minecraft:lime_wool",
"Properties": {}
},
"default_fluid": {
"Name": "minecraft:water",
"Properties": {
"level": "8"
}
},
"bedrock_floor_position": -10,
"bedrock_roof_position": -10,
"sea_level": 32,
"disable_mob_generation": false,
"noise": {
"height": 128,
"sampling": {
"xz_scale": 1,
"y_scale": 3,
"xz_factor": 80,
"y_factor": 60
},
"top_slide": {
"target": 120,
"size": 3,
"offset": 0
},
"bottom_slide": {
"target": 320,
"size": 4,
"offset": -1
},
"size_horizontal": 1,
"size_vertical": 2,
"density_factor": 0.0,
"density_offset": 0.019921875,
"simplex_surface_noise": false,
"random_density_offset": false,
"island_noise_override": false,
"amplified": false
},
"structures": {
"stronghold": {
"distance": 32,
"spread": 3,
"count": 128
},
"structures": {
"minecraft:village": {
"spacing": 32,
"separation": 8,
"salt": 10387312
}
}
}
}
},
"type": "minecraft:overworld"
}
gitextract_391z_5zq/ ├── README.md ├── datapacks/ │ ├── enchantments/ │ │ ├── data/ │ │ │ ├── example/ │ │ │ │ ├── enchantment/ │ │ │ │ │ ├── annoyance.json │ │ │ │ │ ├── boom_boom.json │ │ │ │ │ ├── claw.json │ │ │ │ │ ├── cowbow.json │ │ │ │ │ ├── diminishing.json │ │ │ │ │ ├── fire_walker.json │ │ │ │ │ ├── fishy.json │ │ │ │ │ ├── fragility_curse.json │ │ │ │ │ ├── galaxy_brain.json │ │ │ │ │ ├── multi_multi_shot.json │ │ │ │ │ ├── pollen_allergy_curse.json │ │ │ │ │ ├── roulette.json │ │ │ │ │ ├── sparkles.json │ │ │ │ │ └── thor.json │ │ │ │ └── function/ │ │ │ │ └── annoying.mcfunction │ │ │ └── minecraft/ │ │ │ └── tags/ │ │ │ └── enchantment/ │ │ │ └── curse.json │ │ └── pack.mcmeta │ └── v16demo/ │ ├── data/ │ │ └── v16/ │ │ └── functions/ │ │ ├── concat.mcfunction │ │ ├── eval.mcfunction │ │ ├── fails.mcfunction │ │ ├── fails2.mcfunction │ │ ├── get_player_health.mcfunction │ │ ├── line_continuation.mcfunction │ │ ├── set_time.mcfunction │ │ └── succeeds.mcfunction │ └── pack.mcmeta └── so_lime.json
Condensed preview — 28 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (23K chars).
[
{
"path": "README.md",
"chars": 99,
"preview": "# Random example files\n\nThis repo contains random example files in random state of up-to-dateness.\n"
},
{
"path": "datapacks/enchantments/data/example/enchantment/annoyance.json",
"chars": 700,
"preview": "{\n \"anvil_cost\": 8,\n \"description\": {\n \"text\": \"Curse of Annoyance\"\n },\n \"effects\": {\n \"minecraft:"
},
{
"path": "datapacks/enchantments/data/example/enchantment/boom_boom.json",
"chars": 1050,
"preview": "{\n \"anvil_cost\": 4,\n \"description\": {\n \"text\": \"Boom Boom\"\n },\n \"effects\": {\n \"minecraft:hit_block"
},
{
"path": "datapacks/enchantments/data/example/enchantment/claw.json",
"chars": 730,
"preview": "{\n \"anvil_cost\": 4,\n \"description\": {\n \"text\": \"Claw\"\n },\n \"effects\": {\n \"minecraft:attributes\": ["
},
{
"path": "datapacks/enchantments/data/example/enchantment/cowbow.json",
"chars": 557,
"preview": "{\n \"anvil_cost\": 2,\n \"description\": {\n \"text\": \"Cowbow\"\n },\n \"effects\": {\n \"minecraft:crossbow_cha"
},
{
"path": "datapacks/enchantments/data/example/enchantment/diminishing.json",
"chars": 740,
"preview": "{\n \"anvil_cost\": 4,\n \"description\": {\n \"text\": \"Diminishing\"\n },\n \"effects\": {\n \"minecraft:attribu"
},
{
"path": "datapacks/enchantments/data/example/enchantment/fire_walker.json",
"chars": 2863,
"preview": "{\n \"anvil_cost\": 4,\n \"description\": {\n \"text\": \"Fire Walker\"\n },\n \"effects\": {\n \"minecraft:damage_"
},
{
"path": "datapacks/enchantments/data/example/enchantment/fishy.json",
"chars": 675,
"preview": "{\n \"anvil_cost\": 8,\n \"description\": {\n \"text\": \"Fishy\"\n },\n \"effects\": {\n \"minecraft:tick\": [\n "
},
{
"path": "datapacks/enchantments/data/example/enchantment/fragility_curse.json",
"chars": 1343,
"preview": "{\n \"anvil_cost\": 8,\n \"description\": {\n \"text\": \"Curse of Fragility\"\n },\n \"effects\": {\n \"minecraft:"
},
{
"path": "datapacks/enchantments/data/example/enchantment/galaxy_brain.json",
"chars": 493,
"preview": "{\n \"anvil_cost\": 4,\n \"description\": {\n \"text\": \"Galaxy Brain\"\n },\n \"effects\": {\n \"minecraft:mob_experience\": ["
},
{
"path": "datapacks/enchantments/data/example/enchantment/multi_multi_shot.json",
"chars": 1026,
"preview": "{\n \"anvil_cost\": 4,\n \"description\": {\n \"text\": \"Multi-Multishot\"\n },\n \"effects\": {\n \"minecraft:pro"
},
{
"path": "datapacks/enchantments/data/example/enchantment/pollen_allergy_curse.json",
"chars": 1151,
"preview": "{\n \"anvil_cost\": 4,\n \"description\": {\n \"text\": \"Curse of Pollen Allergy\"\n },\n \"effects\": {\n \"minec"
},
{
"path": "datapacks/enchantments/data/example/enchantment/roulette.json",
"chars": 808,
"preview": "{\n \"anvil_cost\": 2,\n \"description\": {\n \"text\": \"Roulette\"\n },\n \"effects\": {\n \"minecraft:item_damag"
},
{
"path": "datapacks/enchantments/data/example/enchantment/sparkles.json",
"chars": 1055,
"preview": "{\n \"anvil_cost\": 4,\n \"description\": {\n \"text\": \"Sparkles!\"\n },\n \"effects\": {\n \"minecraft:tick\": [\n"
},
{
"path": "datapacks/enchantments/data/example/enchantment/thor.json",
"chars": 592,
"preview": "{\n \"anvil_cost\": 4,\n \"description\": {\n \"text\": \"Thor\"\n },\n \"effects\": {\n \"minecraft:damage_immunit"
},
{
"path": "datapacks/enchantments/data/example/function/annoying.mcfunction",
"chars": 1863,
"preview": "scoreboard objectives add Random dummy\nexecute store result score @s Random run random value 1..11\n\nexecute if score @s "
},
{
"path": "datapacks/enchantments/data/minecraft/tags/enchantment/curse.json",
"chars": 128,
"preview": "{\n \"values\": [\n \"example:fragility_curse\",\n \"example:pollen_allergy_curse\",\n \"example:annoyance\""
},
{
"path": "datapacks/enchantments/pack.mcmeta",
"chars": 94,
"preview": "{\n \"pack\": {\n \"pack_format\": 48,\n \"description\": \"Enchantments Demo\"\n }\n}\n"
},
{
"path": "datapacks/v16demo/data/v16/functions/concat.mcfunction",
"chars": 147,
"preview": "# Concatenate $(string1) and $(string2), save that to $(path) in storage $(id)\n$data modify storage $(id) $(path) set va"
},
{
"path": "datapacks/v16demo/data/v16/functions/eval.mcfunction",
"chars": 44,
"preview": "# Run the command in $(command)\n$$(command)\n"
},
{
"path": "datapacks/v16demo/data/v16/functions/fails.mcfunction",
"chars": 67,
"preview": "# A function fails if it doesn't use return\nsetblock ~ ~-1 ~ stone\n"
},
{
"path": "datapacks/v16demo/data/v16/functions/fails2.mcfunction",
"chars": 44,
"preview": "# A function fails if it returns 0\nreturn 0\n"
},
{
"path": "datapacks/v16demo/data/v16/functions/get_player_health.mcfunction",
"chars": 159,
"preview": "# If this is a player, return the health value\nexecute if entity @s[type=player] run return run data get entity @s Healt"
},
{
"path": "datapacks/v16demo/data/v16/functions/line_continuation.mcfunction",
"chars": 89,
"preview": "scoreboard players operation @a result \\\n += @e[type=marker,limit=1,tag=source] value\n"
},
{
"path": "datapacks/v16demo/data/v16/functions/set_time.mcfunction",
"chars": 44,
"preview": "# Set the time to $(time)\n$time set $(time)\n"
},
{
"path": "datapacks/v16demo/data/v16/functions/succeeds.mcfunction",
"chars": 46,
"preview": "# Return non-zero as a success value\nreturn 1\n"
},
{
"path": "datapacks/v16demo/pack.mcmeta",
"chars": 95,
"preview": "{\n \"pack\": {\n \"pack_format\": 16,\n \"description\": \"Data Pack v16 Demo\"\n }\n}\n"
},
{
"path": "so_lime.json",
"chars": 1590,
"preview": "{\n \"generator\": {\n \"type\": \"minecraft:noise\",\n \"seed\": -1464245863,\n \"biome_source\": {\n \"type\": \"minecraf"
}
]
About this extraction
This page contains the full source code of the slicedlime/examples GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 28 files (17.9 KB), approximately 5.9k tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.