All right guys so I’m gonna go ahead and show you guys how I code a Minecraft but challenge disclaimer I don’t code all of them gorge codes a lot of them and I don’t typically code on this computer usually code on my laptop so if I’m a Little rusty then no well let’s go ahead and look at your comments let’s see what these epic ideas that you yourselves have suggested that I do or that we do I can do that by searching for idea this one’s interesting all creepers charged all zombies diamond armor all skeletons diamond armor and Punch to bow now get a lie that’s kind of stupid but let’s just do it anyway I can show you how I would do it of a empty project here that I made a core class that has nothing in it at all other than it registers listeners and we Have an event in here and I believe the event in 1.14 is creature spawn event that’s what that’s why would the event we want to use we want to check if it’s a creeper first of all so then dot get entity type equals entity type dot Creeper way to tell it that it is a creeper otherwise it’s not gonna believe us and now that we have the creeper itself we’re gonna do creeper dot set Howard yes true that’s easy the creepers now whenever they spawn will all be powered so that was really easy Only a couple lines if entity type is a skeleton Oh Susan be first I guess and we don’t want to set it to powered we want to set it to diamond armor so we’ll do zombies get equipment I think that set helmet new items stack diamond of material dot diamond helmet chest plate Leggings boots easy as that and I will copy this oops will copy this one more time and we’ll do skeletons need to give it a punch bow punch bow equals new item stack material dot bow add enchantment campement arrow back to punch two and we want to set that in the skeletons in Hand all right and now we’re gonna go ahead and connect to the server let’s go ahead and do reload confirm and then now the plugin should be on so if we give ourself a spawn egg and we should be able to test the plugin there we go that Is punch even if you can’t tell zombies have diamond armor too and then last but not least creepers are super powered easy as that my craft but challenge one down I’ll put this plugin in the description let’s go ahead and check another one so the one right after that Is minecraft but every time we eat we get on behalf a heart that’s kind of interesting and I believe that there’s player consume item event a well it’s not player consume I know that I spoke too soon what is it okay so player item consume event I don’t know why I thought It was item or what I think it was player consume IO player consumed I was off by one word whatever we want to check what’s food right what else can you consume ooh okay so this says this event will fire when a player is finished consuming an item Food potion milk so it doesn’t like it does count potions to which we probably don’t want let’s go ahead and check if event that get item get type that should stop it so we just returned I’m not sure if that’ll work but oh well we’ve tested I guess in game but I should stop potions from triggering the event this is such a dumb way to do it I’m sure there’s a much better way to do it but that’s just how I decide to do it right now because I’m just trying to do it Quickly and now we want to go event get player that set health I want to set it to what is it point five all right let’s go ahead and reload confirm now that we’re back on the server and the new plugins should be on all right let’s see There we go so now when I ate it took me down to half a heart and then I heal up really quickly because I just ate a steak but basically I just wasted most of that hunger because hunger goes down whenever you take damage or in have to Heal it so now I’m already back down one hunger bar even though it’s been like 10 seconds trash challenge but that’s alright because we did it anyway plugin will be in the description yeah I think that’ll be it I mean to minecraft but challenges in one video a little Stupid ones I guess these aren’t the best ideas which is why we aren’t doing them but they’re pretty cool I guess link in the description if you want to try them out and yeah I mean if you want to learn how to code looking up YouTube tutorials is probably the best yeah if You guys want to see a more in-depth tutorial on how to do this stuff where to download eclipse things like that go ahead and let me know in the comments sure some of you understood none of what I just did but I don’t know there you go Video Information
This video, titled ‘Dream – How Minecraft Challenges Are Coded’, was uploaded by DreamXD on 2020-01-27 03:18:50. It has garnered views and [vid_likes] likes. The duration of the video is or seconds.
How Minecraft But Challenges Are Coded This is a walk-through on how some of the Minecraft but challenges that are on my …