#Custom Effect Particle
5 messages · Page 1 of 1 (latest)
you can add particles in the effect callback like
event.create('fortune')
.displayName("§3Fortune")
.effectTick((entity, lvl) => {
if(!entity.level.clientSide){
//server stuff
}else{
if(entity.level.time % 10)return
entity.level.spawnParticles('minecraft:totem_of_undying', true, entity.x, entity.y + 1, entity.z, 0, 0, 0, 30, 0.6)
}
})
this will create the totem of undying particles every 10 ticks
i don't know how to remove the default particles
what is the second paramater?