Strahan's Recent Activity

  1. Strahan replied to the thread How do I make code execute if a player is holding a custom item?.

    I keep forgetting PersistentDataContainer exists, lol. Yea, that'd be better than using NMS.

    Aug 11, 2020 at 11:38 AM
  2. Strahan liked The_Spaceman's post in the thread How do I make code execute if a player is holding a custom item?.

    You can use PersistentDataContainer, This way you can give each wand a special function if that is maybe something you want to use but...

    Aug 11, 2020 at 11:38 AM
  3. Strahan replied to the thread Help with a feedback command plugin.

    True, I default to the StringUtils out of habit because of my love for subcommands, lol. I almost never want all the arguments in the...

    Aug 10, 2020 at 7:21 PM
  4. Strahan replied to the thread Help with a feedback command plugin.

    Bukkit makes Apache Commons' StringUtils available so you could save a lot of effort by just doing String feedback =...

    Aug 9, 2020 at 8:03 PM
  5. Strahan replied to the thread Solved Plugin not loading.

    Is the name in your plugin.yml protocollib or something?

    Aug 9, 2020 at 8:00 PM
  6. Strahan replied to the thread Referencing ItemStacks Properly.

    The static keyword is not meant for easing cross class access. People constantly abuse it for that. You should just use dependency...

    Aug 8, 2020 at 10:07 AM
  7. Strahan replied to the thread Help with config.yml and send message.

    Get the StringList "Help-Message" then iterate over it, sending the message to the player during the loop. PS in that iteration page...

    Aug 7, 2020 at 11:26 AM
  8. Strahan replied to the thread How do I make code execute if a player is holding a custom item?.

    Do you ever call wandRecipe()? That aside, comparing two ItemMeta objects doesn't strike me as the best way to achieve the checking....

    Aug 7, 2020 at 11:25 AM
  9. Strahan replied to the thread Solved Issue Handling PlayerEvent.

    What he said. You can't do that. What action taken by the player should your desired effect be triggered by? Also do not suppress...

    Aug 7, 2020 at 11:21 AM
  10. Strahan replied to the thread Solved Null error.

    To add to that... holy hell that is wildly inefficient and why for the love of God are you disabling and re-enabling the plugin? A...

    Aug 7, 2020 at 11:19 AM
  11. Strahan replied to the thread Custom health for zombie.

    Oh, you're doing a new class for a mob. That I've never tried. I thought you were just taking an Entity and trying to adjust its...

    Aug 6, 2020 at 12:10 PM
  12. Strahan replied to the thread I know java, how do i get into developing plugins for minecraft?.

    Watch tutorials and bookmark the javadocs. I use https://hub.spigotmc.org/javadocs/spigot/allclasses-index.html a lot, a good quick...

    Aug 5, 2020
  13. Strahan liked DavidK1412's post in the thread I know java, how do i get into developing plugins for minecraft?.

    Try to read the javadocs of the spigot framework...

    Aug 5, 2020
  14. Strahan replied to the thread Custom health for zombie.

    It's just a matter of setting the attribute, but the way you are going about it is not correct as you aren't supposed to be casting to...

    Aug 5, 2020
  15. Strahan replied to the thread Spawn a lingering potion at death of slime.

    Yea, that's not at all how you want to go about it. You want to spawn an AreaEffectCloud at the location the entity died, then just...

    Aug 5, 2020