Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Forge Mods
  • Mods
  • Noppes' Mods
  • [CustomNPCs 1.12.2] How to make the block rotate constantly?
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 0
mismoart

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

By mismoart, February 23, 2020 in Noppes' Mods

  • Reply to this topic
  • Start new topic

Recommended Posts

mismoart    0

mismoart

mismoart    0

  • Tree Puncher
  • mismoart
  • Members
  • 0
  • 2 posts
Posted February 23, 2020

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.

  • Quote

Share this post


Link to post
Share on other sites

DragonITA    12

DragonITA

DragonITA    12

  • Dragon Slayer
  • DragonITA
  • Members
  • 12
  • 552 posts
Posted February 23, 2020

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

  • Quote

New in Modding? == Still learning!

Share this post


Link to post
Share on other sites

mismoart    0

mismoart

mismoart    0

  • Tree Puncher
  • mismoart
  • Members
  • 0
  • 2 posts
Posted February 23, 2020
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.

  • Quote

Share this post


Link to post
Share on other sites

DragonITA    12

DragonITA

DragonITA    12

  • Dragon Slayer
  • DragonITA
  • Members
  • 12
  • 552 posts
Posted February 23, 2020

Sorry, but still dont am too advanced with Json and ItemBlocks rotation. I think you can see the Vanilla code and try to see how it work.

  • Quote

New in Modding? == Still learning!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • uraketu
      AoA mod crashing game

      By uraketu · Posted 5 minutes ago

      what should i do?  
    • DancZer
      Bug: Nether Quarz Ore does not have toolType

      By DancZer · Posted 7 minutes ago

      What would be the ideal way to check if I can break a a block by a pickaxe or a shovel?    I rewrote the whole logic and now I use the Item.canHarvestBlock, but it doesn't work reliable neither. For dirt the shovel returns false. 😔   Here is my logic: Github code   Do you have any suggestion?    Thank you in advance and I will let you know when the PR is ready. 
    • diesieben07
      AoA mod crashing game

      By diesieben07 · Posted 16 minutes ago

      Your game settings file is corrupted.
    • diesieben07
      How do I resolve server errors?

      By diesieben07 · Posted 16 minutes ago

      1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
    • uraketu
      AoA mod crashing game

      By uraketu · Posted 35 minutes ago

      So i added AoA (advent of ascensio n) to my modpack for 1.15.2 and it keeps crashing it i tried changing the version of the mod but that didnt work i tried deleting the "config" folder and dosent work please help me latest.log
  • Topics

    • uraketu
      2
      AoA mod crashing game

      By uraketu
      Started 36 minutes ago

    • DancZer
      2
      Bug: Nether Quarz Ore does not have toolType

      By DancZer
      Started December 29, 2020

    • DanielDJ1613
      1
      How do I resolve server errors?

      By DanielDJ1613
      Started 41 minutes ago

    • Solarient
      1
      GUIs

      By Solarient
      Started 4 hours ago

    • Bluperman949
      0
      Issue with using JEI API/Mod in my workspace

      By Bluperman949
      Started 4 hours ago

  • Who's Online (See full list)

    • Rollng
    • Choonster
    • DancZer
    • diesieben07
    • <Gl33p_0r4nge>
  • All Activity
  • Home
  • Forge Mods
  • Mods
  • Noppes' Mods
  • [CustomNPCs 1.12.2] How to make the block rotate constantly?
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community