Hey ! I'm in 1.19.2 and i have an issue, how do you fit an item to your entity ? Did you succeed to make that ?
I tried this
protected void populateDefaultEquipmentSlots(RandomSource p_219154_, DifficultyInstance p_219155_) {
this.setItemSlot(EquipmentSlot.MAINHAND, new ItemStack(Items.STONE_SWORD));
}
like for the wither skeleton in minecraft holding a stone sword, but my sword is not showing up on my mob