Jump to content

[1.8]How to modify repeater's duration?


flyhighest

Recommended Posts

I want a free duration time of repeaters. the origin is 0.1s,0.2s ,0.3s, 0.4s and i want 0.11s ,0.22s ,0.33s, etc.

In class Minecraft, there lies a field 'timer', and i try to modify timer's fields: timerSpeed and ticksPerSecond. These two variables do affect the game speed, but it does not change repeater's dely.

 

Is there anything i can do? Thank u for your help.

Link to comment
Share on other sites

The powers of reflection! Or you could just create a new one, just throwing that out there.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

I want a free duration time of repeaters. the origin is 0.1s,0.2s ,0.3s, 0.4s and i want 0.11s ,0.22s ,0.33s, etc.

In class Minecraft, there lies a field 'timer'...

I think you'd foul the timing of everything in the game if you mess with settings at that level. Why don't you look inside the repeater (diode) instead?

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

Link to comment
Share on other sites

I think you'd foul the timing of everything in the game if you mess with settings at that level. Why don't you look inside the repeater (diode) instead?

 

yes, i think so. when timer changes ,i run faster or slower, everything has been changed.

But redstone diode defines dely with integers. repeaters' duration is x game ticks, where x is the integer.

i found a mod 'tickrate changer', i'm studying the source code. thank u!

Link to comment
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.
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.