086: Find mid point between two entities [Minecraft 1.21 Datapack]

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.พ. 2025

ความคิดเห็น • 5

  • @GalSergey
    @GalSergey 6 วันที่ผ่านมา +1

    Hello.
    Multiplying the position by 1000000 when reading is a bad idea. Since the scoreboard is limited by Int32 (2147483647), this will stop working if the entity position is greater than 21474, as it will overflow. However, such high precision is completely unnecessary. You can multiply the position by 1000. This will give an error of about 10^-3 blocks, which will be enough for almost any task.

  • @sotoso8680
    @sotoso8680 6 วันที่ผ่านมา +1

    Hi, I have a chellange for you :) I'm curious if you'll be able to do something like this: th-cam.com/video/mxo5_zqVBBc/w-d-xo.html or something like that (this is better option) 0:24 - th-cam.com/video/rFIzRdjeiIc/w-d-xo.html

    • @InfernalDevice
      @InfernalDevice  6 วันที่ผ่านมา +1

      The first video is a tutorial showing you how to do it.
      It's pretty cool, when I start using Resource Packs I will probably have a look into it. :)

    • @sotoso8680
      @sotoso8680 5 วันที่ผ่านมา +1

      @@InfernalDevice I can't wait to see it :)