I have a creeper trident killer farm that already supplied me with 20 stacks of gunpowder (compatible with 1.17) which is pretty much infinite firework rockets
HELP ME

black smokers give you xp when you smelt stuff in it.
Villagers give you xp when you trade with them.

you can trade farm things for wheat and get diaond stuff that's enchanted
I have a 3 clerics thats one nether wart per emerald

just make a mob grinder. Me and friends came up with a super simple very effective xp farm using a zombie spawner from a dungeon. Light up the spawner so that you won't be disturbed while building. Now, to the build. Basically just dig out the entire dungeon floor, maybe just get rid of two layers. Then break one block right below the spawner. place water on the bottom middle of each wall, and place signs right next to each stream so all the water is going straight to the hole you made beneath the spawner, and that it's not flowing anywhere else. Then figure out a way to put a sign above the hole, which will stop chicken jockeys from clogging it. Then cover any part of the farm that isn't water, the hole beneath the spawner, or signs using any building block(dirt, cobble, netherrack, etc.) Go to the hole beneath the spawner, and dig down however many blocks you want, maybe around 10. Then when you get there, empty an area around yourself thats about a 4x7 area. That's where you're going to set everything up, and it'll give you some room to move around the farm as well. Then, find where the hole was, and under that place two large chests, which have two hoppers connecting to each. Then put slabs on the hoppers. After that, just use slabs to make sure the mobs(mostly baby zombies)from getting out. We did this by putting too rings of slabs slightly above the hoppers, with the rings having a half block gap between them. After you complete that, you can break all the torches around the spawner, and see if it works. You may want to test this in a creative world first to make sure everything works as it should, and figure out little kinks. I'll send you some screenshots when I can get on minecraft just to make it a bit clearer. Hope this helps(and this may sound complicated, but when you go through the steps, you'll realize it's really easy. Even if you don't get it, I'll send screenshots on how it looks finished, and you can just copy that.)
Thanks But I didn't found a mob spawner

just make a mob grinder. Me and friends came up with a super simple very effective xp farm using a zombie spawner from a dungeon. Light up the spawner so that you won't be disturbed while building. Now, to the build. Basically just dig out the entire dungeon floor, maybe just get rid of two layers. Then break one block right below the spawner. place water on the bottom middle of each wall, and place signs right next to each stream so all the water is going straight to the hole you made beneath the spawner, and that it's not flowing anywhere else. Then figure out a way to put a sign above the hole, which will stop chicken jockeys from clogging it. Then cover any part of the farm that isn't water, the hole beneath the spawner, or signs using any building block(dirt, cobble, netherrack, etc.) Go to the hole beneath the spawner, and dig down however many blocks you want, maybe around 10. Then when you get there, empty an area around yourself thats about a 4x7 area. That's where you're going to set everything up, and it'll give you some room to move around the farm as well. Then, find where the hole was, and under that place two large chests, which have two hoppers connecting to each. Then put slabs on the hoppers. After that, just use slabs to make sure the mobs(mostly baby zombies)from getting out. We did this by putting too rings of slabs slightly above the hoppers, with the rings having a half block gap between them. After you complete that, you can break all the torches around the spawner, and see if it works. You may want to test this in a creative world first to make sure everything works as it should, and figure out little kinks. I'll send you some screenshots when I can get on minecraft just to make it a bit clearer. Hope this helps(and this may sound complicated, but when you go through the steps, you'll realize it's really easy. Even if you don't get it, I'll send screenshots on how it looks finished, and you can just copy that.)
Thanks But I didn't found a mob spawner
that's not surprising, but you'll find one eventually, and if you still need it, it's here for you. It's so cheap, and really effective. You only need some water, some cobble, and some chests. The literal most expensive part is the iron for the hoppers, or the pickaxe you use

But frankly, if you're not prepared to fight the Ender Dragon you probably shouldn't be thinking about XP farms yet.

get a bunch of xp bottles from villager
I cannot get emeralds!
get a farmer

yeah, farmers are profitable. Also melons and pumpkins. And if you're on hard difficulty, get a zombie, infect your villager, and cure it for cheaper trades. If you do that enough, you'll only need one of an item to get an emerald. Clerics solve a lot of problems, such as xp bottles(after curing 1 xp bottle per emerald)ender pearls(one pearl per emerald) and getting emeralds(trade gold if you have a gold farm, nether wart if you have a nether wart farm, or rotten flesh if you happen to have some or a zombie farm)after curing, all those should be 1 item per 1 emerald. Job site for the cleric is a brewing stand in case you didnt know
did you use a trident being pushed around by a piston