[Intro] Hello Fellow Scratchers – Ever wanted to add your own items and blocks to Paper Minecraft? We’ll today I’ll show you how, demonstrating by adding the hugely significant “cheese block”! Perfect because it will allow me to show you how to set up smelting, crafting and eating, not to mention you’ll get to See me build my dream house! – Excellent! I’ve no doubt that soon you’ll be creating the most awesome mods of your own. The most creative mods will be featured in my very next modding video, so go to town and have a lot of fun, and post your mods in the studio linked In the description under this video! 😀 [Remix Paper Minecraft – and Save Issue] Ok – Shall we begin! Load up the latest version of Paper Minecraft (If you need it, there’s a link to that too in the description) Now Remix, and the fun really begins! 😊 – Just A word of advise. This is a large project, and if you find Scratch tells you it can’t save, just try clicking the “green flag” to reset the project, and that should solve the problem and it will save once more. [Find / Draw your Costumes] Right, I’m going to add a Cheese block, so I need some cheese costumes. You won’t be surprised that the Minecraft community already have some suitable content that I could borrow! I could have grabbed the assets from the rat mod webpage, but for the best quality, I went Ahead and extracted the original images from the rat mod source files. If you need them too, then these will also be linked in the description. Back in Scratch, we need to add the costumes to the “Tiles” sprite. This is just full of Minecraft block and item costumes. Just make sure you ALWAYS add new costumes to the bottom of the list, changing the costume numbers of existing items will really mess up the game! [Costume Size] So here’s my new cheese block, we just need to ensure it’s correctly sized. Select all (Ctrl + A), and drag while hold “alt” to keep it centred. The final size wants to be 10 of these grid squares tall (or 40×40 pixels if you go by the costume size) Repeat this for as many costumes as you need. It’s a little trickier with non block items as The sizing is a little harder to gauge. It’s actually 2 and a half times larger than the imported costume if you want to know. Ok! I want the cheese item first… [Modding the _BLOCK_DATA list] So, paper Minecraft is super meta – We Have many lists of data that drive the game. The “_BLOCK_DATA” list (make it visible) contains information on each and every tile and item in the game. Now we could edit the list directly in Scratch, but to be honest, It’s much easier to handle if we right click the list, and choose to export it to our computer. Then we can load up the list in notepad, or notepad++ if you have that because I love being able to “clone the view”. This opens the same file twice side by side, And you’ll see why this is cool in a moment. So – This text file follows a record structure. Each record is 20 lines long, and separated from the next record by a single blank line. A record Exists for every tile or item in Paper Minecraft. This top record though is a special header record, and it just tells us what each line of a record is used for. The best way to add a new block is by copying a record that’s already there. Our cheese item is similar to any small item… so how about we copy… a gold ingot? It’s costume number 42. We search up the costume number 42 in the block data file, and here we go, you can see the title Gold Ingot, and the item number Just above, and above that the single space that separates records. So this gold ingot is Item number 84. Item numbers are not linked to costumes at all, it’s worth remembering that. So select the entire record, all 20 lines and copy them to the clipboard. We’ll drop To the end of the text document, and paste these on the end, making sure to leave only a single blank line between this new record and the previous one. Don’t leave any more, or any less otherwise this won’t work. [What to change] So this is where having the second view of this file comes in useful, I can match up the lines of our record with the header lines from the top of the document. See the description matching up with the description line? Now we edit – The item number first… This must always follow on from the record above. That was 287… So, the next item number is 288. Next we give it a name; “Piece of Cheese”. None of these other settings are important right now, except – row 15 tells us which Category under the creative menu the block should be filed under. Perhaps Materials? that’s an 8. “Tile Sprite ID”, now this IS the costume number of this tile. Cheese is 308. Pop that in. We get to specify the costume again, just in case we want a different costume when it Is displayed in the inventory, 308 again. Ooh – Last change. Row 19 says Root Item ID. Items with the same root id can be used interchangeably for crafting, so all woods might share the same number. If not, just enter it’s own block ID to keep it unique, 288. [Import the list back into Scratch] Cool! Now before we move back into Scratch, make sure to SAVE the text file to your computer! Then, we can right click the list, and this time, Import. Selecting our updated _BLOCK_DATA.txt file. Ok, might be worth scooting down and confirming the new block is there at the bottom – Yep, Piece of cake… I mean cheese! Excellent, we are ready for a quick test! Hide the block data, before smashing that green flag! And, jump right into creative mode. Under materials right? Yes! There it is, a piece of cheese 😊 – And the tooltip works too – Love that! Hey… Is cheese throwing a thing? I think I might have invented a new game… [Smelting] Now I really wish we had cauldrons in paper mincecraft for curdling our milk into cheese, But the next best thing would be a furnace. Smelting milk into cheese will have to do – and it’s dead easy to configure. It’s there in the Block data header! “Smelt into Block ID”. So, just remember that our cheese is item number 288. Then find the word “milk” in our block list. Here we go, this must be the bucket of milk record. I’ll just line it up with the headers. Line 12 is for smelting, so just replace the 0 with 288 (a piece of cheese) This next line is important too, “Burn in furnace, Duration in seconds”. Set that to 10 seconds… I’ll keep it short to I can show you it working! Right, make sure to save the file again, and then re-import it into the _BLOCK_DATA list. Go go go!!! A furnace, a Bucket of milk, and some coal… Nothing like some warm milk on a cold day…! Or cheese!?! What a happy surprise! Hey where’d my buckets go? – ummm… Back to our favourite past time, cheese throwing… [Block of Cheese] Now let’s add that “block of cheese” – Costume 209. This one’s a placeable block too so that will be fun! We can begin by finding and copying the “dirt” block as that is a simple solid block. Paste it down at the bottom, with that single blank line to separate it from the previous record. We need to increase the block id, from 288, so this will be block id 289. Great – Line up the headings! Name: “Block of Cheese”. Yes, it’s a solid block this time, the hardness can be soft like dirt, 0.5. You can look these numbers up on the Minecraft wiki. Digging tool – We don’t even need a spade (S), So set this to N for no tool required This isn’t a liquid, and doesn’t fall (like sand or gravel). Tile group – we can use this to give the tile sound when walked on, or apply other game properties, but no, we don’t need that right now. When the block is harvested, we don’t want to switch it for another block, leave as 0. We’re not smelting or getting hurt by the block. Ah, now then, the creative mode category. I have decided we should recategorize the cheeses under foodstuffs, number 5. Tile sprite ID, the cheese block was Costume number 309. Enter that in. And repeat it for the inventory costume, 309. Lastly, the root id needs to be set to the same number as this block id, 289. That’s all of it, Except to go back and make the piece of cheese appear under the foodstuffs category too.; A change from 8 to 5 – foodstuffs. Yay! – Save the file, and – back in Scratch, import the updated block list! Feeling good about this! We can See the cheese item and block are both in the foodstuffs category! Yessss – So cool! Because now I can finally build my dream house!!! 😀 – Man! What’s not to love! That is so cool. [Simple Crafting Recipe] But what would Minecraft be without crafting – How about we add a crafting recipe to craft a cheese block from 4 pieces of cheese? And for this, we need to locate another Scratch List, the “_Recipes” list. It’s not as complex as the BLOCK data list, But still worth exporting to your PC for easier editing if you can. You’ll see there are only 4 lines to each record in this list. Recipe description, Product (that’s the item number), quantity – how many items you craft in One go & the Recipe – more on that in a moment! Just select the top record, the 4 line starting with the words wooden plank. And copy that to the clipboard. We’ll paste this at the bottom of the file, as before leaving a gap of one line between records. And now we modify this new record. My BLOCK DATA list is still open here on the right, so I can find the details for the block of cheese in there… Copy the name and paste it in the recipe Also, the block number, is 289, This is the block being crafted. The quantity is the count of items crafted, just 1 for a block of cheese. And lastly, we have the encoded recipe. Let’s go over how this is formatted! Here is the crafting table for our Cheese block. Always ensure the recipe is pushed to the bottom left of the table. We enter the item number for the piece of cheese (288), and any empty tiles we write in as a #. And then, what we do, is begin at the bottom left, and write out the 3 digit number. 288. If the number was shorter than 3 digits, like item number “7”, then we’d pad it out with leading Spaces “ 7”. So it’s always 3 characters long. The next number is 288 again, so we enter that right after the last, without leaving a gap. 288. Again we would pad it out with spaces if needed. Then the #, and this too is padded out to the left with spaces… “space space #”. We repeat this onto the next line… 288288 #. And the final row, space space hash, space space hash, & space space hash! That’s it. I’ll enter the completed recipe under the last just so we can compare, notice how the columns line up, and the 3 digit numbers are all right Aligned padded out with spaces. Good – Delete that old row above. Save the file, and come back into Scratch. We just import the new recipes file, and we are good to smash that green flag! Now stock up with pieces of cheese… Then, press T to talk, and enter /gm s to switch to survival mode, and we can test out a bit of crafting! Use the space key to separate the cheeses out – Wow, Nice! The recipe worked! 😊 – That’s so cool. Let’s do it again – haha! There’s no stopping us now 😀 [Reverse Crafting Recipe] Want the reverse recipe, to split the block back into 4 cheeses? Duplicate the previous recipe, leaving a single line gap. We are crafting a “piece of cheese”. That’s item number 288. We want to craft 4 pieces from one block. And the recipe code is a single tile of 289, The block of cheese. Pad the rest out with space space hashes! Save! And, Import the recipe text file into Scratch… And TEST! Grab a Block of cheese… Jump into survival… and craft… Three blocks of cheese, makes 12 pieces of cheese – splendid! And we can craft them back into blocks at whim 😊 [Eating Cheese] So apart from building houses, what can we do with cheese? Hey villager, want some cheese? No…? Wait… I can’t eat the cheese? Yep, there’s yet another list to be looked at! The _FOOD_DATA list. Shall we export it and take a look? It’s the Normal format… I’ll clone it to the other view we can check out how it works. Here’s a Cake, which is block ID 111 in our game. We just copy all 6 lines, and moving down to the bottom, Paste it with a single line gap as normal. So, we want to eat a piece of cheese. That’s “288, Piece of Cheese”, I can paste those two lines right in. Hunger points is next. Now luckily I can look these values up in the Rats mod wiki – Hunger Points is 3, see? Stuff that value in. And Saturation – That’s affects how long it is before you need to eat again, this has a value of 0.5. Cool. Chance of food poisoning, nah we don’t need that, and after eating nothing remains… so leave that too. We are done. Save the file, And go back to Scratch. You know what to do, Import the list and run the project! Filling up with cheese now… And Eat… ah… oh… Oh ok, of course I’m not hungry. Well… I guess I’d better do some exercise – Hold on… And… it’s dinner time!!! 😀 [Outro] Well I hope You enjoyed this quick tutorial on modding paper Minecraft! If you did then smash the like button, and make sure to subscribe to my channel not to miss the next exciting video. Drop me a comment if you want to see further modding videos with your ideas, and I’ll do my best to oblige! That’s it from me, until next time, have a great week ahead, and Scratch on Guys! 😀 Video Information
This video, titled ‘🧀 CHEESE – Updating Paper Minecraft – Scratch Tutorial’, was uploaded by griffpatch on 2022-11-12 11:48:19. It has garnered 147526 views and 3354 likes. The duration of the video is 00:16:53 or 1013 seconds.
Learn how to quickly and easily update and mod (modify) Paper Minecraft, adding your own, new blocks and items to this 2d minecraft game. Add new crafting recipes, and make items smeltable into different items, or edible! You can configure everything! As a fun example we remix the existing game and I show how to add the Cheese Block, Pieces of cheese, and make it smeltable from the bucket of milk. Create the paper minecraft update you’ve always wanted, extend the game any way you please!
I explain how the _block_data list works, as well as the _recipe list for crafting, and the _food_data list. We look at the basic record structure, and how to edit, or add new items.
Let’s learn to code in Scratch with Griffpatch – Create your own fun Scratch game with these step by step instructions with friendly explanations.
⭐ Early Access and more – Join the channel membership: https://www.youtube.com/channel/UCawsI_mlmPA7Cfld-qZhBQA/join or, support me on Patreon – https://www.patreon.com/griffpatch
🐱 Paper Minecraft & Starter Asset project – Remix This! Paper Minecraft – https://scratch.mit.edu/projects/10128407/ Starter Assets – https://scratch.mit.edu/projects/759663587/
🐱 Scratch Studio for Your projects https://scratch.mit.edu/studios/32384846/comments
► Backing Track: Sweden by Naz3nt: https://youtu.be/K–d5VQMUvY
————–Video Chapters————– 0:00 Intro 0:37 Remix Paper Minecraft – and Save Issue 1:01 Find / Draw your Costumes 1:45 Costume Size 2:25 Modding the _BLOCK_DATA list 4:22 What to change 5:47 Import the list back into Scratch 6:33 Smelting 7:45 Block of Cheese 9:50 Simple Crafting Recipe 13:24 Reverse Crafting Recipe 14:16 Eating Cheese 15:59 Outro