Commit Graph

3290 Commits

Author SHA1 Message Date
Németh Noel
663e53c875 Add alternative to LivingEntity#setFireDamagePeriod that takes Duration 2021-07-03 14:52:51 +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
3f1c433c94 Removed unnecessary deprecations 2021-07-03 14:41:57 +02:00
Németh Noel
3e0486cfd3 Added #setFireForDuration(Duration) 2021-07-02 19:58:59 +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
075dab79c9 Use ChronoUnit instead of TimeUnit 2021-07-02 19:35:19 +02:00
Németh Noel
a5f2705118 Fix hasUpdate check 2021-07-01 15:16:10 +02:00
Németh Noel
157eb6357a Deprecated net.minestom.server.entity.ItemEntity.setPickupDelay(long, java.time.temporal.TemporalUnit) 2021-07-01 15:08:31 +02:00
Németh Noel
bcc1132ed7 Deprecated net.minestom.server.entity.Entity.scheduleRemove(long, java.time.temporal.TemporalUnit) 2021-07-01 15:03:16 +02:00
Németh Noel
fdf7153986 Flip ?: null check 2021-06-30 22:28:54 +02:00
Németh Noel
059565b397 Flip ?: null checks 2021-06-30 22:25:24 +02:00
Németh Noel
ec4d24b9a8 Add null check 2021-06-30 22:14:58 +02:00
Németh Noel
a5a370783d Removed redundant check 2021-06-30 22:00:05 +02:00
Németh Noel
92cbc4727c Fix javadoc and optimize imports 2021-06-30 13:37:37 +02:00
Németh Noel
373ef90535 Fix javadoc 2021-06-30 13:36:26 +02:00
Németh Noel
c683acaf6e Fix PotionMeta.java 2021-06-30 13:26:45 +02:00
Németh Noel
d735ba5fff Fix missing Deprecated annotation 2021-06-30 13:25:24 +02:00
Németh Noel
7ff5173e03 Fix PingPacket.java 2021-06-30 13:23:32 +02:00
Németh Noel
ba2dcaac43 Deprecate TimeUnit#TICK instead of removing 2021-06-30 13:22:46 +02:00
Németh Noel
f9c9b4c1eb Fix old usage of TimeUnit 2021-06-30 13:20:02 +02:00
Németh Noel
ca78305d40 Fix OpenToLAN.java 2021-06-30 13:19:03 +02:00
Németh Noel
c9dd06ba20 Simplified millis calculation 2021-06-30 13:10:22 +02:00
Németh Noel
01dfe2f48d Replaced ChronoUnit with TimeUnit for consistency 2021-06-30 13:05:52 +02:00
Németh Noel
c037ea9d84 Replaced Tick and ChronoUnit with TimeUnit for consistency 2021-06-30 13:04:59 +02:00
Németh Noel
117bcb467a Replaced Tick and ChronoUnit with TimeUnit for consistency 2021-06-30 13:02:42 +02:00
Németh Noel
b0af01ee89 Updated multiple files 2021-06-30 12:59:38 +02:00
Németh Noel
8bd54dd300 Updated GLFWCapableBuffer.java 2021-06-30 12:52:41 +02:00
Németh Noel
b8441a0fd7 Updated TaskBuilder.java 2021-06-30 12:51:20 +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
aaa3b91424 Updated multiple files 2021-06-30 01:54:11 +02:00
Németh Noel
25183973dc Updated Instance.java 2021-06-30 01:46:03 +02:00
Németh Noel
2c9f0c5e67 Updated ClientPingServerEvent.java 2021-06-30 01:42:54 +02:00
Németh Noel
6a4de332a6 Updated RangedAttackGoal.java 2021-06-30 01:35:33 +02:00
Németh Noel
68b94674d0 Updated MeleeAttackGoal.java 2021-06-30 01:34:27 +02:00
Németh Noel
b8b8a40a99 Updated CombinedAttackGoal.java 2021-06-30 01:33:13 +02:00
Németh Noel
7e82c02536 Updated Player.java 2021-06-30 01:31:09 +02:00
Németh Noel
56017b90e2 Updated ItemEntity.java 2021-06-30 01:29:02 +02:00
Németh Noel
6db9ba63f4 Updated EntityFireEvent.java 2021-06-30 01:20:52 +02:00
Németh Noel
d522730cd7 Updated FollowTargetGoal.java 2021-06-30 01:15:54 +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
67dc8bf996 Updated Entity.java 2021-06-30 00:59:26 +02:00
Németh Noel
0c849c005b Optimized imports of LivingEntity.java 2021-06-30 00:52:16 +02:00
Németh Noel
384c556caf Updated LivingEntity.java 2021-06-30 00:51:22 +02:00
Németh Noel
58bae20f10 Updated Main.java 2021-06-30 00:47:57 +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
7b126f5d13 Updated BenchmarkManager.java 2021-06-30 00:32:06 +02:00
Németh Noel
e23b65c2df Updated OpenToLANConfig.java 2021-06-30 00:29:44 +02:00
Németh Noel
ff4bb20a04 Repurpose TimeUnit.java 2021-06-30 00:14:26 +02:00