Spigot: Custom Plugin Tutorial - Custom Recipes (#7)

Поделиться
HTML-код
  • Опубликовано: 11 янв 2025

Комментарии • 78

  • @itscastle6962
    @itscastle6962 4 года назад +9

    It's so cool to finally be able to create custom items after I used to imagine and draw custom crafting recipes when I was a kid!! Thanks a lot for these tutorials!

    • @phantomlyaxolotl
      @phantomlyaxolotl 8 месяцев назад +1

      So I wasn't the only small child who drew plans for modding every game I played.

  • @robr8396
    @robr8396 2 года назад +2

    This guy knows his stuff about this specifically but about java which is why theyre such good tutorials. Thanks bro

  • @ArktikusYoutube
    @ArktikusYoutube 3 года назад +1

    Thanks for the video. You really helped me out. In many other videos the persons just did everything in the main class and that was annoying, but i forgot how to do it in a seperat class and you saved me :D

  • @kioku3286
    @kioku3286 4 года назад +6

    Particles tutorial next? :D

  • @marconymous
    @marconymous 4 года назад +11

    Is there a way I can use a custom item in another custom recipe?

    • @zeradris
      @zeradris 3 года назад

      looking for that too

    • @roosterseatyou
      @roosterseatyou 3 года назад

      Did you ever find it?

    • @ethan7930
      @ethan7930 3 года назад +1

      I think it is as simple as passing in the itemStack instead of the material when you define the keys. refer to this thread www.spigotmc.org/threads/using-custom-items-in-custom-recipes-1-12-2.367707/

  • @yabashe
    @yabashe 4 года назад +2

    Thank Thomas, love your videos. Your tutorials make everything easy :)

  • @SwoggersLOL
    @SwoggersLOL 4 года назад +3

    hey, could you reupload the updating mc version vid? cant get mine to work right

  • @SomeOneWasOnceHere
    @SomeOneWasOnceHere 3 года назад +2

    Remember people, you can't use uppercase lettering in the namespace key.

    • @Swatcon515
      @Swatcon515 5 месяцев назад

      thank you soooo much this fixed my entire plugin

  • @MancoBlanco
    @MancoBlanco 4 года назад +2

    Nice, can you do some more of these

  • @michaelscofield6815
    @michaelscofield6815 4 года назад +2

    Hello thomas i loved all of your modding tutorial videos. Can you please make a mod tutorial about custom mobs? Entitys? And their custom attacks etc. I know its a lot but thank u.

  • @rubbishh
    @rubbishh 3 года назад +3

    How would I make a recipe which includes custom items that I made? Like 9 wands in the crafting table makes a 'Mega Wand'?

  • @zetoirque
    @zetoirque 3 года назад +2

    how to have the Namespaced Key

  • @roosterseatyou
    @roosterseatyou 3 года назад +1

    is it possible to use a custom item in a recipe, if so, how does one do that? thanks

  • @ricksterman
    @ricksterman 4 года назад +2

    Awesome vid. Keep it up!

  • @Coloneldata
    @Coloneldata 2 года назад +1

    whenever i follow this, it disables my plugin and breaks it. please help.
    edit: its the Main class having the item manager "init()" breaks it

    • @tinybinga
      @tinybinga Год назад

      im having the same problem, have you solved it?

  • @999.TeeJay
    @999.TeeJay 4 года назад +5

    And how can i do it that i can craft with a custom item? Like 2 wands and 1 blazepowder equals a super wand or something. You get what i mean? XD

    • @ethan7930
      @ethan7930 3 года назад +1

      I think it is as simple as passing in the itemStack instead of the material when you define the keys. refer to this thread www.spigotmc.org/threads/using-custom-items-in-custom-recipes-1-12-2.367707/

  • @TheOneWhoBurns
    @TheOneWhoBurns 2 года назад

    What if i want to use custom item in the craft of another one?

  • @raysyntax958
    @raysyntax958 4 года назад +1

    Hello, when I added this code to the create item method, all the commands stopped working, the crafting recipes also didn't work. Can somebody help? Thanks a lot. Great tutorials tho.

    • @quantum9812
      @quantum9812 4 года назад

      Same! Did you figure anything out?

  • @mrevenleather
    @mrevenleather 4 года назад +5

    Notifications Squad!!

  • @gamingwithvaibhav2787
    @gamingwithvaibhav2787 3 года назад

    hi how can we add custom item in the recipe like adding stick with a displayname

  • @halfpace4426
    @halfpace4426 4 года назад +2

    Hey, Love your vids..could you tell me your pc specs?

  • @73Mike73
    @73Mike73 4 года назад +1

    How can i create a costume recipe with a costume ingredient? For exemple, i want to create "Stick of immortality" using "Stick of truth" and 2 emerald block in the crafting table. "Stick of immortality" mustn't be created by a normal stick, only with "Stick of truth". Can you help me please?

    • @roosterseatyou
      @roosterseatyou 3 года назад

      did you ever find out?

    • @73Mike73
      @73Mike73 3 года назад

      @@roosterseatyou no, it is my taboo :')

    • @roosterseatyou
      @roosterseatyou 3 года назад +1

      @@73Mike73 i did find a way.
      so for the recipe.setIngredient, you want to do
      recipe.setIngredient('A', new RecipeChoice.ExactChoice(item));
      the "ExactChoice" will have a line through it, but it works I promise.

    • @dcrubro
      @dcrubro 3 года назад

      @@roosterseatyou I get a: "java.lang.IllegalArgumentException: Cannot have null choice", when using this method, any idea what to do?

    • @roosterseatyou
      @roosterseatyou 3 года назад

      @@dcrubro make sure the char key (the character you are using in your recipe shape) is being used and is the same case (uppercase or lowercase)

  • @grimreaperking
    @grimreaperking 3 года назад +1

    Thanks!

  • @ocnarf6997
    @ocnarf6997 3 года назад

    How do I add an item stack to a crafting recipe?

  • @thaumar64
    @thaumar64 4 года назад +1

    Can we have a modding tutorial on custom sounds, please?

    • @friedchicken5227
      @friedchicken5227 4 года назад

      Thaumar Gaming you can do this with resource packs, and you can fire an event and play a sound

  • @Imeric_
    @Imeric_ 4 года назад

    can you make a video on how to make a custom biome in minecraft forge 1.16 series? pls i need help

  • @Oriisac.GameSeries
    @Oriisac.GameSeries 3 года назад +1

    How do I create a custom item in Spigot 1.12.2
    ?

    • @ziad25139
      @ziad25139 2 года назад

      you cant use resource packs instead

  • @smayankartha6297
    @smayankartha6297 4 года назад

    Could you do a custom recipes part on Custom Potions?

  • @cemetix5688
    @cemetix5688 3 года назад +1

    Namespacedkey isn't working for 1.8?

    • @jg2medallion295
      @jg2medallion295 Год назад

      NamespacedKey was added in version 1.12 and ShapedRecipe don't require anything other than the ItemStack (result) in versions below that.

  • @MrPokerGaming
    @MrPokerGaming 3 года назад

    NamespackedKey error can u help ?

  • @zitrix7848
    @zitrix7848 2 года назад

    That is so cool!

  • @dateo9642
    @dateo9642 4 года назад

    How can i do it in a anvil?

  • @kedersiz8600
    @kedersiz8600 Год назад

    Thanks alot!

  • @rcpg248
    @rcpg248 3 года назад

    What would i do if i want to use a custom item as an ingredient?

    • @ziad25139
      @ziad25139 2 года назад

      you can with resource packs and nbt CustomModelData function

  • @ToSemIdeia841
    @ToSemIdeia841 4 года назад

    the github page is not working

  • @OpGamer-wc5wz
    @OpGamer-wc5wz 2 года назад

    I tried it but it did'nt worked

  • @theyeetster1269
    @theyeetster1269 4 года назад +1

    And this doesn't work for me

  • @rameysmit2812
    @rameysmit2812 4 года назад

    "so i'm gonna do sar for shapless recipe" writes sir :P

  • @olisanimations9478
    @olisanimations9478 4 года назад

    when will u be doing episode 4 of Create Your Own Cryptocurrency

  • @cameronholt4735
    @cameronholt4735 4 года назад

    why's your voice sound higher?

  • @chadikus_
    @chadikus_ 2 года назад

    very cool

  • @st3vex_yt439
    @st3vex_yt439 3 года назад

    Sorry bro i can craft a "Super Stick of truth" with 9 Stick of truth? i u know can ask me now?

  • @NoName-jv2ry
    @NoName-jv2ry 3 года назад

    You sound like Purpled. I think his Real Name was Thomas too. I'm not sure. Purpled is a bedwars player that has the same voice u have

  • @6L6Lcephas
    @6L6Lcephas 4 года назад

    Why I feel like the video is too short 😉

  • @p-pizza
    @p-pizza 3 года назад +1

    Yeah so I spent half an hour trying to figure out why my code was broken and then I realized there is a difference between single and double quotes :/

    • @quoopie
      @quoopie 3 года назад

      Life saver comment thank you

  • @froby7123
    @froby7123 4 года назад

    no offense
    but when he says 'custom'
    it sounds like kusvton

  • @satyamedh
    @satyamedh 4 года назад +2

    First bruh

  • @waluigi4681
    @waluigi4681 4 года назад

    3rd wah

  • @gdviciousbee2715
    @gdviciousbee2715 3 года назад

    Nice but too bad this guy is underrated why why why

  • @theyeetster1269
    @theyeetster1269 4 года назад

    9th comment lol

  • @thatdoofus4529
    @thatdoofus4529 2 года назад

    Do you know how to make campfire recipes? Apparantly no one has attempted this recently so I'm all alone LOL! Here is my code:
    CampfireRecipe campfireiron = new CampfireRecipe(NamespacedKey.minecraft("ironbar"), ironIngot);
    campfireiron.(I'M STUCK HERE. WHAT DO I DO HERE??)

    • @thatdoofus4529
      @thatdoofus4529 2 года назад

      I want the ingredient to be an ItemMeta, so use CobbleMeta