The Dreaded Dynamic Classes

Discussion in 'Plugin Development' started by rtainc, Mar 22, 2013.

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

    rtainc

    I've managed to keep myself from ever using the damn "v1_5_R1" packages, and I just ran into using one. How can I stay away?

    I swear, these packages make me want to puke.

    I'm using the "Block" package, mandatory for "Block.<block>," like "Block.STONE."

    I'm not using these packages. Not.
     
  2. Offline

    Codex Arcanum

    Why do you need to use craftbukkit in the first place?
     
  3. Offline

    rtainc

    It's in net.minecraft.server.v1_5_R1, which is changed with every recommended release, by Bukkit. Why, Bukkit?
     
  4. Offline

    Tirelessly

     
  5. Offline

    ZeusAllMighty11

    It's not that bad to change a name every update...
     
  6. Offline

    PogoStick29

  7. Offline

    Codex Arcanum

    Yes, but what in net.minecraft.server do you actually need to use? Most plugins don't really require CraftBukkit (net.minecraft.server) classes.
     
  8. Offline

    rtainc

     
  9. Offline

    PogoStick29

    Bukkit has a Block enum, right? Otherwise, could you substitute for the Item or Material enum?
     
  10. Offline

    Codex Arcanum

    Well, why do you need the craftbukkit enum?
     
  11. Offline

    Tirelessly

    WHY for fucks sake
     
  12. Offline

    rtainc

    Does it matter why I'm using a package for you to tell me any alternatives?

    Sounds good; I'll try it.
     
  13. Offline

    Tirelessly

    Yes it matters why.. How else would I know what alternatives to give you..
     
  14. Offline

    rtainc

    The only thing I need is an equivalent enum.
     
  15. Offline

    Tirelessly

    Jesus christ, you just can't help people these days..
     
  16. Offline

    rtainc

    And you just can't get help these days...
     
  17. Offline

    Tirelessly

    "Mechanic, I need something else to do the job that this pipe used to do."
    "What did the pipe used to do?"
    "Does it matter? Just give me an alternative."
     
  18. Offline

    rtainc

    Forget it. I just used (block).getType() == Material.(block).

    Technically, it does not. You just need the same type of pipe...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  19. Offline

    Tirelessly

    You're not looking for the same thing, you're looking for an alternative..
     
  20. Offline

    rtainc

    Someone lock it? TnT?
     
  21. Offline

    Tirelessly

    AKA mom come help me he's being mean
     
Thread Status:
Not open for further replies.

Share This Page