So I am very new to modding and I want to make it so if a specific item (such as an ender pearl or player head) is on the ground then it has particles around it. How do I do this? I have made this code already which works so how do I extend upon this?
@SubscribeEvent
public void onEntityConstructing(EntityEvent.EntityConstructing event) {
if (event.entity instanceof EntityItem) {
System.out.println("Someone drops something");
}
}
Also are there any decent 1.8.9 tutorials? I can't find any for the sort of things I want to do