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
cf29ab1f17
Arrow: remove unused import
2018-08-07 19:06:40 +01:00
Dylan K. Taylor
272b76d24c
fix Punch mess
2018-06-24 13:43:52 +01:00
Dylan K. Taylor
97c267c70c
Implemented Punch enchantment
2018-06-23 17:40:01 +01:00
Dylan K. Taylor
f1970492c1
Projectile: added API to modify projectile base damage multiplier
...
This adds two new methods:
- Projectile->getBaseDamage()
- Projectile->setBaseDamage()
2018-06-23 10:38:58 +01:00
Dylan K. Taylor
390db976e5
Arrow: allow controlling pickup mode (like PC)
...
This allows controlling how arrows are picked up:
- by anything
- by only creative players
- by nothing
This adds new API methods to Arrow:
- getPickupMode()
- setPickupMode()
This adds new public constants to Arrow:
- PICKUP_NONE
- PICKUP_ANY
- PICKUP_CREATIVE
2018-06-22 13:40:32 +01:00
Dylan K. Taylor
0bb5e88b5c
Hinting up Entity API to PHP 7.2 standards
2018-05-19 10:46:47 +01:00
Dylan K. Taylor
83a3c6f614
Arrow: added shake effect and strike sound
2018-03-09 11:35:07 +00:00
Dylan K. Taylor
8cc6a32a04
Rewritten Projectile movement handling, added ProjectileHitBlockEvent and ProjectileHitEntityEvent, fixed a swathe of arrow-related bugs
...
I usually avoid mega-commits, but one thing led to another.
2018-03-09 11:35:07 +00:00
Encritary
2e1a167bed
Arrow class: No need to import Item class with other name ( #1932 )
2018-01-17 10:59:50 +00:00
Dylan K. Taylor
74b074753f
Bulk addition of constant visibilities
...
thanks PhpStorm inspections plugin for annoying the shit out of me until
I did this.
2017-11-21 14:44:10 +00:00
Dylan K. Taylor
3a16985d45
Cleaned up item & arrow pickup code
2017-11-15 12:14:42 +00:00
Dylan K. Taylor
eab7b93483
Fixed misuse of kill() and close() when deleting entities ( #1490 )
2017-11-04 19:30:48 +00:00
Dylan K. Taylor
9fb93985d6
Cleaned up Entity->spawnTo()
2017-10-19 16:13:09 +01:00
Dylan K. Taylor
2b22d5d8cc
Added EntityIds interface with constants
2017-10-19 15:43:55 +01:00
Dylan K. Taylor
584810780a
Moved projectile-related classes to their own namespace
2017-10-19 12:27:44 +01:00