i was testing in previous snapshots to see if the bug was happening so apparently if you create a world on 1.20.4 and upgrade it to 24w04a and start upgrading to next snapshots the bug will not happen you have to create a world on 1.20.4 and go to 24w10a
i tried this too but for me even the ones i never trade wont work
it can be that this villager was unemployed and got a job on the snapshot
Here's the nbt
1.20.4 Villager has the following entity data: {Brain: {memories: {"minecraft:last_worked_at_poi": {value: 26332L}, "minecraft:job_site": {value: {pos: [I; -58, 72, 31], dimension: "minecraft:overworld"}}}}, HurtByTimestamp: 0, Attributes: [{Base: 48.0d, Modifiers: [{Amount: -0.013233750057890462d, Operation: 1, UUID: [I; -1134045425, -507688179, -1912325114, -1462673189], Name: "Random spawn bonus"}], Name: "minecraft:generic.follow_range"}, {Base: 0.5d, Name: "minecraft:generic.movement_speed"}], FoodLevel: 0b, Invulnerable: 0b, FallFlying: 0b, ForcedAge: 0, Gossips: [{Target: [I; -1666807936, -830519434, -1508254147, 1611017848], Type: "trading", Value: 8}], PortalCooldown: 0, AbsorptionAmount: 0.0f, LastRestock: 26030L, FallDistance: 0.0f, DeathTime: 0s, Xp: 376, LastGossipDecay: 4069L, HandDropChances: [0.085f, 0.085f], PersistenceRequired: 1b, UUID: [I; -1155492370, -1499971357, -1404270544, -39725950], Age: 0, Motion: [0.0d, -0.0784000015258789d, 0.0d], Health: 20.0f, LeftHanded: 0b, Air: 300s, OnGround: 1b, Offers: {Recipes: [{maxUses: 16, buyB: {count: 1, id: "minecraft:air"}, sell: {count: 1, id: "minecraft:emerald"}, buy: {count: 15, id: "minecraft:beetroot"}, xp: 2, priceMultiplier: 0.05f, demand: -32}, {maxUses: 16, buyB: {count: 1, id: "minecraft:air"}, sell: {count: 6, id: "minecraft:bread"}, buy: {count: 1, id: "minecraft:emerald"}, priceMultiplier: 0.05f}, {maxUses: 12, buyB: {count: 1, id: "minecraft:air"}, sell: {count: 1, id: "minecraft:emerald"}, buy: {count: 6, id: "minecraft:pumpkin"}, xp: 10, priceMultiplier: 0.05f, demand: -24}, {maxUses: 12, buyB: {count: 1, id: "minecraft:air"}, sell: {count: 4, id: "minecraft:pumpkin_pie"}, buy: {count: 1, id: "minecraft:emerald"}, xp: 5, priceMultiplier: 0.05f}, {maxUses: 12, buyB: {count: 1, id: "minecraft:air"}, sell: {count: 1, id: "minecraft:emerald"}, buy: {count: 4, id: "minecraft:melon"}, xp: 20, priceMultiplier: 0.05f, demand: -24}, {maxUses: 12, buyB: {count: 1, id: "minecraft:air"}, sell: {count: 18, id: "minecraft:cookie"}, buy: {count: 3, id: "minecraft:emerald"}, xp: 10, priceMultiplier: 0.05f}, {maxUses: 12, buyB: {count: 1, id: "minecraft:air"}, sell: {components: {"minecraft:suspicious_stew_effects": [{duration: 140, id: "minecraft:weakness"}]}, count: 1, id: "minecraft:suspicious_stew"}, buy: {count: 1, id: "minecraft:emerald"}, xp: 15, priceMultiplier: 0.05f, demand: 12}, {maxUses: 12, buyB: {count: 1, id: "minecraft:air"}, sell: {components: {"minecraft:suspicious_stew_effects": [{duration: 100, id: "minecraft:night_vision"}]}, count: 1, id: "minecraft:suspicious_stew"}, buy: {count: 1, id: "minecraft:emerald"}, xp: 15, priceMultiplier: 0.05f, demand: -12}, {maxUses: 12, buyB: {count: 1, id: "minecraft:air"}, sell: {count: 3, id: "minecraft:golden_carrot"}, buy: {count: 3, id: "minecraft:emerald"}, xp: 30, priceMultiplier: 0.05f, demand: -12}, {maxUses: 12, buyB: {count: 1, id: "minecraft:air"}, sell: {count: 3, id: "minecraft:glistering_melon_slice"}, buy: {count: 4, id: "minecraft:emerald"}, xp: 30, priceMultiplier: 0.05f, demand: -12}]}, Rotation: [304.91663f, -33.577244f], HandItems: [{}, {}], RestocksToday: 0, ArmorDropChances: [0.085f, 0.085f, 0.085f, 0.085f], CustomName: '"1.20.4 Villager"', Pos: [-56.38214247321418d, 72.0d, 31.480934292015206d], Fire: -1s, ArmorItems: [{}, {}, {}, {}], CanPickUpLoot: 1b, VillagerData: {profession: "minecraft:farmer", level: 5, type: "minecraft:plains"}, HurtTime: 0s, Inventory: []}
The Video:
ender eyes have a certain position to active the portal
Just found out that 2 item trades still work