Jump to content

[CustomNPCs 1.12.2] How to make the block rotate constantly?


Recommended Posts

Posted

I am a new to scripting. I’ll definitely deal with this, but now, unfortunately, there is no time. There are no sensible guides on this mod, which is why I decided to write here.  So, how to make a block that will rotate along the Y axis constantly? I suspect this can be done using a timer, but how exactly? And is it possible to add a function to stop this rotation?
I'm using ECMA language.

Posted
7 minutes ago, DragonITA said:

Have you tried Json files? And have you tried with Blockbench?

 Thanks for quick answer! Hmm, but it is possible to do this using the script block from the mod, I suppose.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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