commit d05c9d74c27f7c55bb1351983fd48e16b679e919 Author: Hervé BECHER Date: Mon Apr 6 19:28:59 2026 +0200 first commit diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..d087902 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 2 +indent_style = space +insert_final_newline = true +tab_width = 2 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c4c4ffc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.zip diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..58d3e96 --- /dev/null +++ b/build.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +readonly FILENAME=noemie-mc.zip + +rm ${FILENAME} 2>/dev/null +echo '-- Creating archive' +zip -r ${FILENAME} pack.mcmeta pack.png data/ +echo '-- File path' +realpath ${FILENAME} +echo '-- Printing hash' +sha1sum ${FILENAME} | cut -d ' ' -f 1 diff --git a/data/hb_banners/banner_pattern/triangle_bottom_left.json b/data/hb_banners/banner_pattern/triangle_bottom_left.json new file mode 100644 index 0000000..7678e40 --- /dev/null +++ b/data/hb_banners/banner_pattern/triangle_bottom_left.json @@ -0,0 +1,4 @@ +{ + "asset_id": "hb_banners:triangle_bottom_left", + "translation_key": "block.hb_banners.banner.triangle_bottom_left" +} diff --git a/data/hb_banners/banner_pattern/triangle_bottom_right.json b/data/hb_banners/banner_pattern/triangle_bottom_right.json new file mode 100644 index 0000000..e877f7c --- /dev/null +++ b/data/hb_banners/banner_pattern/triangle_bottom_right.json @@ -0,0 +1,4 @@ +{ + "asset_id": "hb_banners:triangle_bottom_right", + "translation_key": "block.hb_banners.banner.triangle_bottom_right" +} diff --git a/data/hb_banners/banner_pattern/triangle_top_left.json b/data/hb_banners/banner_pattern/triangle_top_left.json new file mode 100644 index 0000000..4f9aaae --- /dev/null +++ b/data/hb_banners/banner_pattern/triangle_top_left.json @@ -0,0 +1,4 @@ +{ + "asset_id": "hb_banners:triangle_top_left", + "translation_key": "block.hb_banners.banner.triangle_top_left" +} diff --git a/data/hb_banners/banner_pattern/triangle_top_right.json b/data/hb_banners/banner_pattern/triangle_top_right.json new file mode 100644 index 0000000..5614b13 --- /dev/null +++ b/data/hb_banners/banner_pattern/triangle_top_right.json @@ -0,0 +1,4 @@ +{ + "asset_id": "hb_banners:triangle_top_right", + "translation_key": "block.hb_banners.banner.triangle_top_right" +} diff --git a/data/hb_discs/item_modifier/satisfactory/c-parks-effect.json b/data/hb_discs/item_modifier/satisfactory/c-parks-effect.json new file mode 100644 index 0000000..031557f --- /dev/null +++ b/data/hb_discs/item_modifier/satisfactory/c-parks-effect.json @@ -0,0 +1,8 @@ +{ + "function": "minecraft:set_components", + "components": { + "minecraft:item_model": "hb_discs:music_disc_satisfactory", + "minecraft:jukebox_playable": "hb_discs:satisfactory/c-parks-effect", + "minecraft:rarity": "rare" + } +} \ No newline at end of file diff --git a/data/hb_discs/item_modifier/satisfactory/crespi-effect.json b/data/hb_discs/item_modifier/satisfactory/crespi-effect.json new file mode 100644 index 0000000..e8cc99a --- /dev/null +++ b/data/hb_discs/item_modifier/satisfactory/crespi-effect.json @@ -0,0 +1,8 @@ +{ + "function": "minecraft:set_components", + "components": { + "minecraft:item_model": "hb_discs:music_disc_satisfactory", + "minecraft:jukebox_playable": "hb_discs:satisfactory/crespi-effect", + "minecraft:rarity": "rare" + } +} \ No newline at end of file diff --git a/data/hb_discs/item_modifier/satisfactory/dunning-kruger-effect.json b/data/hb_discs/item_modifier/satisfactory/dunning-kruger-effect.json new file mode 100644 index 0000000..26858aa --- /dev/null +++ b/data/hb_discs/item_modifier/satisfactory/dunning-kruger-effect.json @@ -0,0 +1,8 @@ +{ + "function": "minecraft:set_components", + "components": { + "minecraft:item_model": "hb_discs:music_disc_satisfactory", + "minecraft:jukebox_playable": "hb_discs:satisfactory/dunning-kruger-effect", + "minecraft:rarity": "rare" + } +} \ No newline at end of file diff --git a/data/hb_discs/item_modifier/satisfactory/fan-effect.json b/data/hb_discs/item_modifier/satisfactory/fan-effect.json new file mode 100644 index 0000000..cea4227 --- /dev/null +++ b/data/hb_discs/item_modifier/satisfactory/fan-effect.json @@ -0,0 +1,8 @@ +{ + "function": "minecraft:set_components", + "components": { + "minecraft:item_model": "hb_discs:music_disc_satisfactory", + "minecraft:jukebox_playable": "hb_discs:satisfactory/fan-effect", + "minecraft:rarity": "rare" + } +} \ No newline at end of file diff --git a/data/hb_discs/item_modifier/satisfactory/ficsit-inc.json b/data/hb_discs/item_modifier/satisfactory/ficsit-inc.json new file mode 100644 index 0000000..0091b56 --- /dev/null +++ b/data/hb_discs/item_modifier/satisfactory/ficsit-inc.json @@ -0,0 +1,8 @@ +{ + "function": "minecraft:set_components", + "components": { + "minecraft:item_model": "hb_discs:music_disc_satisfactory", + "minecraft:jukebox_playable": "hb_discs:satisfactory/ficsit-inc", + "minecraft:rarity": "rare" + } +} \ No newline at end of file diff --git a/data/hb_discs/item_modifier/satisfactory/hyperfocus.json b/data/hb_discs/item_modifier/satisfactory/hyperfocus.json new file mode 100644 index 0000000..3127701 --- /dev/null +++ b/data/hb_discs/item_modifier/satisfactory/hyperfocus.json @@ -0,0 +1,8 @@ +{ + "function": "minecraft:set_components", + "components": { + "minecraft:item_model": "hb_discs:music_disc_satisfactory", + "minecraft:jukebox_playable": "hb_discs:satisfactory/hyperfocus", + "minecraft:rarity": "rare" + } +} \ No newline at end of file diff --git a/data/hb_discs/item_modifier/satisfactory/nostalgium.json b/data/hb_discs/item_modifier/satisfactory/nostalgium.json new file mode 100644 index 0000000..8a59ba1 --- /dev/null +++ b/data/hb_discs/item_modifier/satisfactory/nostalgium.json @@ -0,0 +1,8 @@ +{ + "function": "minecraft:set_components", + "components": { + "minecraft:item_model": "hb_discs:music_disc_satisfactory", + "minecraft:jukebox_playable": "hb_discs:satisfactory/nostalgium", + "minecraft:rarity": "rare" + } +} \ No newline at end of file diff --git a/data/hb_discs/item_modifier/satisfactory/peltzmann-effect.json b/data/hb_discs/item_modifier/satisfactory/peltzmann-effect.json new file mode 100644 index 0000000..7e722a6 --- /dev/null +++ b/data/hb_discs/item_modifier/satisfactory/peltzmann-effect.json @@ -0,0 +1,8 @@ +{ + "function": "minecraft:set_components", + "components": { + "minecraft:item_model": "hb_discs:music_disc_satisfactory", + "minecraft:jukebox_playable": "hb_discs:satisfactory/peltzmann-effect", + "minecraft:rarity": "rare" + } +} \ No newline at end of file diff --git a/data/hb_discs/item_modifier/satisfactory/pygmalion-effect.json b/data/hb_discs/item_modifier/satisfactory/pygmalion-effect.json new file mode 100644 index 0000000..b0b4727 --- /dev/null +++ b/data/hb_discs/item_modifier/satisfactory/pygmalion-effect.json @@ -0,0 +1,8 @@ +{ + "function": "minecraft:set_components", + "components": { + "minecraft:item_model": "hb_discs:music_disc_satisfactory", + "minecraft:jukebox_playable": "hb_discs:satisfactory/pygmalion-effect", + "minecraft:rarity": "rare" + } +} \ No newline at end of file diff --git a/data/hb_discs/item_modifier/satisfactory/ringelmann-effect.json b/data/hb_discs/item_modifier/satisfactory/ringelmann-effect.json new file mode 100644 index 0000000..21263ef --- /dev/null +++ b/data/hb_discs/item_modifier/satisfactory/ringelmann-effect.json @@ -0,0 +1,8 @@ +{ + "function": "minecraft:set_components", + "components": { + "minecraft:item_model": "hb_discs:music_disc_satisfactory", + "minecraft:jukebox_playable": "hb_discs:satisfactory/ringelmann-effect", + "minecraft:rarity": "rare" + } +} \ No newline at end of file diff --git a/data/hb_discs/item_modifier/satisfactory/tier-1.json b/data/hb_discs/item_modifier/satisfactory/tier-1.json new file mode 100644 index 0000000..df008b2 --- /dev/null +++ b/data/hb_discs/item_modifier/satisfactory/tier-1.json @@ -0,0 +1,8 @@ +{ + "function": "minecraft:set_components", + "components": { + "minecraft:item_model": "hb_discs:music_disc_satisfactory", + "minecraft:jukebox_playable": "hb_discs:satisfactory/tier-1", + "minecraft:rarity": "rare" + } +} \ No newline at end of file diff --git a/data/hb_discs/item_modifier/satisfactory/zeigarnik-effect.json b/data/hb_discs/item_modifier/satisfactory/zeigarnik-effect.json new file mode 100644 index 0000000..e76ee18 --- /dev/null +++ b/data/hb_discs/item_modifier/satisfactory/zeigarnik-effect.json @@ -0,0 +1,8 @@ +{ + "function": "minecraft:set_components", + "components": { + "minecraft:item_model": "hb_discs:music_disc_satisfactory", + "minecraft:jukebox_playable": "hb_discs:satisfactory/zeigarnik-effect", + "minecraft:rarity": "rare" + } +} \ No newline at end of file diff --git a/data/hb_discs/jukebox_song/satisfactory/c-parks-effect.json b/data/hb_discs/jukebox_song/satisfactory/c-parks-effect.json new file mode 100644 index 0000000..041625b --- /dev/null +++ b/data/hb_discs/jukebox_song/satisfactory/c-parks-effect.json @@ -0,0 +1,8 @@ +{ + "comparator_output": 15, + "description": "Satisfactory (Dream Thing) - C-Parks Effect", + "length_in_seconds": 370.8604, + "sound_event": { + "sound_id": "hb_discs:music_disc.satisfactory.c-parks-effect" + } +} \ No newline at end of file diff --git a/data/hb_discs/jukebox_song/satisfactory/crespi-effect.json b/data/hb_discs/jukebox_song/satisfactory/crespi-effect.json new file mode 100644 index 0000000..be1b6fa --- /dev/null +++ b/data/hb_discs/jukebox_song/satisfactory/crespi-effect.json @@ -0,0 +1,8 @@ +{ + "comparator_output": 15, + "description": "Satisfactory (Dream Thing) - Crespi Effect", + "length_in_seconds": 462.4457, + "sound_event": { + "sound_id": "hb_discs:music_disc.satisfactory.crespi-effect" + } +} \ No newline at end of file diff --git a/data/hb_discs/jukebox_song/satisfactory/dunning-kruger-effect.json b/data/hb_discs/jukebox_song/satisfactory/dunning-kruger-effect.json new file mode 100644 index 0000000..762c638 --- /dev/null +++ b/data/hb_discs/jukebox_song/satisfactory/dunning-kruger-effect.json @@ -0,0 +1,8 @@ +{ + "comparator_output": 15, + "description": "Satisfactory (Dream Thing) - Dunning-Kruger Effect", + "length_in_seconds": 483.1839, + "sound_event": { + "sound_id": "hb_discs:music_disc.satisfactory.dunning-kruger-effect" + } +} \ No newline at end of file diff --git a/data/hb_discs/jukebox_song/satisfactory/fan-effect.json b/data/hb_discs/jukebox_song/satisfactory/fan-effect.json new file mode 100644 index 0000000..9874f33 --- /dev/null +++ b/data/hb_discs/jukebox_song/satisfactory/fan-effect.json @@ -0,0 +1,8 @@ +{ + "comparator_output": 15, + "description": "Satisfactory (Dream Thing) - Fan Effect", + "length_in_seconds": 528.5877, + "sound_event": { + "sound_id": "hb_discs:music_disc.satisfactory.fan-effect" + } +} \ No newline at end of file diff --git a/data/hb_discs/jukebox_song/satisfactory/ficsit-inc.json b/data/hb_discs/jukebox_song/satisfactory/ficsit-inc.json new file mode 100644 index 0000000..34e1357 --- /dev/null +++ b/data/hb_discs/jukebox_song/satisfactory/ficsit-inc.json @@ -0,0 +1,8 @@ +{ + "comparator_output": 15, + "description": "Satisfactory (Dream Thing) - Ficsit Inc", + "length_in_seconds": 292.8849, + "sound_event": { + "sound_id": "hb_discs:music_disc.satisfactory.ficsit-inc" + } +} \ No newline at end of file diff --git a/data/hb_discs/jukebox_song/satisfactory/hyperfocus.json b/data/hb_discs/jukebox_song/satisfactory/hyperfocus.json new file mode 100644 index 0000000..baaefcb --- /dev/null +++ b/data/hb_discs/jukebox_song/satisfactory/hyperfocus.json @@ -0,0 +1,8 @@ +{ + "comparator_output": 15, + "description": "Satisfactory (Dream Thing) - Hyperfocus", + "length_in_seconds": 433.5543, + "sound_event": { + "sound_id": "hb_discs:music_disc.satisfactory.hyperfocus" + } +} \ No newline at end of file diff --git a/data/hb_discs/jukebox_song/satisfactory/nostalgium.json b/data/hb_discs/jukebox_song/satisfactory/nostalgium.json new file mode 100644 index 0000000..37d369b --- /dev/null +++ b/data/hb_discs/jukebox_song/satisfactory/nostalgium.json @@ -0,0 +1,8 @@ +{ + "comparator_output": 15, + "description": "Satisfactory (Dream Thing) - Nostalgium", + "length_in_seconds": 197.2767, + "sound_event": { + "sound_id": "hb_discs:music_disc.satisfactory.nostalgium" + } +} \ No newline at end of file diff --git a/data/hb_discs/jukebox_song/satisfactory/peltzmann-effect.json b/data/hb_discs/jukebox_song/satisfactory/peltzmann-effect.json new file mode 100644 index 0000000..ae3e7c9 --- /dev/null +++ b/data/hb_discs/jukebox_song/satisfactory/peltzmann-effect.json @@ -0,0 +1,8 @@ +{ + "comparator_output": 15, + "description": "Satisfactory (Dream Thing) - Peltzman Effect", + "length_in_seconds": 453.8775, + "sound_event": { + "sound_id": "hb_discs:music_disc.satisfactory.peltzmann-effect" + } +} \ No newline at end of file diff --git a/data/hb_discs/jukebox_song/satisfactory/pygmalion-effect.json b/data/hb_discs/jukebox_song/satisfactory/pygmalion-effect.json new file mode 100644 index 0000000..cc22a91 --- /dev/null +++ b/data/hb_discs/jukebox_song/satisfactory/pygmalion-effect.json @@ -0,0 +1,8 @@ +{ + "comparator_output": 15, + "description": "Satisfactory (Dream Thing) - Pygmalion Effect", + "length_in_seconds": 490.8931, + "sound_event": { + "sound_id": "hb_discs:music_disc.satisfactory.pygmalion-effect" + } +} \ No newline at end of file diff --git a/data/hb_discs/jukebox_song/satisfactory/ringelmann-effect.json b/data/hb_discs/jukebox_song/satisfactory/ringelmann-effect.json new file mode 100644 index 0000000..3081f0a --- /dev/null +++ b/data/hb_discs/jukebox_song/satisfactory/ringelmann-effect.json @@ -0,0 +1,8 @@ +{ + "comparator_output": 15, + "description": "Satisfactory (Dream Thing) - Ringelmann Effect", + "length_in_seconds": 436.062, + "sound_event": { + "sound_id": "hb_discs:music_disc.satisfactory.ringelmann-effect" + } +} \ No newline at end of file diff --git a/data/hb_discs/jukebox_song/satisfactory/tier-1.json b/data/hb_discs/jukebox_song/satisfactory/tier-1.json new file mode 100644 index 0000000..340ef6e --- /dev/null +++ b/data/hb_discs/jukebox_song/satisfactory/tier-1.json @@ -0,0 +1,8 @@ +{ + "comparator_output": 15, + "description": "Satisfactory (Dream Thing) - Tier 1", + "length_in_seconds": 134.5567, + "sound_event": { + "sound_id": "hb_discs:music_disc.satisfactory.tier-1" + } +} \ No newline at end of file diff --git a/data/hb_discs/jukebox_song/satisfactory/zeigarnik-effect.json b/data/hb_discs/jukebox_song/satisfactory/zeigarnik-effect.json new file mode 100644 index 0000000..f36ed26 --- /dev/null +++ b/data/hb_discs/jukebox_song/satisfactory/zeigarnik-effect.json @@ -0,0 +1,8 @@ +{ + "comparator_output": 15, + "description": "Satisfactory (Dream Thing) - Zeigarnik Effect", + "length_in_seconds": 452.6237, + "sound_event": { + "sound_id": "hb_discs:music_disc.satisfactory.zeigarnik-effect" + } +} \ No newline at end of file diff --git a/data/hb_discs/loot_table/satisfactory.json b/data/hb_discs/loot_table/satisfactory.json new file mode 100644 index 0000000..f284dbe --- /dev/null +++ b/data/hb_discs/loot_table/satisfactory.json @@ -0,0 +1,130 @@ +{ + "type": "minecraft:generic", + "pools": [ + { + "rolls": 1.0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:music_disc_5", + "functions": [ + { + "function": "minecraft:reference", + "name": "hb_discs:satisfactory/ficsit-inc" + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_5", + "functions": [ + { + "function": "minecraft:reference", + "name": "hb_discs:satisfactory/pygmalion-effect" + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_5", + "functions": [ + { + "function": "minecraft:reference", + "name": "hb_discs:satisfactory/peltzmann-effect" + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_5", + "functions": [ + { + "function": "minecraft:reference", + "name": "hb_discs:satisfactory/zeigarnik-effect" + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_5", + "functions": [ + { + "function": "minecraft:reference", + "name": "hb_discs:satisfactory/fan-effect" + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_5", + "functions": [ + { + "function": "minecraft:reference", + "name": "hb_discs:satisfactory/dunning-kruger-effect" + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_5", + "functions": [ + { + "function": "minecraft:reference", + "name": "hb_discs:satisfactory/c-parks-effect" + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_5", + "functions": [ + { + "function": "minecraft:reference", + "name": "hb_discs:satisfactory/ringelmann-effect" + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_5", + "functions": [ + { + "function": "minecraft:reference", + "name": "hb_discs:satisfactory/crespi-effect" + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_5", + "functions": [ + { + "function": "minecraft:reference", + "name": "hb_discs:satisfactory/tier-1" + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_5", + "functions": [ + { + "function": "minecraft:reference", + "name": "hb_discs:satisfactory/nostalgium" + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_5", + "functions": [ + { + "function": "minecraft:reference", + "name": "hb_discs:satisfactory/hyperfocus" + } + ] + } + ] + } + ] +} diff --git a/data/hb_paintings/painting_variant/alias.json b/data/hb_paintings/painting_variant/alias.json new file mode 100644 index 0000000..feae33c --- /dev/null +++ b/data/hb_paintings/painting_variant/alias.json @@ -0,0 +1,13 @@ +{ + "asset_id": "hb_paintings:alias", + "width": 2, + "height": 2, + "title": { + "color": "yellow", + "translate": "painting.hb_paintings.alias.title" + }, + "author": { + "color": "gray", + "text": "Hachebe68" + } +} diff --git a/data/hb_paintings/painting_variant/bbf_creative.json b/data/hb_paintings/painting_variant/bbf_creative.json new file mode 100644 index 0000000..ac99394 --- /dev/null +++ b/data/hb_paintings/painting_variant/bbf_creative.json @@ -0,0 +1,13 @@ +{ + "asset_id": "hb_paintings:bbf_creative", + "width": 2, + "height": 1, + "title": { + "color": "yellow", + "translate": "painting.hb_paintings.bbf_creative.title" + }, + "author": { + "color": "gray", + "text": "Hachebe68" + } +} diff --git a/data/hb_paintings/painting_variant/deltatrack.json b/data/hb_paintings/painting_variant/deltatrack.json new file mode 100644 index 0000000..ed43598 --- /dev/null +++ b/data/hb_paintings/painting_variant/deltatrack.json @@ -0,0 +1,13 @@ +{ + "asset_id": "hb_paintings:deltatrack", + "width": 1, + "height": 1, + "title": { + "color": "yellow", + "translate": "painting.hb_paintings.deltatrack.title" + }, + "author": { + "color": "gray", + "text": "Hachebe68" + } +} diff --git a/data/hb_paintings/painting_variant/greencraft.json b/data/hb_paintings/painting_variant/greencraft.json new file mode 100644 index 0000000..398cf6d --- /dev/null +++ b/data/hb_paintings/painting_variant/greencraft.json @@ -0,0 +1,13 @@ +{ + "asset_id": "hb_paintings:greencraft", + "width": 1, + "height": 1, + "title": { + "color": "yellow", + "translate": "painting.hb_paintings.greencraft.title" + }, + "author": { + "color": "gray", + "text": "Hachebe68" + } +} diff --git a/data/hb_paintings/painting_variant/gugus.json b/data/hb_paintings/painting_variant/gugus.json new file mode 100644 index 0000000..63ad889 --- /dev/null +++ b/data/hb_paintings/painting_variant/gugus.json @@ -0,0 +1,13 @@ +{ + "asset_id": "hb_paintings:gugus", + "width": 2, + "height": 2, + "title": { + "color": "yellow", + "translate": "painting.hb_paintings.gugus.title" + }, + "author": { + "color": "gray", + "text": "Hachebe68" + } +} diff --git a/data/hb_paintings/painting_variant/lustigheim.json b/data/hb_paintings/painting_variant/lustigheim.json new file mode 100644 index 0000000..2b0c28b --- /dev/null +++ b/data/hb_paintings/painting_variant/lustigheim.json @@ -0,0 +1,13 @@ +{ + "asset_id": "hb_paintings:lustigheim", + "width": 2, + "height": 1, + "title": { + "color": "yellow", + "translate": "painting.hb_paintings.lustigheim.title" + }, + "author": { + "color": "gray", + "text": "Hachebe68" + } +} diff --git a/data/hb_paintings/painting_variant/portrait.json b/data/hb_paintings/painting_variant/portrait.json new file mode 100644 index 0000000..9cde3ce --- /dev/null +++ b/data/hb_paintings/painting_variant/portrait.json @@ -0,0 +1,13 @@ +{ + "asset_id": "hb_paintings:portrait", + "width": 1, + "height": 1, + "title": { + "color": "yellow", + "translate": "painting.hb_paintings.portrait.title" + }, + "author": { + "color": "gray", + "text": "Hachebe68" + } +} diff --git a/data/hb_paintings/painting_variant/swamp.json b/data/hb_paintings/painting_variant/swamp.json new file mode 100644 index 0000000..e3c752e --- /dev/null +++ b/data/hb_paintings/painting_variant/swamp.json @@ -0,0 +1,13 @@ +{ + "asset_id": "hb_paintings:swamp", + "width": 2, + "height": 1, + "title": { + "color": "yellow", + "translate": "painting.hb_paintings.swamp.title" + }, + "author": { + "color": "gray", + "text": "Hachebe68" + } +} diff --git a/data/minecraft/loot_table/entities/camel_husk.json b/data/minecraft/loot_table/entities/camel_husk.json new file mode 100644 index 0000000..b5fc962 --- /dev/null +++ b/data/minecraft/loot_table/entities/camel_husk.json @@ -0,0 +1,46 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 3.0, + "min": 2.0 + }, + "function": "minecraft:set_count" + }, + { + "count": { + "type": "minecraft:uniform", + "max": 1.0, + "min": 0.0 + }, + "enchantment": "minecraft:looting", + "function": "minecraft:enchanted_count_increase" + } + ], + "name": "minecraft:rotten_flesh" + } + ], + "rolls": 1.0 + }, + { + "rolls": 1.0, + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "noemie_mc:drop_sand" + } + ] + } + ], + "random_sequence": "minecraft:entities/camel_husk" +} diff --git a/data/minecraft/loot_table/entities/creeper.json b/data/minecraft/loot_table/entities/creeper.json new file mode 100644 index 0000000..363c11d --- /dev/null +++ b/data/minecraft/loot_table/entities/creeper.json @@ -0,0 +1,89 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 2, + "min": 0 + }, + "function": "minecraft:set_count" + }, + { + "count": { + "type": "minecraft:uniform", + "max": 1, + "min": 0 + }, + "enchantment": "minecraft:looting", + "function": "minecraft:enchanted_count_increase" + } + ], + "name": "minecraft:gunpowder" + } + ], + "rolls": 1 + }, + { + "bonus_rolls": 0, + "conditions": [ + { + "condition": "minecraft:entity_properties", + "entity": "attacker", + "predicate": { + "type": "#minecraft:skeletons" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "nbt": "{powered:0b}" + } + } + ], + "entries": [ + { + "type": "minecraft:tag", + "expand": true, + "name": "minecraft:creeper_drop_music_discs" + } + ], + "rolls": 1 + }, + { + "bonus_rolls": 0, + "conditions": [ + { + "condition": "minecraft:entity_properties", + "entity": "attacker", + "predicate": { + "type": "#minecraft:skeletons" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "nbt": "{powered:1b}" + } + } + ], + "entries": [ + { + "type": "minecraft:loot_table", + "value": "hb_discs:satisfactory" + } + ], + "rolls": 1 + } + ], + "random_sequence": "minecraft:entities/creeper" +} diff --git a/data/minecraft/loot_table/entities/husk.json b/data/minecraft/loot_table/entities/husk.json new file mode 100644 index 0000000..a1700a6 --- /dev/null +++ b/data/minecraft/loot_table/entities/husk.json @@ -0,0 +1,158 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 2.0, + "min": 0.0 + }, + "function": "minecraft:set_count" + }, + { + "count": { + "type": "minecraft:uniform", + "max": 1.0, + "min": 0.0 + }, + "enchantment": "minecraft:looting", + "function": "minecraft:enchanted_count_increase" + } + ], + "name": "minecraft:rotten_flesh" + } + ], + "rolls": 1.0 + }, + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "vehicle": { + "type": "minecraft:camel_husk" + } + } + } + ], + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 1.0, + "min": 0.0 + }, + "function": "minecraft:set_count" + }, + { + "count": { + "type": "minecraft:uniform", + "max": 1.0, + "min": 0.0 + }, + "enchantment": "minecraft:looting", + "function": "minecraft:enchanted_count_increase" + } + ], + "name": "minecraft:rabbit_foot" + } + ], + "rolls": 1.0 + }, + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:killed_by_player" + }, + { + "condition": "minecraft:random_chance_with_enchanted_bonus", + "enchanted_chance": { + "type": "minecraft:linear", + "base": 0.035, + "per_level_above_first": 0.01 + }, + "enchantment": "minecraft:looting", + "unenchanted_chance": 0.025 + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:iron_ingot" + }, + { + "type": "minecraft:item", + "name": "minecraft:carrot" + }, + { + "type": "minecraft:item", + "functions": [ + { + "conditions": [ + { + "condition": "minecraft:any_of", + "terms": [ + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "flags": { + "is_on_fire": true + } + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "direct_attacker", + "predicate": { + "equipment": { + "mainhand": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "#minecraft:smelts_loot" + } + ] + } + } + } + } + } + ] + } + ], + "function": "minecraft:furnace_smelt" + } + ], + "name": "minecraft:potato" + } + ], + "rolls": 1.0 + }, + { + "rolls": 1.0, + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "noemie_mc:drop_sand" + } + ] + } + ], + "random_sequence": "minecraft:entities/husk" +} diff --git a/data/minecraft/loot_table/entities/parched.json b/data/minecraft/loot_table/entities/parched.json new file mode 100644 index 0000000..b0d11a0 --- /dev/null +++ b/data/minecraft/loot_table/entities/parched.json @@ -0,0 +1,116 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 2.0, + "min": 0.0 + }, + "function": "minecraft:set_count" + }, + { + "count": { + "type": "minecraft:uniform", + "max": 1.0, + "min": 0.0 + }, + "enchantment": "minecraft:looting", + "function": "minecraft:enchanted_count_increase" + } + ], + "name": "minecraft:arrow" + } + ], + "rolls": 1.0 + }, + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 2.0, + "min": 0.0 + }, + "function": "minecraft:set_count" + }, + { + "count": { + "type": "minecraft:uniform", + "max": 1.0, + "min": 0.0 + }, + "enchantment": "minecraft:looting", + "function": "minecraft:enchanted_count_increase" + } + ], + "name": "minecraft:bone" + } + ], + "rolls": 1.0 + }, + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:killed_by_player" + } + ], + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 1.0, + "min": 0.0 + }, + "function": "minecraft:set_count" + }, + { + "count": { + "type": "minecraft:uniform", + "max": 1.0, + "min": 0.0 + }, + "enchantment": "minecraft:looting", + "function": "minecraft:enchanted_count_increase", + "limit": 1 + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:weakness" + } + ], + "name": "minecraft:tipped_arrow" + } + ], + "rolls": 1.0 + }, + { + "rolls": 1.0, + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "noemie_mc:drop_sand" + } + ] + } + ], + "random_sequence": "minecraft:entities/parched" +} diff --git a/data/minecraft/tags/banner_pattern/no_item_required.json b/data/minecraft/tags/banner_pattern/no_item_required.json new file mode 100644 index 0000000..99d6114 --- /dev/null +++ b/data/minecraft/tags/banner_pattern/no_item_required.json @@ -0,0 +1,8 @@ +{ + "values": [ + "hb_banners:triangle_bottom_left", + "hb_banners:triangle_bottom_right", + "hb_banners:triangle_top_left", + "hb_banners:triangle_top_right" + ] +} diff --git a/data/minecraft/tags/block/enderman_holdable.json b/data/minecraft/tags/block/enderman_holdable.json new file mode 100644 index 0000000..49567d6 --- /dev/null +++ b/data/minecraft/tags/block/enderman_holdable.json @@ -0,0 +1,4 @@ +{ + "replace": true, + "values": [] +} diff --git a/data/minecraft/tags/function/load.json b/data/minecraft/tags/function/load.json new file mode 100644 index 0000000..7e7330d --- /dev/null +++ b/data/minecraft/tags/function/load.json @@ -0,0 +1,5 @@ +{ + "values": [ + "noemie_mc_gm:init" + ] +} diff --git a/data/minecraft/tags/painting_variant/placeable.json b/data/minecraft/tags/painting_variant/placeable.json new file mode 100644 index 0000000..bd94c72 --- /dev/null +++ b/data/minecraft/tags/painting_variant/placeable.json @@ -0,0 +1,11 @@ +{ + "values": [ + "hb_paintings:lustigheim", + "hb_paintings:swamp", + "hb_paintings:bbf_creative", + "hb_paintings:alias", + "hb_paintings:deltatrack", + "hb_paintings:greencraft", + "hb_paintings:gugus" + ] +} diff --git a/data/noemie_mc/loot_table/drop_sand.json b/data/noemie_mc/loot_table/drop_sand.json new file mode 100644 index 0000000..225ebfb --- /dev/null +++ b/data/noemie_mc/loot_table/drop_sand.json @@ -0,0 +1,62 @@ +{ + "type": "minecraft:generic", + "pools": [ + { + "rolls": 1.0, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:killed_by_player" + }, + { + "condition": "minecraft:random_chance_with_enchanted_bonus", + "enchanted_chance": { + "type": "minecraft:linear", + "base": 0.75, + "per_level_above_first": 0.125 + }, + "enchantment": "minecraft:looting", + "unenchanted_chance": 0.625 + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:sand", + "functions": [ + { + "function": "minecraft:set_item", + "item": "minecraft:red_sand", + "conditions": [ + { + "condition": "minecraft:location_check", + "predicate": { + "biomes": "#minecraft:is_badlands" + } + } + ] + }, + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 0.0, + "max": 2.0 + }, + "add": false + }, + { + "function": "minecraft:enchanted_count_increase", + "enchantment": "minecraft:looting", + "count": { + "type": "minecraft:uniform", + "min": 0.0, + "max": 1.0 + } + } + ] + } + ] + } + ] +} diff --git a/data/noemie_mc/recipe/copper_rail.json b/data/noemie_mc/recipe/copper_rail.json new file mode 100644 index 0000000..5d98c56 --- /dev/null +++ b/data/noemie_mc/recipe/copper_rail.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "misc", + "group": "powered_rails", + "key": { + "#": "minecraft:stick", + "R": "minecraft:redstone", + "X": "minecraft:copper_ingot" + }, + "pattern": [ + "X X", + "X#X", + "XRX" + ], + "result": { + "count": 6, + "id": "minecraft:powered_rail" + } +} diff --git a/data/noemie_mc_gm/function/give_sign.mcfunction b/data/noemie_mc_gm/function/give_sign.mcfunction new file mode 100644 index 0000000..0405002 --- /dev/null +++ b/data/noemie_mc_gm/function/give_sign.mcfunction @@ -0,0 +1 @@ +give @s minecraft:oak_sign[minecraft:block_entity_data={id:"sign",front_text:{messages:[{"text":"[NoemieMC]","color":"dark_blue","click_event":{"action":"run_command","command":"function noemie_mc_gm:switch_gm"}},"Changer mode","survie <-> créa",{"text":"(clic droit)","color":"dark_gray"}]},is_waxed:1b}] 1 diff --git a/data/noemie_mc_gm/function/init.mcfunction b/data/noemie_mc_gm/function/init.mcfunction new file mode 100644 index 0000000..3c2682d --- /dev/null +++ b/data/noemie_mc_gm/function/init.mcfunction @@ -0,0 +1 @@ +scoreboard objectives add noemie_mc_gm dummy diff --git a/data/noemie_mc_gm/function/switch_gm.mcfunction b/data/noemie_mc_gm/function/switch_gm.mcfunction new file mode 100644 index 0000000..9557dbb --- /dev/null +++ b/data/noemie_mc_gm/function/switch_gm.mcfunction @@ -0,0 +1,10 @@ +execute unless entity @s[type=minecraft:player] run return 0 + +scoreboard players set #gm noemie_mc_gm 0 +execute if entity @s[gamemode=survival] run scoreboard players set #gm noemie_mc_gm 1 +execute if entity @s[gamemode=creative] run scoreboard players set #gm noemie_mc_gm 2 + +execute if score #gm noemie_mc_gm matches 1 run function noemie_mc_gm:switch_gm/creative +execute if score #gm noemie_mc_gm matches 2 run function noemie_mc_gm:switch_gm/survival + +scoreboard players reset #gm noemie_mc_gm diff --git a/data/noemie_mc_gm/function/switch_gm/creative.mcfunction b/data/noemie_mc_gm/function/switch_gm/creative.mcfunction new file mode 100644 index 0000000..2193e7f --- /dev/null +++ b/data/noemie_mc_gm/function/switch_gm/creative.mcfunction @@ -0,0 +1,2 @@ +gamemode creative @s +title @s actionbar {"translate":"gameMode.changed",with:[{translate:"gameMode.creative"}]} diff --git a/data/noemie_mc_gm/function/switch_gm/survival.mcfunction b/data/noemie_mc_gm/function/switch_gm/survival.mcfunction new file mode 100644 index 0000000..f6c4cdc --- /dev/null +++ b/data/noemie_mc_gm/function/switch_gm/survival.mcfunction @@ -0,0 +1,2 @@ +gamemode survival @s +title @s actionbar {"translate":"gameMode.changed",with:[{translate:"gameMode.survival"}]} diff --git a/pack.mcmeta b/pack.mcmeta new file mode 100644 index 0000000..10e1dfd --- /dev/null +++ b/pack.mcmeta @@ -0,0 +1,10 @@ +{ + "pack": { + "description": { + "translate": "noemie_mc.pack.description", + "fallback": "Custom things for NoemieMC by Hachebe68" + }, + "min_format": [94, 1], + "max_format": [94, 1] + } +} diff --git a/pack.png b/pack.png new file mode 100644 index 0000000..27fd4fa Binary files /dev/null and b/pack.png differ