3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-21 05:50:05 +01:00
Commit graph

3421 Commits

Autor SHA1 Nachricht Datum
md_5
65bb2d0f7d Increase expiration time to 10 days 2018-09-22 17:14:27 +10:00
Senmori
88a5346fea Add API to locate structures. 2018-09-22 17:11:17 +10:00
Senmori
8164f4b25b SPIGOT-1916: Attribute modifiers for ItemStacks 2018-09-21 20:51:04 +10:00
Parker Hawke
a222e4a252 Implement BatToggleSleepEvent 2018-09-17 16:49:45 +10:00
md_5
94b8708aca SPIGOT-4373: Item display colours are white by default
Should probably look at all this code at some point
2018-09-16 08:30:11 +10:00
md_5
1cead6280f SPIGOT-4363: Bad colours in leather armor 2018-09-11 20:44:34 +10:00
simpleauthority
953e1d601a SPIGOT-4314: Ability to change item in frame without playing sound 2018-09-11 20:39:58 +10:00
md_5
3123a069bf SPIGOT-4352: MoistureChangeEvent 2018-09-09 18:56:38 +10:00
Pante
19d654bd5e Add ServerLoadEvent 2018-09-08 13:40:42 +10:00
md_5
3eb8af2340 SPIGOT-4348: Use online player for setting skull owner if possible 2018-09-06 20:47:37 +10:00
Senmori
ee5efeb0dc Add getFacing method to get the current cardinal direction an entity is facing. 2018-09-03 18:06:58 +10:00
md_5
60d7982024 SPIGOT-4338: breedCause API 2018-09-01 19:28:12 +10:00
md_5
dc69d2b3db Fix unbound shaped recipe ingredients 2018-09-01 14:12:20 +10:00
md_5
4c219e2a12 Expand Recipe API to allow multiple Materials per slot 2018-09-01 11:04:48 +10:00
md_5
3831ae621f SPIGOT-4325: Validate coordinate arguments in Chunk/ChunkSnapshot 2018-08-29 07:44:36 +10:00
md_5
a1ab86d8cb SPIGOT-4321: Team#getSuffix returns the prefix 2018-08-29 07:26:59 +10:00
md_5
9636bb8d77 SPIGOT-4319: Conduit damage should be a block event 2018-08-28 21:00:24 +10:00
md_5
4228a56c0d SPIGOT-4318: More missing spawn eggs 2018-08-27 21:01:46 +10:00
md_5
908516f102 Fix some formatting in CraftLootable 2018-08-27 18:32:35 +10:00
md_5
c2cbdc5ab4 SPIGOT-4316: Do even less processing when block placement without physics requested 2018-08-27 18:29:28 +10:00
md_5
f598574711 SPIGOT-4313: Unsupported plugin should not crash server 2018-08-27 12:57:04 +10:00
md_5
479ec05e3b SPIGOT-4310: Reset villager career level with trades 2018-08-27 07:00:56 +10:00
md_5
b3dc236663 SPIGOT-4307: Fix hacky API for banners on shields 2018-08-26 19:18:56 +10:00
md_5
2a271162af SPIGOT-4301: Fix more invalid enchants 2018-08-26 18:48:32 +10:00
md_5
5d0d83bb90 SPIGOT-4309: Add "forced" display of particles 2018-08-26 18:27:19 +10:00
Senmori
a677257885 Add additional tests for CraftBlockData 2018-08-26 18:17:55 +10:00
md_5
ce1af0c348 Update to Minecraft 1.13.1 2018-08-26 12:00:00 +10:00
md_5
162bda93ff Add note about 1.13.1 2018-08-26 13:58:37 +10:00
md_5
f41aae401e Remove reflection from CraftBlockData 2018-08-25 08:41:14 +10:00
md_5
3418f8d7a1 SPIGOT-4298: Block command sender returns wrong block 2018-08-22 08:52:17 +10:00
md_5
903c0e30c1 SPIGOT-4296: Ensure recipe group set in craft translation 2018-08-21 18:21:11 +10:00
md_5
89492315d1 launchProjectile Fish -> FishHook
Thanks Senmori & SpoonFed on IRC
2018-08-21 18:21:11 +10:00
md_5
82f4b3b1d9 SPIGOT-4292: Ignore itemstacks with invalid enchants 2018-08-20 12:49:36 +10:00
md_5
bfb9131494 SPIGOT-4283: Allow setting recipe groups 2018-08-17 20:40:54 +10:00
BlackHole
375bc637bd SPIGOT-4276: Fix untyped statistics causing client errors 2018-08-16 20:42:40 +10:00
md_5
452a173807 SPIGOT-4271: Fix API error when enderman are not carrying a block 2018-08-15 08:51:18 +10:00
md_5
4a24108665 SPIGOT-4261: Missing turtle / phantom spawn egg meta 2018-08-13 18:22:57 +10:00
Senmori
c0df4b82d3 SPIGOT-1936: LootTable API 2018-08-12 18:40:03 +10:00
md_5
15da706706 SPIGOT-4258: Add Player.updateCommands method 2018-08-12 09:41:00 +10:00
md_5
b47946ff19 Fix regression in item priority conversion 2018-08-12 08:04:52 +10:00
md_5
a0a27e5876 Switch around item conversion code as well 2018-08-11 20:19:12 +10:00
md_5
96778caabb SPIGOT-4253: Add way to prioritise item conversion 2018-08-11 17:43:41 +10:00
Senmori
29e7564874 Expand GameRule API 2018-08-11 11:25:09 +10:00
md_5
50e6858b72 Improve entity hierarchy by adding Mob interface. 2018-08-10 19:48:09 +10:00
md_5
200b239819 SPIGOT-4233: Fix some missing handled NBT tags 2018-08-06 20:13:58 +10:00
md_5
cfc67965f3 Add merging and matching of parsed BlockData 2018-08-06 14:40:06 +10:00
md_5
5e3082c7d8 SPIGOT-4230: Improve legacy block types 2018-08-05 10:04:19 +10:00
Senmori
ec2095d9c6 SPIGOT-4223: Fix inventories using the same TileEntity instance. 2018-08-04 09:41:04 +10:00
md_5
dabb1b930b Potion particles should default to true 2018-08-03 20:01:12 +10:00
md_5
9331153551 SPIGOT-4217: Account for ShowIcon to allow custom tipped arrows to merge 2018-08-03 19:57:09 +10:00
md_5
69970127c1 SPIGOT-4221: Update surrounding blocks for cancelled break/place 2018-08-03 11:34:26 +10:00
md_5
2f17f677aa Tweak outdated windows 2018-08-03 09:13:30 +10:00
md_5
4587569c06 Fix ChunkData material alone being treated as legacy 2018-08-03 08:53:52 +10:00
md_5
80c43fc1de SPIGOT-4214: Catch attempts to create BlockData for items 2018-08-02 20:24:56 +10:00
md_5
272426acd7 SPIGOT-4199: Riptide related APIs 2018-08-02 09:38:52 +10:00
md_5
ab5599e8f3 Pre size legacy hash tables 2018-08-02 09:07:01 +10:00
blablubbabc
a0c7bcf02a Fix merchant inventories with custom titles 2018-08-01 08:50:08 +10:00
md_5
a3b7e3433a SPIGOT-4204: Allow passing data to AreaEffectCloud particles 2018-08-01 08:21:02 +10:00
md_5
549d9b0120 SPIGOT-4029: Add event for commands being sent to client 2018-07-31 10:46:09 +10:00
md_5
03c1273b59 SPIGOT-4197: Account for double trapped chests 2018-07-31 09:14:44 +10:00
blablubbabc
c3a8de0371 SPIGOT-227: Add entity persistent flag
Non-persistent entities won't get saved when the chunk saves the entities.
Entities that are passengers of a non-persistent entity won't get saved.
Players won't save their vehicle, if the player is directly or
indirectly riding a non-persistent entity.
2018-07-30 12:29:43 +10:00
md_5
b94fd7c7e4 Include class path in legacy conversion errors. 2018-07-30 09:19:07 +10:00
md_5
3b8f5be77b SPIGOT-1714: Draft API for player list header / footer 2018-07-29 21:30:31 +10:00
md_5
2ba567f29b SPIGOT-4182: Implement cursor captions 2018-07-29 15:10:08 +10:00
md_5
6a1dc5bb7d SPIGOT-4177: Change behaviour of item display names yet again 2018-07-29 09:24:42 +10:00
md_5
212fd0f230 SPIGOT-4166: Fix Tags being corrupted by early access (and not reflecting reloads) 2018-07-28 15:00:12 +10:00
md_5
392108bf94 SPIGOT-4168: Patch up some legacy calls 2018-07-28 10:23:32 +10:00
md_5
4d3ef4821f SPIGOT-4164: Treat new _AIR blocks as air 2018-07-28 08:28:56 +10:00
md_5
095239d4c5 SPIGOT-4159: Fix Player.launchProjectile(Trident.class) 2018-07-27 14:29:02 +10:00
md_5
1ef1ffd664 SPIGOT-4137: Fix World.regenerateChunk 2018-07-25 19:32:06 +10:00
Senmori
3599dbe3c2 SPIGOT-3981: Make custom inventories return specialised types where practical. 2018-07-25 18:03:37 +10:00
Senmori
9646d8d780 SPIGOT-4147: Fix ItemFrames not able to be placed UP or DOWN 2018-07-25 14:17:03 +10:00
md_5
9cfb0090d8 SPIGOT-4135: Fix DOLPHINS_GRACE PotionEffectType Wrapper. 2018-07-24 22:17:20 +10:00
md_5
46e5eeb67e SPIGOT-4128: Skip hopeless entity conversion 2018-07-24 20:46:49 +10:00
md_5
2100017016 SPIGOT-4132: Fix missing break in RedstoneWire.setFace 2018-07-24 12:46:21 +10:00
md_5
ca75fead2c SPIGOT-4131: Fix typo affecting setting BlockData 2018-07-24 12:04:34 +10:00
md_5
19ff43d9e1 SPIGOT-4128: Greatly improve spawn egg deserialization 2018-07-24 10:49:48 +10:00
md_5
7357d7237a SPIGOT-4123: Fix display names cleared by plugins / serialization 2018-07-24 10:47:51 +10:00
md_5
f732acf24f Add map ID API 2018-07-24 10:18:06 +10:00
md_5
fbf903a1bc SPIGOT-4120: Store BlockData enum mappings per class 2018-07-24 10:08:34 +10:00
md_5
ea7b61290a SPIGOT-4122: Fix an instance of legacy item inequalities 2018-07-24 08:57:58 +10:00
md_5
6a109cf6bc SPIGOT-4124: Fix misplaced PISTON_HEAD 2018-07-24 08:25:13 +10:00
Articdive
30ab12cf4c SPIGOT-824: SpongeAbsorbEvent 2018-07-23 17:21:07 +10:00
md_5
155b17305b SPIGOT-4112: scoreboard display names are not nullable 2018-07-23 11:46:23 +10:00
md_5
d4297cbe2d Just throw section signs into components a la Mojang 2018-07-23 10:48:28 +10:00
md_5
4e2f571337 Fix Player.playNote 2018-07-22 14:40:48 +10:00
md_5
1a6b4f5392 Update to Minecraft 1.13 2018-07-22 12:00:00 +10:00
md_5
e5d6f6b596 SPIGOT-4024: Improve interactions of Vanilla tab completion, and also reloads 2018-07-21 11:23:11 +10:00
md_5
889e17f99d SPIGOT-4100: Ignore invalid item display names 2018-07-21 09:54:08 +10:00
md_5
7c0f69e449 CraftBlock.toString shouldn't make legacy call 2018-07-20 16:10:48 +10:00
kaenganxt
814c742554 SPIGOT-840, SPIGOT-2522: [Draft] Add EntityPotionEffectChangeEvent
Discussion ongoing in PR #449
2018-07-20 16:06:34 +10:00
md_5
66b62a63b5 Fix bad old API call in CraftBlockState 2018-07-20 10:32:17 +10:00
md_5
ca1af9368b Update EntityChangeBlockEvent to new BlockData API 2018-07-20 10:29:34 +10:00
md_5
49ac8a7446 SPIGOT-4074: Fix createBlockData succeeding on garbage 2018-07-20 10:20:15 +10:00
md_5
80fefcf5ef SPIGOT-4047: Ignore non-existent potions 2018-07-19 11:35:12 +10:00
md_5
fc1b107579 SPIGOT-4046: Fix selectors in tick functions 2018-07-19 10:59:16 +10:00
md_5
595ec64726 SPIGOT-4049: Books lose NBT data 2018-07-19 10:12:55 +10:00
md_5
92dceb827c Revert "SPIGOT-4035: Enforce case-sensitivity for chat format code matching."
Minecraft allows uppercase colour codes.

This reverts commit d480dc74e5.
2018-07-19 10:07:04 +10:00
md_5
65bc676ed0 SPIGOT-4041: Fix regressed item naming 2018-07-18 17:39:04 +10:00
md_5
6fa4ae693e SPIGOT-4040: Further increase team related limits 2018-07-18 17:11:44 +10:00
md_5
9c98002856 Fix Block.setType alone being treated as legacy 2018-07-18 16:59:41 +10:00
md_5
d48ecdeb45 Delete Block.setData byte methods from API 2018-07-18 16:55:44 +10:00
md_5
b9fd5c60e9 SPIGOT-4020: Fix DustOptions colouring 2018-07-18 16:40:31 +10:00
md_5
15036eb75b Fix changes that got lost late in development cycle 2018-07-18 14:13:20 +10:00
md_5
f18d78282d SPIGOT-4028: Improve legacy ItemStack conversion 2018-07-18 14:01:15 +10:00
md_5
3791cf947e SPIGOT-4037: Improve legacy BlockState.setData 2018-07-18 09:53:50 +10:00
md_5
404d6e776e SPIGOT-4036: Handle regular/uncoloured shulker boxes 2018-07-18 09:45:27 +10:00
Hex
d480dc74e5 SPIGOT-4035: Enforce case-sensitivity for chat format code matching.
This maintains case-insensitivity for URL matching, and adds a unit test to verify correct conversion via CraftChatMessage.
2018-07-18 09:36:16 +10:00
md_5
8c9dea83c3 SPIGOT-4030: Improve CraftItemStack.hasItemMeta 2018-07-17 17:13:55 +10:00
Hex
1526726b57 SPIGOT-4031: Improve bounds checking in CraftInventoryView. 2018-07-16 22:47:47 -06:00
md_5
b4bff6fc3d SPIGOT-4026: Clicking on command error suggestion should return verbatim input 2018-07-17 06:49:40 +10:00
md_5
fa1340f7a6 SPIGOT-4022: Improve utility of Entity.getName for non-players 2018-07-17 06:36:08 +10:00
md_5
1fccb89501 Fix completion of multiple arguments in Bukkit commands 2018-07-16 21:03:46 +10:00
md_5
926ea10459 SPIGOT-4017: Increase Team related length limits 2018-07-16 19:15:26 +10:00
md_5
22e5229238 Standardise empty string as null / not set 2018-07-16 16:20:26 +10:00
md_5
b6a757dec8 SPIGOT-4016: Fix clearing custom names 2018-07-16 14:39:01 +10:00
md_5
8fbc72b714 Add ignore-vanilla-permissions option to assist with disabling default commands 2018-07-16 12:06:06 +10:00
md_5
322f2f9518 CraftBanner also needs to use wool data 2018-07-16 10:37:56 +10:00
md_5
3890544e04 SPIGOT-4015: Make CraftTeam tie into backing prefix/suffix 2018-07-16 10:20:53 +10:00
md_5
ee3c26688e SPIGOT-4008: Fix server-icon loading 2018-07-16 10:08:07 +10:00
md_5
43eb8f312c SPIGOT-4011: Clear error for plugin misusing ChunkData 2018-07-16 09:01:23 +10:00
md_5
10261f31d7 Fish / Dolphin should be WaterMob, and WaterMob Creature 2018-07-16 08:51:34 +10:00
md_5
b8ea9ec844 SPIGOT-4004: Fix banner pattern colouring 2018-07-15 23:30:00 +10:00
md_5
60185a5616 Validate world in CraftServer.createChunkData 2018-07-15 19:52:26 +10:00
md_5
764b81ced2 SPIGOT-4003: Fix TropicalFish.getType 2018-07-15 18:52:21 +10:00
Senmori
cfc30bb382 Add javadocs to new CraftBlockData utility methods. 2018-07-15 16:36:02 +10:00
md_5
fe7db9d53b Add EntityToggleSwimEvent and isSwimming / setSwimming API 2018-07-15 16:17:35 +10:00
md_5
72cf620d47 SPIGOT-4002: Fix usage of default: statements in 1.13 plugins compiled w/ Eclipse 2018-07-15 15:00:35 +10:00
md_5
421c1728c8 Update to Minecraft 1.13-pre7 2018-07-15 10:00:00 +10:00
md_5
57ab4cfc6f Player metadata really should be keyed by UUID not name 2018-07-11 20:02:32 +10:00
md_5
ca6d2cf9dc Add validation checks to CraftPlayer.teleport 2018-07-11 09:06:48 +10:00
md_5
6103339c08 SPIGOT-3976: Add some additional toStrings to CraftEntity classes 2018-06-27 20:27:52 +10:00
blablubbabc
fbe3046435 SPIGOT-3619: Improve CraftScheduler#isCurrentlyRunning
* No longer returns opposite of what it should
* Works for sync tasks as well
2018-06-20 13:11:50 +10:00
md_5
2f3ed3b2d0 Remove outdated build delay. 2018-06-17 13:02:54 +10:00
Parker Hawke
d0a3620c2d Implement Arrow tile methods 2018-05-06 14:12:19 +10:00
md_5
61ca7d92c1 SPIGOT-3923: Defer PlayerInventory ItemStack change to 1.13 2018-05-05 08:22:40 +10:00
md_5
ca057a3457 SPIGOT-3920: Make player inventories consistently return null for empty stacks 2018-05-04 17:09:46 +10:00
md_5
21d5f75d6c SPIGOT-3908: Fix signed books incorrect defaulting to unresolved 2018-04-19 08:03:39 +10:00
md_5
bea5a842bc SPIGOT-3904: Consolidate book handling code 2018-04-16 19:19:38 +10:00
md_5
9060bfa9b9 SPIGOT-3886: Plugin exceptions in map rendering should not crash server 2018-04-08 20:03:12 +10:00
Senmori
9f49ad60e7 Remove magic values in scheduler package 2018-03-26 15:34:33 +11:00
Senmori
3a482bdd40 Add setTarget and getTarget to Slime. 2018-03-03 21:50:57 +11:00
md_5
fb414fe101 Add missing WEARABLE EnchantmentTarget 2018-02-19 20:48:27 +11:00
BlackHole
bacaf9274b SPIGOT-3824: Return the direct vehicle of an entity, not the root vehicle 2018-02-16 23:16:48 +01:00
md_5
f4ca1805d6 Fix bad usage of setter in previous commit 2018-02-12 10:38:09 +11:00
Senmori
f8411ea1e5 Expand Structure Block API 2018-02-12 10:33:19 +11:00
md_5
8bb4f6ccc1 SPIGOT-3813: Player.setHealth not reliable in conjunction with attribute API 2018-02-12 08:59:32 +11:00
md_5
49ecc7c7a2 SPIGOT-3812: Workbench from Bukkit.createInventory does not update 2018-02-12 08:43:11 +11:00
md_5
9ab298de7b SPIGOT-3807: Improve getEyeHeight 2018-02-10 12:17:00 +11:00
Senmori
1c40a81828 Expand EnderSignal API 2018-02-03 17:48:41 +11:00
md_5
015bda4b7d SPIGOT-2911: Implement AbstractHorseInventory 2018-01-28 09:56:55 +11:00
Senmori
c7656468e4 Expand CreatureSpawner API 2018-01-24 17:19:41 +11:00
md_5
bd308430b5 SPIGOT-3751: BossBar flag methods reversed 2018-01-10 12:40:38 +11:00
md_5
67b763c5a7 Fix Block PistonMoveReaction 2018-01-10 10:47:26 +11:00
md_5
4119224efe Fix opening shulker inventories 2018-01-08 16:07:18 +11:00
md_5
ab09b27ef4 Remove a bunch of spurious _INVALID_ methods. 2018-01-05 13:04:18 +11:00
md_5
e40c9ef4b9 print -> println in world start region preparation 2018-01-02 20:24:33 +11:00
md_5
595eaaa8be SPIGOT-3724: Make CraftMetaSkull work reliably for player skulls 2018-01-01 12:32:48 +11:00
Senmori
950006003c SPIGOT-355: API for Villager careers 2017-12-31 21:21:03 +11:00
md_5
e1fb9cb640 Send title timings before sending titles 2017-12-30 13:39:54 +11:00
md_5
b5a10a9d6d Remove unused private static final variable 2017-12-28 14:47:57 +11:00
blablubbabc
45c83860e1 SPIGOT-3696: Clearing custom name of some blocks does not work 2017-12-17 11:41:56 +11:00
md_5
04595908e5 Allow unloading all worlds except the main one 2017-12-16 10:19:00 +11:00
md_5
fb4564cc37 SPIGOT-2892: Fix some clone implementations and add unit test 2017-12-16 10:18:34 +11:00
md_5
e46898a5e8 SPIGOT-3684: Team#setColor does not trigger scoreboard update 2017-12-08 09:31:20 +11:00
md_5
cfd6933002 SPIGOT-3664: Add Material getter to ChunkSnapshot 2017-12-07 10:25:16 +11:00
Chris Cowan
558c5a348c SPIGOT-3663: Add plugin parameter to hidePlayer+showPlayer. 2017-12-05 09:37:47 +11:00
md_5
f46ccd7637 Fix some formatting in CraftEventFactory 2017-11-22 17:05:59 +11:00
Senmori
bdb8822625 SPIGOT-1505: PlayerItemMendEvent 2017-11-21 10:21:20 +11:00
md_5
dccd2763bd SPIGOT-690: Try to make force opened enchant tables work a bit better 2017-11-18 10:48:16 +11:00
Cory Redmond
74cd5fdfc4 Add setSpawnLocation(Location) 2017-11-18 10:27:24 +11:00
md_5
6e0b0a1b55 Don't special case 'invalid' usernames for UUIDs. 2017-11-18 10:12:27 +11:00
md_5
c15d869440 Use generics in health scaling methods 2017-11-17 11:08:26 +11:00
md_5
108fc362c0 CraftMetaFirework: AssertionError -> IllegalArgumentException 2017-11-17 10:23:20 +11:00
md_5
82f3b02c67 SPIGOT-1891: Player.playNote should use RECORDS category
This is what NoteBlock.play etc uses.
2017-11-14 09:57:46 +11:00
md_5
adbfc1f98a SPIGOT-3649: Backwards check in playEffect 2017-11-13 08:47:04 +11:00
md_5
25959fab20 Add Score.isScoreSet()Z API. 2017-11-10 10:50:58 +11:00
md_5
353964045a Catch all exceptions from plugin conversation handling 2017-11-10 10:46:46 +11:00
md_5
326c2e605f SPIGOT-3644: Fix missed yaw callsite update 2017-11-09 13:07:25 +11:00
Parker Hawke
305df9035f Implement max fuse tick & explosion radius methods to Creeper 2017-11-08 12:33:21 +11:00
md_5
c3047a5df7 SPIGOT-3629: Greatly expand entity effect API 2017-11-07 19:32:24 +11:00
md_5
2fae23c251 SPIGOT-3637: Adjust yaw yet again 2017-11-07 17:21:38 +11:00
md_5
1257322d1f SPIGOT-3622: Issue in some combinations of spawn protection 2017-10-28 16:00:15 +11:00
md_5
31d3159f04 SPIGOT-3613: Success count not reset for exceptions. 2017-10-17 21:08:43 +11:00
md_5
9ab758c7b6 SPIGOT-3605: Spawn eggs not saving internal data 2017-10-09 18:32:45 +11:00
md_5
30da15647f Fix zombie professions 2017-10-09 18:18:11 +11:00
md_5
59fa98bfb7 SPIGOT-3587: Set head rotation when spawning entity 2017-10-01 11:01:49 +11:00
md_5
a3b3a421ac SPIGOT-3565: Head yaw is "more accurate" for living entities 2017-09-28 16:23:14 +10:00
blablubbabc
ee91bce157 Fix active async tasks not cancelled by CraftScheduler#cancelTasks(Plugin) 2017-09-28 16:18:45 +10:00
md_5
9a1f5ee80a Update to Minecraft 1.12.2 2017-09-18 20:00:00 +10:00
md_5
8f472147b7 Remove outdated build delay. 2017-09-14 21:39:04 +10:00
md_5
876d22cd55 SPIGOT-3561: Fix selectors in SuccessCount 2017-09-09 12:51:18 +10:00
md_5
9e3636d82a SPIGOT-3553: Add OfflinePlayer based methods to SkullMeta 2017-09-06 16:14:37 +10:00
md_5
178caf9ac2 SPIGOT-3551: Recursively unrestrict advancements 2017-09-06 16:07:41 +10:00
blablubbabc
bde2a93cfe Add BukkitTask#isCancelled 2017-09-02 17:04:29 +10:00
Jannyboy11
79e55b6dcf SPIGOT-1107: Shift clicking and delegation for custom inventories
PR #398
2017-08-18 18:54:49 +10:00
Lukas Hennig
e1f296d115 Fix CraftBanner initialisation. 2017-08-07 17:55:47 +10:00
md_5
b5878783ad SPIGOT-3491: Add option to bypass permissions in advancements 2017-08-06 09:07:24 +10:00
Lukas Hennig
19507baf8b Improvements to BlockStates
* Actually capture all the data of TileEntities. This is done by creating a copy of the TileEntity. The methods of BlockState which currently directly access the TileEntity reference will modify the data of that TileEntity-snapshot instead.
* With the call to BlockState.update, the captured TileEntity data gets applied to the current TileEntity in the world.
* Methods which trigger block specific actions will use the current TileEntity from the world.
* CraftBlockState does not hand out the wrapped or the snapshot TileEntity directly. Instead, it provides an applyTo method to copy the data to a given TileEntity and a method to directly get a copy of the TileEntity NBT data represented by the BlockState. CraftMetaBlockState was updated to make use of that.
* Added #getSnapshotInventory() to bukkit which allows modifiying the captured inventory snapshots of containers.
* Tried to clarify which methods only work if the BlockState is placed, which methods require the block in the world to still be of the same type (methods which trigger actions), and that .getInventory() directly modifies the inventory of the block in the world if the BlockState is placed and becomes invalid if the block type is changed.

Backwards compatibility

* If the BlockState acts as InventoryHolder, getInventory() will still return the inventory directly backed by the TileEntity in the world (like before), and not the snapshot inventory. This compromise should reduce the potential of these changes to break existing plugins, or craftbukkit's own use of BlockState.
* The snapshot's inventory can be accessed by a new method getSnapshotInventory()
* In case the BlockState is not placed (if it was retrieved from the MetaBlockState of an item), the getInventory() method will however return the snapshot inventory. So that when the BlockState gets applied back to the item, the inventory changes are properly included.
* With the changes to CraftMetaBlockState it is no longer required to call the update method before passing a modified BlockState to the CraftMetaBlockState. For backwards compatibility the update method will simply return true for a non-placed BlockState, without actually doing anything.

Impact on plugins
* Restoring blocks now actually works as expected, properly restoring the TileEntity data, reglardless if the block changed its type in the meantime.
* Plugins are now consistently required to call the update method in order to apply changes to blocks. Though, regarding the Javadoc they should have been required to do so anyways.
* New feature: Plugins can take and modify inventory snapshots.
* Breaking change: If a plugin gets the BlockState of a block in the world, modifies the inventory returned by .getInventory(), and then tries to use the same BlockState to apply the TileEntity data to an ItemStack block meta, the ItemStack will use the snapshot inventory, disregarding the changes made to the inventory returned by .getInventory(). This is the compromise of .getInventory() returning the inventory directly backed by the TileEntity in the world.

Other fixes related to BlockState:
* TileEntityContainer#getLocation() will run into a NPE if the TileEntity is non-placed (ex. when getting the BlockState from a CraftMetaBlockState).
* Beacon.getEntitiesInRange() would previously throw a NPE if called for a non-placed BlockState. It was changed to now require to be placed and use the current TileEntity in the world. If the TileEntity in the world is no longer a beacon, it will return an empty list.
* EndGateway now supports setting and getting the exit location even for non-placed EndGateways (inside BlockStateMeta) by using / returning a location with world being null.
2017-08-05 14:37:19 +10:00
md_5
20ab5d3d10 Add build delay back 2017-08-04 16:09:17 +10:00
md_5
2a927e8638 Update to Minecraft 1.12.1 2017-08-03 23:00:00 +10:00
md_5
9a1fc1e2ee Remove outdated build delay. 2017-08-03 21:10:43 +10:00
md_5
b5dc294d32 SPIGOT-3485: Launch shulker bullets as projectiles 2017-08-03 08:23:27 +10:00
BillyGalbreath
d2aa6845f0 Implement BroadcastMessageEvent 2017-07-28 16:53:43 +10:00
md_5
b1b9ab0df9 SPIGOT-3461: Standardise plugin load timing 2017-07-26 13:20:29 +10:00
md_5
d35483b0e1 Correct scheduler behaviour with intervals of >= Integer.MAX_VALUE (circa 3 years). 2017-07-25 15:36:44 +10:00
md_5
4670a84bd9 SPIGOT-3432: Add playNote support for new sounds 2017-07-24 17:44:44 +10:00
md_5
5a12442f22 SPIGOT-3433: Improve AreaEffectCloud#getSource 2017-07-22 09:51:22 +10:00
md_5
9a82fa7785 SPIGOT-3428: Recover from invalid firework data 2017-07-19 09:56:35 +10:00
md_5
70be90e168 SPIGOT-3425: Correct slot type calculation 2017-07-16 11:03:19 +10:00
md_5
b5df1f59f7 SPIGOT-3423: Don't treat technical piston block as BlockStateMeta 2017-07-16 10:48:21 +10:00
md_5
e03b1a556d SPIGOT-3417: Event for shearing snowman 2017-07-15 09:53:22 +10:00
md_5
6659ddf11a SPIGOT-3416: Cap team prefix / suffix at correct value of 16 2017-07-13 12:42:45 +10:00
md_5
af1c0139f5 SPIGOT-3409: Improve performance of registering stupid amounts of permissions in plugin.yml 2017-07-10 21:05:47 +10:00
md_5
50b75cd65d SPIGOT-3407: Set damager for evoker fangs 2017-07-08 22:40:54 +10:00
md_5
11323bf873 Increase expiration time to two weeks. 2017-07-04 20:52:11 +10:00
BlackHole
d603539842 SPIGOT-3387: Prevent null enchantments in ItemMeta 2017-06-29 10:52:33 +10:00
md_5
477fb2bb72 SPIGOT-3381: Save older serialized enchants 2017-06-26 09:49:28 +10:00
md_5
d7cd7275f2 SPIGOT-3379: Generalise canPickupItems to other entities. 2017-06-26 08:34:52 +10:00
Jeremy Wood
1314229dc2 SPIGOT-3336: HideFlags will now serialize as a List rather than a Set.
HideFlags will be serialized as a list and deserialized as an Iterable.
This will allow maximum flexibility on both the formats it can be
serialized into and formats it can be deserialized from.
2017-06-23 12:48:15 +10:00
md_5
f3356f1074 Treat Vanilla commands as Bukkit Commands 2017-06-21 19:14:51 +10:00
md_5
6aa0fa3206 Increase expire time to 7 days 2017-06-17 17:45:09 +10:00
md_5
885da43758 SPIGOT-3342: Fix invalid usage of null in InventoryWrapper 2017-06-15 20:25:06 +10:00
md_5
2a2d6d6295 Add PistonMoveReaction getters for Entity 2017-06-12 19:23:24 +10:00
md_5
f85977ae6f SPIGOT-3331: New map colours don't display 2017-06-12 19:16:30 +10:00
md_5
ed8c725d19 SPIGOT-3304: Respect duration from Vanilla /weather 2017-06-09 16:17:08 +10:00
md_5
bb4ae3b3b8 Update to Minecraft 1.12 2017-06-08 18:00:00 +10:00
md_5
701b06494d SPIGOT-3286: Call BlockFormEvent for Concrete Powder -> Concrete 2017-06-03 17:39:03 +10:00
md_5
921ba53556 SPIGOT-3283: Don't allow plugin induced infinite velocity / position 2017-06-02 18:44:37 +10:00
md_5
9496c2dad1 SPIGOT-3284: Allow TNTPrimed#getSource to return invalid entities
Eg dead players.
2017-06-02 18:28:30 +10:00
md_5
e13d119686 Update to Minecraft 1.12-pre6 2017-05-30 21:55:13 +10:00
BlackHole
c155d8dd32 SPIGOT-3277: Fix Entity.eject() 2017-05-28 22:27:57 +02:00
md_5
c037fe3d44 Add color API for Teams 2017-05-28 11:00:02 +10:00
Pokechu22
44dd60ac27 SPIGOT-3272: Fix duplicate creative inventory
This change properly identifies the creative inventory as one with 5 crafting slots (as that's the default set in ContainerPlayer, and handled properly in other containers), instead of having the same inventory twice (which breaks slot identification).
2017-05-28 10:32:31 +10:00
MiniDigger
274304b8ca SPIGOT-439: Add player locale related APIs. 2017-05-27 19:06:28 +10:00
md_5
a479029a85 Ensure gameLoop function gets selectors applied. 2017-05-26 16:43:56 +10:00
md_5
4377dac138 SPIGOT-3253: Fix entity yaw changes 2017-05-20 11:16:28 +10:00
md_5
1004352990 Update to Minecraft 1.12-pre5 2017-05-19 21:00:13 +10:00
BlackHole
3ecbb59cbb SPIGOT-3248: Don't set shoulder compounds of EntityHuman to null 2017-05-18 07:34:25 +10:00
md_5
45102fcf28 Misc advancement / recipe reload fixes including SPIGOT-3240 2017-05-16 21:22:07 +10:00
md_5
c410240567 SPIGOT-3240: Temporarily stub out rarely used resetRecipes method to fix some issues. 2017-05-16 06:58:37 +10:00
md_5
743252dbe5 SPIGOT-3238: Add Server.advancementIterator 2017-05-15 08:25:53 +10:00
md_5
5195487ec6 Update to Minecraft 1.12-pre2 2017-05-14 12:00:00 +10:00
md_5
6e3cec8bc7 Change book limit to allow for automatically generated colour codes 2017-05-14 11:19:38 +10:00
md_5
36e3402814 Remove outdated build delay. 2017-05-14 10:35:01 +10:00
Lukas Hennig
2b6c9f40ae Set health before entity death. 2017-05-04 19:18:46 +10:00
BlackHole
fbb47e8383 SPIGOT-3215: Call BlockPhysicsEvent for tall plants 2017-05-01 19:49:37 +10:00
md_5
fecf4b4137 SPIGOT-3214: Allow book titles up to 32 even though they can't be created by a Vanilla client. 2017-04-30 13:20:43 +10:00
Matthew
d9d7552262 Implement getColor / setColor for Shulker entity 2017-04-30 09:54:34 +10:00
Pokechu22
a2af8f0a73 SPIGOT-3207: Fix hiding players in a BukkitRunnable after joining
This happened because "joining" wasn't cleared until the player was ticked.  Runnables (presumably) ran _after_ the player list packet was sent, but before the player was ticked; thus, the player list packet was sent, but not cleared.  The fix is to replace joining with hasSentListPacket, which is set immediately before sending any player list packets (thus, if hidePlayer is called after, it sees that the list packet has been sent and sends a new one to reset it).  With this fix, the player is added to the list and then removed shortly afterwards.

The reason why running /hideall in the example wouldn't fix the invisibility is because the server already thinks the player's been removed from the list (as they're hidden), and thus doesn't want to send another hide packet.  This is correct behavior assuming that they get hidden correctly the first time, which they now do.
2017-04-28 15:27:57 +10:00
Matthew
55a1f9ff12 Implement getColor / setColor for TippedArrow 2017-04-26 20:28:27 -04:00
md_5
28d993ccec Skip invalid enchants in CraftMetaItem 2017-04-26 15:45:52 +10:00
Senmori
c19c2932bf Create NBT TypeId helper class 2017-04-22 15:50:30 +10:00
md_5
4acd0f49e0 Enforce proper limits on books. 2017-04-20 21:45:42 +10:00
md_5
be9ef980b9 Implement cooldown API 2017-04-19 18:04:32 +10:00
Lukas Hennig
e04a1793ae Inventory getContents Cleanup 2017-04-17 18:09:15 +10:00
md_5
e17c3d285b Make CraftJukebox.isPlaying locally consistent 2017-04-16 08:26:51 +10:00
md_5
473febc73a Add correct interfaces for comparator / daylight detector 2017-04-16 08:16:49 +10:00
md_5
ac405c3cd4 Fix some blockstate consistency issues. 2017-04-15 18:01:44 +10:00
Pokechu22
1ac133ecc5 SPIGOT-3182: Fix tab-completion in command blocks without leading slash 2017-04-13 17:57:47 -07:00
md_5
b5f7b6d69f SPIGOT-3157: Use Vanilla gamemode change code 2017-03-31 21:21:11 +11:00
Senmori
319013857d Add Chunk.isSlimeChunk to check if a chunk can spawn slimes 2017-03-24 15:17:47 +11:00
md_5
91c315273e Fix trailing whitespace in CraftChunk 2017-03-23 20:19:29 +11:00
Parker Hawke
b80055abfb Properly validate player experience bar progress 2017-03-19 18:31:40 -04:00
bramhaag
dfee3d9f9f Add getWidth + getHeight for Entity 2017-03-19 10:51:59 +11:00
md_5
2aa5ac6c92 SPIGOT-3128: Shift VehicleCreateEvent calling. 2017-03-15 20:48:47 +11:00
md_5
eac85911f0 Don't call super update on unplaced command block metas 2017-03-10 20:30:20 +11:00
md_5
962ffda1a8 Add more notch inventory conversions 2017-03-10 20:03:31 +11:00
md_5
d6aa73d16c SPIGOT-3114: Initialize custom SHULKER_BOX slots 2017-03-10 20:01:31 +11:00
md_5
4316a8c246 SPIGOT-3110: SHULKER_BOX InventoryType 2017-03-08 17:56:08 +11:00
md_5
7fce67144d SPIGOT-3108: Hack around mirroring empty item stacks 2017-03-08 14:35:34 +11:00
md_5
4448a7efa4 SPIGOT-3068: API for localized item names 2017-02-16 11:49:46 +11:00
Max Lee
4c8d895513 SPIGOT-2152: Method to set resource pack + hash. 2017-02-15 10:05:56 +11:00
md_5
a552117725 SPIGOT-3054: Correct LLamaSpit launching 2017-02-09 09:14:44 +11:00
md_5
3c48711c05 SPIGOT-3051: Set pitch/yaw for spawned boats 2017-02-06 11:58:42 +11:00
Parker Hawke
dfe4ed1c3e Add implementation for LlamaSpit in ProjectileSource#launchProjectile 2017-02-01 13:14:41 +11:00
md_5
5ae629285e Increase expiration time to two weeks. 2017-01-31 21:39:17 +11:00
md_5
c1aa85918e SPIGOT-3040: Round health to float for validation 2017-01-28 11:41:09 +11:00
md_5
dbf4ecf30f SPIGOT-3037: WorldBorder#isInside(Location) 2017-01-26 11:16:39 +11:00
xGhOsTkiLLeRx
7fdc749bf1 Add API to set Arrow pickup status 2017-01-18 10:01:28 +11:00
md_5
775f1e1f7f SPIGOT-3003: Fix custom dropper / beacons. 2017-01-11 09:53:16 +11:00
md_5
730bb6ac83 10 day build expire 2017-01-09 10:38:33 +11:00
Zach Brown
059434ce92 SPIGOT-826: Add method to retrieve entity by UUID 2017-01-05 14:54:47 +11:00
md_5
7e19325845 SPIGOT-2640: API for multiple passengers per entity 2017-01-04 10:53:07 +11:00
md_5
613be0d841 SPIGOT-2980: Improve SpawnEgg NBT application and ItemStack conversion. 2017-01-02 16:13:25 +11:00
md_5
a6d8fa2eac Recover spawn egg data from UNSPECIFIC meta. 2017-01-02 15:29:11 +11:00
md_5
5715b3a6d9 SPIGOT-2977: Pass setAmount(0) through to wrapped ItemStack.
This class needs to be rewritten with more consistent semantics and alignment with Minecraft losing null, but that is probably a job for 1.12
2017-01-02 10:04:19 +11:00
md_5
7c743ff64b SPIGOT-2963: Endless loop in CraftHumanEntity#openMerchant 2016-12-27 09:01:22 +11:00
md_5
50acb4477d Increase expire time to 7 days 2016-12-26 09:39:59 +11:00
Ryan Michela
1c7dfaebef SPIGOT-2957 getSeaLevel() should return the real sea level, not a hard-coded value 2016-12-26 09:39:03 +11:00
md_5
96f03d9065 SPIGOT-2127: Add DamageCause.ENTITY_SWEEP_ATTACK 2016-12-23 22:40:38 +11:00
md_5
8ea0c87f51 Update to Minecraft 1.11.1 2016-12-21 07:00:00 +11:00
Lukas Hennig
532457e41d SPIGOT-2923: Added PotionEffectType#getColor() 2016-12-17 09:46:58 +11:00
md_5
217358e845 SPIGOT-2924: Improve handling of Jukeboxes playing nothing. 2016-12-17 09:45:14 +11:00
md_5
0a6a5cb4ad SPIGOT-1036: Add API to manipulate sendTitle timings. 2016-12-16 09:48:14 +11:00
md_5
03c4bf2244 SPIGOT-2908: Correctly spawn LlamaSpit 2016-12-10 12:10:28 +11:00
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
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
Jacob Martin
b64d852496 #326: Convert BlockMeta to handle older serialized items. 2016-12-03 10:58:18 +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
fffaf07113 Fangs degree => radians (and back) 2016-11-30 09:56:09 +11:00
md_5
ff324aabe6 SPIGOT-2862: Cannot spawn evoker fangs 2016-11-30 08:37:06 +11:00
md_5
1c07d5c78f Add hitEntity to ProjectileHitEvent 2016-11-28 12:47:01 +11:00
md_5
c91ca4a541 Build expiry is now 1 week 2016-11-28 10:19:33 +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
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
LukBukkit
5245147d00 SPIGOT-619: Force rotate head of entities when setting location. 2016-11-24 09:39:39 +11:00
md_5
83fd16e453 SPIGOT-2835: CraftBlock getDrops Returns Air 2016-11-23 22:02:36 +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
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
momothereal
89e6712cde Add additional APIs for Evoker / EvokerFangs 2016-11-19 18:53:57 +11:00
Senmori
bd2d7935c4 Implement isCursed for new enchantments 2016-11-19 16:07:51 +11:00
md_5
1d01e41570 SPIGOT-2798: Fix ShulkerBox BlockStateMeta 2016-11-19 15:59:04 +11:00
md_5
7564d60241 Add stopSound for specific sound category & unit test for SoundCategory 2016-11-19 14:27:18 +11:00
LukBukkit
63c13c5e62 Implement SoundCategory for playing sounds. 2016-11-19 14:20:13 +11:00
Senmori
26377b763b Get Colors from ShulkerBox; Implement CustomName for Tiles. 2016-11-19 13:40:06 +11:00
md_5
f15e07b1a9 SPIGOT-2793: Revert Nameable changes 2016-11-19 03:10:04 +11:00
md_5
88eede85cc SPIGOT-2792: Return PIG for broken spawners 2016-11-18 15:32:27 +11:00
md_5
0805f60443 SPIGOT-2789: ShulkerBox missing override 2016-11-18 12:00:17 +11:00
Senmori
5e51afde49 Get Colors from ShulkerBox; Implement CustomName for Tiles. 2016-11-18 11:28:49 +11:00
md_5
93b8244115 SPIGOT-2787: Keep performing getter null conversion at call sites 2016-11-18 11:07:02 +11:00
md_5
4bf2fc8782 SPIGOT-2786: Restore some fireworks code lost in update 2016-11-18 10:11:19 +11:00
md_5
4f63973ebb SPIGOT-2782: Custom Colors for Potions 2016-11-18 09:49:54 +11:00
md_5
d8c6364c4c Remove more redundant code 2016-11-18 09:28:11 +11:00
md_5
17e6e857b5 SPIGOT-2779: NPE when spawning firework with plugin 2016-11-18 09:22:40 +11:00
md_5
b2f82f0f7f Remove now redundant code 2016-11-18 09:14:51 +11:00
md_5
64032adfd2 Remove unit test based on now incorrect assumptions 2016-11-18 09:11:17 +11:00
md_5
162e961326 SPIGOT-2772, SPIGOT-2780: Improve empty ItemStack handling 2016-11-18 09:04:07 +11:00
md_5
0dedba43d1 SPIGOT-2773: More fully implement ShulkerBox meta 2016-11-18 08:50:38 +11:00
md_5
54450b727e SPIGOT-2768: Fully implement map color 2016-11-17 17:32:50 +11:00
md_5
c25ddf063a Update to Minecraft 1.11 2016-11-17 12:41:03 +11:00
Senmori
51263e9718 Implement Entity Scoreboard Tags 2016-11-06 12:18:27 +11:00
md_5
cb2749768e SPIGOT-2757: Player#stopSound Stops All Sounds 2016-11-06 10:36:38 +11:00
md_5
33071ecfff SPIGOT-2752: Fix resetMaxHealth 2016-11-04 18:11:36 +11:00
Senmori
709783c131 Add Enchantment#isTreasure()Z
Determines if the enchantment is a treasure enchantment - only available via means other than the enchantment table.
2016-10-30 12:18:27 +11:00
hibo98
251a5b6382 Explicitly log exception from asynchronous tasks.
Previously an UnhandledException would be thrown and the stack trace / message would be printed to System.err in the default UncaughtExceptionHandler for ThreadGroup. This was undesirable as it meant that logging frameworks / exception monitors such as Sentry were unable to get the exception. Additionally it would cause the death of the thread in the ExecutorService. This change mimics the behaviour of exceptions occuring during synchronous tasks.
2016-10-24 18:49:06 +11:00
md_5
fd8d8cf404 SPIGOT-2737: Implement Statistic.PICKUP 2016-10-22 13:07:22 +11:00
Senmori
b6490dada5 SPIGOT-2706: Implement support for Lock NBT Tag
Containers may now implement the Lockable interface.
2016-10-21 16:35:55 +11:00
md_5
9558f31ebb SPIGOT-2711: CraftPlayer.getPlayerListName removes black colour 2016-10-05 19:33:33 +11:00
md_5
ae93d4fb49 SPIGOT-2705: Portal cooldown getter / setter. 2016-10-01 12:26:20 +10:00
md_5
6af9f5b84a SPIGOT-2679: Add meta for StructureBlock 2016-09-18 09:58:54 +10:00
AgentLV
75a8885d1f Run sync tasks scheduled for the same tick FIFO 2016-09-11 15:03:27 +10:00
md_5
48b88ed202 SPIGOT-2656: HumanEntity#isHandRaised()Z 2016-09-04 11:59:41 +10:00
md_5
4d87c3422c SPIGOT-2644: Clearer error for invalid hanging spawns 2016-08-31 17:25:37 +10:00
md_5
2f5bda8a67 SPIGOT-2630: Console tab complete 2016-08-26 08:06:06 +10:00
md_5
60c1719354 SPIGOT-2618: Register permissions before plugin enabled.
Brings behaviour in line with command registration, and won't affect plugins which don't already error.
2016-08-25 13:11:42 +10:00
DemonWav
c74e2a7301 SPIGOT-215: Implement infrastructure for Location tab completes 2016-08-25 09:48:52 +10:00
md_5
6053c5c8ac SPIGOT-2578: Method to get PotionEffect of specific type. 2016-08-07 10:53:39 +10:00
md_5
29e1d72893 SPIGOT-2574: BlockPopulators added twice. 2016-08-06 10:04:06 +10:00
md_5
83a9dbdef6 SPIGOT-2559: Kill all entities when called with setHealth(0) 2016-07-30 10:06:07 +10:00
md_5
8cc5958404 Deprecate and stop using Java15Compat class. 2016-07-29 17:28:51 +10:00
md_5
21e3b05522 SPIGOT-2552: Aliases for Vanilla commands 2016-07-26 09:05:08 +10:00
md_5
09f1a19609 Hook into World for light getters due to additional validation. 2016-07-25 19:04:06 +10:00
md_5
9ff3d7f51f SPIGOT-2548: Don't special case spawn locations of falling blocks 2016-07-23 16:23:31 +10:00
md_5
2a5461deb1 Enhance Beacon Block API 2016-07-23 10:55:43 +10:00
redwallhp
7655e38a47 Implement basic Beacon Block API 2016-07-23 10:49:05 +10:00
md_5
7ae605218b Fall back to name if skull has no uuid when getting player. 2016-07-22 12:02:16 +10:00
md_5
02d704b55a SPIGOT-2503: Optimize block set 2016-07-08 14:05:22 +10:00
md_5
9c02c12179 SPIGOT-2481: Implement EnchantmentTarget.BREAKABLE 2016-07-08 12:51:32 +10:00
md_5
d7c257e120 SPIGOT-2490: Villager farming event 2016-07-08 11:12:40 +10:00
md_5
67b242440b SPIGOT-1515: Use CUSTOM reason for GENERIC damage 2016-07-02 14:01:31 +10:00
md_5
1628ce6240 SPIGOT-2474: Use .die() to set entity remove status 2016-07-02 11:24:14 +10:00
md_5
d3507d2818 SPIGOT-1364: sendMap should update entire map 2016-07-01 11:24:11 +10:00
md_5
45038571f9 SPIGOT-1341: Cancelled cake interact decreases client hunger 2016-07-01 11:20:31 +10:00
md_5
939423a8f1 SPIGOT-1181: Ensure Minecart command updates visually 2016-06-30 13:33:26 +10:00
md_5
1fe19a83f9 SPIGOT-1129: Fix spawning leash hitch without adjacent block 2016-06-30 13:21:22 +10:00
md_5
4c43856621 SPIGOT-1599: Allow teleporting disconnected players 2016-06-30 13:01:37 +10:00
md_5
00359a18fa SPIGOT-2456: Don't wipe tiles if type is still the same 2016-06-27 11:25:49 +10:00
md_5
0ebb9c7afa BUILDTOOLS-251: Make much of Bukkit locale independent 2016-06-26 19:32:05 +10:00
md_5
568e27fbd0 Fix air setting block updates 2016-06-26 12:31:24 +10:00
md_5
4c1e9342cb SPIGOT-1039: Improve DoubleChest semantics 2016-06-25 21:21:55 +10:00
md_5
341da0730b SPIGOT-611: Improve setBlock for tile->tile transitions 2016-06-25 20:16:48 +10:00
Aikar
1953f52da1 SPIGOT-2439: Consistently fire Chunk(Load|Unload)Event
Clean up implementation and firing of both of these events by routing
both unload and load behaviors to consistent method calls.

This fixes issues where a few places would not call Load or Unload events
when it should have.

Additionally, reduces diff by moving the neighbor marking code into these
consistent points.

Additional benefits of the change include improving the neighbor marking
methods to use getChunkIfLoaded instead of getLoadedChunkAt in some places,
as the latter will cause chunks to be marked active and not unload.

Finally, this also updates CraftWorld.loadChunk to use the new methods, as the
previous logic did not properly handle the new unload queue.
2016-06-23 10:34:08 +10:00
Ryan Michela
9af379fc47 SPIGOT-1319: Add EntityBreedEvent 2016-06-19 20:14:09 +10:00
Roy Curtis
9856d8a183 Improvements to BookMeta API
* Added hasGeneration()
* Fixed `applyHash()` (used by `CraftMetaItem.hashCode()`) not taking generation into account
* Fixed `equalsCommon()` (used by `CraftMetaItem.equals()`) not taking generation into account
2016-06-16 10:50:15 +10:00
md_5
fb568fdc70 SPIGOT-2408: setTicksLived does not properly affect FallingSand 2016-06-13 18:16:15 +10:00
md_5
7964365c84 SPIGOT-2398: Armor stands still need to be treated special for gravity 2016-06-12 16:32:51 +10:00
md_5
0bc2724e51 SPIGOT-2376: Way to distinguish Zombie professions. 2016-06-12 10:28:09 +10:00
md_5
46233ffa8f Add Player.stopSound 2016-06-12 10:28:09 +10:00
md_5
6cbdec1f15 SPIGOT-2381: Use custom spawnreason for dropItem 2016-06-12 10:26:48 +10:00
md_5
1c2593826c SPIGOT-2389: Zombie.setVillager inverted 2016-06-12 10:14:25 +10:00
md_5
d5ecbd0e93 SPIGOT-2387: Magma does not provide a block for EntityDamageEvent. 2016-06-11 16:11:51 +10:00
md_5
6d3efa0634 SPIGOT-2380: Hitting in the air will always load the chunk at 0,0 2016-06-11 09:25:31 +10:00