1. Hi there Guest! You should join our Minecraft server @ meepcraft.com
  2. We also have a Discord server that you can join @ https://discord.gg/B4shfCZjYx
  3. Purchase a rank upgrade and get it instantly in-game! Minecraft Discord Upgrade

The Combat Update

Discussion in 'Denied' started by MasterofBoom, Jul 16, 2017.

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

    jadenPete Code Writer & Meme Trader

    Offline
    Messages:
    335
    Likes Received:
    387
    Sorry to break it to you, but you simply can't apply an NBT tag to "every item" without scanning the entire would for items (which would take ages) and modifying them all. You might be referring to items in loaded chunks or in player inventories, which is a different case.
     
  2. legendcaleb

    legendcaleb Celebrity Meeper

    Offline
    Messages:
    2,301
    Likes Received:
    4,550
    There's literally only like 10 items in the game that need changing. I don't need to change the attack speed for my dirt block. I don't need to "scan the entire world." It's done with a plugin, or with a single command block.
     
  3. jadenPete

    jadenPete Code Writer & Meme Trader

    Offline
    Messages:
    335
    Likes Received:
    387
    It doesn't work like that. You can't just set attack speed for all swords. Its stored individually in every sword.
     
    SuperDyl likes this.
  4. legendcaleb

    legendcaleb Celebrity Meeper

    Offline
    Messages:
    2,301
    Likes Received:
    4,550
    Then why can I do it? I'm not going to argue this with you when this feature is on almost every successful 1.10 server
     
  5. jadenPete

    jadenPete Code Writer & Meme Trader

    Offline
    Messages:
    335
    Likes Received:
    387
    What command did you use to do it?
     
  6. legendcaleb

    legendcaleb Celebrity Meeper

    Offline
    Messages:
    2,301
    Likes Received:
    4,550
    I don't remember the string by heart, I made it a year ago. Nobody would use a command block anyway they would just use the plugin which is a lot easier
     
  7. jadenPete

    jadenPete Code Writer & Meme Trader

    Offline
    Messages:
    335
    Likes Received:
    387
    What I'm trying to point out is that although you can give an item with a specific attack speed, you can't set it on a global level for every type of that item without putting a bunch of listeners that lag up the entire server. The reasonable way to do this would be to change player attack speed. If you think I'm wrong, post a plugin or command that sets everyone's swords attack speeds.
     
    SuperDyl likes this.
  8. legendcaleb

    legendcaleb Celebrity Meeper

    Offline
    Messages:
    2,301
    Likes Received:
    4,550
    OldPVP - Also 90% sure servers can turn off the timer normally too
     
  9. jadenPete

    jadenPete Code Writer & Meme Trader

    Offline
    Messages:
    335
    Likes Received:
    387
    Is it this one? 1.8 PvP for 1.9, 1.10 and 1.11. Because I just decompiled this (its ok in the plugins terms and conditions), and found out that it uses a CraftItemEvent to lower tool damage, which does not work with already existing tools. Also, it changes the attack speed on a per-player basis using a PlayerJoinEvent.
     
    Last edited: Jul 26, 2017
    SuperDyl likes this.
  10. 00000

    00000 Guest

    Online
    Seems to me like it's preaching to the choir, but I do feel that it's absolutely better for a server to run on the old PvP. 1.10 PvP is just too slow for most people's liking.
     
  11. LordInateur

    LordInateur Deus Ex Machina Staff Member Administrator

    Offline
    Messages:
    490
    Likes Received:
    1,413
    Thank you for your suggestion, but at this point in time we do not plan on implementing this globally. We may revisit this later on a world-by-world basis.
     
    SuperDyl likes this.
Thread Status:
Not open for further replies.

Share This Page