1.20 Minecraft Forge Modding Tutorial - Items and Food

  Рет қаралды 8,215

TurtyWurty

TurtyWurty

Күн бұрын

In this video, I show you how to register an item and set up all of its properties including how you can make it function as a food item.
In the next video we will create our first block and create its loot table! Remember, if you have any problems, please join the discord that is linked below!
Links:
Patreon: / turtywurty
Discord: / discord
Github: github.com/DaRealTurtyWurty/1...
Learn Java Links:
java-programming.mooc.fi/
www.codecademy.com/learn/lear...
docs.oracle.com/javase/tutorial/
Java Support Server:
/ discord
Chapters:
0:00 - Intro
0:20 - Registry class
2:10 - DeferredRegister
4:10 - RegistryObject
9:30 - Item Properties + Food Properties
14:35 - Registering our registry
17:15 - Resources directory
18:30 - Item Models
23:20 - Translation Files
26:00 - Texture
26:35 - Running the game
27:20 - Testing
28:40 - Outro

Пікірлер: 54
@ItsCoderDan
@ItsCoderDan 11 ай бұрын
Crazy how 1.20 already has a forge version out. Forge team has really been improving how fast they can update their code
@TurtyWurty
@TurtyWurty 11 ай бұрын
It's not much faster than other recent versions
@srstafion_
@srstafion_ Жыл бұрын
Very calm and understandable, thank you
@MagneLindholm2700
@MagneLindholm2700 Жыл бұрын
Yay ive been waiting for items!
@KimueX
@KimueX Жыл бұрын
Awesome content O.o
@hwelse
@hwelse 11 ай бұрын
Thank you very much for this tutorial! I'm personally looking to give Sniffers some utility outside of them simply finding decorative blocks every so often. By the way, at (9:55) are those your pet birds? :o I hope they're doing well!
@teenagedlime3
@teenagedlime3 Жыл бұрын
gentleladies lmao
@Accia121
@Accia121 8 ай бұрын
Thanks for the fantastic tutorial! At 16:28 when you fill out the listener for the bus it completes the entry in the DeferredRegister for you, this hasn't filled out the same code (I am using the 1.20.2 forge MDK version though) would you happen to know if this is just handled differently in the .2 version or should I fill out similar code to the video? It feels like it works fine without but I'm not sure if this is gonna come back to bite me down the line. Thanks again 😅
@legoaggelos2722
@legoaggelos2722 Жыл бұрын
Hello ladies and gentleladies, best intro ever fr
@coucoul38
@coucoul38 Жыл бұрын
The french translation for "Example item" would be "Objet example". But if you named it "Item example" it would be "Example d'objet"
@hugolesuisse5428
@hugolesuisse5428 Жыл бұрын
or "exemple d'item" or "item d'exemple"
@coucoul38
@coucoul38 Жыл бұрын
@@hugolesuisse5428 that's probably how player would translate it yeah, but Mojang would never do this
@ItsCoderDan
@ItsCoderDan 11 ай бұрын
Cover custom Armor trims plz I’m very interested in how mojang implemented that
@milanakik1539
@milanakik1539 11 ай бұрын
A bit late to watching this, but it's good to see that the recording software is not making gameplay portion 0.2FPS
@agarcia5510
@agarcia5510 9 ай бұрын
Awesome content! btw how can i make a food item drinkable?
@TurtyWurty
@TurtyWurty 9 ай бұрын
You will need to make a custom class for your item, and in there you can override a method (something like) getUseAction, where you can return the drinking action instead of eating action!
@gypgopget688
@gypgopget688 11 ай бұрын
idk why my texture doesn't works 😢
@decado1891
@decado1891 3 ай бұрын
did u figure it out tho?
@firu2470
@firu2470 Жыл бұрын
Very helpful, how did you learn all this?
@TurtyWurty
@TurtyWurty Жыл бұрын
Just a matter of trying things out. I always make everything in a test mod before I make a tutorial on it so that I have a solid understanding of how it all works.
@firu2470
@firu2470 Жыл бұрын
​@@TurtyWurty yes but do you read the documentation, watch other tutorials or something?
@TurtyWurty
@TurtyWurty Жыл бұрын
@@firu2470 No
@gypgopget688
@gypgopget688 11 ай бұрын
11:16 can we modify the eating speed ?
@wohwoh9185
@wohwoh9185 3 күн бұрын
Is there any recommended 8-bit drawing method? I did it for 2 hours and it was only 32bit.
@shaifennec
@shaifennec 3 ай бұрын
idk why but no matter what i do the texture wont show up even tho im not seeing any issues in the log and the names matches
@ultramelon723
@ultramelon723 8 ай бұрын
I'm getting an error in the minecraft window that opens saying "mods.toml missing metadata for modid testMod" (testMod is what I named my version instead of tutorial mod). I looked in the "mods" folder through one of the buttons it showed me below the error and there was nothing in the folder. How do I fix this?
@TurtyWurty
@TurtyWurty 8 ай бұрын
Your modid must be lowercase.
@kelseythedreamer
@kelseythedreamer 11 ай бұрын
i have a question for you: is there a way to change the username or the skin that is displayed in-game?
@TurtyWurty
@TurtyWurty 11 ай бұрын
Yes. You can achieve this through some arguments in the run configuration. If you add --username=USERNAME --password=PASSWORD to your program arguments, it should work. Just make sure you don't accidentally publish those credentials 😄.
@thedroneexisdepe9248
@thedroneexisdepe9248 Жыл бұрын
do you have a tutorial baking a model?
@TurtyWurty
@TurtyWurty Жыл бұрын
Baked Models could be something I do in the future. Not sure though, its a complex topic to try and give an example for.
@clubgummy
@clubgummy 9 ай бұрын
hi there I am having a problem with the texture. When ever I have my item in my hand it is invisible.
@TurtyWurty
@TurtyWurty 9 ай бұрын
Make sure that inside of your model json that where you specify "layer0", that it is spelled correctly. If it is spelled incorrectly then it will be invisible as it doesn't know what texture layer to show and render.
@Nepheos
@Nepheos 8 ай бұрын
I made a 3D model for an item in blockbench and use that as the models/item file (with the name line shown in the video added) and while the model shows up properly ingame, I have trouble figuring out what exactly to write to make it find the texture file i put in textures/item could anyone here give me some advice?
@TurtyWurty
@TurtyWurty 8 ай бұрын
Should just be "modid:item/texture_name"
@Potato1234_x
@Potato1234_x 7 ай бұрын
how do you do the thing at 12:44 where you see the actual code for that parameter
@Fragtastec
@Fragtastec 22 күн бұрын
Wondering the same. Did you figure it out?
@Fragtastec
@Fragtastec 22 күн бұрын
I found out its CTRL + Left Click
@saninfa2460
@saninfa2460 11 ай бұрын
I have a problem and don't know why. When I run the client just forge and minecraft are showed on the mods section. Why my mod don't run?
@TurtyWurty
@TurtyWurty 11 ай бұрын
You need to make sure you have an @Mod annotation on your main class
@cangrejin3398
@cangrejin3398 Жыл бұрын
How I can create custom armor trims???
@TurtyWurty
@TurtyWurty Жыл бұрын
Armor trims are a bit complicated and currently you can't add new materials*. But you can read about adding trims here: misode.github.io/guides/custom-armor-trims/ I will do a tutorial on it in the future though, regardless.
@cangrejin3398
@cangrejin3398 Жыл бұрын
@@TurtyWurty Ok, ty
@Sun_Toaster
@Sun_Toaster 11 ай бұрын
hey why is my item showing a purple and black block
@TurtyWurty
@TurtyWurty 11 ай бұрын
Check the logs
@legoaggelos2722
@legoaggelos2722 Жыл бұрын
5:45 there are no links.
@TurtyWurty
@TurtyWurty Жыл бұрын
Fixed. Thanks for letting me know.
@legoaggelos2722
@legoaggelos2722 Жыл бұрын
np
@ashu_stream
@ashu_stream Ай бұрын
NICE but it is VERY VERY HARD
@comso3632
@comso3632 Жыл бұрын
Where’s the forge 1.20 feet tutorial?
@TurtyWurty
@TurtyWurty Жыл бұрын
Soon™️
@kittygamimg5221
@kittygamimg5221 19 күн бұрын
Dude this is completely broken at the resources new file assets tutorialmod lang and models it just makes a new file it doesn’t add lang and models inside of assets don’t waste your time
@TurtyWurty
@TurtyWurty 18 күн бұрын
you need to create folders not files
@kittygamimg5221
@kittygamimg5221 18 күн бұрын
@@TurtyWurty that’s what I did but IntelliJ doesn’t do its thing when I type assets/tutorialmod/models it just creates a new folder instead of putting lang and models inside of assets
1.20 Minecraft Forge Modding Tutorial - Blocks
37:43
TurtyWurty
Рет қаралды 6 М.
Please be kind🙏
00:34
ISSEI / いっせい
Рет қаралды 158 МЛН
Must-have gadget for every toilet! 🤩 #gadget
00:27
GiGaZoom
Рет қаралды 11 МЛН
Just try to use a cool gadget 😍
00:33
123 GO! SHORTS
Рет қаралды 85 МЛН
Why You Should Always Help Others ❤️
00:40
Alan Chikin Chow
Рет қаралды 134 МЛН
1.20 Minecraft Forge Modding Tutorial - Setting Up
31:46
TurtyWurty
Рет қаралды 16 М.
1.20 Minecraft Forge Modding Tutorial - Ore Generation
21:47
TurtyWurty
Рет қаралды 4,2 М.
I Made a Fabric Minecraft Mod (Without Learning Java)
6:37
Nico is LOST
Рет қаралды 63 М.
Why So Many People Refunded Minecraft Legends within an Hour
13:13
smallthoughts
Рет қаралды 2,1 МЛН
I Made a Neural Network with just Redstone!
17:23
mattbatwings
Рет қаралды 640 М.
1.20 Minecraft Forge Modding Tutorial - Living Entities
52:06
TurtyWurty
Рет қаралды 7 М.
Minecraft 1.19 Forge Modding Tutorial | CUSTOM BLOCKS | #3
15:36
Modding by Kaupenjoe
Рет қаралды 48 М.
The Mod Developer So Good, He Got Hired by Mojang
8:07
SkyBoi
Рет қаралды 1,6 МЛН
How Minecraft Legends Failed less than ONE Year after Release
21:13
smallthoughts
Рет қаралды 124 М.
Please be kind🙏
00:34
ISSEI / いっせい
Рет қаралды 158 МЛН