067: Structure locator [Minecraft 1.21 Datapack]

Поделиться
HTML-код
  • Опубликовано: 11 фев 2025

Комментарии • 15

  • @GalSergey
    @GalSergey Месяц назад +1

    Hello.
    You should make a warning that searching for a structure will always create freezes on the server, since searching for a structure almost always spends more than 50ms of server time. Therefore, it is recommended to minimize the frequency of structure searches as much as possible.

    • @InfernalDevice
      @InfernalDevice  29 дней назад

      Good point, I'll pin this for people to see, thank you. :)

  • @mitsaori
    @mitsaori Месяц назад +2

    I recently made custom maps that help you find custom structures, not just the vanilla ones in the game, which is really cool.

    • @InfernalDevice
      @InfernalDevice  29 дней назад +1

      That sounds very useful, you could point players to anywhere you like then.

  • @mitsaori
    @mitsaori Месяц назад +2

    And also, I wanted to ask you something about the tomb datapack, if it is possible once the player dies and his tomb is placed, the coordinates of his tomb are given to him in the action bar? But I don't know how to do it

    • @InfernalDevice
      @InfernalDevice  29 дней назад +1

      Episode 151 in the Command Block series shows how to get the player lastDeathLocation.
      That may help you: ruclips.net/video/ZRfoniWK7vo/видео.html

  • @bonniekhoi3482
    @bonniekhoi3482 Месяц назад

    Nice

  • @ajx0207
    @ajx0207 Месяц назад +2

    Hi, could you help me? I would like to create a command that does something like this: If a player kills a creeper, a message saying 'Congrats, you won' will appear in the chat. Then, after a few seconds, the player will be teleported to a specific location...
    I am on Java 1.19.2

    • @GalSergey
      @GalSergey Месяц назад +2

      # In chat
      scoreboard objectives add killed.creeper killed:creeper
      # Command blocks
      tellraw @a[scores={killed.creeper=1}] "Congrats, you won."
      scoreboard players add @a[scores={killed.creeper=1..}] killed.creeper 1
      tp @a[scores={killed.creeper=200}]
      scoreboard players reset @a[scores={killed.creeper=200..}] killed.creeper

    • @ajx0207
      @ajx0207 Месяц назад +2

      @@GalSergey thank you. But is it possible without a scoreboard?

    • @GalSergey
      @GalSergey Месяц назад +2

      @ajx0207 Yes, you can create a datapack with an advancement with a player_killed_entity trigger, then run the function, give the player a tag and using a schedule run another function after a few seconds in which you teleport the players with the tag and remove the tag.

    • @InfernalDevice
      @InfernalDevice  29 дней назад +1

      I see GalSergey beat me to it. :)

  • @PFM-KUN
    @PFM-KUN 25 дней назад +1

    bro name of that extension you're using for folder and files

    • @InfernalDevice
      @InfernalDevice  25 дней назад +1

      I'm pretty sure that one is:
      Datapack Icons by FuncFusion