Tutorial Skeleton Horse [Probably working]

Discussion in 'Resources' started by Plugers11, Jan 11, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    Plugers11

    Hi !

    I found how to make skeleton horse so i'm sharing there too :) [for people who doesn't known]

    First u create a horse

    Code:
    Horse horse = (Horse)player.getWorld().spawnEntity(player.getLocation(), EntityType.HORSE);
    Then u need to set variant of this horse
    It's simple:
    Code:
    horse.setVariant(Horse.Variant.Skeleton_Horse);
    U can set also name for him, her :)
     
    Ganga likes this.
  2. Offline

    ChipDev

    I want nms ;P
    good job!
     
  3. Offline

    Plugers11

  4. Offline

    mrCookieSlime

    @Plugers11
    Hmmm... An entire Thread just for just a single method?
    Horse#setVariant(Horse.Variant)
    I personally think its unnecessary but I will leave it up.
     
    Konato_K, gal0511Dev and ChipDev like this.
  5. Offline

    MiniDigger

    @mrCookieSlime this exists, because people aren't able to read java docs.
     
    MisterErwin and mrCookieSlime like this.
  6. Offline

    Plugers11

  7. Offline

    MiniDigger

    @Plugers11 why should't this work. Its an bukkit feature... And it works since 10 Jul 2013, when it was added....
     
    Last edited: Jan 11, 2015
  8. Offline

    Plugers11

    @MiniDigger
    It's very interesting :O
    but anyway
    So much people forgot about that :p
     
  9. @Plugers11 Let me just quote something I've said on another resource:

    Of course, on this resource, it's only 2 lines.
     
  10. Offline

    Plugers11

    @AdamQpzm
    So i will tomorrow upload code to follow horse xd or flying horse :D
     
  11. Offline

    teej107

    Why can't they read JavaDocs? They can read code just fine apparently.
     
  12. Offline

    Konato_K

    @MiniDigger If they don't read javadocs what makes you think they will read this? As much as I've seen in the plugin development section, people come to ask questions that not only exist in the javadocs, but have been asked several times, I'm not sure if they don't know what google is.
     
    teej107 and xTrollxDudex like this.
  13. Offline

    Hex_27

    @teej107 because they look for stuff to copy. Like I used to do when I first started.
     
  14. Offline

    teej107

    @Hex_27 If you are desperate enough that you need to copy a single method and you don't know how to read the Bukkit documentation, I lost hope. I was more wanting an explanation from @MiniDigger as to why people can't read Java documentation. A resource just for a method shouldn't be in the resource section. It should be and is in the Java docs. I honestly think this thread should have been locked. Here comes another 500+ threads for just a single method :p
     
    Hex_27 likes this.
  15. Offline

    Hex_27

  16. Offline

    MiniDigger

    @teej107 I don't know why people can't read them. I don't this this "resource" should exist here. But there are many poeple posting that kind of posts. That led me to the fact that many people on the bukkit froums can't read them or even know that they exists. Most of the "bukkit plugin devs" don't even know how to works with java properly.
    This sections exist for useful ressources (like my ItemBuilder :p), not for copy pasting the documentation. I think, the mods should keep this section much cleaner
     
    teej107 and mrCookieSlime like this.
  17. Offline

    mrCookieSlime

    Thread locked.

    Threads in this section are not meant to be reminders/tutorials about which method does what. Thats what the Javadocs are for.
    This Thread also got quite offtopic as expected.
     
    Hex_27 and MiniDigger like this.
Thread Status:
Not open for further replies.

Share This Page