Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/26/24 in all areas

  1. 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!
    1 point
  2. 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
    1 point
  3. 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
    1 point
  4. 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.
    1 point
  5. Nevermind, I overridded the inventoryTick() method of the Item class and used player.inventory.contains(stack) to check it the item was there.
    0 points
  6. 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.
    0 points
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.