Started by
BlazingGreenFire
on
Topic category: Help with Minecraft modding (Java Edition)
Hello so in my mod I have a dimension and an item. What I am trying to do is make it so that when I hit an entity (player or mob) with my custom specific item, it will teleport that entity to the custom dimension I choose and to break the item I hit them with. The item is a scroll and the idea is basically that I hit them with the scroll of banishment, and they are teleported to the dimension, leaving some particles behind, and the scroll breaks.
yeah take a vid
https://youtu.be/OyiEA08ePIQ
I will try and test it myself, to see what's wrong. also sick textures
Thanks :D
okay try to put it on the item trigger called, "When Living Entity is hit with item" inside the Item Editor
Yeah it still doesn't seem to work, it might work for players but I'll test that when I get the first download for me and my friends to test
yeah doesn't work for me either, probably because it entities can't teleport on unloaded chunks
Yeah that's what I was thinking. I'm gonna test it now with my friends, thanks a lot for helping :)
Hey so since we believe that it can't teleport entities, is there a way I can make it so if the entity type is a creature, it will just be killed with like no death effects, and like vanish or something, but if the entity is a player it will send them to the dimension
yes, this should be your procedure
if event target entity is type Player
do switch dimension of event target entity to: ...
else
do despawn event target entity
put it on your item triggers
Hey so I wanna know if there's a way I can turn the scroll into like a partly ranged weapon, cuz I realised that if you can just punch people once to banish them it would be kinda overpowered, so I wanna make it so if you hold right click, instead of banishing yourself, (if you click right click once) I want the scroll to fire like a particle kinda like an arrow except it doesn't go down because of gravity and it isn't an arrow, so it's harder to banish something because you can miss. Then when it hit's the player/entity, particles will start to form around the entity and after like 5 seconds within being hit they despawn/get banished
also is there a way I can make it so this scroll can't effect some mobs like ender dragon and wither cuz that would be kinda OP
all of this is possible, but hard to explain, so start experimenting with this tips:
Wait block
Entity type: MOB
Not (procedure block)
https://mcreator.net/forum/54372/tutorial-summoning-particles-circle-sh…