Started by
Tynot
on
Topic category: Help with Minecraft modding (Java Edition)
I am trying to make a market place mod for my skyblock game, because ex nihilo creatio doesn't support project red ores and stones, so i need a way to get it. I would like to add the marble, and basalt, and the ores, to a shop screen where i can purchase the blocks for emeralds.
You can use the execute command thing to add a block in the world, spawn an item, or give something to a player if the other mod is installed. As for the shop, use commands to make a custom villager. I think they support modded items.
I do not have commands enabled on my single player world. this is for private use, I am not making a modpack. Even if i did have commands enabled, it would only be for keep inventory. anything else, is cheating in my eyes. I want to make a mod to get these items.
So, back to my question: Is it possible to call for block id's that do not actually exist/are part of another mod? Do I need to load up the mods source code somehow? Is there a way to manually input an id, instead of using a drop down menu in the program for the "add [item] to player inventory" bubble?
I think that you can achieve this by making a procedure with a random block, then editing the code and writing the id of the modded block instead of the one of the random block you chose before
I can't code so I don't know if this works
Sorry for bad English
Keep inventory is more cheating than a mod block running a command.