Minecraft wiki entry for Non-renewable_resource, associated text: In Bedrock Edition, Piglins still spawn in Peaceful difficulty. By killing piglins, the player can sometimes obtain golden swords, then smelt them into gold nuggets. This makes gold renewable, along with all items obtainable via bartering.