1.20 Minecraft Forge Modding Tutorial - Creative Tabs

  Рет қаралды 6,546

TurtyWurty

TurtyWurty

Күн бұрын

In this video, I show you how to create a creative tab and add our items to it as well as how you can add your items to vanilla creative tabs too.
In the next video, we will create a full set of tools and armour. Remember, if you have any problems, please join the discord that is linked below!
Links:
Patreon: / turtywurty
Discord: / discord
Github: github.com/DaRealTurtyWurty/1...
Method References:
Oracle: docs.oracle.com/javase/tutori...
Baeldung: www.baeldung.com/java-method-...
JavaTPoint: www.javatpoint.com/java-8-met...
GeeksForGeeks: www.geeksforgeeks.org/method-...
Chapters:
0:00 - Intro
1:00 - DeferredRegistry
3:25 - RegistryObject
4:15 - CreativeModeTab builder
12:45 - Adding items to your tab
15:00 - How I would simplify this
18:20 - Adding to an existing tab
26:05 - Registering the DeferredRegister
26:20 - Translation files
26:45 - Specific tab item placement
28:15 - Testing
29:30 - Outro

Пікірлер: 15
@LettuceMuncher1
@LettuceMuncher1 8 ай бұрын
Thank you for showing us how to put items in between vanilla items in the tab. Couldn’t find out how to do that for the longest time
@coucoul38
@coucoul38 Жыл бұрын
Looking forward for the next one
@legoaggelos2722
@legoaggelos2722 Жыл бұрын
Your videos are very good!!! What tutorial are you going to do next?
@natesky6603
@natesky6603 8 ай бұрын
I would have much preferred the notion of adding all items with a simpler loop for (RegistryObject item : ModItems.ITEMS.getEntries()) output.accept(item.get().getDefaultInstance()) doesn't require additional registry shenanigans, and it's just a clean set and forget
@TurtyWurty
@TurtyWurty 8 ай бұрын
That's fair. I think either is fine though. And it's useful for people to see streams and functional programming because it's very useful.
@mattbdubstep
@mattbdubstep 8 ай бұрын
Amazing tutorials as always! Do you know how you add custom potions to your Creative Tab?
@albbyel5326
@albbyel5326 10 ай бұрын
Hey dude, I'm just curious about the EventBusSubscriber stuff. Why is that something we have to do for these but not for ItemInit and BlockInit? Those two just appear without events but why not the creative tab? Maybe I've missed something but in my had it's like you're doing the registration twice if you get what I mean 😄
@Kai_Hallow
@Kai_Hallow 8 ай бұрын
what about like saplings though? Because with saplings in order to have separate models without any issues you need to register it both in blocks and items (though you use the block one to register it as an item) and I think it doesn't let you open the creative tab if there are duplicates in the list.
@jaywok814
@jaywok814 Жыл бұрын
hey man can you do custom projectiles? been trying to make a custom slingshot that shoots rocks
@TurtyWurty
@TurtyWurty Жыл бұрын
Custom Projectiles are definitely something that I plan to do in the future. However, I don't see them being a high-demand tutorial. But yeah, definitely in the future to-do list. In the mean time, I can give you a brief run-down of what you will need to do. 1. Register an entity. This will need to extend something like ProjectileEntity. You can look at existing projectiles such as arrows or fireballs. I will have an entity tutorial releasing on tuesday that covers entities in general. 2. Make sure you override the method for the "spawn packet" in your entity class. Inside there you need to return `NetworkHooks.getSpawnPacket(this);`. 3. Make your entity renderer. This will be slightly more complicated since you cant use a living entity renderer. but essentially you just construct your model in the renderer's constructor and then call `Model#render` in the `render` method of your renderer. You can once again look at existing projectiles such as arrows for an example of how this works. Just note that arrows for example will have a lot of additional rendering logic to do with bobbing and such. 4. Do the other usual entity stuff such as registering the renderer and registering the layer definition. If you get stuck at any point or need assistance, feel free to join my discord server: discord.gg/BAYB3A38wn
@megalogaming_uk
@megalogaming_uk Жыл бұрын
Would it be possible to make a Mod Add-on tutorial? as I struggle putting all my 1000+ blocks and items into 1 mod.
@TurtyWurty
@TurtyWurty Жыл бұрын
This kind of thing is quite trivial really but also something that I don't think requires its own tutorial. I will however, cover dependencies in the future when I get to things like GeckoLib, so that should give you a rough idea of how you can achieve it.
@onthesunnyside4827
@onthesunnyside4827 4 ай бұрын
Can someone anwer me. So basically creative won’t work or something for my animal mod. They said I have to unlock a template or something?
@Revolverevl
@Revolverevl 5 ай бұрын
This entire process could've been two maybe three methods built into forge, but forge devs hate brevity so we're forced to write massive amounts of boilerplate
@sonatafx
@sonatafx 2 ай бұрын
yea like fr this is such a pain
1.20 Minecraft Forge Modding Tutorial - Tools and Armor
28:13
TurtyWurty
Рет қаралды 4 М.
Using Science to Design a MAXIMUM Efficiency Iron Farm
31:56
Nico is LOST
Рет қаралды 3,6 МЛН
FOOLED THE GUARD🤢
00:54
INO
Рет қаралды 62 МЛН
We Got Expelled From Scholl After This...
00:10
Jojo Sim
Рет қаралды 73 МЛН
She ruined my dominos! 😭 Cool train tool helps me #gadget
00:40
Go Gizmo!
Рет қаралды 61 МЛН
Minecraft Seeds You Need to Try to Believe
8:10
Skip the Tutorial
Рет қаралды 7 МЛН
How to make Animated Mobs in MCreator! | Geckolib 2023
11:15
Linky Playz
Рет қаралды 60 М.
41 Things to Do in Minecraft When Bored
16:46
Skip the Tutorial
Рет қаралды 13 МЛН
1.20 Minecraft Forge Modding Tutorial - Living Entities
52:06
TurtyWurty
Рет қаралды 7 М.
1.20 Minecraft Forge Modding Tutorial - Items and Food
28:59
TurtyWurty
Рет қаралды 8 М.
Forge Modding Tutorial - Minecraft 1.20.1: Custom Block Entity | #30
40:43
Modding by Kaupenjoe
Рет қаралды 15 М.
Why Minecraft Players Built a Real Life Supercomputer
23:24
HellCastle & Tylerrrr
Рет қаралды 904 М.
How to Make a Datapack [Minecraft 1.20-1.16] Datapack Tutorial
9:25
1.20 Minecraft Forge Modding Tutorial - Block Entity Menus
39:00
TurtyWurty
Рет қаралды 1,7 М.
FOOLED THE GUARD🤢
00:54
INO
Рет қаралды 62 МЛН