Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions pages/cfa/basic-contraptions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# 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
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.
6 changes: 5 additions & 1 deletion pages/cfa/home.md
Original file line number Diff line number Diff line change
@@ -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!
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
2 changes: 1 addition & 1 deletion pages/struct.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
}