Overview
NOTE: Both added Blocks don't have recipes yet!
This mod adds two new things into Minecraft:
- The Shredder is a block which allows the player to crush items down to gain resource points from them. Resource points of an item are based on its value which is determined from the recipes it is used in or created of (For players who know Project E, thats exactly how it works)
- The Shop is used to buy the before shredded items for a configurable amount more points you got when shredding the item. (default is twice the amount)
Dependencies
This mod needs the Create mod to function
Optionally you can install KubeJS to modify point values from a script (see below)
Notes
- You can only buy the items which were shredded (difference to Project E)
- The Shredder needs rotational power to function
- Resource point values of specific items can be configured (see below)
- This mod will stay Forge only for a while
- Only the player who placed the shredder will receive the points for items, even if other players use it
- If a player is offline the shredder still can shred items but the owner doesn't get points for it
Custom point values
Using item ids and tags ( with the "#" prefix) should both work, although there seem to be some problems sometimes when using tags.
The values you can customly set are also used to recalculate all non-specified values, so you don't have to change them youself. E.g. when changing the value of a stick you don't have to change all things that include a stick to match your new value for sticks.
KubeJS
to change point values of singular items add the following to a file in the
server_scripts
folder and replace use the item_id and value you want:
ATEvents.mapping(event => {
event.setRP("item_id", value)
});
custom_rp.json
In the config folder AmazingTrading
you find this file.
To change item values you add the following:
{
"entries": [
{
"item": "item_id",
"rp": value
},
{
"item": "item_id2",
"rp": value2
}
]
}
Credits
- Lavundel: Shop model, texture and mod logo
- GREEN_POLSKA: gui inspiration
- Project E: resource point calculation code
- Simple Storage Network: shop gui code
- Create Live 5: kickstarting this project