Minecraft Data Packs / Other

LPS Recipe Core API [Datapack Edition]

  • check_circle Functions
  • 18,477 views, 14 today
  • 2,532 downloads, 2 today
  • 21
  • 19
  • 21
legopitstop avatar legopitstop
Level 71 : Legendary Programmer
169

This API May change frequently, It is important that you update your pack alongside any needed changes.

Legopitstop's Recipe Core API [​datapack]

by Legopitstop

This API data pack adds recipes to items with NBT (Named Binary Tag). Inside the zip, there is the data pack and resource pack.
Make sure in selected resource packs this is under the following packs:

All packs that need this API will have a button shown below

Go to LPS Recipe API download

Add the button to your website
Curseforge
Source Code
To add the button to your Curseforge page copy the below code then edit your page, click on the "</>" button next to the text format. then paste the code where you want it. I usually type something in the text editor first then go back and replace that text so I know where the button will end up.
<p><br /><a href="www.curseforge.com/minecraft/customization/legopitstops-recipe-core-datapack" target="_blank" rel="ugc nofollow noopener noreferrer"><img class="autosize_img" src="i.ibb.co/kQyP14r/lps-recipe-api-button.png" alt="LPS Recipe API" width="253" height="64" /></a></p>
Planet Minecraft
BBCode Source
To add the button to your PMC page copy the below code then edit your page, click on the "<>" button next to the full-screen button. Paste the code where you want it. I usually type something in the text editor first then go back and replace that text so I know where the button will end up.
[img title="Go to LPS Recipe API download" width=253]i.ibb.co/kQyP14r/lps-recipe-api-button.png[/img]

GitHub
MarkDown
To add the button to your Github page copy the below code then paste it into Github.
[![LPS Recipe API](i.ibb.co/kQyP14r/lps-recipe-api-button.png)]( www.curseforge.com/minecraft/customization/legopitstops-recipe-core-datapack)
Other
HTML
Add this code to any HTML website / document
<a href="www.curseforge.com/minecraft/customization/legopitstops-recipe-core-datapack" target="_blank"> <img src="i.ibb.co/kQyP14r/lps-recipe-api-button.png" title="Go to download" alt="LPS Recipe API" style="text-align:center;min-width:253;width:253;min-height:64;height:64">
Info
These are the attributes that are in some/all of the buttons if they are supported in that format.
Hoasted Image=https://i.ibb.co/kQyP14r/lps-recipe-api-button.png
Follow URL=https://www.curseforge.com/minecraft/customization/legopitstops-recipe-core-datapack
Width=253
Height=64
Title=LPS Recipe API
Alt=Go to download



My Packs (The following packs need this API)

-Charms Add in charms to make endgame easier.
-Morefood Adds in more food because vanilla doesn't have enough.
-Morebuckets Adds in more buckets
-Vending Machine Adds in a working vending machine and new food.

LPS Rcore Packs Collection - Find all the above packs here
How to use it?

Crafting Table

-To get the crafting table do /function give:crafting_table
- Or rename a regular crafting table to "Custom Crafting Table"
-Then you can place the table on the ground. (right-click to open)
-To break you can simply break in creative or with a pick in survival



Recipe Book Table

-To get the recipe book table do /function give:recipe_book_table

-First craft a "Custom Crafting Table"

-Then place a book, crafting_table, and dispenser vertically in the middle

-Then you can place the table on the ground. (right-click to open)

-to break you can simply break in creative with an ax in survival.



For devs

Inside of the resource pack and datapack, there Is a provided template pack to help in making this API work with your datapack. If you have any questions or comments you can drop them below or send me a message on discord Legopitstop#4774


API Info
DATA PACK API
This is a recipe API pack feel free to look through the code or use this
pack for yourself (PLEASE ASK IF YOU ARE USING MY CODE!!!!!)

Some Notes:
-there is a template data and texture pack use them to help in making this work for your
own packs! you can also edit/change the crafting tables model or textures!
-if you need help contact Legopitstop (check below)
────────────────────────────────────────────────────────────────
PACK CREDIT
"Legopitstop (Pack Creator)"
Website: legopitstop.weebly.com/
YouTube: youtube.com/channel/UCCZdrbyDFenCb69C_gu4Qzw/
Twitter: twitter.com/legopitstop/
Instagram: instagram.com/officiallegopitstop/
Facebook: facebook.com/legopitstop/
Gmail: 1589lego@gmail.com/

Copyright 2019 ©
────────────────────────────────────────────────────────────────


Legopitstop's Common License



Buy Me a Coffee at ko-fi.com www.patreon.com
CreditLegopitstop
CompatibilityMinecraft 1.14
toMinecraft 1.16
Tags

13 Update Logs

Update #13 : 06/21/2020 10:47:59 pmJun 21st, 2020

V2.6
+ Updated for 1.16 Snapshots (only works for 1.16, use older versions for 1.15 and lower)
+ Missing datapack system for other datapacks.
+ changed resourcepack assets around, models and textures now use lps_rcore: instead of minecraft:
+ New recipe table block UI system.
+ Recipe table will not dect clicks unless it is open, Improves TPS/Server lag
+ Resourcepack: fixed some errors that came up in game output log.
+ Fixed glass pane texture
+ Added new UI look to recipe book table (will adjust background off of demo_background.png, meaning RP's will adjust to it.)

!! Will not work with packs that use older versions of this API, Use the template pack for help when updating or send a message on discord Legopitstop#4774

Template RP & DP has been updated for V2.6!
LOAD MORE LOGS

Create an account or sign in to comment.

1
11/09/2019 4:44 pm
Level 44 : Master Technomancer
unnamedDE
unnamedDE avatar
Great pack idea, but I have found one bug: on reload the items inside the table get cleared

I created a similar pack, within my opinion a better interface and an online recipe generator.
My pack can be found here and the recipe generator can be found here.

Please credit me if you use the pack
2
11/10/2019 4:25 amhistory
Level 45 : Master Dinosaur
Sir_Craftypants
Sir_Craftypants avatar
Appreciate the offer but it works perfectly fine with our MoreFood pack, our packs don''t require Augment slots and our Table ejects and gives the resulting item to the player which is more user friendly as opposed to having to drag it from a slot in to your inventory. It is not a Bug, or are you referring to leaving items in the table and then typing /reload ?, if so then that's just a case of simply removing the items before you reload but, you shouldn't have to reload anyway as this pack doesn't ever require you to do that.

I'm responsible for adding any future Items and Recipes into Lots More Food and Recipe Core.

Also I spent a long time writing and error checking our Recipe system and Recipes and that works perfectly fine. The interface is simple and effective, this API is purely for crafting with Morefood and the other More family packs. I believe we've come to far to be making wholesale changes to Morefood now that doesn't really offer much of a reasonable difference.

Perhaps Legopitstop may like to consider the use of your interface for a future project though, appreciate your input and opinion though. Thanks.
3
11/10/2019 6:08 am
Level 44 : Master Technomancer
unnamedDE
unnamedDE avatar
Leaving items in a crafter can happen on multiplayer servers when restarting and you cant control leaving items in the crafter. I think it wouldn't make much afford to keep the items in the crafter
1
11/10/2019 11:35 am
Level 71 : Legendary Programmer
legopitstop
legopitstop avatar
oh and a cool thing you could add to your advanced crafting pack. is a crafting book, possibly a retextured item that once you click it, it will show the recipes. That would be a game changer.
1
11/28/2019 11:24 am
Level 44 : Master Technomancer
unnamedDE
unnamedDE avatar
I don't know if I will do it. I want to keep AClib as easy to install as possible, without any additional resource packs. Maybe I will add it in the future as an optional feature.

Thanks for the idea ;)
2
11/10/2019 11:30 am
Level 71 : Legendary Programmer
legopitstop
legopitstop avatar
I like your advanced crafting. but it isn't quite what we want, maybe I could make it so the player can also use your pack to craft items in our more food packs. I will work on the reloading issue.
2
11/10/2019 3:20 pm
Level 45 : Master Dinosaur
Sir_Craftypants
Sir_Craftypants avatar
Picture Book and Quill is already in Education Edition, it's only a matter of time before they also put it in Java Edition and we will have our Recipe Book, at least that is my hope.
1
11/10/2019 9:32 am
Level 45 : Master Dinosaur
Sir_Craftypants
Sir_Craftypants avatar
That's a valid point, maybe Legopitstop will implement it in a future update.
1
07/12/2019 12:47 am
Level 1 : New Miner
amiller3102
amiller3102 avatar
How to craft the food with this pack. for survival
1
07/12/2019 8:37 pm
Level 71 : Legendary Programmer
legopitstop
legopitstop avatar
The recipes for the More food Datapack 1.14+ have not all been added. crafting will be the main focus on the next update. will be uploaded on Monday if everything goes to plan.
1
05/27/2019 7:47 am
Level 1 : New Miner
the-moipapa13
the-moipapa13 avatar
Please make a version without the Bamboo planks, i'm using Fabric with the Blockus mod and it already adds them.
1
05/27/2019 10:44 am
Level 71 : Legendary Programmer
legopitstop
legopitstop avatar
You don't have to install the "Sample pack" to make it work with my other packs. The sample pack is if people want to use the core pack to make their own recipes.
1
05/27/2019 11:42 am
Level 1 : New Miner
the-moipapa13
the-moipapa13 avatar
Alright, thanks for the answer, does this work with the MoreFood datapack? and keep the awesome work!
1
05/27/2019 11:51 am
Level 71 : Legendary Programmer
legopitstop
legopitstop avatar
Yes, It works with "More Food 1.14+" There is a new update V1.1 out today.
1
05/27/2019 11:48 am
Level 1 : New Miner
the-moipapa13
the-moipapa13 avatar
And please; remove the diamond from the crafting table, it makes the food hard to craft
1
05/27/2019 11:52 am
Level 71 : Legendary Programmer
legopitstop
legopitstop avatar
Should I replace the diamond with an gold/iron ingot?
1
05/27/2019 2:34 pm
Level 1 : New Miner
the-moipapa13
the-moipapa13 avatar
Yeah, probably, even iron would be better all of this makes the food part harder than it should be :)
1
05/19/2019 3:56 pm
Level 1 : New Miner
alionguy
alionguy avatar
nevermind it was your other pack that didn't work.
1
05/17/2019 5:32 pm
Level 1 : New Miner
alionguy
alionguy avatar
i can't get the resource pack to work
1
05/17/2019 6:28 pm
Level 71 : Legendary Programmer
legopitstop
legopitstop avatar
Make sure you take out the resource pack folder and put in in your game resource folder. hopefully that will help
1
06/01/2019 9:27 pm
Level 1 : New Miner
leekingkong
leekingkong avatar
it didn't work
Planet Minecraft

Website

© 2010 - 2021
www.planetminecraft.com

Welcome