Fabric Modding Tutorial - Minecraft 1.20: Advanced Item | #6

preview_player
Показать описание
In this Minecraft Modding Tutorial for Fabric, we are adding custom Advanced Item to Minecraft 1.20. Basically an Item with a custom Item Class associated with it :)

== MODDING COURSES ==

== COMPATIBILITY ==
✅ Compatible with 1.20, 1.20.1, 1.20.2

== ASSETS & DOWNLOAD LINKS ==

== SUPPORT ME ON PATREON ==

== 25% OFF FOR GAMING SERVERS ==

== TAKE A LOOK AT MY COURSES WITH COUPON CODES ==
▶️ NEW Forge Modding with Minecraft 1.20.X:
▶️ Complete and Roblox Lua Game Development:
▶️ Learn Forge Modding with Minecraft 1.18:
▶️ Learn Fabric Modding with Minecraft 1.18:

== SUPPORT ME ON PATREON ==

== SOCIALS ==

== LICENSE ==
Source Code is distributed under the MIT License. Additional Licenses for other assets can be seen below or in the accompanying CREDITS.txt on download.

== AFFILIATE DISCLAIMER ==
* Some of the links and other products that appear in the video description are from companies which I will earn an affiliate commission or referral bonus from or are my own products. This means that if you click on one of the product links, I’ll receive a small commission or additional kickback without any additional cost for you. This helps support the channel and allows me to continue to make videos. Thank you for the support!

== HASHTAGS ==
#Minecraft #MinecraftModding #MinecraftTutorial #Kaupenjoe
Рекомендации по теме
Комментарии
Автор

Great videos, this one is really lighting the spark of ideas with me. Trying hard to limit myself with only a few videos per day so I can let the info sit.

JaMaMaa
Автор

I made a funny thing in the code that calls you out if you are being stupid. It says this if you use the metal detector whilst looking at iron ore or diamonds:
if (i == 0 && isValuableBlock(state)) {
lookin' at it, stupid."));
break;
}

shawngurley
Автор

These are really beginner friendly tutrorials. I dont have any expreince in java and programming in general but this is easy to follow and i am understanding most of the things and can now create things on my own, youre github page also helps a lot, only problem is the ore i made isnt working when i try to make it drop expreince even when i copied the code from your gethub directly onto mine just changed the names of the items according to what i had made it didnt work and mc wasnt starting and it was an error i left it there for now and am following further so i can learn more and understand it later. Thank you <3

darkwarrior
Автор

Anyone giving this a go in 1.20.5 or 1.20.6, the code for damaging the item at 6:05 won't work.

All you need to do is replace "playerEntity -> with "EquipmentSlot.MAINHAND"

So the full line will look like:
context.getStack().damage(1, context.getPlayer(), EquipmentSlot.MAINHAND);

TheBoopidoop
Автор

There is a 'flaw' in this code. If there is an iron ore above a diamond ore, the loop would break at the iron ore. If any watchers want some challenge/homework, make it so that it evaluates every valuable ores at that Y position and print out the most valuable ore in that position. So if we're in the same situation as before, it prints out the diamond ore instead of the iron ore.

reihanboo
Автор

Hey, do you think you could someday make a tutorial on making dyeable geckolib armor? I'm trying right now, but all ive managed to do so far is make it so that the armor implements DyeableArmorItem. I can't even figure out how to get RenderLayers to work...

Still though, thank you for the tutorials! They have helped a lot, and I'm further in making a mod than I ever would have gotten if I hadn't found you.

michaeltesterman
Автор

Even with the explanation I still don't understand 3:13, can someone explain what the Y level stuff is saying for a super beginner to java? I did the whole java tutorial playlist before this and I know mostly what's being said here, but I don't understand how its subtracting anything, it looks like its adding 1 (the i++ part)

wawawa
Автор

Very awesome tutorial dude. I'm looking to make a mod for a mc server I wanna make. It would be cold war space race mod with upgradable satellites and stations and planets and stuff that need to be simulated while the server is online..nothing crazy just tracking the path 0f each satellite over the world so players can later check their photos or information (I don't actuallyneed to collect that data, just know if the place they wanna look at have been passed over before). I'm looking at your tutorials and they look to be practical items and functions for players to play with but what would you recommend for guis that do what I'm listing here?

SpaceBeaver
Автор

sorry for the stupid question, what can I do to search for blocks not by y, but by x.
I did the obvious thing: I replaced getY with getX and tried to change the positionClick side, but it didn't work

apelsinchik
Автор

How do I make when you hold the item you get radioactive poisoning?

joaozaoboladin
Автор

Quick question how could we use a Advanced Item to basically locate a block from anywhere in the world and would I need to learn more Java knowledge in order to do that (I am planning on to) or would it be in one of your courses? (for those with curiosity I am making a Botw Mod)

venompikachu
Автор

I'm trying to make an magnet item for my my mod which would increase your item pickup range but cant figure out how to do it does anyone know how to do it?

Jacatoja
Автор

Could someone help me on creating a texture on a vanilla block when an item right clicks on the block?

TheSilliestBilly-dzzd
Автор

Hey i was following your mod guide, i wanted to add a custom cake to my mod is there a way to add it? I appreciate any help :D

nickless_Boneless
Автор

How would I make the item search for blocks within a radius of the player instead of only straight down?

visser
Автор

could i make an advanced item that works like a totem of undying? But has a special feature that on death it will use the totem do the normal totem effect but teleport the player to its current spawn point?

fizzplosion
Автор

Hey so, for my mod I'm trying to add a custom item that gives you effects like, regeneration, strength, speed, etc. but only when its held in the left hand. I've looked through all the methods and I can't seem to find one that can do that so I'm wondering if you know how.
Also, for that item I plan on making a block that you use choose an effect by combining it with an item, so lets say ruby, to give it an effect like strength. Do you know how I would be able to do that? Thank you for any help and thank you for making such easy to follow tutorials

MilkyMilkster
Автор

Could you make a tutorial on how to make text appear on display when a key has been pressed?

MPuff
Автор

How can you damage nearby entites when item used, and not when used on block. i haven't been able to add it .

HeckerHcker
Автор

Let's say I want to make mulltiple metaldetector items with the MetalDetectorItem what's the best way I could implement the isValueableBlock. for example a metal detector only finds copper, a golden metal detector finds copper and iron etc.

KingFlower__
welcome to shbcf.ru