Commit graph

2776 commits

Author SHA1 Message Date
md_5
6997c726a2
SPIGOT-6661: Fix missing radius from GenericGameEvent 2021-07-21 09:34:12 +10:00
DerFrZocker
02d03f3536
SPIGOT-6369: Add ItemStack to HangingPlaceEvent 2021-07-21 09:32:48 +10:00
md_5
eec4aab001
SPIGOT-6657: Add getPlayer to SheepDyeWoolEvent 2021-07-18 11:07:59 +10:00
md_5
205213c618
SPIGOT-6656: CauldronLevelChangeEvent is not fired correctly when dripstone fills the cauldron 2021-07-18 10:14:43 +10:00
md_5
5662c2b305
SPIGOT-6642: Throw better message if plugin.yml is empty 2021-07-17 11:25:17 +10:00
Rabbitual
aa8e0351cd
#636: Add FurnaceStartSmeltEvent 2021-07-17 11:19:48 +10:00
md_5
52073b3059
SPIGOT-6646: Issue with map palette ranges 2021-07-15 20:32:47 +10:00
Doc
5f772da93d
#640: Add new Causes for LightningStrikeEvent 2021-07-13 19:16:08 +10:00
md_5
17c35d6eb0
SPIGOT-6637: Revert "#636: Add FurnaceStartSmeltEvent"
This reverts commit e1528c85b3.
2021-07-11 12:27:00 +10:00
Doc
4b27230b8d
SPIGOT-6623: Missing API reasons for entity freezing 2021-07-11 09:32:32 +10:00
Rabbitual
e1528c85b3
#636: Add FurnaceStartSmeltEvent 2021-07-11 09:25:55 +10:00
md_5
d8198b3ec5
Update to Minecraft 1.17.1 2021-07-07 00:00:00 +10:00
Doc
fc92ca8dd3
SPIGOT-6527: Add AxolotlBucketMeta 2021-07-04 09:31:17 +10:00
md_5
2aff251627
Update Maven plugins 2021-07-03 11:06:15 +10:00
md_5
81a4ff3e3b
SPIGOT-6616: Cancellable StriderTemperatureChangeEvent 2021-07-03 09:36:33 +10:00
md_5
214b9f14e8
SPIGOT-6605: Add method to access value of enforce-whitelist 2021-06-26 09:58:21 +10:00
Ibrahim Ansari
ecf35dd77a
#633: Add isTrusting/setTrusting to Ocelot. 2021-06-21 08:40:18 +10:00
md_5
70d24eb89a
SPIGOT-6587: Update documentation/error of drop chance API 2021-06-20 12:15:14 +10:00
md_5
2dbec58427
SPIGOT-6570: Missing InventoryType: COMPOSTER 2021-06-17 08:29:25 +10:00
md_5
e9ce88b99c
SPIGOT-6562: Add more specific sculk sensor event 2021-06-16 08:34:08 +10:00
VendoAU
ebb0e28d11
#631: Add Villager#shakeHead 2021-06-14 19:13:16 +10:00
Martoph
751469c6ba
#629: Add LivingEntity#isClimbing 2021-06-14 19:10:55 +10:00
Bjarne Koll
a791f93de2
SPIGOT-6507: Introduce abstract skeleton and stray conversion
The previous layout and class hierarchy of the skeleton API defined
variances of the skeleton, such as the wither skeleton or the stray, as
child types of the normal skeleton variance, which is technically
incorrect, yet did not produce any specific issue as the normal skeleton
variance did not have any unique logic.

With the introduction of powdered snow in the 1.17 update, the normal
skeleton variance now has unique logic, specifically the conversion to
a stay when stuck inside powdered snow, which cannot be represented in
the current API layout due to the prior mentioned hierarchy.

This commit introduces the AbstractSkeleton interface, which follows the
concept of other abstract interfaces like AbstractArrow and serves as a
common parent to the existing skeleton variances. Furthermore this
commit introduces the previously mentioned stray conversion to the
normal skeleton variance.

This commit does not break ABI yet breaks backwards compatibility due to
the mentioned hierarchy changes. Plugins that previously used the
Skelton interface to compute whether or not an entity is skeleton-like
through instanceOf checks will now only match the normal skeleton variance
instead of any skeleton-like entity.
2021-06-14 10:02:35 +10:00
md_5
aee70d263b
SPIGOT-6551: CaveVinesPlant missing extends BlockData 2021-06-14 08:43:45 +10:00
konsolas
7984eb75a4
#621: Add Block#getCollisionShape and associated API 2021-06-14 08:37:23 +10:00
konsolas
83f547f227
#623: Add Block#getBreakSpeed(Player) 2021-06-14 08:30:51 +10:00
konsolas
8503c3c9e3
#621: Add HumanEntity#getItemInUse and Material#getSlipperiness 2021-06-13 08:59:54 +10:00
Nathat23
248deb0941
#622: Add methods to check if item is the breed item for an entity 2021-06-13 08:37:51 +10:00
md_5
2ce691d830
Clarify Player#breakBlock only works for blocks in the same world 2021-06-13 08:28:21 +10:00
DerFrZocker
5dcdd48e52
SPIGOT-6514: Small Dripleaf block data is missing half property 2021-06-12 08:47:05 +10:00
Parker Hawke
cc9610b737
#619: Add Player#breakBlock() 2021-06-12 08:30:46 +10:00
blablubbabc
862bc47568
Fix bad merge of SPIGOT-6502 fix 2021-06-11 21:49:40 +10:00
md_5
989bb0c112
Downgrade SnakeYAML due to issues with comments parsing 2021-06-11 20:50:31 +10:00
DiamondDagger590
1dff62ae83
Fix inverted visual fire docs 2021-06-11 16:26:22 +10:00
md_5
5b94881a0b
Update to Minecraft 1.17 2021-06-11 15:00:00 +10:00
blablubbabc
7e29f76544
SPIGOT-6502: Loading a class from a library of another plugin resulted in a ClassCastException. 2021-06-11 14:00:19 +10:00
blablubbabc
04df07fe9a
#615: Calculate the reachable nodes only once per transitive dependency check. 2021-06-05 08:09:52 +10:00
Lars Dormans
0e11bc1faa
#522: Add piglin bartering API 2021-05-28 08:59:15 +10:00
DiamondDagger590
a16a309d53
#613: Add PlayerBucketEntityEvent and make PlayerBucketFishEvent deprecated in favor of the newer, more generic event 2021-05-28 08:39:26 +10:00
md_5
f563167d33
SPIGOT-6464: Fix ShulkerBox#getColor for undyed shulkers 2021-05-23 08:30:44 +10:00
md_5
146a7e4bd7
SPIGOT-5345: Add automatic library support
Example plugin.yml usage:
```
    libraries:
      - com.squareup.okhttp3:okhttp:4.9.0
```

Libraries will only be accessible to plugins and their transitive depends, allowing for multiple versions of the same library to be used by different plugins.

This feature is modeled on the parallel BungeeCord feature and intends to offer the same behaviour.
Although this is a preview feature, major changes to behaviour are not expected at this point.

With the exception of the issues described in SPIGOT-6419 it is not expected that this feature alters classloading behaviour, although some changes may be unavoidable.
2021-05-15 09:04:53 +10:00
md_5
b9ef9229d4
Update entity loot tables in LootTables 2021-05-09 17:30:52 +10:00
retrooper
15f0fe23ae
#606: Add Player#getPing to access the player's ping 2021-05-09 17:20:50 +10:00
Martoph
531436ee87
#567: Add ability to cancel ProjectileHitEvent 2021-05-09 16:51:41 +10:00
Julian van den Berkmortel
edf1881e6a
SPIGOT-6200: Add COMMAND to the CreateSpawnEvent.SpawnReason enum 2021-05-09 16:32:25 +10:00
md_5
5eece9f858
Fix typo in BubbleColumn documentation 2021-05-02 11:47:28 +10:00
DiamondDagger590
a030a41b0d
SPIGOT-6443: Fix PlayerBucketFishEvent#getWaterBucket returning the wrong item 2021-05-01 08:34:11 +10:00
Julian van den Berkmortel
1c0c52ae4f
SPIGOT-6373: Add getAttachedFace and setAttachedFace to the Shulker API 2021-04-28 11:52:47 +10:00
md_5
80ece5de93
Remove old draft API tags 2021-04-27 11:34:32 +10:00
DerFrZocker
8523fa23ad
#604: Add Contract annotation to ConfigurationSection 2021-04-27 11:34:32 +10:00