forwardzuloo.blogg.se

Impaling minecraft
Impaling minecraft











impaling minecraft

Nonetheless it can be thrown and used in melee combat, enchanted with all the Trident-Enchantments and even be used to convert Dirt to Farmland.

impaling minecraft

It has reduced durability compared to the actual Trident and does not work properly underwater. The Pitchfork is an early-game version of the Trident. There are 4 new Tridents added by Impaled: Sincere Loyalty can be obtained by combining a Loyalty III-Trident with a Heart of the Sea in a Smithing Table. In addition to that, Tridents with Sincere Loyalty can be enchanted with Riptide. Tridents with Sincere Loyalty will drop as entity instead of as an item when dropped and will even return to you when in another player’s inventory. Impaled also adds a new level to Loyalty, Sincere Loyalty or Loyalty IV, giving you the ability to retain your Trident from anywhere in the world by right-clicking with an empty slot.

Impaling minecraft free#

Should the player picks up new items blocking said slot, the trident will return to a free slot just as usual. Tridents with the Loyalty enchantment will always return to the inventory slot they were launched from, including the Offhand. To balance this change, Impaling only increases the damage by 0.75 per level instead of 1.25. Impaling now deals damage to wet mobs (underwater or in rain) instead of aquatic mobs only. Impaled changes, fixes and adds a few features for tridents: What should i have (i assume in the nbt tags) that will properly detect entity type?Īlso, i do plan on later making it scale with enchantment level, which should be easy enough, just separate loops with their own UUID.įor future reference, where does enchantment level go in the nbt tags? something like. although i'm pretty sure it's just my formatting here that's wrong:Įxecute as run attribute minecraft:generic.attack_damage modifier add 88-46-91-77-33 impaling_trident 2.5 addĮxecute as run attribute minecraft:generic.attack_damage modifier remove 88-46-91-77-33 I got a loop going that works as intended for melee attacksĪnd it does work for now (thanks so much), however i am struggling to achieve the same result with the thrown trident entity. However i can't loop the command to remove the buff without some kind of condition checking if the player is NOT holding it.Įxecute as run attribute minecraft:generic.attack_damage modifier remove 87-45-90-76-32Īlternatively, i had thought i found a way to do it using execute unless, almost acting as an if/else, but it doesn't seem to be working and i don't know why.Įxecute if entity run attribute minecraft:generic.attack_damage modifier add 87-45-90-76-32 impaling_trident 2.5 addĮxecute unless entity run attribute minecraft:generic.attack_damage modifier remove 87-45-90-76-32Īlright, i wasn't sure if ! was a thing in this language. When looping i can successfully detect if a player is holding an impaling item, and it seems to work.Įxecute as run attribute minecraft:generic.attack_damage modifier add 87-45-90-76-32 impaling_trident 2.5 add (right now i'm just worried about getting it to work, then i will do thrown entity data after) Please let me know if anything went wrong.Īlright, i seem to be making a little bit of progress.

impaling minecraft

If you do this using /attribute, you must remember to remove the modifier when the player doesn't hold the trident:Īttribute minecraft:generic.attack_damage modifier remove 87-45-90-76-32Be sure that this UUID matches the one in the previous command. If you do so, you can also try to remove the enchantment to remove the bonus damage to aquatic mobs. You might want instead just detecting when the player is holding the trident and then give it another trident with a modifier and clearing the old one. You can try more complicated things like checking the enchantment level and/or trying to apply this on thrown tridents too (because it's just for melee). 2.5 is the bonus damage – replace it with whatever you want. The 87-45-90-76-32 is a random UUID I invented this moment, replace it with any valid UUID (but try to make it unique, as I did). Now use /attribute to add those players an attribute:Īttribute minecraft:generic.attack_damage modifier add 87-45-90-76-32 impaling_trident 2.5 addReplace with what you want (you might want it to be bla bla], or if you use /execute). Whenever a player holds an item enchanted with impaling (or if you want, you can limit it only to tridents, doesn't actually can check if it's raining using predicates and if there is water when the player is using execute if block if you want.













Impaling minecraft