Fixing the gray particles issue

Both EntityPlayer.updateItemUse(ItemStack, int) and Item.onUsingTick(ItemStack, EntityPlayer, int) are being called in EntityPlayer.onUpdate() under similar conditions on both sides, and updateItemUse is what spawns the particles (“iconcrack_<item id>_<meta>”), so I’d assume it should be as easy as spawning additional particles in the sandwich’s onUsingTick(ItemStack, EntityPlayer, int) using the world instance’s spawn particle function. Since onUsingTick provides the whole stack, it should also contain the NBT for deciding what ingredients are in the sandwich.

3 Likes