Commit graph

2712 commits

Author SHA1 Message Date
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
Martoph
dd8edaa7ab
#603: Specify what velocity changes in javadocs 2021-04-27 11:34:31 +10:00
DiamondDagger590
6bff9d0996
#508: Add PlayerBucketFishEvent 2021-04-25 08:34:28 +10:00
Flo0
2b8fb83fd8
#601: Add Block#isPreferredTool 2021-04-21 17:31:45 +10:00
Mmaarten
8dcc25417d
SPIGOT-6302: Javadoc fix for World#spawnEntity()
Method does not return null
2021-04-20 18:47:00 +10:00
Julian van den Berkmortel
6d0965a550
SPIGOT-6388: Add API to get and set the state of the "Shulker" entity 2021-04-19 18:47:42 +10:00
Julian van den Berkmortel
14883d6b17
SPIGOT-6078: Add SmithItemEvent and expand SmithingInventory API 2021-04-18 18:03:18 +10:00
Jakub Zacek
9477fa26f2
#597: Implemented Material#getEquipmentSlot() method 2021-04-13 19:16:29 +10:00
Martoph
b302317a95
SPIGOT-5877: Add scaffolding for custom dimensions and biomes 2021-04-11 17:54:45 +10:00
md_5
ccccb62537
SPIGOT-6417: Add Creeper fuse ticks API 2021-04-11 17:32:21 +10:00
md_5
bb27a6c723
SPIGOT-6416: Add BlockFace#isCartesian() 2021-04-10 08:58:38 +10:00
md_5
15ba9ae78a
SPIGOT-6357: Add World#getMinHeight 2021-03-28 19:31:39 +11:00
md_5
4e5f46cb27
Update ASM version 2021-03-17 07:52:48 +11:00
md_5
c589f5464d
Use upstream plexus-compiler-eclipse
Relevant bugs have since been fixed
2021-03-14 12:16:27 +11:00
Martoph
d264e972e9
#591: Add option for a consumer before spawning an item 2021-03-09 08:47:28 +11:00