Commit Graph

33 Commits

Author SHA1 Message Date
TheMode
ad964a0a39 Remove deprecated UpdateOption.java 2021-07-25 06:25:32 +02:00
Németh Noel
34d2d5892e Remove unnecessary util method 2021-07-03 14:57:45 +02:00
Németh Noel
efb450ce50 Simplify conversion logic and only use java.time 2021-07-03 14:45:31 +02:00
Németh Noel
cda5860440 Use a more logical way to convert to milliseconds 2021-07-02 19:47:15 +02:00
Németh Noel
ba2dcaac43 Deprecate TimeUnit#TICK instead of removing 2021-06-30 13:22:46 +02:00
Németh Noel
c9dd06ba20 Simplified millis calculation 2021-06-30 13:10:22 +02:00
Németh Noel
f4b761c50c Made TimeUnit constructor private 2021-06-30 12:48:42 +02:00
Németh Noel
779e6bd22e Added TimeUnit#getMillis method 2021-06-30 12:45:37 +02:00
Németh Noel
30abfce554 Updated Cooldown.java 2021-06-30 01:07:38 +02:00
Németh Noel
580509c420 Added UpdateOption#toDuration method 2021-06-30 01:05:20 +02:00
Németh Noel
7f9737d866 Updated UpdateOption.java so it doesn't break with the TimeUnit.java change 2021-06-30 00:46:08 +02:00
Németh Noel
ff4bb20a04 Repurpose TimeUnit.java 2021-06-30 00:14:26 +02:00
Németh Noel
4b04539086 Included Tick.java from PR#205 with slight modifications 2021-06-29 23:44:19 +02:00
Németh Noel
0a4166faf2 Made duration final 2021-06-29 22:25:32 +02:00
Németh Noel
b98abe8dd5 Updated Cooldown.java 2021-06-29 22:24:34 +02:00
Németh Noel
8f906d80d0 Added tick as a TemporalUnit 2021-06-29 22:22:30 +02:00
Németh Noel
7e82edcbd9 Marked classes deprecated for removal 2021-06-29 22:21:30 +02:00
LeoDog896
f68054d564 Convenience toMilliseconds, add UpdateOption methods 2021-06-01 11:29:40 -04:00
LeoDog896
9d1d60cdcd Equals & hashcode overrides 2021-04-06 15:25:18 -04:00
Konstantin Shandurenko
e295ffea51 Switched to Cooldown object in attacking goals 2021-04-04 03:13:56 +03:00
themode
d332855bc4 Renamed CooldownUtils to Cooldown 2021-03-31 19:17:37 +02:00
themode
2d7e16fa8e change UpdateOption value from int to long 2021-02-07 20:14:40 +01:00
themode
872dccd7ce Small cleanup 2020-10-29 22:52:07 +01:00
themode
9e2e48f79c Fix bug when you could send a break a custom block with a finished digging packet 2020-10-16 09:12:31 +02:00
themode
660a67e53e English fix 2020-10-15 21:16:31 +02:00
Articdive
d5b8ead337
Make utility classes final and not constructable. 2020-08-07 08:10:10 +02:00
Felix Cravic
7617042b7d Comments 2020-08-03 06:12:59 +02:00
Felix Cravic
9b25f0a25f Fix time update option 2020-07-22 20:57:05 +02:00
Felix Cravic
e4ad66fcde Added a bunch of new command arg types 2020-07-10 22:50:05 +02:00
Felix Cravic
7e20278dd9 Fix deadlock with ItemEntity + added ItemEntity#getMergeUpdateOption to mitigate CPU usage increase 2020-06-01 00:51:31 +02:00
Felix Cravic
4c889923f1 Added more TimeUnit (HOUR/MINUTE/SECOND) 2020-05-17 03:56:36 +02:00
Felix Cravic
b97b75f13c Added a lot of comments 2020-05-15 18:03:28 +02:00
Felix Cravic
7daac5e610 Package rename to net.minestom.server 2020-04-24 03:25:58 +02:00