Minecraft 1.18.1 Fabric Modding | MIXIN EXPLAINED

Sdílet
Vložit
  • čas přidán 23. 07. 2024
  • In this Minecraft Modding Tutorial, I try to explain the fairly complex and intense topic of Mixins for Fabric 1.18.1
    == ASSETS & DOWNLOAD LINKS ==
    GitHub Repo: github.com/Tutorials-By-Kaupe...
    Gist: url.kaupenjoe.net/yt236/gist
    Mixin Wiki: github.com/SpongePowered/Mixi...
    == TIMESTAMPS ==
    0:00 Intro
    0:23 Disclaimer for Mixin
    1:11 The Idea of Mixin
    1:44 Looking at the Entity Class
    3:02 Wiki from SpongePowered Mixin
    3:51 Creating the Custom Mixin Class
    8:31 Creating the Interface we need
    10:45 Adding the mixin to the mixin.json
    11:20 If Minecraft launches then no errors!
    12:05 Outro
    == TAKE A LOOK AT MY COURSES WITH COUPON CODES ==
    ▶️ NEW Forge Modding with Minecraft 1.20.X:
    url.kaupenjoe.net/CourseForge...
    ▶️ Learn Forge Modding with Minecraft 1.18:
    url.kaupenjoe.net/CourseForge118 *
    ▶️ Learn Fabric Modding with Minecraft 1.18:
    url.kaupenjoe.net/CourseFabri... *
    ▶️ Complete and Roblox Lua Game Development:
    url.kaupenjoe.net/RobloxCoupon *
    == SOCIALS ==
    Discord: / discord
    Personal Twitter: / kaupenjoe
    Instagram: url.kaupenjoe.net/tutorials/i...
    Facebook: url.kaupenjoe.net/tutorials/f...
    Twitter: url.kaupenjoe.net/tutorials/t...
    TikTok: url.kaupenjoe.net/tutorials/t...
    Written Tutorials: url.kaupenjoe.net/tutorials/blog
    == 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.
    == ADDITIONAL CREDITS ==
    Outro Musik by Kevin MacLeod:
    "That's a Wrap" Kevin MacLeod (incompetech.com)
    Licensed under Creative Commons: By Attribution 3.0
    creativecommons.org/licenses/b...
    == AMAZON AFFILIATE LINKS ==
    Amazon Referral [US]: url.kaupenjoe.net/amazonref/us *
    Amazon Referral [UK]: url.kaupenjoe.net/amazonref/uk *
    Amazon Referral [DE]: url.kaupenjoe.net/amazonref/de *
    == 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
  • Věda a technologie

Komentáře • 34

  • @aditeya24
    @aditeya24 Před 2 lety +25

    This is crazy, I just checked your other tutorial for mixins and started trying to learn it like 2 hours ago lol, awesome and easy to understand videos as always ❤️

  • @ethanvladmir4392
    @ethanvladmir4392 Před 2 lety

    Thanks for making all these videos. They are a huge help for me. Thanks

  • @Greymerk
    @Greymerk Před rokem +2

    This was massively helpful. I was rather confused about how to write these.

  • @veltarden2419
    @veltarden2419 Před 2 měsíci

    Thi shit so useful, I love your tutorials, they really been helping some folks to get a step on modding, including me
    Btw happy birthday! at the time that this is being written and as far as I know it's you birthday (from the stream recommendation)

  • @iamquac
    @iamquac Před 2 lety +1

    Love the vids,
    are you gonna add a custom entity too?

  • @HaiperEXE
    @HaiperEXE Před 2 lety +8

    i am following the course on Udemy to support you :) great tutorials bro! can you please do a full tutorial on creating a custom mobs and bosses for fabric 1.18? i really need it

    • @ModdingByKaupenjoe
      @ModdingByKaupenjoe  Před 2 lety +1

      Hey Haiper,
      thank you so much for the support

    • @HaiperEXE
      @HaiperEXE Před 2 lety

      @@ModdingByKaupenjoe oh thank you so much, your course will help me soo much on making my future videos its actually the best fabric course i have found till now :D

  • @benjamintice6400
    @benjamintice6400 Před rokem +1

    Would you mind doing a tutorial for Slice injections? The reason why I ask is that a lot of folks want to modify minor properties of vanilla blocks, but the Blocks class presents some unique challenges and Slice injection seems to be the best way to do it. I've scoured reddit and have found only a few good examples.

  • @gottfrid_n
    @gottfrid_n Před 2 lety +1

    Could you give some examples of what should and shouldnt be done with mixins?

  • @Bennox734
    @Bennox734 Před 2 lety +1

    is it possible to change the code (I would like to change the block that is generated in the mushroom) instead of new code to the existing code ???

  • @ramanralhan8789
    @ramanralhan8789 Před 2 lety +9

    mixin are pretty easy if you don't care how they work

    • @ModdingByKaupenjoe
      @ModdingByKaupenjoe  Před 2 lety +6

      🤣 I mean I agree, if you really wanted to dig down into the absolute detail it would be pretty difficult. But just for some changes to the source code, they are fine, ye :D

  • @Kynatosh
    @Kynatosh Před 2 lety +1

    Ah the old days where we would do asm injection
    I learned a lot about java bytecode back then

  • @dr.galaxys924
    @dr.galaxys924 Před 2 lety +2

    Hi there,
    it would be cool if you showed how to spawn plants on water or rock. DO underground plants. If this is not possible or you don't want to do it, can you show how to make 2 block high plants?

  • @quentinfouilleul2651
    @quentinfouilleul2651 Před 2 lety +1

    Great video, I understand nothing about Mixin :)

  • @galfarino
    @galfarino Před rokem +1

    hey there, it may not be apropriate under this video, but if you happen to see this, how can i get if a player is inside a block with no collisions?? i cant find anything on the internet for this. some help would be greatly apreciated. also your tutorials are FIRE i learned so much from them, keep it up!

  • @baymax2.085
    @baymax2.085 Před 2 lety

    Hey 👋 my man I wanna know if this guide will work for Minecraft 1.16.
    I am that same noob from last time.
    Right now on your java introduction.

  • @ButterKing-28
    @ButterKing-28 Před rokem +1

    What is the "kaupen_data"?

  • @Kaikina
    @Kaikina Před rokem

    It works just fine when I launch the game from IntelliJ, but when I build my mod jar and use it, it crashes saying it can't find the method my mixin targets

    • @pain-1929
      @pain-1929 Před rokem

      maybe the method name in server class is different from your method in mdk

  • @CheesiX8
    @CheesiX8 Před rokem

    god damn stray capital T in Nbt got me stumped for like 5 minutes

  • @acgamer_real7841
    @acgamer_real7841 Před 2 lety +5

    Hey kaupenjoe love your videos!
    I have 1 question tho. Are you gonna touch generated structures and/or villager occupations with custom trades?
    I would appreciate an answer :)

    • @ModdingByKaupenjoe
      @ModdingByKaupenjoe  Před 2 lety +3

      Hey There,
      Yes on the structures, maybe on custom occupation, yes on the custom trades for already existing villagers :)

    • @acgamer_real7841
      @acgamer_real7841 Před 2 lety

      Thank you kaupenjoe your videos are amazing keep going! 👏

  • @gottfrid_n
    @gottfrid_n Před 2 lety +1

    When are configs coming? I cant find anything talking about configs for fabric, only forge :/

    • @ModdingByKaupenjoe
      @ModdingByKaupenjoe  Před 2 lety

      I'm not sure, take a look at this:
      fabricmc.net/wiki/documentation:libraries#configuration
      I always found configs for fabric to be very stupid :/

  • @fanti8957
    @fanti8957 Před 2 lety +2

    great tutorial! btw could you please explain how to make a mod a plugin/addon? (e.g. what if i wanna add my mod to an aternos server). thx 😊

    • @ModdingByKaupenjoe
      @ModdingByKaupenjoe  Před 2 lety +2

      Hey Fanti,
      thank you for the kind words. I wanted to look into this yes, but it's gonna be some while until I make tutorials on it. But it is planned 😁😁

    • @fanti8957
      @fanti8957 Před 2 lety +1

      @@ModdingByKaupenjoe 👍👍👍

  • @DigiSpaceProductions
    @DigiSpaceProductions Před 2 lety

    mobs?

  • @ディオール
    @ディオール Před rokem

    1.8.9 Tutorial plsss