stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

minecraft item effects mod

  • 2 Devlogs
  • 2 Total hours

A minecraft mod that gives mobs/players an effect when hit by certain items by a player holding it.

Ship #1

I made a Minecraft mod where if you punch mobs/other players with certain items, they get effects(like poison with a pufferfish). While coding, a problem I had for a short while was that you couldn’t give all entities an effect but only living entities but I managed to fix this after a short while by importing LivingEnities and using them for this, since you can put effects on living Entities. The mod is for 26.2 fabric. (There’s like no picture I can think of that would be good to represent this, even on my curseforge/modrinth page I just put a png of a pufferfish so I’ll just put a picture of the uploaded mod here)

  • 2 devlogs
  • 2h
Try project → See source code →
Open comments for this post

1h 3m 30s logged

finished the code to give the hit entity/player an effect and added a few more items with the exact same logic and made a readme and published it to modrinth/curseforge, im just waiting for it to get approved to ship this

0
0
5
Open comments for this post

40m 17s logged

I am making a minecraft mod where you can hit entities with certain items to give them an effect (I did a Poisoneffect for hitting with a pufferfish just now). For this I wrote a PlayerMixin and Injected into the attack method

0
0
36

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…