Commit Graph

3523 Commits

Author SHA1 Message Date
md_5
caf86c88a9 Use CraftEventFactory for BlockFormEvent 2016-12-09 12:45:21 +11:00
md_5
521b64741e Add API to get default value of an Attribute 2016-12-09 12:31:25 +11:00
md_5
0fa1ad23ed SPIGOT-2894: Preserve unreadable spawn egg data in memory 2016-12-07 10:44:57 +11:00
md_5
58bff62b2d SPIGOT-2891: Remove chunks if first check is false
Minecraft does double checking for synchronous generation, but since we generate chunks asynchronously we are required to check the first condition also in case the chunk was loaded between ticks. We leave the other logic to be cleaned up by the loops below.
2016-12-06 22:05:58 +11:00
Xor Boole
bfbd868a37 Implement pre-spawn API to allow modifications to spawned entities.
See preceding commit for why this change was included.
2016-12-06 21:42:41 +11:00
Matthew
04202c0ace SPIGOT-1592: Implement ItemMeta for Spawn Eggs
The Minecraft implementation of spawn eggs is able to construct an entity using all data that is present in the save format, however since the Bukkit API has no such way to construct an entity unattached to a world, and it appears creating such a way is a very challenging task, the decision was instead made to add this API now that 1.11 has entities which may not be represented by data values.
In the future it may be possible to implement a more expanded API cognate with this one.
2016-12-06 21:15:34 +11:00
md_5
9dee10873d SPIGOT-2890: SetBiome not saving changes 2016-12-06 20:46:04 +11:00
Senmori
8c4397207f Implement EntityDeathEvent for ArmorStands 2016-12-06 17:10:33 +11:00
md_5
a710176e46 SPIGOT-2889: Error cancelling creative InventoryClickEvent 2016-12-05 09:07:25 +11:00
Jacob Martin
b64d852496 #326: Convert BlockMeta to handle older serialized items. 2016-12-03 10:58:18 +11:00
md_5
9beb0c9968 SPIGOT-2879: Change order of entity addition for ender pearls 2016-12-03 09:55:36 +11:00
md_5
1d54397474 SPIGOT-911: Add hitBlock to PorjectileHitEvent 2016-12-02 09:38:50 +11:00
md_5
b6ad714e85 SPIGOT-2871: Improve BlockStates + BlockStateMeta 2016-12-02 09:29:33 +11:00
md_5
4d99feddd0 Reduce outdated build delay further. 2016-12-01 10:19:09 +11:00
Xor Boole
eb6c1bf31a Add some expansions to Anvil Inventory API 2016-11-30 16:40:40 +11:00
md_5
6d5a66f00f SPIGOT-2867: Update inventory on cancelled interacts too 2016-11-30 15:33:29 +11:00
md_5
fffaf07113 Fangs degree => radians (and back) 2016-11-30 09:56:09 +11:00
md_5
8d7e4d17e9 Expand definition of isFrozen 2016-11-30 09:16:01 +11:00
md_5
ff324aabe6 SPIGOT-2862: Cannot spawn evoker fangs 2016-11-30 08:37:06 +11:00
md_5
41ade2f291 SPIGOT-2860: Don't create 0 exp orbs when breeding 2016-11-29 15:42:46 +11:00
md_5
1c07d5c78f Add hitEntity to ProjectileHitEvent 2016-11-28 12:47:01 +11:00
md_5
2ba48b4965 SPIGOT-2855: Empty ItemStacks in PlayerDeathEvent drops 2016-11-28 12:34:21 +11:00
md_5
c91ca4a541 Build expiry is now 1 week 2016-11-28 10:19:33 +11:00
md_5
0a1e0455e2 SPIGOT-1401: Issues placing blocks adjacent to eachother 2016-11-28 10:13:49 +11:00
md_5
d7cce99f01 Fix possible leaks in vanish API 2016-11-28 10:02:40 +11:00
md_5
ad0e4b31bf SPIGOT-2850: NPE in CraftInventoryCrafting 2016-11-27 17:03:28 +11:00
LukBukkit
27d625184d SPIGOT-2695: Added BrewingStandFuelEvent and added fuel level to the BrewEvent 2016-11-27 10:37:54 +11:00
LukBukkit
6e887cd942 Added method for spawning a falling block with the BlockData 2016-11-26 19:23:20 +01:00
kaenganxt
2b7808f416 Fix banner color. Banners have inverted color bytes. 2016-11-25 21:02:13 +01:00
md_5
78c7614349 SPIGOT-2842: Improve item age handling 2016-11-25 10:31:53 +11:00
md_5
c3d951ddcd Farmland is a pickable block 2016-11-24 21:29:41 +11:00
LukBukkit
5245147d00 SPIGOT-619: Force rotate head of entities when setting location. 2016-11-24 09:39:39 +11:00
md_5
281376dfb5 SPIGOT-2833: Tile entities occasionally wiped after placement 2016-11-24 09:30:01 +11:00
md_5
a0d5a841da SPIGOT-2836: ProjectileHitEvent not always firing for FishHook 2016-11-23 22:50:37 +11:00
md_5
83fd16e453 SPIGOT-2835: CraftBlock getDrops Returns Air 2016-11-23 22:02:36 +11:00
md_5
c1462a24d8 SPIGOT-2765: Special case entity triggered explosions for HangingBreakEvent 2016-11-23 10:34:08 +11:00
md_5
7691c87df6 SPIGOT-2824: Llama Strength API 2016-11-23 10:27:49 +11:00
md_5
b5b0a97d44 SPIGOT-2822: Droppers are droppers 2016-11-22 20:21:19 +11:00
md_5
a64b99c95a Add Unbreakable to ItemMeta 2016-11-22 14:35:54 +11:00
md_5
7359112e8c Implement default title for custom merchants 2016-11-22 10:53:36 +11:00
md_5
6220b5c542 SPIGOT-2817: Custom Merchant title omits color 2016-11-22 10:30:01 +11:00
md_5
691628ab5c Fix setCarryingChest not resizing horse inventory 2016-11-21 21:58:29 +11:00
Lukas Hennig
0b154b1852 SPIGOT-2272: Add API for virtual Merchants 2016-11-21 15:29:36 +11:00
BlackHole
7fc4255d1a SPIGOT-2810: Fix entity statistics 2016-11-20 20:10:39 +01:00
md_5
ac99d7d474 SPIGOT-2807: Update inventory when attack cancelled 2016-11-20 14:13:21 +11:00
md_5
95436219a5 SPIGOT-2806: Fix PlayerDropItemEvent for disconnected players 2016-11-20 10:19:22 +11:00
LukBukkit
221508dce3 Fix cancelling PlayerEditBookEvent 2016-11-20 09:33:22 +11:00
md_5
eed13ca548 SPIGOT-2800: Can only smelt 63 stack 2016-11-19 21:14:46 +11:00
md_5
0f7c385941 SPIGOT-2801: Missing break in CraftMetaBlockState 2016-11-19 21:11:54 +11:00
md_5
092243c35d SPIGOT-2799: ItemFrame set null error 2016-11-19 20:28:04 +11:00