Dylan K. Taylor
4221e274d6
Merge branch 'release/3.3' into release/3.4
2018-10-16 18:20:14 +01:00
Dylan K. Taylor
839d5eab7b
Protocol changes for 1.7
...
there's also some new cases in stats, but we don't care about those anyway.
2018-10-16 17:13:52 +01:00
Dylan K. Taylor
1dd6591ac1
Migrate a bunch of PluginManager->callEvent() usages to Event->call
...
This has the triple bonus effect of a) making a lot of code easier to read, b) reducing Server::getInstance() usages, and c) removing a whole bunch of Server dependencies.
The network and block namespaces are untouched by this commit due to potential for merge conflicts. These should be dealt with separately on master.
2018-10-05 17:30:06 +01:00
Dylan K. Taylor
8db1ccc1ae
Merge branch 'release/3.1' into release/3.2
2018-09-20 19:02:09 +01:00
Dylan K. Taylor
5d56030afa
Item: make nbtDeserialize() return AIR when reading an unknown PC item
...
This is scummy, but it's better than crashing the whole server just because a chest contained an unknown item.
2018-09-20 19:00:44 +01:00
Dylan K. Taylor
a0bb747d6d
Merge branch 'release/3.1' into release/3.2
2018-09-19 16:16:18 +01:00
Dylan K. Taylor
4bc0d850b1
Added Block->getRuntimeId(), clean up some mess
2018-09-19 16:16:10 +01:00
Dylan K. Taylor
5af4dd20df
Merge branch 'release/3.1' into release/3.2
2018-09-08 14:25:11 +01:00
Dylan K. Taylor
c7d58db7eb
Cleanup Entity age handling, fixed arrows despawning too quickly after long flight
2018-09-08 14:23:06 +01:00
Dylan K. Taylor
032b20f659
Server: remove premature optimization of findEntity()
2018-08-25 18:37:18 +01:00
Dylan K. Taylor
bea634a9b7
Change air tank regeneration to match UA ( #2396 )
2018-08-22 19:10:53 +01:00
Dylan K. Taylor
8daf3dc8b4
Merge branch 'release/3.1' into release/3.2
2018-08-22 15:41:52 +01:00
Dylan K. Taylor
4cc7573a64
Merge branch 'release/3.0' into release/3.1
2018-08-22 15:40:43 +01:00
Dylan K. Taylor
9d80802e53
Living: fixed some update conditions not being set
2018-08-22 15:40:32 +01:00
Dylan K. Taylor
ec1e257e21
Entity: Fixed fire damage not taking effect in the void
...
this is an absurd bug that nobody would ever otherwise notice, but the problem is that the doOnFireTick() call isn't evaluated if hasUpdate is already true.
2018-08-22 15:36:31 +01:00
Dylan K. Taylor
2eda8cfad3
Merge branch 'release/3.1' into release/3.2
2018-08-19 16:01:47 +01:00
Dylan K. Taylor
91be5aba0c
Merge branch 'release/3.0' into release/3.1
2018-08-19 16:00:25 +01:00
Dylan K. Taylor
5df601c817
Add @see docs so PhpStorm can see dynamic constructor usages
...
PhpStorm can't see constructor usages when the class name is dynamic. This causes maintenance problems because cross-referencing constructors called like this doesn't show up dynamic calls.
2018-08-19 16:00:15 +01:00
Dylan K. Taylor
0336ae8229
Merge branch 'release/3.1' into release/3.2
2018-08-17 19:47:41 +01:00
Dylan K. Taylor
4a1d67cb91
Merge branch 'release/3.0' into release/3.1
2018-08-17 19:47:34 +01:00
Dylan K. Taylor
b4694092b7
Painting: fix motive not being saved
2018-08-17 19:47:26 +01:00
Dylan K. Taylor
5424644ca1
Merge branch 'release/3.1' into release/3.2
2018-08-16 15:52:19 +01:00
Dylan K. Taylor
4e2387edc1
Merge branch 'release/3.0' into release/3.1
2018-08-16 15:52:12 +01:00
Frago9876543210
a5e38576ef
ItemEntity: fixed using -1 for infinite pickup delay not working
...
closes #2382 (squash-merge)
2018-08-16 15:52:05 +01:00
Dylan K. Taylor
d98a6e566c
Merge branch 'release/3.1' into release/3.2
2018-08-14 15:03:30 +01:00
Dylan K. Taylor
142a6d7678
Merge branch 'release/3.0' into release/3.1
2018-08-14 15:03:22 +01:00
Dylan K. Taylor
b2ca364de0
SplashPotion: Don't apply effects to entities which are not alive
...
fixes #2372
2018-08-14 15:03:15 +01:00
Dylan K. Taylor
cf29ab1f17
Arrow: remove unused import
2018-08-07 19:06:40 +01:00
Dylan K. Taylor
c5c5a53a13
Merge branch 'release/3.1' into release/3.2
2018-08-07 18:49:13 +01:00
Dylan K. Taylor
699f35cc05
Merge branch 'release/3.0' into release/3.1
2018-08-07 18:49:06 +01:00
Dylan K. Taylor
8fa196efc9
FallingBlock: fixed state not being saved
2018-08-07 18:48:52 +01:00
왕고슴도치
47cd6fe105
EntityDamageEvent: Add API to customize Living entity attack cooldown time
...
closes #2310
2018-08-07 14:39:26 +01:00
max
f3b2bcfd13
Added Conduit Power effect
2018-08-06 21:30:15 +01:00
Enes
99045fe21a
Entity: Implement setting score tag
2018-07-30 09:36:32 +01:00
Dylan K. Taylor
1405099768
Merge branch 'release/3.1' into release/3.2
2018-07-24 17:19:18 +01:00
Sandertv
d0339796b4
Added DATA_FLAG_SHOW_TRIDENT_ROPE
2018-07-24 17:19:06 +01:00
Dylan K. Taylor
76ee6bc298
Merge branch 'release/3.1' into release/3.2
2018-07-20 11:57:13 +01:00
Dylan K. Taylor
b18872fbc6
Merge branch 'release/3.0' into release/3.1
2018-07-20 11:57:06 +01:00
Dylan K. Taylor
2b30ef1671
Revert "Living: fix knockback condition, take 2"
...
This reverts commit 0081e30a896a730f9598353353f6ee258803850e.
The logic introduced by this commit is correct in MC JAVA 1.9+. Unfortunately, nobody likes 1.9+ for combat.
Some testing in MCPE vanilla made it apparent that this logic isn't correct for MCPE. The old logic is correct for pre-1.9 knockback.
2018-07-20 11:55:10 +01:00
Dylan K. Taylor
527d8e9374
Merge branch 'release/3.1' into release/3.2
2018-07-17 18:35:16 +01:00
Dylan K. Taylor
93a2f397c6
Merge branch 'mc-broken-ed-1.5' into release/3.1
2018-07-17 18:13:06 +01:00
Dylan K. Taylor
7efe767f1f
Merge branch 'release/3.0' into release/3.1
2018-07-16 12:08:22 +01:00
Dylan K. Taylor
710e1d014d
Entity: fixed 0-length motion vectors being passed to move()
...
this was an interesting bug.
This was discovered by making a projectile's drag 0, making its gravity a factor of its throw force (such that force / gravity = integer value), and then throwing it directly up. At the apex, an error would occur due to trying to do a ray trace with a zero vector.
This also led me to realize that there's an edge case in the current movement system - if an entity's motion reaches 0, it will stop getting movement updates. This can be undesirable when things such as gravity cause motion to become zero when throwing a projectile directly upwards. This will need to be fixed separately.
2018-07-16 12:08:13 +01:00
Dylan K. Taylor
165aac1ba3
Merge branch 'release/3.0' into mc-broken-ed-1.5
2018-07-14 16:09:57 +01:00
Dylan K. Taylor
878dd3b842
Merge branch 'release/3.0' into release/3.1
2018-07-14 16:06:02 +01:00
Dylan K. Taylor
7fc22d3227
Entity: fixed setNameTagAlwaysVisible()
...
mojang >.<
this doesn't fix the problem of invisibility making nametags hidden though.
2018-07-14 16:05:46 +01:00
Dylan K. Taylor
4a5ff32d2e
hacks for NPC and floating text
...
I didn't think mojang could break this fucking game any worse
2018-07-11 19:45:48 +01:00
Dylan K. Taylor
b5dcdea6d8
Protocol changes for 1.5.0 "release"
...
what a piece of shit this version is...
2018-07-11 10:00:15 +01:00
Dylan K. Taylor
32574118ea
Implemented Mending enchantment ( #2257 )
2018-07-06 13:28:33 +01:00
Dylan K. Taylor
0f0d12bebc
Merge branch 'release/3.0' into release/3.1
2018-07-02 16:58:15 +01:00