Easily make ANY minecraft minigame plugin with these simple tricks

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

ความคิดเห็น • 58

  • @9y028
    @9y028 4 ปีที่แล้ว +43

    One technique I quite like is making the GameState an interface instead of an enum. In this way you don't have to have lots of switches over your gamestate, since the gamestate itself will handle everything inside it's own class. This helps keeping the codebase more organised when it gets bigger. I'll also automatically register events for that GameState class when it gets active (and deregister them when the state is done ofcourse) to move some of the branching in seperate event classes to the GameState class itself. Again to make sure that all the logic for a certain gamestate is all at the same place and not scattered around your codebase.

    • @JordanOsterberg
      @JordanOsterberg  4 ปีที่แล้ว +5

      I’ll have to try this one out... do you have an example repo with these techniques in detail? I’m curious exactly how you’ve implemented this pattern :]

    • @9y028
      @9y028 4 ปีที่แล้ว +5

      I haven't got a public repo with such a system implemented. I do however have a pastebin which should get the idea across. Note that I called them phases instead of states and that the PregamePhase, which I included as an example phase, is far from being implemented well pastebin.com/9RCQZ770

    • @JordanOsterberg
      @JordanOsterberg  4 ปีที่แล้ว +4

      This is actually genius.. will be using this style tomorrow on our Spleef stream!

    • @MCreeper-eg9xy
      @MCreeper-eg9xy ปีที่แล้ว +2

      Even 2 years later, your comment still helped me in finding a cleaner and more efficient of writing phases. Thank you for this crucial piece I had doubts about

    • @sergios6794
      @sergios6794 8 หลายเดือนก่อน

      you made some mix of the patterns State, Chain of Responsability and Mediator, I think

  • @memeweft9694
    @memeweft9694 3 ปีที่แล้ว +9

    Straight to the point, not trying to explain programming basics, clean coding with a simple structure, amazing tutorial!

  • @Networkingbe
    @Networkingbe 4 ปีที่แล้ว +16

    I've been watching these tutorials, and this is by far the best one I've encountered so far. Really to the point, not trying to explain the basics of programming like variables and stuff (if you don't know how to use variables, try some basic programming tutorials first), or spend 15 minutes of a 20 minute video setting up a git repository or the color scheme of your IDE.
    Also props for the very clean code and structure. Keeping classes small and simple, each one with a specific task will make it much easier to maintain.

  • @NinetyRalph
    @NinetyRalph 4 หลายเดือนก่อน

    So underrated, keep it up!

  • @itz_potato7794
    @itz_potato7794 3 ปีที่แล้ว +1

    Pretty nice! Please do more

  • @maxymstoiakevych4139
    @maxymstoiakevych4139 4 ปีที่แล้ว

    Dude it's so useful. Thanks for it :)

  • @rrenildopereiraa
    @rrenildopereiraa 2 ปีที่แล้ว

    thank you so much I always watch this video this helped me a lot on understanding more about the classes and functions excellent video!

  • @pablohermoso4530
    @pablohermoso4530 4 ปีที่แล้ว +12

    I'm not gonna lie, you have a similar voice to Dream plus the same mannerisms in his vocab

  • @peegion4742
    @peegion4742 2 ปีที่แล้ว

    Insane tutorial, thanks!

  • @shbox5090
    @shbox5090 4 ปีที่แล้ว

    This was really helpful thanks!

  • @devmclovin
    @devmclovin 3 ปีที่แล้ว +1

    Well made vid!

  • @kevinoolla
    @kevinoolla ปีที่แล้ว

    you don't have more videos explaning how to make a minigames in minecraft? i really need to learn

  • @jaime7295
    @jaime7295 4 ปีที่แล้ว +1

    Really good video, like

  • @boweneveritt3400
    @boweneveritt3400 4 ปีที่แล้ว +7

    Can you make a tutorial on how to recreate the slayer bosses from hypixel skyblock?

    • @ZenerFox
      @ZenerFox 4 ปีที่แล้ว +2

      I'm not sure if he's going to make a tutorial on this but all you would have to do to make this is track the amount of zombies/skeletons/whatever mob the player has killed in a hashmap and once the player has reached a certain amount of kills, it spawns a custom boss. If you want custom AI, that's a different story. Hope this helped

  • @roulette2529
    @roulette2529 4 ปีที่แล้ว +2

    how to make an update system so that we don't have to reload everytime or restart the console when we export the game

  • @Lennyboy1506
    @Lennyboy1506 3 หลายเดือนก่อน

    How do you get the files and stuff?

  • @JayQwery
    @JayQwery 3 ปีที่แล้ว

    Because you didn't really mention the other code in the program I thought it was unimportant... boy was I wrong lol. Anyways this video is great do you have other videos that add to this one?

  • @zdany_
    @zdany_ 2 ปีที่แล้ว

    How can i manage game events with an arenas system?

  • @maanraj7301
    @maanraj7301 3 ปีที่แล้ว

    Hello Jordan! i was following the tutorial and i stumbled upon a problem when i can break anything like its as if the blockbreakevent does nothinfg can you help?

    • @MCreeper-eg9xy
      @MCreeper-eg9xy ปีที่แล้ว

      Check if you registered the listener

  • @harpermanofficial
    @harpermanofficial ปีที่แล้ว

    So are all minecraft minigames plugins?

  • @krinnter7994
    @krinnter7994 4 ปีที่แล้ว

    after all, someone who knows things and does not create a pig's code
    More, please!

  • @lack_of_awareness
    @lack_of_awareness 4 ปีที่แล้ว +2

    Any tips on how to make mini game plugins on the Minecraft bedrock edition? Specifically for the php server wrapper ?

    • @lack_of_awareness
      @lack_of_awareness 4 ปีที่แล้ว

      And, Ik most of what will be shown is probably easily translatable to php but idk some methods just aren’t in php and php overall is kinda slow so idk the best way to optimize my code so the server doesn’t lag to fuck all when a game is running

    • @JordanOsterberg
      @JordanOsterberg  4 ปีที่แล้ว

      I'm actually not at all familiar with Bedrock's server plugin API... I'll have to look into that :] Join our community Discord and please feel free to ask questions there along with suggest more ideas for the future!

    • @hungerfan552
      @hungerfan552 4 ปีที่แล้ว

      Hi i recomend cloudburst its bassicaly bukkit for bedrock its written in java and the API is very similar

    • @lack_of_awareness
      @lack_of_awareness 4 ปีที่แล้ว

      @@hungerfan552 ah, I only heard of pocketmine and nukkit. I’ll look into cloudburst

    • @hungerfan552
      @hungerfan552 4 ปีที่แล้ว

      @@lack_of_awareness cloudburst is the new name of nukkit xd

  • @rotcharm
    @rotcharm 3 ปีที่แล้ว +1

    Whats The program?

    • @JordanOsterberg
      @JordanOsterberg  3 ปีที่แล้ว

      IntelliJ IDEA :]

    • @rotcharm
      @rotcharm 3 ปีที่แล้ว

      @@JordanOsterberg thanks

  • @snakkze
    @snakkze 4 ปีที่แล้ว

    01:47 just for me :)

  • @yali5549
    @yali5549 3 ปีที่แล้ว

    Can you send the source code, please?

  • @desertsoldier9093
    @desertsoldier9093 3 ปีที่แล้ว

    He literally sounds like Dream no cap

  • @altf4216
    @altf4216 ปีที่แล้ว +1

    "enoom"

  • @aka1021
    @aka1021 2 ปีที่แล้ว

    I don't want youtube premium thanks

  • @Bl_ckBuster
    @Bl_ckBuster 3 ปีที่แล้ว

    Tutorial hasn't ability to have multiple parallel games at one. I can do it, but the usefullness of video is gonna sad :(

    • @MCreeper-eg9xy
      @MCreeper-eg9xy ปีที่แล้ว

      You usually have multiple servers if you want to run multiple instances at the same time

  • @princesam5912
    @princesam5912 2 ปีที่แล้ว

    I can't hear u good get a micerphone