From 0f84ecca123101ba48541e1baa964ab267e72a13 Mon Sep 17 00:00:00 2001 From: JXSnack Date: Sun, 21 Sep 2025 21:48:56 +0200 Subject: [PATCH 1/4] add lone-contraptions.md --- pages/cfa/lone-contraptions.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 pages/cfa/lone-contraptions.md diff --git a/pages/cfa/lone-contraptions.md b/pages/cfa/lone-contraptions.md new file mode 100644 index 0000000..ed9ee0b --- /dev/null +++ b/pages/cfa/lone-contraptions.md @@ -0,0 +1 @@ +# Lone Contraptions From 0eb1f5f0acb9e0dfe0bef1af4408c8534221677a Mon Sep 17 00:00:00 2001 From: JXSnack Date: Sun, 21 Sep 2025 21:57:55 +0200 Subject: [PATCH 2/4] add refmap note --- pages/cfa/home.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pages/cfa/home.md b/pages/cfa/home.md index 9fedb2e..e8469f9 100644 --- a/pages/cfa/home.md +++ b/pages/cfa/home.md @@ -1,4 +1,8 @@ # Create Fabric Addon This wiki will guide you through on how to create your own Create Mod addon for the FabricMC modloader. From wrenchable -blocks to custom machines and even contraptions! \ No newline at end of file +blocks to custom machines and even contraptions! + +## Quick Notes + +- When you want to mixin into Create, don't forget to set `refmap = false` or else you may encounter a crash \ No newline at end of file From 6b58d3dd7ab8220f9e525619400a5e530f96c727 Mon Sep 17 00:00:00 2001 From: JXSnack Date: Sun, 21 Sep 2025 22:09:26 +0200 Subject: [PATCH 3/4] more info --- pages/cfa/lone-contraptions.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/pages/cfa/lone-contraptions.md b/pages/cfa/lone-contraptions.md index ed9ee0b..25621e6 100644 --- a/pages/cfa/lone-contraptions.md +++ b/pages/cfa/lone-contraptions.md @@ -1 +1,20 @@ # Lone Contraptions + +Let's make an airship. We first need to know what we want the airship to be. Of course! A contraption. Create +contraptions are extremely customizable and easy to move around. Precisely what we want. The next step is to define what +a contraption actually is: + +- it's a type of contraption +- it's a class +- it's an entity +- it's something that needs to be rendered + +## Terminology + +## A New Contraption + +As established, a contraption is a class, an entity and of course a type. Let's create a new class first and make it +extend `TranslatingContraption`. TranslatingContraption handles things that would otherwise be annoying to maintain +yourself, such as colliders and stabilization. + +TranslatingContraption requires an `assemble` method as well as a `getType` method. \ No newline at end of file From 18fd3d94fd36291f5137c8a3684eb2d07d4126d3 Mon Sep 17 00:00:00 2001 From: JXSnack Date: Sun, 21 Sep 2025 22:09:58 +0200 Subject: [PATCH 4/4] lone contraption -> basic contraption --- pages/cfa/{lone-contraptions.md => basic-contraptions.md} | 2 +- pages/struct.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename pages/cfa/{lone-contraptions.md => basic-contraptions.md} (97%) diff --git a/pages/cfa/lone-contraptions.md b/pages/cfa/basic-contraptions.md similarity index 97% rename from pages/cfa/lone-contraptions.md rename to pages/cfa/basic-contraptions.md index 25621e6..ba2a1f6 100644 --- a/pages/cfa/lone-contraptions.md +++ b/pages/cfa/basic-contraptions.md @@ -1,4 +1,4 @@ -# Lone Contraptions +# Basic Contraptions Let's make an airship. We first need to know what we want the airship to be. Of course! A contraption. Create contraptions are extremely customizable and easy to move around. Precisely what we want. The next step is to define what diff --git a/pages/struct.json b/pages/struct.json index 0aa6a48..9da4bc8 100644 --- a/pages/struct.json +++ b/pages/struct.json @@ -28,6 +28,6 @@ "source": "https://github.com/JXSnack/create-fabric-addon-wiki-demo", "main": "home", - "page_structure": ["home.md", "setup.md", "datagen.md", "*Basics", "wrenchable-blocks.md", "goggle-info.md", "*Ponders", "*Rotational Blocks", "requiring-rotation.md", "creating-rotation.md", "*Contraptions", "lone-contraptions.md"] + "page_structure": ["home.md", "setup.md", "datagen.md", "*Basics", "wrenchable-blocks.md", "goggle-info.md", "*Ponders", "*Rotational Blocks", "requiring-rotation.md", "creating-rotation.md", "*Contraptions", "basic-contraptions.md"] } } \ No newline at end of file