I tested it and apparently the problem comes directly from rubidium/oculus and Valkyrien skies, they're not compatible in 1.20x... I'm maybe going to fabric then since optifine doesn't work either. Thank you anyway and have a great day!
That didn't actually attach your project, it just shows a filename. Also, attaching as a compressed file is not the best way to share, you should create a github repository for it, then share the link here.
https://www.google.com/search?q=how+to+use+github
public static void sendEntityToLevel(ServerLevel otherDimensionLevel, LivingEntity entity, Vec3 location) {
entity.teleportTo(otherDimensionLevel,
location.x,
location.y,
location.z,
new HashSet<>(),
0,
0
);
}
This is what I'm using and it's worked fine
Which iterates through the inventory, but you are right, one does not have to do so manually.
Yea thats what i meant you don't have to do it yourself because there is a method that dose it for you.
Which iterates through the inventory, but you are right, one does not have to do so manually.
@OP If you want the player to be able to do other things while flying, then you have to potentially check the entire inventory every tick. It's not that terrible, but it's always better to avoid extra processing when you can. When you can't, well, computers these days are pretty dang fast.