Skip to content

Instantly share code, notes, and snippets.

View vertexcubed's full-sized avatar

Vivian vertexcubed

  • 00:23 (UTC -04:00)
View GitHub Profile
@vertexcubed
vertexcubed / main.md
Created October 16, 2023 15:29
Pack Dev Scripting for Dummies

Basic Programming Concepts

This gist contains some absolutely basic programming concepts you should understand before starting to write more complicated scripts. It is targeted towards people with absolutely zero programming experience whatsoever. If you're just changing recipes, you can probably copy and paste from a tutorial instead. This is mostly targeted towards modded Minecraft pack development, and as such all examples will be in both JavaScript (KubeJS) and ZenCode (CraftTweaker).

Note: this is written with Minecraft 1.19.2 in mind. Things may be different on older or newer versions!

Basic Syntax

When programming, each line of a file represents a different instruction that your computer runs. These instructions can be various things, from displaying text, to adding numbers, to checking values. In ZenCode, every instruction must end in a semicolon (;). In JavaScript, lines can optionally end in semicolons, but it's not required.

@vertexcubed
vertexcubed / cfmods.md
Last active August 24, 2022 15:20
Petey's list of mods on Curseforge with API downloads disabled

Note: Some of these have Modrinth versions while others do not.

Also, please do not harass any of these mod authors for disabling third party downloads. Their mod, their decision. I'm just making this list for convenience (and so I know when my modpack has a mod with third party downloads disabled)

Manually compiled/maintained, if you'd like to add something leave a comment or DM me on Discord (Petey #7443)