Started by
McModded1.14
on
Topic category: Feature requests and ideas for MCreator
As the title says mcreator needs a way to add a trading system with custom trades. This is because as it currently stands, doing custom trades is very difficult. If this is to hard to implement that’s fine. Its just for example: I was thinking about adding a trading system to a mob I created, the caveman from my mod Cavecraft Cave Update but I spent a few hours trying and it just wouldn’t work. I have tried about 1000 times and it still won’t work.
This would help a lot with village related mods or a mod that adds custom wandering villagers.
This is possible, just use procedures.
It is? I can't seem to get it working LOL
Yes it is but it is so complicated if you want to make it like Minecraft. Let's just say:
Levelled Villagers: Expert Proceduring
I don't know if this is actually possible
Villagers with Random Prices: Intermediate Proceduring
You could use NBT tags for this. You could make it randomize a number for selling price on entity spawn.
Villagers with one price: Basic Proceduring
You could just create a GUI with one price and make it open when right clicked to the entity.
Note: It could be easier if MCreator lets you bind a GUI to a entity.
I have been struggling with this since I started Cavecraft: Cave Update. Also thanks. I will try again soon with this info
That is part of my feature request. Gui on a mob. Then I could add trades.
Also until this is added I will have a different trading system using procedures to check if the player has something In there inventory and gives the player a item
I figured out how!!! NorthWestTrees has a tutorial for it. Now I can check trading off the feature list for 1.4 and in 1.4 I made the right clicking on caveroots and glowshrooms less op. In the first beta (probably later today) caveroots will need to grow. Yesterday I made the texture for a grown caveroot.
ok
As soon as I watch the tutorial I will add the trade system. On my phone it’s to small. Cavecraft: Cave Update 1.4 will also add more stone types and stalactites and more than one profession of caveman. Also cave villages are coming better than before.
Okay but why are you telling us here.
IMO the best way to do trades is to use the vanilla trading system
It is literally the same as villager trade interface, there could be levels and unlocking trades and etc.
Mojang made it easy to implement into mods
It requires a little bit of coding though
Porcedure system is a little bit different, and doesn't have so many functions
if you need more help you can contact my friend
RollTye#1520
I don't know how to use mojangs system for trades