TickThrottler .java
net.minecraft.util.TickThrottler (class, 27 lines): members: isUnderThreshold, incrementStep, increment, threshold, count, tick.
File
API Surface (3)
void increment()void tick()boolean isUnderThreshold()Fields & Constants (3)
incrementStepthresholdcountSame Package (92)
Full Source
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
Decompiled Minecraft 26.3 source of TickThrottler (net/minecraft/util/TickThrottler.java) with Mojang official mappings, stored verbatim on the site.