Minecraft Custom NPCs Scripting - Redstone detection

Поделиться
HTML-код
  • Опубликовано: 13 янв 2025
  • Custom NPCs web site
    www.kodevelopme...
    Custom NPCs
    / discord
    Custom NPCs scripting channel
    / discord

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

  • @djozy922
    @djozy922 2 года назад +3

    Please, make script for horse which can normally jump on the blocks when the mounted npc on it

  • @Gravelbridge
    @Gravelbridge 2 года назад +1

    Yooo nice video Btw thanks so much your every video helps me.
    Also i would recommend that you make videos you enjoy and laugh in it or try something else if you make videos that you don't enjoy you will feel demotivated and also don't always make tutorial videos minecraft has alot of mods you can try them or play bedwars or something (Not judging you just giving you a tip :) )

    • @Daot
      @Daot  2 года назад

      Am I too serious ;)

  • @TheRandomWolf
    @TheRandomWolf 2 года назад +1

    Do you have any videos on how to make your NPC change over time?
    For example:
    After a certain amount of time an NPC spawns a new NPC, and the original spawner NPC despawns
    This is so I could get things like growth

    • @Daot
      @Daot  2 года назад

      I like this one ruclips.net/video/HaunhjLPg30/видео.html

    • @Daot
      @Daot  2 года назад

      Ok I guess that's change after damage, basically you could put a timer in the init function to keep track of that and make sure it only runs once.

  • @TheRandomWolf
    @TheRandomWolf 2 года назад

    Is there a script on a semi aquatic NPC?
    Like for example an NPC gets on land and wanders but has to return to the water after a certain amount of time before it dies
    Even better if the NPC could swim faster in water and escape into the water

  • @mrevident1970
    @mrevident1970 2 года назад

    Can you show the "teleport" and "transform after death" scripts

  • @kev6752
    @kev6752 2 года назад

    is it possible for you to do one on the light level on a block? Want to be able to create npcs that can place torches when the light level is low but can't figure out how to call getLight().

  • @idontlikesand7246
    @idontlikesand7246 2 года назад

    Can you make your npcs build bridges to fight you?

  • @CrumpoEnforcers
    @CrumpoEnforcers 2 года назад

    Hi man, I have a question, how can you make a script that is accesing PlayerPersisted in NBTexplorer, if you know what I mean

  • @АндрейПоспелов-ч7ж
    @АндрейПоспелов-ч7ж 2 года назад

    Daot, please tell me how to make a condition work only 1 time, for example, a message in a chat when standing on a block works only 1 time. 1.12.2

    • @Daot
      @Daot  2 года назад

      You would have to declare a variable and set it to zero{call it runonce) have an if statement that says if run once is equal to zero, in the if statement you set run once to one and it won't run again. The problem is how to reset that, you can do that with a timer or some other method with stored variables.

    • @АндрейПоспелов-ч7ж
      @АндрейПоспелов-ч7ж 2 года назад

      @@Daot cool, thanks!

  • @deathstriker3004
    @deathstriker3004 2 года назад

    Daot, im trying to make a boss door(with scripted blocks and in 1.16.5) that only opens when the boss is killed, any idea on how to do that, also your videos help me a lot with scripting.