Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- recipes.addShapeless(<minecraft:bedrock>.withTag({souls: 4.0}), [<ore:treeSapling>]);
- recipes.addShapeless(<minecraft:wheat_seeds>, [<minecraft:wheat_seeds>.marked("gem"), <minecraft:bedrock>.marked("mob")], function(outputs, inputs, crafting) {
- val full = <minecraft:wheat_seeds>.withTag({souls: 64.0});
- if (inputs.gem.tag.souls == full.tag.souls) {
- return null;
- }
- if (!(inputs.gem.tag in "souls")) {
- return <minecraft:wheat_seeds>.withTag({souls: inputs.mob.tag.souls});
- }
- var will = inputs.gem.tag.souls + inputs.mob.tag.souls;
- if (will > full.tag.souls) {
- will = full.tag.souls;
- }
- return <minecraft:wheat_seeds>.withTag({souls: will});
- });
- print("reloaded");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement