Managed to make a hostile entity, however the item's, well let's just say, no dice. Found pretty much code that led me nowhere, searched through ZombieEntity, PillagerEntity and AbstractSkeletonEntity Classes.
*Entity Class:* https://pastebin.com/Kc03YVt7
*Entity Renderer:* https://pastebin.com/FTP9G3kn
Tried using this in my entity class:
`@Override
protected void setEquipmentBasedOnDifficulty(DifficultyInstance difficulty) {
this.setItemStackToSlot(EquipmentSlotType.MAINHAND, new ItemStack(Items.DIAMOND_SWORD));
` }
And this in my entity render class:
` this.addLayer(new HeldItemLayer(this));`
Hope i can get pointed at what im supposed to be looking at, otherwise i will waste probably hours looking like i have already blindly, thank you in advance. (1.16.1)