The InfinityBlock mod adds a block that is used to duplicate items and blocks. It is crafted using one diamond block in the middle with four iron blocks in an O shape and gold blocks in the corners. It makes the game really easy. Warning: the infinity block can't be mined with stone tools.
You may notice that the duplicated items may behave weirdly sometimes. Essentially, when you duplicate the item, the game will still think it is the same item. So if you duplicated it and then used the original, the duplicate would see itself having the same changes. Note that it only behaves like this when you duplicate stacks of items at once or non-stackable items) I have found two workarounds for that. One: you fill your inventory with one of the block you want to duplicate in each square and hold 63 (or 15 for 16 stacking items like ender pearls) then start duplicating until items start to drop from your inventory. Second, you can just drop one of the items each time you duplicate it.
That doesn't solve the issue for non-stackable items tho. So if I have a netherite hoe that I want to duplicate, how do I do it? Well, you simply fill your inventory with stackable items only (Can be one dirt per square but it can be any stackable item too, even netherite. Just remember to only have one per square.) and leave one spot for your netherite hoe. Then, hold it in your hand and duplicate it. It will drop on the floor, where you will be able to pick it up, once you empty your inventory. This works for any non-stackable item and this works with enchanted items too.

