Jump to content

Boston54

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Boston54

  1. I've looked through the onArmorTick stuff, but can't get it to work. All the examples and tutorials I have found on it have been for older versions of Minecraft and no longer work (for me at least) As an example for what I am trying to achieve, I need to give a player a level of haste based on how many pieces of an armor set they have equipped. What I mean by this is that if a player has two of these pieces on, they will get 2 levels of haste. If they have three pieces, they get haste 3, etc. The thing I am struggling to figure out is how to do the actual detection of what armor the player has equipped.
  2. As the title says, I am trying to detect if the player is wearing a piece of armor. This question has been asked quite frequently, but never (from what i could find) for 1.15.x So I am trying to add effects based on what armor is being worn, but cannot figure out how to actually detect what the player is wearing. If someone could just point me in the right direction that would be great
  3. I have been doing datapacks and command blocking for a while now, but I have recently moved to modding. I am trying to add attribute modifiers to my armor items within my 1.15.2 mod, but I cannot figure out how. All online resources I have found are for either 1.7, 1.8 or 1.11. Specifically, I am adding different armor sets that provide different modifiers when worn (such as movement speed, max health, damage, etc, all of which are available through generic modifiers) If anyone could help me out, it would be greatly appreciated
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.