From e2e505479364b76fda812d14d50b5185b593ed25 Mon Sep 17 00:00:00 2001 From: Uraneptus Date: Fri, 17 Apr 2026 23:49:42 +0200 Subject: [PATCH 1/6] Update index.tsx --- src/pages/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 4b463f2..3436fd1 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -20,7 +20,7 @@ export default function Home(): ReactNode { return ( + description="The offical Wiki for the Mosaic Modding Team">
From fa623c3944e6ecb4825ad9f6ab29623143f9cf50 Mon Sep 17 00:00:00 2001 From: Uraneptus <50745606+Uraneptus@users.noreply.github.com> Date: Sat, 18 Apr 2026 16:18:15 +0200 Subject: [PATCH 2/6] Expand README with setup and contribution guidelines Added instructions for running the project and contributing. --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5899775..9ba14d5 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,16 @@ # Mosaic Modding Documentation -currently just a proof of concept +### How to get this running on your device +1. Fork & clone the repo +2. Run `npm install` +3. Run `npm start` to start the local dev instance + +### Contribute +- If you're a Team Member only work on the dev branch and open a PR to main, when you want to publish a new version +- If you're an external Contributor, simply fork the repo add the feature and open a PR to the **dev** branch. + +### Publish a new version +1. Open a PR from dev to main. +2. Wait for the "Test Deployment" action to complete +3. If that action was successful, merge the PR. +4. This will trigger the actual Deployment action From cdfcc0a39b10a414a5a5a47a1dcc255016b86f60 Mon Sep 17 00:00:00 2001 From: Uraneptus Date: Sat, 18 Apr 2026 17:18:37 +0200 Subject: [PATCH 3/6] fix mauled damage numbers --- sullysmod/amber/_category_.json | 3 --- sullysmod/mauled.mdx | 6 +++--- 2 files changed, 3 insertions(+), 6 deletions(-) delete mode 100644 sullysmod/amber/_category_.json diff --git a/sullysmod/amber/_category_.json b/sullysmod/amber/_category_.json deleted file mode 100644 index 27c09ab..0000000 --- a/sullysmod/amber/_category_.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "label": "Amber" -} \ No newline at end of file diff --git a/sullysmod/mauled.mdx b/sullysmod/mauled.mdx index 8d9a01b..e29e22e 100644 --- a/sullysmod/mauled.mdx +++ b/sullysmod/mauled.mdx @@ -18,9 +18,9 @@ export const ranged = { export const melee = { type: WeaponType.Melee, weapontype: "iron_sword", - easy: 3, - normal: 5, - hard: 7 + easy: 4, + normal: 7, + hard: 9 } export const spawnRules = [ From a0d1bac86dba5b857746414647a78cb7ca833c1f Mon Sep 17 00:00:00 2001 From: Uraneptus Date: Sun, 19 Apr 2026 02:55:04 +0200 Subject: [PATCH 4/6] more sm --- src/components/EntityAttributes.tsx | 45 +++---------- src/components/Hearts.tsx | 34 ++++++++++ src/components/ShowcaseBlock.tsx | 3 +- static/img/builtin_retextures.png | Bin 0 -> 817785 bytes static/img/jungle_spider.png | Bin 0 -> 30664 bytes static/img/lanternfish.png | Bin 0 -> 25449 bytes static/img/mauled.gif | Bin 0 -> 46338 bytes static/img/mauled.png | Bin 10718 -> 0 bytes static/img/piranha.png | Bin 0 -> 42902 bytes static/img/venom_vials.gif | Bin 30561 -> 27234 bytes sullysmod/about.mdx | 3 +- sullysmod/amber.mdx | 3 + sullysmod/artifacts/_category_.json | 3 +- sullysmod/artifacts/ancient_skulls.mdx | 3 + sullysmod/artifacts/index.mdx | 4 ++ sullysmod/artifacts/overworld.mdx | 0 sullysmod/bouldering_zombie.mdx | 48 ++++++++++++++ sullysmod/bouldering_zombie/_category_.json | 3 - .../bouldering_zombie/bouldering_zombie.mdx | 0 sullysmod/bug_meat.mdx | 4 ++ sullysmod/bug_meat/_category_.json | 3 - sullysmod/bug_meat/bug_meat.mdx | 0 sullysmod/builtin_resourcepacks.mdx | 22 +++++++ sullysmod/copper_buttons.mdx | 1 + sullysmod/gem_lanterns.mdx | 1 + .../grindstone_polishing/_category_.json | 3 - sullysmod/item_stand.mdx | 4 ++ sullysmod/item_stand/_category_.json | 3 - sullysmod/item_stand/item_stand.mdx | 0 sullysmod/jade/_category_.json | 3 +- sullysmod/jade/grindstone_polishing.mdx | 3 + sullysmod/jade/index.mdx | 4 ++ sullysmod/jungle_spider.mdx | 59 ++++++++++++++++++ sullysmod/jungle_spider/_category_.json | 3 - sullysmod/lanternfish.mdx | 39 ++++++++++++ sullysmod/lanternfish/_category_.json | 3 - sullysmod/lanternfish/lanternfish.mdx | 0 sullysmod/mauled.mdx | 10 +-- sullysmod/other_configs.mdx | 4 ++ sullysmod/petrified_wood.mdx | 4 ++ sullysmod/petrified_wood/_category_.json | 3 - sullysmod/piranha.mdx | 53 ++++++++++++++++ sullysmod/piranha/_category_.json | 3 - sullysmod/potions.mdx | 8 +++ sullysmod/potions/_category_.json | 4 -- sullysmod/potions/resistance_potion.mdx | 0 sullysmod/potions/unluck_potion.mdx | 0 sullysmod/tortoise/_category_.json | 3 +- sullysmod/tortoise/index.mdx | 4 ++ sullysmod/tortoise/shell.mdx | 3 + 50 files changed, 328 insertions(+), 75 deletions(-) create mode 100644 src/components/Hearts.tsx create mode 100644 static/img/builtin_retextures.png create mode 100644 static/img/jungle_spider.png create mode 100644 static/img/lanternfish.png create mode 100644 static/img/mauled.gif delete mode 100644 static/img/mauled.png create mode 100644 static/img/piranha.png create mode 100644 sullysmod/artifacts/ancient_skulls.mdx create mode 100644 sullysmod/artifacts/index.mdx delete mode 100644 sullysmod/artifacts/overworld.mdx create mode 100644 sullysmod/bouldering_zombie.mdx delete mode 100644 sullysmod/bouldering_zombie/_category_.json delete mode 100644 sullysmod/bouldering_zombie/bouldering_zombie.mdx create mode 100644 sullysmod/bug_meat.mdx delete mode 100644 sullysmod/bug_meat/_category_.json delete mode 100644 sullysmod/bug_meat/bug_meat.mdx create mode 100644 sullysmod/builtin_resourcepacks.mdx delete mode 100644 sullysmod/grindstone_polishing/_category_.json create mode 100644 sullysmod/item_stand.mdx delete mode 100644 sullysmod/item_stand/_category_.json delete mode 100644 sullysmod/item_stand/item_stand.mdx create mode 100644 sullysmod/jade/grindstone_polishing.mdx create mode 100644 sullysmod/jade/index.mdx create mode 100644 sullysmod/jungle_spider.mdx delete mode 100644 sullysmod/jungle_spider/_category_.json create mode 100644 sullysmod/lanternfish.mdx delete mode 100644 sullysmod/lanternfish/_category_.json delete mode 100644 sullysmod/lanternfish/lanternfish.mdx create mode 100644 sullysmod/other_configs.mdx create mode 100644 sullysmod/petrified_wood.mdx delete mode 100644 sullysmod/petrified_wood/_category_.json create mode 100644 sullysmod/piranha.mdx delete mode 100644 sullysmod/piranha/_category_.json create mode 100644 sullysmod/potions.mdx delete mode 100644 sullysmod/potions/_category_.json delete mode 100644 sullysmod/potions/resistance_potion.mdx delete mode 100644 sullysmod/potions/unluck_potion.mdx create mode 100644 sullysmod/tortoise/index.mdx create mode 100644 sullysmod/tortoise/shell.mdx diff --git a/src/components/EntityAttributes.tsx b/src/components/EntityAttributes.tsx index 9945018..be74dc8 100644 --- a/src/components/EntityAttributes.tsx +++ b/src/components/EntityAttributes.tsx @@ -1,5 +1,6 @@ import useBaseUrl from "@docusaurus/useBaseUrl"; import React from "react"; +import Hearts from "@site/src/components/Hearts"; export default function EntityAttributes(props: any) { return ( @@ -28,10 +29,12 @@ export default function EntityAttributes(props: any) {

{item.type}

- {item.weapontype + {item.weapontype !== null && item.weapontype !== undefined && ( + {item.weapontype + )}
From 23187201755dd9d4f332f714594c5324dfbaaa78 Mon Sep 17 00:00:00 2001 From: Uraneptus Date: Thu, 21 May 2026 21:41:10 +0200 Subject: [PATCH 6/6] food & bug meat --- src/components/FoodShowcase.tsx | 73 ++++++++++++++++++++++++++++++++ src/components/Hearts.tsx | 11 ++--- src/components/Hunger.tsx | 29 +++++++++++++ src/css/custom.css | 4 +- src/util/CalculateHalfFull.ts | 5 +++ static/img/bug_meat.png | Bin 0 -> 316 bytes static/img/cooked_bug_meat.png | Bin 0 -> 331 bytes static/img/full_hunger.png | Bin 0 -> 140 bytes static/img/half_hunger.png | Bin 0 -> 144 bytes sullysmod/bug_meat.mdx | 42 +++++++++++++++++- 10 files changed, 153 insertions(+), 11 deletions(-) create mode 100644 src/components/FoodShowcase.tsx create mode 100644 src/components/Hunger.tsx create mode 100644 src/util/CalculateHalfFull.ts create mode 100644 static/img/bug_meat.png create mode 100644 static/img/cooked_bug_meat.png create mode 100644 static/img/full_hunger.png create mode 100644 static/img/half_hunger.png diff --git a/src/components/FoodShowcase.tsx b/src/components/FoodShowcase.tsx new file mode 100644 index 0000000..0d9bf2e --- /dev/null +++ b/src/components/FoodShowcase.tsx @@ -0,0 +1,73 @@ +import useBaseUrl from "@docusaurus/useBaseUrl"; +import React from "react"; +import Hunger from "@site/src/components/Hunger"; +import Hearts from "@site/src/components/Hearts"; + +export default function ShowcaseBlock(props: any) { + return ( +
+
+ {props.title && ( +
+

{props.title}

+
+ )} +
+ {props.image} +
+ {props.nutrition && ( +
+ Nutrition:  +
+ )} + {props.saturation && ( +
+ Saturation:  +
+ )} + {props.always === true && ( +
+ Can always be eaten. +
+ )} + {props.dogFood === true && ( +
+ Can be fed to dogs. +
+ )} + {props.effects && ( +
+
+ Effects: {props.effects.map((item: Effect) => +
+
{item.name}
+
    +
  • Chance to apply: {item.probability}%
  • +
  • Duration: {item.duration}
  • +
+
+ )} +
+
+ )} +
+
+ {props.children && ( +
+ {props.children} +
+ )} +
+
+ ); +} + +export interface Effect { + name: string, + probability: number, + duration: string +} \ No newline at end of file diff --git a/src/components/Hearts.tsx b/src/components/Hearts.tsx index ed08ce8..be4d772 100644 --- a/src/components/Hearts.tsx +++ b/src/components/Hearts.tsx @@ -1,18 +1,13 @@ import useBaseUrl from "@docusaurus/useBaseUrl"; import React from "react"; - -function calculateHearts(count: number) { - const full = Math.floor(count / 2); - const half = count % 2; - return { full, half }; -} +import calculateHalfFull from "@site/src/util/CalculateHalfFull"; export default function Hearts(props: any) { const fullImage = useBaseUrl("/img/full_heart.png"); const halfImage = useBaseUrl("/img/half_heart.png"); - let heartAmount = calculateHearts(props.amount); + let heartAmount = calculateHalfFull(props.amount); return ( -
+
{props.amount} ( {Array.from({ length: heartAmount.full }).map((_, index) => ( + {props.amount} ( + {Array.from({ length: hungerAmount.full }).map((_, index) => ( + {"Full + ))} + {Array.from({ length: hungerAmount.half }).map((_, index) => ( + {"Half + ))} + ) +
+ ); +} \ No newline at end of file diff --git a/src/css/custom.css b/src/css/custom.css index badf4af..a5a2934 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -101,7 +101,7 @@ a.no-underline { border-bottom: 1px solid var(--box-outline); } -.hearts { +.mc_icons { display: flex; align-items: center; gap: 1px; @@ -109,7 +109,7 @@ a.no-underline { max-width: 100%; } -.hearts img { +.mc_icons img { width: 11px; height: 11px; } diff --git a/src/util/CalculateHalfFull.ts b/src/util/CalculateHalfFull.ts new file mode 100644 index 0000000..b9b4f3f --- /dev/null +++ b/src/util/CalculateHalfFull.ts @@ -0,0 +1,5 @@ +export default function calculateHalfFull(count: number) { + const full = Math.floor(count / 2); + const half = count % 2; + return { full, half }; +} \ No newline at end of file diff --git a/static/img/bug_meat.png b/static/img/bug_meat.png new file mode 100644 index 0000000000000000000000000000000000000000..8d9ac5ce0833102cc6405d55c11cd231defe1d0f GIT binary patch literal 316 zcmeAS@N?(olHy`uVBq!ia0vp^2_VeD3?#3*wSy!Wi-X*q7}lMWc?sl51o(uwx)|9d zJA~IpN1x6^j> zwHOF6SIU(C|9{-$^|2F5r#J)O?qG6G(+E>J{r;&Ahrpli)d~&<=b}!!IW{D)=^hCS z+#DX%!*KAaYWIctU5kqy1Ql-RMCnYp;I4Y{ros!&4~``l5+ijVC%RtnoseOAziaW; zo$*3K~HE$g0N~p&iIbp}gi(HINr_UzKFtOybI5HpPRQQsAW&!E6%_a(=J7IB zh_UhShK!dxzul=aQq)(NpyMI;{P(@jFHX)mbIaLnf!cvZYm(KX{a@V@SZAcpbhV*S zaA(b$djjh|wI{0w@SJE`Hp}(rIs4?VJ9aRYGT1!}OfFTkspkxzto}aNmz9e_vQYEn zhZ|>Cr3k;011AjjhjL$GIdP_FPt*dV5BE8MK;{H@3EQKM;w@M1 Q0zJgw>FVdQ&MBb@0C_Eiw*UYD literal 0 HcmV?d00001 diff --git a/static/img/full_hunger.png b/static/img/full_hunger.png new file mode 100644 index 0000000000000000000000000000000000000000..c7cb18f840b7536b40f6071b431f46d451f95b58 GIT binary patch literal 140 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{V!JaOTAr*|t4ov?KO7Q=vclCb# zUyYM1|%O$WD@{V;hrvzAr*|t4ov?KO7Qs`IM*9pv4GT3LgmupRdyEjlq@AZL-ymiKP*}}O?{)e-_di3>3 qy+mC}>DBs0HGls9mTl^Kz{OBuY+vhFHhC@33I + + + + + + +