Skip to content

Instantly share code, notes, and snippets.

View LatvianModder's full-sized avatar
🔧
2nd best Minecraft Modder on this planet

Kristiāns Micītis LatvianModder

🔧
2nd best Minecraft Modder on this planet
View GitHub Profile
@LatvianModder
LatvianModder / _variants.js
Last active April 20, 2024 23:50
KubeJS Scripts
// This is not actually executable code.
// This just shows that there are different ways to write things,
// you chose whichever looks best/fits better your needs.
// Note: 'data' is only available in 1.12.2 and represents item metadata or damage
// Items
// If string is used, it parses it as /give would.
'minecraft:stone_sword' // Stone Sword
'minecraft:stone_sword 1 10' // Stone Sword with damage 10
'minecraft:apple 30' // 30 Apples
Node | Type | Player default | OP default | Variants
| | | |
command | bool | false | true | [true, false]
default_op_rank | bool | false | false | [true, false]
default_player_rank
@LatvianModder
LatvianModder / example.js
Last active January 4, 2024 21:36
KubeJS 1.14+ Recipes
// kubejs/data/modpack/kubejs/example.js
// This is just an example script to show off multiple types of recipes and removal methods
// Supports /reload
// Enable recipe logging, off by default
server.logAddedRecipes = true
server.logRemovedRecipes = true
// Listen to server recipe event
events.listen('recipes', function (event) {
@LatvianModder
LatvianModder / 1ranksoverview.md
Last active August 26, 2023 11:19
FTBU for dummies
@LatvianModder
LatvianModder / README.md
Last active July 20, 2022 00:56
FTBLib / FTBUtilities Teams

Teams

Teams will now replace previous friends system. That way, it's much easier to manage claimed chunks and other stuff I have planned.

Basics

  • Players start without a team, until they either create or join one
  • Player can only be in one team
  • If you are the owner, you can't leave the team without either giving ownership to another member or kicking everyone out
  • Team can't have multiple owners, only one owner / host / admin
@LatvianModder
LatvianModder / Latvian DEV CLA.txt
Last active September 7, 2021 18:07
Latvian DEV CLA
As a contributor to Latvian DEV projects, you grant Latvian DEV the following:
Copyright ownership of your contributions to Latvian DEV project codebases to Latvian DEV, where it will be licensed under the license in respective repository.
This is intended as a legally binding copyright assignment to Latvian DEV for all contributions to all Latvian DEV projects.
@LatvianModder
LatvianModder / README.md
Last active May 3, 2021 06:38
FTBUtilities Guide Info
As a contributor to MCMC projects, you grant MCMC the following:
Copyright ownership of your contributions to MCMC project codebases to MCMC, where it will be licensed under the LGPLv2.1 license.
This is intended as a legally binding copyright assignment to MCMC for all contributions to all MCMC projects.
@LatvianModder
LatvianModder / FTBLib.md
Created May 8, 2016 13:08
FTB Mod Commands

Commands

/reload [client] - Reloads server and optionally client /reload_client - Reloads client only

/ftb_mode set - Sets current mode /ftb_mode get - Prints current mode /ftb_mode list - Prints all available modes

/edit_config [group] [entry] [value] - Opens config Gui, if only 1st argument is given

@LatvianModder
LatvianModder / recipes.js
Created November 30, 2019 14:12
KubeJS 1.12.2 Recipes
// This script replaces beacon recipe with new one
// Listen to Crafing Table recipe event
events.listen('recipes.crafting_table', function (event) {
// Remove Beacon recipe
event.removeID('minecraft:beacon')
// Add new Beacon recipe. new_beacon is the ID of recipe, minecraft:beacon is the item
event.addShaped('new_beacon', 'minecraft:beacon', ['CGC', 'GSG', 'CGC'], {
G: 'ore:blockGlass', // And blockGlass
S: 'ore:netherStar', // Any netherStar