Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by FroZenKeyboard, Apr 23, 2017.
How would i mine faster with hand, without using potion effects?
public void onBlockDamage(BlockDamageEvent e)
No i mean break normally, but increase the damage. Without using potion effects. Do anyone know how to do this?
EDIT: Is there a set block health method?
I can't find one in the javadocs, however I know it's possible with NMS, though considering the client side of things the result might not be what you expect.
Another way without nms could be to change the player's mining speed when they're hitting a specific block.
How would i change mining speed?
I believe it's an attribute, just use the javadoc.
Can you give me an example to do it with NMS? I can use potioneffects though, but the hand won't move when i hit someone..