Java Masterclass™ - 7. Rapid coders secrets/ Learn Java Minecraft Plugins / Initial Setup

Java Masterclass™ - 7. Rapid coders secrets/ Learn Java Minecraft Plugins / Initial Setup


Java Masterclass™ - 7. Rapid coders secrets/ Learn Java Minecraft Plugins / Initial Setup

Ignore*******
#minecraft #plugin #programacion #desarrollo #tutorial #gaming #minecraftplugins
#minecraftdevelopment #coding #java #minecraftmods #gamedevelopment #codetutorial #programminglanguages #javacoding #minecraftserver #gamingtutorials #minecraftcommunity #plugindevelopment #minecrafttutorial #codingtips #gamedesign #minecraftjavaedition #gameprogramming #minecraftbuilders #codelearning #codingcommunity #minecraftcoding #minecraftgameplay #plugintutorial #minecrafttips
#minecraftgamer
#programmingjourney
#gamedevtips
#minecraftaddict
#minecraftfun
#plugincoding
#minecraftmodding
#javadevelopment
#gamingcommunity
#minecraftworld
#codechallenges
#minecraftredstone
#minecraftservers
#codingprojects
#minecraftbuilding
#minecraftcreativity
#pluginmaker
#minecraftupdates
#codeinspiration
#MinecraftProgramming
#MinecraftDeveloper
#CodingSkills
#MinecraftGurus
#PluginCreation
#MinecraftEducation
#GameDevCommunity
#CodeGeek
#MinecraftMaster
#PluginWizard


Content

0.6 -> Okay, guys,
5.8 -> welcome back to the show with your favorite boy
8.6 -> Jeffy or you can also call me Matt. If you
11.4 -> prefer that now you may have suffered the
14.8 -> issue of recompilation my
17.2 -> friend because in the last video, I have literally given you the
20.2 -> full system. However, every single time you've renamed
23.4 -> the entity type to something else
26.3 -> for example dragons you have to do the
29.5 -> same and you have to establish a server recompile it
33.3 -> Copy the plugin to the plugins folder again, and then
36.3 -> just start the goddamn server again, and this entire
39.8 -> process will take you more time
42.2 -> than just editing the code.
44.8 -> So in this video we're going to fix that
47.2 -> and I'm gonna show you a small but extremely useful trick
50.6 -> that's gonna save you at least one to two hours per day depending
53.9 -> on how much time you put in. Of course. If you only have an hour
56.2 -> a day to put into this training It's Not
59.7 -> Gonna Save You an hour, but it's going to be the
62.2 -> single most time saving trick of this whole program.
65.9 -> So I'm gonna show you how to see code changes
68.5 -> in the real time. We're going to be speaking about
71.2 -> how to run your micro server directly in intelligent Eclipse.
74.3 -> So that small coat changes are reflected
77.7 -> instantly without you having to reload
80.6 -> and recompile each time. So let's talk
83.8 -> about the deploying repeat quarters secrets
86.8 -> and behind it. The scenes of
89.2 -> that system lies the maven technology and
92.3 -> the Palm file that we have been using by default. You are
95.4 -> exporting or compiling your program using that
98.5 -> file, right? And this file uses the
101.1 -> XML markup language and the main event
104.3 -> technology.
104.8 -> To build it very simple. Now if
107.3 -> you run your server within IntelliJ or eclipse this
110.5 -> however, unfortunately is not enough and so we
113.1 -> have to go and we have to seek another technology that's
116.7 -> called and and has a build file
119.4 -> that by the way doesn't matter what name you
122.4 -> give it to the file. I just chose and the
125.4 -> name of build that XML because I think it's funny. Although it's
128.3 -> not and this is gonna help us this friend
131.4 -> is gonna help us to connect and then to recompile the
135.5 -> the entire code into
138.9 -> something that the computer can read while your
141.3 -> server is running because and essentially does
144.4 -> the same thing as Maven. Okay, both tools do
148.7 -> the same day. They compress the code into machine
151.1 -> code. They compress your English into
154.8 -> zeros and ones that the code that the
157.4 -> machine can then read. However, Maven doesn't support life
160.9 -> debugging as this is called or hot
163.7 -> swamp as this
164.7 -> Also known as only and support this
167.4 -> so a little bit confused a little bit confusion right here,
170.2 -> but don't freak out because I already pre-created the
173.5 -> the file that you need for you so that you
176.2 -> only have to follow the step 10 minutes guide and you'll be
179.4 -> good to go and connected now as I mentioned
182.1 -> this is also known as hard Swap and live debug because
185.3 -> we'll be running the server directly in the IntelliJ or eclipse and
188.8 -> swapping code changes live. So, please take
191.3 -> a note take your pen and a paper and
194.5 -> please take notes throughout this video because
197.3 -> You know, it's gonna help you. So please do take a note that
200.2 -> this is also known as the hot swap or life debug feature
203.5 -> because I'll just keep referring to it interchangeably. Now
207.7 -> question arise why we can't stick
210.6 -> to build and dig deepon file. I already explained that
213.6 -> these Technologies while both they do the same
216.3 -> thing. They compress the file. These are different and look
219.9 -> if you are a beginner you can just you know
222.5 -> shut your ears. But if you're a little bit more advanced here
225.9 -> is why here is the in-depth why so we
228.6 -> can use and for everything we
231.1 -> have to go with Maven because and lacks
234.9 -> most of the features such as easy support for
237.2 -> adding third party libraries. If you want to connect different stuff,
240.8 -> if you want to create for example this court Bond, you
243.5 -> have to include Discord Library within your plugin, for
246.2 -> example, you know and can't do that easily. It also
249.9 -> cannot awful skater code means it can have
252.2 -> to protect it from someone else looking at it understanding it
255.2 -> and reading it and maybe stealing it.
257.3 -> And it also cannot do something called repackaging which
260.4 -> means it cannot simply move move the foundation
263.2 -> system or any other third party Library into
266.8 -> a unique package Name, by the way. If you
269.7 -> are a beginner, I'll explain what package means in in
272.8 -> the first week of this course. I mean in the second one, sorry
275.4 -> and then and can't do this.
278.3 -> That means if you have two plugins both using the same
281.6 -> Library, it's gonna Collide Java will have a collision because
284.6 -> it cannot decide which one to use because both
287.4 -> both pass are the same. And so
290.9 -> this breaks me to the biggest issue
293.4 -> with and is that we can only debug one of our plugins and
296.5 -> a time you can of course have as many plugins as
299.5 -> you wish to that have been compiled with Maven but you can
302.3 -> only have one plugin that has been compiled with and when
305.6 -> you're testing it, so that's that's the sort of advanced explanation
308.2 -> by the way as a beginner don't have
311.3 -> to worry about that so much.
313.5 -> now
314.9 -> sorry, we'll be using just one the latest
317.6 -> micro version in this video. Just as we did in
320.6 -> the last video when we set up the test server. However,
323.9 -> I understand your computer may
326.9 -> not be the $50,000 NASA computer
329.7 -> and you may find the latest Minecraft version is
332.6 -> a little bit slow. It's a little bit lagging your fans May spin
335.9 -> a little bit and you may want to boil water. If
338.7 -> you hover over your computer just the fans generating
341.1 -> so much heat over it. So if that's you
344.3 -> if you don't want to have boiled eggs or for breakfast every single
347.4 -> morning, you start your computer because it's so hot you may
350.4 -> as well just go back a little bit and use an older
353.4 -> Minecraft release do not worry. I'm gonna show you how to do
356.1 -> that in the next video. That's gonna be a special edition.
359.4 -> It's gonna be called multi Java set our video.
362.4 -> Now here is to the guide. So how do we actually deploy it
365.5 -> and I'm just gonna I'm just gonna go read this
368.9 -> slide and then return to it throughout this
371.1 -> video so we can skip it now again performance on a tip.
374.3 -> You can use Minecraft 1.8.8 for for maximum
377.6 -> performance because the most recent one Minecraft
380.7 -> can be a little bit slow. So you can use that Minecraft version.
383.6 -> It is still popular and the best of all we build
386.1 -> in such a way that if you only use
389.2 -> the old macro version and you Koto on it using
392.3 -> it your plugin is also gonna work on
395.4 -> the most recent micro version as well. So this
398.4 -> is pretty much amazing because you don't really need to test it on the
401.2 -> latest version for the most part. You can only stick with the
404.1 -> old version and the plugin is gonna work everywhere because
407.1 -> we have a system for that. And as I mentioned there is a
410.1 -> separate video for how to do that later right after this one
413.4 -> so call to action we're gonna go back to slides and
416.4 -> we're going to create your live debug environment and start coding
419.6 -> like a beast. Okay. So how do we actually do that?
422.4 -> In IntelliJ one note. I want to
425.1 -> mention at the very top of that file. Sorry is that
428.4 -> you need to have Foundation version sent to a number it
431.3 -> cannot be the latest one it can be but then you have
434.1 -> to download and compile Foundation which as a beginner, there's no
437.5 -> need for you to do. So, you just want to
440.2 -> go to this link right here, by the way, you can hold the control or command
443.5 -> and you can click it. It's gonna be opened and then you can
446.1 -> you can see the up to the most recent one. Now.
449.5 -> It says do not use the ad because we're only using this one
452.4 -> for recording but by the time you're watching this video, you
455.7 -> have to use the six version the
458.2 -> sixth Branch whatever it is, it can be 6.0.8.
461.1 -> Okay, whatever something
464.8 -> like that because we're going to push a few updates throughout
467.8 -> this course, so please make sure this is changed and
470.4 -> this one is also changed to come that GitHub that
473.9 -> can go which stands for my nickname
476.8 -> and that's pretty much it.
479.9 -> There's no not my changes you have to do in this
482.6 -> file in anymore.
484.4 -> And you can just close it. Now what I want you to do right click
487.3 -> this file and then you should see
490.2 -> somewhere the let me
493.3 -> just type this and as and file, okay,
496.3 -> there should be an option.
498.9 -> If it isn't.
500.7 -> Good, it means that you've already done it
503.3 -> because for some of you there's going to be pop-up down in
506.5 -> the corner that's gonna ask if you want to add this as an
509.5 -> end build file. Okay. So if you click this already, there's
512.7 -> not going to be anything. Now, you can also
515.1 -> verify if you have and right here and you have to build right
518.1 -> here, which is good. That means that you have registered the
521.9 -> build file within intelligent. Now you want
524.2 -> to open it then make sure the project name you
527.1 -> want to cancel you wanna edit to the
530.4 -> actual project name. So for me, that's almost the same and then
535.6 -> You know, we don't have to go through all of this because again as
538.4 -> a beginner, I don't I just don't want to confuse the hell out a
541.3 -> hell out of you will have to go line by line further further
544.9 -> in the course, but the most important thing my friend
547.6 -> that you need to do is make sure that the jar file this
550.5 -> is right here.
552.4 -> Follows to the path where you want to put your
555.7 -> compiled plugin because yes, we're going to be doing
558.4 -> this automatically. We're going to be taking the plugin from from
561.6 -> the target folder.
563.8 -> From the target remember from the what Maven creates
566.7 -> we're going to Move It ultimately into the
569.3 -> plugins folder to save your time. So make sure that this path.
573.3 -> Up until plugins stands for the path
576.4 -> to your test server. So
579.5 -> for me, it's in finder. It's in actually right
582.2 -> here.
583.6 -> Then you can see the path is right here. If you can't see
586.5 -> it Go One Directory up on your Mac right? Click
589.6 -> it.
590.9 -> And then hold option key and you can see copy is
594.1 -> being changed if you hold the option key, so just hold it copy it.
598.9 -> Place it like this.
601.2 -> Put a forward slash on it type and
604.3 -> plugins another forward slash and then you can keep this weird
607.5 -> thing. It's called placeholder and it's going to be replaced with
610.2 -> plugin template light dot jar now, make sure
613.2 -> you delete the old file. So if I open the the server
616.4 -> make sure that you delete
619.5 -> the old file you only have to do this once because
622.3 -> the next time we're going to replace the old file. However,
625.5 -> it's only going to be called like this. So if you haven't
628.5 -> file if you have a file that's that's called like this what's
631.1 -> gonna do it's gonna copy another file and
634.3 -> now now you'll have two files there which is not good. So you
637.4 -> have to get rid of both and next time you will start the
640.5 -> and build process. It's only gonna move one
643.3 -> file there. Hopefully that makes sense. If not, just ask away
646.3 -> in the comments. So
649.3 -> That's really it on Windows. This should be something like the C
652 -> drive.
654.4 -> And then users and then your name if you have the
657.6 -> same path, I recommend everybody just put the test servers
660.4 -> in the user's folder. So
663.3 -> on Windows pretty much the same except you have to specify the C
666.3 -> drive and that's it.
668.2 -> And now it's time to go here. Click edit configurations.
673.7 -> You want to open the jar application and you want to click new
676.4 -> if you can't see it just click plus right here and then
679.4 -> hit jar application and we already see
682.3 -> let me just delete this one. We already see that I have cheated
685.5 -> behind the scenes. I just want to make sure it works good and it works
688.6 -> it works the way shoot. So I already pre-created
691.7 -> one, but we're going to be just following my steps. So the
694.5 -> name can be whatever obviously don't be done person
697.4 -> like me. So actually put something that makes sense. I just
700.6 -> like to put in Minecraft 1.18. That means that we're
703.3 -> going to run it within the IntelliJ environment.
706.1 -> Okay back to jar. You want
709.3 -> to open this one and then a little bit tricky because
712.4 -> for 1.18 and
715.6 -> further 1.19 1.20. You
718.9 -> want to select the paper clip file? Okay anything
721.1 -> that's not one point eighteen that's older such
724.9 -> as the one point eight that I'm gonna show you so that
727.6 -> also means at 1.17 sixteen thirteen. I'll show
730.7 -> 15 and 14.
732.4 -> 12 11 10 9 8
736.6 -> so write it down between these versions between
739.7 -> 1.17 and 1.8. You want to actually open up
742.2 -> the cache and select the patched file? Okay, if
745.5 -> you want to build for anything that's even older such as
748.7 -> 1.7 1.6.
751.4 -> Again, it's going to be the paper clip file a little bit confusing.
754.4 -> I know guys that's why I recommended you have a pen and a paper.
757.3 -> So
758.2 -> Our cake extremely old macro versions 1.7 and
761.5 -> below. This is the paper clip file or whatever file is
764.4 -> the main one 1.8 to 1.17 is
767.7 -> going to be in the cache folder in the patched file
770.3 -> the patch file and then 1.18 the most
773.6 -> recent one 1.91.25. Whatever you're
776.5 -> watching this video in right now. It's again going
779.2 -> to be the main file. Okay, just open this one.
783.4 -> And then program arguments you want to type in node GUI a little
786.3 -> bit strange what's gonna do it's going to prevent additional window
789.3 -> from opening because we're already going to see the servers output input
792.9 -> in the in the
795.3 -> console window within IntelliJ, so we don't need to two
798.7 -> windows.
800.1 -> And working directory so you can just copy this one.
804.5 -> And then make sure that this goes to
807.1 -> the root to the main server folder.
810.1 -> And then Java version so you can basically just choose the
813.8 -> latest one. And again there is
816.1 -> a little bit more to it, but I just don't
819.1 -> want to confuse beginners. So that's why we have the Separated
822.4 -> video that's called multi-java version. So for now just don't worry
825.1 -> about it. Just go with the latest one and you'll be good to go and then
828.1 -> before launch, so hit Plus.
830.5 -> run
832.8 -> And Target and then you want to select the
835.2 -> build click. OK. You should see it right here. Hit ok.
838.5 -> Now instead of doing the Run.
842.6 -> We're going to do a debug. Okay now before we
845.2 -> do so.
846.9 -> The first step is ensure you have built automatically
849.6 -> enabled.
851.1 -> In your save actions plugin.
854.3 -> And configured it to reload files in
857.2 -> running debugger or build automatically. How do we do it? You want
860.2 -> to open IntelliJ go to preferences.
862.9 -> go to
865.3 -> save actions
867.3 -> Search it it's in the outer settings. And then you want to make sure that this
870.5 -> is sticked. Okay, and then the other one is sticked
873.4 -> right here. Make sure this is thick if that doesn't work you
876.4 -> can try doing this but I recommend the second option
879.5 -> plus you want to search for build automatically.
883.4 -> And then compiler right here this needs to be on if
886.8 -> for some weird reason you've lost the
889.4 -> settings then you basically need
892.8 -> to go to the IntelliJ setup video
895.2 -> call configure it again, and then you can go into
898.6 -> your manage ID settings explored those.
902.7 -> Safe settings that I've shown you, you know couple of tradings
905.4 -> ago and then you just want to import
908.3 -> settings your own custom settings with the
911.4 -> build project automatically into all of your fall in
914.4 -> all of your projects manually and it's
917.5 -> gonna work that way.
918.9 -> Because sometimes IntelliJ is just gonna reset it
921.6 -> for some via reason it never happened to me in Eclipse, by the
924.6 -> way, so that's it now if I hit the debug button,
927.2 -> and I think it's been a while I'm
930.5 -> speaking. So I just want to make this quick.
933.6 -> It should go and it should compile it. Please give it
936.2 -> a little bit of time because again Micra versions getting
939.5 -> heavier and heavier after every release so
942.6 -> don't expect this to be quick. Even if you have a beefy
945.5 -> computer, that's why until next video. I'm gonna show you how to make
948.1 -> it better with the old micro version. However, now we can see
951.2 -> what's going on. This is quite interesting. Now, we have the same setup
954.7 -> as we had in the test server. However, this is
957.3 -> now running in the console my friend beautiful and now
960.8 -> you can see that we have the plugin template
963.8 -> light right here and it also says that it has
966.2 -> been enabled. So what I want to what I want you to do open
969.2 -> the file.
971.8 -> And then going to the game and let's see what happens.
975.3 -> Okay. So now if I right click a zombie you can see hey now
978.1 -> explodes because we have set the
981.5 -> end energy type here to Zombie. By the
984.1 -> way, if that doesn't make any sense to you just refer back to the previous
987.4 -> video in releasing the Beast chapter. And now
990.6 -> if I want to change this to a pig for example, and by
993.7 -> the way guys, you only have to select the animals
996.3 -> from the list if you haven't figured that out already if you
999.2 -> type in something that doesn't exist you will get no
1003.6 -> Definition error cannot resolve symbol.
1006.3 -> Okay, so you only have to put in things that are already there
1009.4 -> do not attempt to put things like my name in there. Okay, don't do
1012.2 -> that. So say we want to change this to a pick.
1015.7 -> now all you have to do hit save
1018.6 -> so Control Plus s
1021.1 -> Okay command plus s or control.
1025.5 -> Ctrl + S
1028.1 -> There we go. Save it.
1030.1 -> And now you should see the little build right here now now
1033.5 -> see one class reloaded. So now if I
1036.4 -> right click the zombie it will not work. Okay,
1039.5 -> it's not gonna work now. I have to spawn a
1042.2 -> pig.
1043.1 -> in my right click the pick
1046.2 -> boom
1047.6 -> We now have a very beautiful theoristic explosion.
1050.2 -> So that is my
1053.4 -> friend. How you do a live debug in
1056.3 -> IntelliJ. Let's move into ecos. Oh,
1059.5 -> by the way on that note. If you do want to stab your micro
1062.3 -> server just hit the stop Minecraft, whatever you put
1065.7 -> into the name field right here. Okay, my
1068.6 -> friend now it's time to go into eclipse and let me
1071.2 -> check what this weird issue is right here so I
1074.3 -> can tell there's something going on here. We have an
1077.1 -> X right here. It's not a good sign and if I open
1080.1 -> up the problems tab, you can see we have
1083.2 -> an error. That's totally weird. It's probably just sort of
1086.4 -> a glitch there. Now, if you can see this tap go
1089.9 -> to window go to show you and
1092.3 -> then go to problems right here. Click it.
1096.2 -> Mine's gonna open the problem view. Okay. Now what I
1099.7 -> would recommend you do in that case if you have
1102.4 -> something weird like that just right click it go to maven.
1107.8 -> And then click update project and then just
1110.3 -> hit OK.
1113.4 -> And it even tells you to do so. Okay you my friend
1116.2 -> should not have this issue. Now. What I want you to do is click the
1119.6 -> small Arrow right here.
1121.8 -> And then go to debug configurations now in
1124.6 -> debac configurations window. I want
1127.6 -> you to add a new configuration under job application
1130.6 -> hit the first button new
1133.5 -> launch configurations. You can order already tell
1136.5 -> that I have pretty created one. So name again
1139.7 -> same as for IntelliJ. Just give it any name
1142.4 -> you wish to however what I like to do for Eclipse specifically
1145.7 -> the naming convention is I'd like
1148.2 -> to have the plugin name and then append the Minecraft version after
1151.5 -> IT project should be exactly the same
1154.1 -> as your project and then the main class. Yeah a
1157.7 -> little bit tricky right here. So almost have to
1161.4 -> Copy domain class. Where is
1164.4 -> it called now, it's not here. Anyways, so
1167.7 -> you only have to maybe take a pen and paper and just
1170.3 -> write it down manually somewhere. So you remember it and memorize it
1173.6 -> for 1.18 and up. The main
1176.5 -> class is called IO dot paper MC dot
1179.1 -> paper clip dot main. Okay reason you
1182.3 -> have to do it for eclipse and and not for IntelliJ is
1185.4 -> unknown to me seems like intelligent. Does it automatically for
1188.1 -> Eclipse? You have to find where the server start
1191.3 -> this is called the main main class again. I'll explain this
1194.3 -> later in the week two of this course, so
1197.9 -> just
1199.4 -> Type it in now for older Minecraft versions such
1202.8 -> as 1.70 or 1.8 or even
1205.4 -> 1.7. This is actually something else. It's called
1208.2 -> orc that bucket that craft bucket that
1211.1 -> Main and then you have to select the the patched
1214.9 -> file as I explained later. So again, just write
1217.7 -> it down somewhere. So, you know it remember it and put
1220.6 -> it in there. That's it. Now the next
1223.2 -> tab, I want you to put in a dash
1226.2 -> and then no GUI. Now again, you
1229.6 -> almost have to take a note on this only put this in the
1232.3 -> program arguments. If you are building for Minecraft, 1.15, 16
1235.1 -> 17 18 and so on
1238.1 -> and so forth for Minecraft 1.14 and what Minecraft
1241.5 -> one point eight all these all the releases
1244.5 -> you just leave this to blank. Okay. Now
1247.6 -> we have the latest micro release. I'm just gonna
1250.1 -> put in a dash and then no GUI right here. That's it.
1254.7 -> And then the Java runtime
1257.3 -> environment you want to click alternative j r e
1260.6 -> and you want to select the Java the latest
1263.5 -> Java that you have there should be Java 17
1266.2 -> 18 or God knows what's gonna be and then
1269.4 -> dependency so you should only have two. Okay
1272.6 -> number one is the system Library.
1276.2 -> By the way, if you have something else just select it and then hit remove.
1280.4 -> If you don't have this here or if you screwed up and you
1283.2 -> deleted it like me many times what you want to do is go to Advanced.
1287.5 -> Add Library click OK and then
1290.7 -> select the first one hit next.
1292.9 -> Go to alternate alternative and then
1295.4 -> select the latest one hit finish.
1298.3 -> And now it's there twice so we have to get rid of it.
1301.2 -> The oh my God, and now it it just got rid of everything. So
1304.5 -> let me do it again. Let me do it again.
1308.3 -> There we go. There we go. And now now class path
1311.8 -> entries. You just want to click add external
1314.9 -> jars and then you want to select the paper clip
1317.6 -> or the patched file again. Let
1320.7 -> me let me repeat Minecraft 1.18 and
1323.2 -> up. You want to select the main paper main server
1326.6 -> file in the main server folder anything older you
1329.8 -> want to go into the cash and select the cash.
1333.2 -> File it's not it's not right here because this
1336.2 -> is the most up-to-date version but in the older versions, it's gonna
1339.4 -> look like this one now for extremely old Minecraft versions such
1342.7 -> as 1.7.
1344.3 -> You again have to select the main file.
1347.8 -> Paper clip or whatever it is called for you. So
1350.2 -> let me confusing but just write it down and remember it on your
1353.5 -> paper. Take your notes take Evernote notes, for example, and now
1356.7 -> we're pretty much done.
1359.4 -> Nothing else to set up except what I like to do is
1362.2 -> I like to put this in my favorites menu for easy
1365.3 -> access so you can click this right here. Click apply hit
1368.6 -> close.
1369.7 -> and now
1371.7 -> what do we want to do?
1374.3 -> Of course ensure your project is compiled to see Maven
1377.3 -> and then we want to add your build folder build XML
1380.6 -> file into something called the Alta build. So IntelliJ a
1384.2 -> little bit easier for Eclipse. You have to right click your project.
1388.8 -> Go to properties.
1391.2 -> Go to builders.
1393.4 -> Go to new.
1395.7 -> double-click the and Builder
1399.3 -> maybe click it ten times if it doesn't want to work and then give it
1402.6 -> a name. I don't know. God knows what name banana
1405.8 -> whatever. Okay, and then the build file is going
1408.1 -> to be browse name and browser workspace open it.
1411.6 -> Click it and select the build file.
1414.4 -> That's it. Hit OK.
1416.4 -> And it should be right here. This one is actually from my
1419.3 -> previous setup. It's called just new Builder. So plug-in template light
1422.2 -> Builder, whatever you want to do.
1426.2 -> There we go. Hit applying close. By the way. The order of these things
1429.2 -> does not really matter. You can have it at the bottom if you
1432.1 -> wish to after the main project Builder.
1435.9 -> Hit the playing close. That's pretty much it and now.
1439.6 -> You can click the small arrow and then
1442.7 -> you can just select the plugin template layout folder
1445.4 -> before we do. So again, make sure the folder is
1448.3 -> cleaned for the first time.
1450.5 -> especially if you have something
1453.3 -> if you have two a jar, you know that's gonna end up with
1456.2 -> the version make sure you delete it because
1458.8 -> Well, not remove it. We only put the
1461.3 -> jar without the version there so that you do not want
1464.2 -> to end up having two jobs right there. So you want
1467.5 -> to open it?
1468.7 -> Start it.
1470.3 -> And then you don't you don't have to from now on you don't
1473.1 -> have to delete the jar. Unless you want to test the jar
1476.5 -> from Maven. So take a note only delete the
1479.5 -> jars. If you're switching Technologies, if you're testing Maven file
1482.4 -> Maven jar, delete the end jar if you're testing and
1485.5 -> there are delete the main jar now, as you
1488.7 -> can see everything has been compiled properly. We also
1491.4 -> have the server that's gonna going to start right in here
1494.2 -> and we'll be able to connect to the game in a
1497.1 -> minute. And there we go. We have the entity type pick
1500.6 -> right here from the last IntelliJ attempt to
1503.7 -> change it. So I should be able to blow
1506.5 -> this pick by right clicking. There we
1509.2 -> go. Now if I want to change it back to see zombie same
1512.9 -> Spiel you just type whatever you want
1515.2 -> to
1517.5 -> Like this you hit command + S.
1520.5 -> And then you have to work wait again a little bit. You can
1523.3 -> see it was pretty Dame fast. It actually works
1526.4 -> much faster in Eclipse. So
1529.4 -> you may consider using eclipse for that. Very reason if performance is
1532.6 -> your top priority now, I should be able to blow zombie
1535.2 -> right away. So works just the same
1538.3 -> except it's faster in Eclipse by a considerable
1541.6 -> amount. I'm not sure why but that's my friend
1544.1 -> how you get these two setup now later in
1547.7 -> the course, of course, we'll be taking our coding to
1550.6 -> you Heights never before possible and
1553.4 -> you cannot use mmm the hot swap
1556.7 -> for any code change you'll see
1559.1 -> that later. It's gonna crash especially when you want to add or
1562.7 -> delete a huge portions of
1565.5 -> your code. So this one this trick only works
1568.4 -> for for within everything that's
1571.3 -> within these big brackets right here again, you know, we'll
1574.5 -> get to actual Java in in just a
1577.1 -> few minutes in just a few videos and just remember
1580.4 -> Or doesn't work all the time, but it's Gonna Save you so
1583.1 -> much time that it's worth this trick regardless and cheers.

Source: https://www.youtube.com/watch?v=tiG4kkM1NHs