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!
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.
I'm using KeyBinding and i want to change player's held item in the following function:
@SubscribeEvent
public void keyListener(KeyInputEvent event) {
...
}
but it failed. i also find that when i print something in this function, only client side reply:
[21:42:57] [Client thread/INFO] [sTDOUT]: [com.flyhighest...Mod:keyListener:66]: hello,keylistener
so i 'm confused here and want to know how to run the code on both client side and server side.
thank u!