- this.goalSelector.addGoal(0, new UseItemGoal(this, PotionContents.createItemStack(Items.POTION, Potions.INVISIBILITY), SoundEvents.WANDERING_TRADER_DISAPPEARED ...
(My English is bad, this was translated using Google Translate) This mod notifies you when a Wandering Trader appears in your world (with a sound, it also notifies you when one doesn't appear, but ...