Advanced Spigot Coding | Custom Mobs | (Ep. 1) Spigot 1.15

  Рет қаралды 38,908

CodedRed

CodedRed

Күн бұрын

Пікірлер: 92
@itsVollx
@itsVollx 3 жыл бұрын
Finally a more in-depth advanced informational video! I really needed this from youtube!
@markyspeery
@markyspeery 4 жыл бұрын
Great video can't wait for another one. I'm actually getting better at coding from these tutorials!
@oh_itsmike
@oh_itsmike 4 жыл бұрын
I have a background in coding, but never used Java or Spigot API. I've started the first season, and honestly, from the few i've watched, your content is amazing! I can't wait to start making custom plugins for my MC server. Keep up the good work!
@DigitalAstronautOG
@DigitalAstronautOG 3 жыл бұрын
As of 1.17, the goalSelector variable has been renamed 'bP' :) Hope this helps anyone coding in 1.17!
@somethingaboutmoron
@somethingaboutmoron 2 жыл бұрын
tysm that helps man!
@Imeric_
@Imeric_ 2 жыл бұрын
Its still goalselector for the mojmaps
@DigitalAstronautOG
@DigitalAstronautOG 2 жыл бұрын
@@Imeric_ Interesting. It was obfuscated on my end but maybe I have it setup different.
@BandarAlAish
@BandarAlAish 4 жыл бұрын
Holy crap! What are the odds?! I JUST started learning coding plugins from you! Can't wait to finish the series then watch this!
@alphafefol
@alphafefol 4 жыл бұрын
that's super cool. I'm currently focusing on something else. but once I finish I'll definitely try this myself great video and look forward to many more! :)
@kafa7577
@kafa7577 4 жыл бұрын
oh wow your KZbin video quality is more elegant! and more advanced plugin codings. Keep it up👍👍
@sticktock2448
@sticktock2448 4 жыл бұрын
Thank you so much for these tutorials! I am brand new to Java and spigot, and this is helping out a lot! Thanks!!
@blafexe8087
@blafexe8087 4 жыл бұрын
Finally someone who explained it properly... Couldnt find any helpful documentation about pathfinders and custom mobs above version 1.9
@jurre8317
@jurre8317 4 жыл бұрын
Love the new video style, keep it up!
@maxlin5998
@maxlin5998 4 жыл бұрын
I'm so glad the volume is higher XD Seriously though I appreciate your work so much, you've been a great teacher
@misleaded8814
@misleaded8814 4 жыл бұрын
this is amazing. i spent so long trying to find a good tutorial on nms and here is the entire tutorial on custom entities and everything
@melkor5678
@melkor5678 4 жыл бұрын
Can you make also tutorial about following target? For example aggresive bats?
@sticktock2448
@sticktock2448 4 жыл бұрын
This would be SUPER HELPFUL
@convergentradius
@convergentradius 3 жыл бұрын
Use PathfinderGoal and stack overflow
@leomsss6743
@leomsss6743 4 жыл бұрын
Super great Video, i like the Intro and how you describe the things. I learned Minecraft Java programming through your videos and already coded my own Minigame. Thank you c:
@sorinpena3206
@sorinpena3206 4 жыл бұрын
Ah man I’m behind on the series, but the new intro looks dope
@xlikesasuke8230
@xlikesasuke8230 2 жыл бұрын
Which referenced Library are you using for net.minecraft.server.* Edit: Sorry I forgot to use the CraftBukkit-API. He is using the CraftBukkit-API. It can be found under buildtools/craftBukkit/target
@LuminearHD
@LuminearHD 4 жыл бұрын
How would I set a custom health for the mob, since setting health to 100 actually doesnt work without .setMaxHealth first. But .setMaxHealth doesnt worth without implementing zombie, and I cant implement zombie since im extending Entity Zombie. Any suggestions?
@IveGotBeef
@IveGotBeef 4 жыл бұрын
You need more fame. Like only 4k views on this MASTERPIECE!!!
@Bn-ec2jh
@Bn-ec2jh 4 жыл бұрын
Could you make a video about custom biomes and who to add custom structures?
@CodedRed
@CodedRed 4 жыл бұрын
Been looking into this!
@Insprill
@Insprill 4 жыл бұрын
New editing be lookin 🔥🔥🔥
@archiebakersmite
@archiebakersmite 4 жыл бұрын
extends EntityVillager is just returning red for me with cannot resolve symbol
@archiewood4610
@archiewood4610 3 жыл бұрын
Are you using CraftBukkit or Spigot?
@GhostvOne
@GhostvOne 2 жыл бұрын
Hello any change to have your tuto for 1.19 ?
@slashshorts
@slashshorts 3 жыл бұрын
plugin.stolenItems.add(item); its says that there is the problem in the line even though I have tried many times to fix this but still it didn't fix so plz help me out with this problem
@tarehjernetarehjerne4082
@tarehjernetarehjerne4082 4 жыл бұрын
Hey, im having trouble extending the entity type. The whole super() line is not working, i’m doing this in 1.16.1 thanks Edit: i found a fix, add some more () around the craftworld to getHandle. Dunno why its like this but it works
@lauragauthier6867
@lauragauthier6867 4 жыл бұрын
I learned so much from you! Awesome!
@rinostr1nost446
@rinostr1nost446 2 жыл бұрын
Sorry for the concern, but why does my mob appear invisible, the mod on mobs sees it, its health sees, if it is thrown from a height there will be falling particles, but the mob itself is not visible version 1.12.2R1
@Nick-em3kq
@Nick-em3kq 4 жыл бұрын
Hey, I've been looking into possibly changing mob characteristics with other mobs. Do you know if it would be possible to say, make a chicken have creeper coding? (track a player and explode)
@CodedRed
@CodedRed 4 жыл бұрын
Yep you can do anything! I was actually gonna make a video about this soon!
@iguana7979
@iguana7979 4 жыл бұрын
Could you make a video showing how to make a custom armor set with custom textures and attributes that the armor give the player?
@CodedRed
@CodedRed 4 жыл бұрын
I can definitely look into the idea!
@iguana7979
@iguana7979 4 жыл бұрын
That would be really cool
@eleos5
@eleos5 4 жыл бұрын
0:06 the lick
@tomashula2779
@tomashula2779 3 жыл бұрын
6:30 How do you mean print out what they stand for? I really would know how to do that.
@CodedRed
@CodedRed 3 жыл бұрын
Just System.out.println(then put the variable in here); //check the console for the result. You can also check out minidigger.github.io/MiniMappingViewer/#/
@tomashula2779
@tomashula2779 3 жыл бұрын
@@CodedRed OMG the mappings are AWESOME, I never knew this was even possible, thank you so much.
@FrenchToest
@FrenchToest 3 жыл бұрын
is there a way to just modify the attributes of an existing mob like this? like changing the health and speed?
@MadJack000
@MadJack000 4 жыл бұрын
A very good playlist. It helps me a lot. Merci !
@pixelespresso8494
@pixelespresso8494 4 жыл бұрын
i cant find a video on how i would spawn the custom mob randomly (like in the wild) or replace the spawn of the original mob with the custom mob. can you ether make a vid on it or tell me how i would do that Thanks
@n9583
@n9583 3 жыл бұрын
amazing man but can i ask what does the super() do
@Snusid
@Snusid 3 жыл бұрын
Extends villager downt work, and there is no video which explains how to fix it
@casperino7873
@casperino7873 3 жыл бұрын
Thanks! I've learnt a bunch from this!
@georgemckieth6063
@georgemckieth6063 4 жыл бұрын
For some buggy reason I can't get this to work. The plugin will throw an exception when loading. Everything works if I leave out the class for the custom mob (i.e. the main class is fine). I have tried different API versions, different spigot versions, etc, but it even fails when I copy the thief code line for line. Any ideas?
@taahace
@taahace 4 жыл бұрын
Hey, can you show how to program an PVP AI? Like an AI that when you spawn it goes farming wood, then crafting a sword and then kills animals for food, and when you get too close it attacks you? Would be awesome :D
@phillipwilson3381
@phillipwilson3381 3 жыл бұрын
But, what about getting rid of the Custom Entity? The server reports that a CustomNamedEntity has died! Can't I somehow remove the CustomName from the server?
@ethanohara6517
@ethanohara6517 4 жыл бұрын
Quick question do you think you can sometime expand on the custom crafting by teaching how I would turn the emerald pickaxe into a green looking pickaxe like a mod. If you need to make the texture for it could you show how to add that texture to a custom item
@georgemckieth6063
@georgemckieth6063 4 жыл бұрын
You will need to create a resource pack for your server (google how to create a resource pack, and how to add a resource pack to a server). You will need to use the custom_model_data predicate, which you can set with (I think) Itemstackname.setCustomModelData(); or something like that. the youtuber TImber Forge has a whole series on using Datapacks along with resource packs to make custom-textured items and such.
@matejpavli8554
@matejpavli8554 3 жыл бұрын
I'm probably missing something, but I can't find what and it's causing the NoClassDeFoundError. Any ideas what could it be?
@evanbarnett482
@evanbarnett482 4 жыл бұрын
love the intro
@pimschats8799
@pimschats8799 4 жыл бұрын
Where can i get that server. 1_15_R1 entityvillager file?
@CodedRed
@CodedRed 4 жыл бұрын
It’s an NMS import so whatever version you are using use that import. Example if you are using 1.16.3 the import would be 1_16_R2
@pimschats8799
@pimschats8799 4 жыл бұрын
@@CodedRed ait thank you❤️
@pimschats8799
@pimschats8799 4 жыл бұрын
@@CodedRed Where can i download it cuz i found it on spigot but there was no download link?
@energysynchronized9932
@energysynchronized9932 4 жыл бұрын
How do you keep these custom entities from despawning? I have a custom villager class that replaces all villagers, but if the server restarts or chunks get unloaded, then it turns back into a regular villager.
@ManosSef
@ManosSef 3 жыл бұрын
I think you would need to somehow save them in a file or something idk
@energysynchronized9932
@energysynchronized9932 3 жыл бұрын
@@ManosSef i figured this out for my plugin that changes villager behavior. Instead of spawning custom villagers, I saved a hashmap of villager uuid's and the custom data into a json file. When the chunks are loaded and unloaded, the custom villager stuff is loaded and unloaded respectively. In this way i use the already existing villagers
@jojokly3187
@jojokly3187 4 жыл бұрын
does anyone know how I can use the method "Thief" in another class?
@ManosSef
@ManosSef 3 жыл бұрын
Just want to clarify that since it starts with a capital T it is a constuctor, not a method
@tank2036
@tank2036 4 жыл бұрын
Hell yea I love it 😎
@Tenniscourt-nf2hs
@Tenniscourt-nf2hs 3 жыл бұрын
Hey how can I download
@DerexArchives
@DerexArchives Ай бұрын
ty
@MrIckyDev
@MrIckyDev 4 жыл бұрын
SOMEONE HELP 2021 SPIGOT 1.8 super(EntityTypes.VILLAGER...) RETURNS CANNOT BE RESOLVED OR IS IN FIELD
@scyye-gaming
@scyye-gaming 2 жыл бұрын
did you find a fix?
@igiordy77
@igiordy77 4 жыл бұрын
So if I want to make the same plugin for 1.8, what do I have to do?
@igiordy77
@igiordy77 4 жыл бұрын
please bro I really need an advice
@22rw
@22rw 4 жыл бұрын
@@igiordy77 Do you still need help? I am trying this in 1.8 too
@svenschuitemaker7213
@svenschuitemaker7213 4 жыл бұрын
Nice Tutorial! Can you make a plugin with armor stands that spawns/removes/move/rotate them? That would be awesome
@raudkelly2613
@raudkelly2613 4 жыл бұрын
I saw a comment or two about how setting the health doesn't actually work. So in the video he set the health to 100 which would just default down to the max health which is 20 I think for villagers. Anyways for NMS you would have to do something like this: this.getAttributeInstance(GenericAttributes.MAX_HEALTH).setValue(100);
@dragonslayer3752
@dragonslayer3752 4 жыл бұрын
This was very helpful I was having issues with health and couldn't find anything about it I figured there might be something in this comment section
@Em0ji
@Em0ji 3 жыл бұрын
PLEASE PLEASE, how do I set the health to random? It’s for a challenge! Respond as soon as you can 😭
@archiewood4610
@archiewood4610 3 жыл бұрын
Helped a lot! Do you think you could send us the world file? Looks like a nice test world :D Also does this method work with EntityPlayer? I'm hoping it does because it uses NMS but idk
@harry5450
@harry5450 4 жыл бұрын
I have a question, can my friends join my localhost server?
@anthonyayala7167
@anthonyayala7167 4 жыл бұрын
no, you would have to portforward if you want them to join. Theres a bunch of videos on how to do this.
@fabiocedric7278
@fabiocedric7278 4 жыл бұрын
Awesome Video! _-ProtocolLib better than NMS-_
@zefff1904
@zefff1904 4 жыл бұрын
Why i dont see a mob!? 0_0 He is just invisible, but have a sound!
@carcaf9134
@carcaf9134 4 жыл бұрын
Nice vid
@DailyDoseOf-Motorcycles
@DailyDoseOf-Motorcycles 4 жыл бұрын
Ty man I am so good at coding cuz of u
@thatsfinn
@thatsfinn 4 жыл бұрын
great video as always! i think the music was unnecessary and is somewhat distracting imo. keep it up!
@convergentradius
@convergentradius 3 жыл бұрын
Woah dude u use the same theme as me lol
@matas9758
@matas9758 4 жыл бұрын
Coded this in 1.14.4 😎
@SkullTraill
@SkullTraill 4 жыл бұрын
Are... you the guy.... who does the reddit videos?
@CodedRed
@CodedRed 4 жыл бұрын
Nope, I don't do any Reddit things, just do this channel.
@SkullTraill
@SkullTraill 4 жыл бұрын
@@CodedRed Cool, just asked cause the background music and voice sounds really similar to one of them. Anyway cool content, if I ever want to code a plugin (or could tolerate java) I'll watch your channel!
@knockbacker6077
@knockbacker6077 3 жыл бұрын
AHHHHH 6.66K SUBS BRUH ITS JUST LIKE THE OTHER YT I SAW AT 666K SUBS WITH 14K VIEWS
@paraguayofacha137
@paraguayofacha137 4 жыл бұрын
0 dislikes lol
Add Custom Mobs to Minecraft Using MythicMobs
12:24
KasaiSora
Рет қаралды 49 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Ep24. Mojang Obfuscation Mappings  - Minecraft Plugin Development
16:53
Matej (kangarko)
Рет қаралды 4,6 М.
Every Minecraft Boss Ever
25:19
The_Dandalorian
Рет қаралды 52 М.
I made a Minecraft House in ONE Click
3:40
ClydeBoxer
Рет қаралды 896
A new way to generate worlds (stitched WFC)
10:51
Watt
Рет қаралды 556 М.
Running "Hello World!" in 10 FORBIDDEN Programming Languages
18:07
I Coded Minecraft in *Only* 3 MONTHS!!!!
8:56
GamesWithGabe
Рет қаралды 158 М.
Minecraft Hardcore YouTubers are lying to you
9:09
JoeBountyHunter
Рет қаралды 1,3 МЛН
How to animate in Minecraft! [1.19]
13:28
Roako
Рет қаралды 1,1 МЛН
Ep23. Understanding NMS (Full Guide) - Minecraft Plugin Development
27:53
How to Skin a Mob using LibsDisguises!
10:58
Mooshroom Status
Рет қаралды 23 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН