Topic category: Help with modding (Java Edition)
Hi. i made a Marvel Cinematic Universe (also call MCU) mod. in this mod, i add the infinity gauntlet ,thor hammer and axe, and some other think. i want to know how to make a procedure that if u equip the Infinity gauntlet (soul stone mode) (in the off-hand) and u hit an entity or player, it switch dimension and bring him to the soul dimension. can some body tell me how to do that? and i also need to know how to make that if u equip the Mjiolnir(thor hammer) in ur hand, u will be able to fly.