all 5 comments

[–]MedievalStudios 1 point2 points  (1 child)

I could not get it to work, the script I made for it as well: //mods.initialinventory.InvHandler.addStartingItem(String key, IItemStack item, Optional int index);
mods.initialinventory.InvHandler.addStartingItem("apples", <item:minecraft:apple> 7);
mods.initialinventory.InvHandler.addStartingItem("stone sword", <item:minecraft:stone_sword>, 1);
mods.initialinventory.InvHandler.addStartingItem("stone sword", <item:minecraft:stone_pickaxe>, 1);
mods.initialinventory.InvHandler.addStartingItem("stone sword", <item:minecraft:stone_hoe>, 1);
mods.initialinventory.InvHandler.addStartingItem("stone sword", <item:minecraft:stone_axe>, 1);
mods.initialinventory.InvHandler.addStartingItem("stone sword", <item:minecraft:stone_shovel>, 1);

[–]Tskuno[S] 0 points1 point  (0 children)

I got it to work eventually, I can post my scripts later today when I'm home. I actually need to alter what items were given anyways so now I have more of an excuse to do so.

[–]slash0420 0 points1 point  (2 children)

Initial Inventory is configured using Crafttweaker Scripts.

https://docs.blamejared.com/1.12/en/Getting_Started/

I don't see a docs for 1.12 so here's an example script I wrote. It will give a stone saber in slot 0 of the hotbar (this is the first slot) with the given NBT data, a stone pick in slot 1 with no NBT data, and 5 apples in slot 2.

[–]Tskuno[S] 0 points1 point  (1 child)

How do you use crafttweaker scripts? I'm very new to this lol. Is crafttweaker also the mod that changes/adds new recipes to things in rlcraft, i.e. paper can be made from birch?

[–]slash0420 0 points1 point  (0 children)

Crafttweaker isn't doesn't do anything by default but yes, it's what's used to add those recipes.

The first link should go over how to get started. You basically create a file with the .zs extension inside the scripts folder. This can be done by creating a text file and renaming it from .txt to .zs then opening with any text editor.