Commit graph

2728 commits

Author SHA1 Message Date
CraftBukkit/Spigot
86711e2d98 SPIGOT-4110: Fix spawning withers
By: md_5 <git@md-5.net>
2018-07-23 11:58:43 +10:00
CraftBukkit/Spigot
f4d1912ded SPIGOT-4112: scoreboard display names are not nullable
By: md_5 <git@md-5.net>
2018-07-23 11:46:23 +10:00
CraftBukkit/Spigot
2e7d945edc Just throw section signs into components a la Mojang
By: md_5 <git@md-5.net>
2018-07-23 10:48:28 +10:00
CraftBukkit/Spigot
1ca1c1cbfd SPIGOT-4109: Wall skulls not dropping
By: md_5 <git@md-5.net>
2018-07-23 10:43:45 +10:00
CraftBukkit/Spigot
9633bcece9 SPIGOT-4106: Fish from buckets despawn
By: md_5 <git@md-5.net>
2018-07-23 10:01:46 +10:00
CraftBukkit/Spigot
d68bc14852 Always return captured tiles from chunks as well.
Missed in 4a691031e7

Fixes replacing tile entities in BlockPlaceEvent (or calling setBlockData on them)

By: md_5 <git@md-5.net>
2018-07-22 19:35:42 +10:00
CraftBukkit/Spigot
383a522c59 Fix Player.playNote
By: md_5 <git@md-5.net>
2018-07-22 14:40:48 +10:00
CraftBukkit/Spigot
1e014acb80 Update to Minecraft 1.13
By: md_5 <git@md-5.net>
2018-07-22 12:00:00 +10:00
CraftBukkit/Spigot
d9cf61f1a8 SPIGOT-4101: Turtle lightning strike causing crash
By: md_5 <git@md-5.net>
2018-07-21 14:55:07 +10:00
CraftBukkit/Spigot
5bc15c40d8 SPIGOT-4024: Improve interactions of Vanilla tab completion, and also reloads
By: md_5 <git@md-5.net>
2018-07-21 11:20:38 +10:00
CraftBukkit/Spigot
ee4832c2ce Fix cancelling new effect events
By: md_5 <git@md-5.net>
2018-07-21 10:13:45 +10:00
CraftBukkit/Spigot
599e710e04 SPIGOT-4099: Missing BlockFormEvent for concrete powder
By: md_5 <git@md-5.net>
2018-07-21 10:03:08 +10:00
CraftBukkit/Spigot
2a1945fae1 SPIGOT-4100: Ignore invalid item display names
By: md_5 <git@md-5.net>
2018-07-21 09:54:08 +10:00
CraftBukkit/Spigot
8eca53392b CraftBlock.toString shouldn't make legacy call
By: md_5 <git@md-5.net>
2018-07-20 16:10:48 +10:00
CraftBukkit/Spigot
15a21299da SPIGOT-840, SPIGOT-2522: [Draft] Add EntityPotionEffectChangeEvent
Discussion ongoing in PR #449

By: kaenganxt <kaenganxt@mc-anura.de>
2018-07-20 16:04:37 +10:00
CraftBukkit/Spigot
300a2a1daf SPIGOT-4064: Fix BlockPistonRetractEvent for regular pistons
By: md_5 <git@md-5.net>
2018-07-20 10:59:23 +10:00
CraftBukkit/Spigot
8ca7918c56 Fix bad old API call in CraftBlockState
By: md_5 <git@md-5.net>
2018-07-20 10:32:17 +10:00
CraftBukkit/Spigot
e5c63f2b0c Update EntityChangeBlockEvent to new BlockData API
By: md_5 <git@md-5.net>
2018-07-20 10:29:34 +10:00
CraftBukkit/Spigot
6826aaee8f SPIGOT-4074: Fix createBlockData succeeding on garbage
By: md_5 <git@md-5.net>
2018-07-20 10:20:15 +10:00
CraftBukkit/Spigot
3b128c5dbf SPIGOT-4050: Snow erasing block below it
By: md_5 <git@md-5.net>
2018-07-19 15:44:55 +10:00
CraftBukkit/Spigot
9f6ea503ec Fix issues converting certain chunks
By: md_5 <git@md-5.net>
2018-07-19 14:19:12 +10:00
CraftBukkit/Spigot
9f86013d8a SPIGOT-4047: Ignore non-existent potions
By: md_5 <git@md-5.net>
2018-07-19 11:34:19 +10:00
CraftBukkit/Spigot
1185891544 SPIGOT-4046: Fix selectors in tick functions
By: md_5 <git@md-5.net>
2018-07-19 10:58:31 +10:00
CraftBukkit/Spigot
d74d992961 SPIGOT-4044: Cannot load datapack functions on startup
By: md_5 <git@md-5.net>
2018-07-19 10:48:34 +10:00
CraftBukkit/Spigot
b565374633 SPIGOT-4048: Fish disappear when they cannot be picked up
By: md_5 <git@md-5.net>
2018-07-19 10:37:25 +10:00
CraftBukkit/Spigot
cda2741121 SPIGOT-4049: Books lose NBT data
By: md_5 <git@md-5.net>
2018-07-19 10:12:55 +10:00
CraftBukkit/Spigot
39de92187e Revert "SPIGOT-4035: Enforce case-sensitivity for chat format code matching."
Minecraft allows uppercase colour codes.

This reverts commit 844204b345.

By: md_5 <git@md-5.net>
2018-07-19 10:07:04 +10:00
CraftBukkit/Spigot
99c2788914 SPIGOT-4042: Fix emptying buckets onto slabs
By: md_5 <git@md-5.net>
2018-07-18 17:48:17 +10:00
CraftBukkit/Spigot
2f839ed6de SPIGOT-4041: Fix regressed item naming
By: md_5 <git@md-5.net>
2018-07-18 17:39:04 +10:00
CraftBukkit/Spigot
9440c6cd75 SPIGOT-4040: Further increase team related limits
By: md_5 <git@md-5.net>
2018-07-18 17:11:44 +10:00
CraftBukkit/Spigot
88909dc795 Fix Block.setType alone being treated as legacy
By: md_5 <git@md-5.net>
2018-07-18 16:59:41 +10:00
CraftBukkit/Spigot
5e42cbdb42 Delete Block.setData byte methods from API
By: md_5 <git@md-5.net>
2018-07-18 16:55:44 +10:00
CraftBukkit/Spigot
b926eff988 SPIGOT-4020: Fix DustOptions colouring
By: md_5 <git@md-5.net>
2018-07-18 16:40:31 +10:00
CraftBukkit/Spigot
88ee63f959 Fix changes that got lost late in development cycle
By: md_5 <git@md-5.net>
2018-07-18 14:13:20 +10:00
CraftBukkit/Spigot
f50cda3c51 SPIGOT-4028: Improve legacy ItemStack conversion
By: md_5 <git@md-5.net>
2018-07-18 14:01:15 +10:00
CraftBukkit/Spigot
6cfea0f387 Tweak display of command completions when we have none
By: md_5 <git@md-5.net>
2018-07-18 12:23:00 +10:00
CraftBukkit/Spigot
7ff10b3157 Fix missing PlayerResourcePackStatusEvent
By: md_5 <git@md-5.net>
2018-07-18 10:00:43 +10:00
CraftBukkit/Spigot
3cc15177f6 SPIGOT-4034: Fix missed diff affecting canceled InventoryClickEvent
By: md_5 <git@md-5.net>
2018-07-18 09:59:10 +10:00
CraftBukkit/Spigot
01e8982b04 SPIGOT-4037: Improve legacy BlockState.setData
By: md_5 <git@md-5.net>
2018-07-18 09:53:50 +10:00
CraftBukkit/Spigot
07fa7316e0 SPIGOT-4036: Handle regular/uncoloured shulker boxes
By: md_5 <git@md-5.net>
2018-07-18 09:45:27 +10:00
CraftBukkit/Spigot
199b4654cd Amend previous unit test to use JSON rather than toString for validation
By: md_5 <git@md-5.net>
2018-07-18 09:40:51 +10:00
CraftBukkit/Spigot
844204b345 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.

By: Hex <hex@hex.lc>
2018-07-17 16:42:30 -06:00
CraftBukkit/Spigot
e73592b7b5 SPIGOT-3998, MC-133373: Improve attributes
By: md_5 <git@md-5.net>
2018-07-17 21:11:52 +10:00
CraftBukkit/Spigot
be907fd21b SPIGOT-4030: Improve CraftItemStack.hasItemMeta
By: md_5 <git@md-5.net>
2018-07-17 17:13:55 +10:00
CraftBukkit/Spigot
ac0ac69ea5 SPIGOT-4031: Improve bounds checking in CraftInventoryView.
By: Hex <hex@hex.lc>
2018-07-16 22:47:47 -06:00
CraftBukkit/Spigot
11239259a0 SPIGOT-4026: Clicking on command error suggestion should return verbatim input
By: md_5 <git@md-5.net>
2018-07-17 06:49:40 +10:00
CraftBukkit/Spigot
dbebb4f89b SPIGOT-4022: Improve utility of Entity.getName for non-players
By: md_5 <git@md-5.net>
2018-07-17 06:36:08 +10:00
CraftBukkit/Spigot
c325d5a0f9 SPIGOT-4025: Fixed missed diff affecting PlayerLocaleChangeEvent
By: md_5 <git@md-5.net>
2018-07-17 06:21:43 +10:00
CraftBukkit/Spigot
55c801dcce Fix completion of multiple arguments in Bukkit commands
By: md_5 <git@md-5.net>
2018-07-16 21:03:46 +10:00
CraftBukkit/Spigot
e64f8938ce SPIGOT-4017: Increase Team related length limits
By: md_5 <git@md-5.net>
2018-07-16 19:15:26 +10:00
CraftBukkit/Spigot
8784091115 Command block names are not nullable
By: md_5 <git@md-5.net>
2018-07-16 16:20:46 +10:00
CraftBukkit/Spigot
a04c494980 Standardise empty string as null / not set
By: md_5 <git@md-5.net>
2018-07-16 16:20:26 +10:00
CraftBukkit/Spigot
9856b80c22 SPIGOT-4016: Fix clearing custom names
By: md_5 <git@md-5.net>
2018-07-16 14:39:01 +10:00
CraftBukkit/Spigot
ff8e4c9c8f Fix MapInitializeEvent firing every tick
By: md_5 <git@md-5.net>
2018-07-16 12:45:01 +10:00
CraftBukkit/Spigot
45bc3007b4 Add ignore-vanilla-permissions option to assist with disabling default commands
By: md_5 <git@md-5.net>
2018-07-16 12:06:06 +10:00
CraftBukkit/Spigot
c712031a0d CraftBanner also needs to use wool data
By: md_5 <git@md-5.net>
2018-07-16 10:37:56 +10:00
CraftBukkit/Spigot
5d2f9be56c SPIGOT-4015: Make CraftTeam tie into backing prefix/suffix
By: md_5 <git@md-5.net>
2018-07-16 10:20:53 +10:00
CraftBukkit/Spigot
c5cc779f03 SPIGOT-4008: Fix server-icon loading
By: md_5 <git@md-5.net>
2018-07-16 10:08:07 +10:00
CraftBukkit/Spigot
436da0769b SPIGOT-4010: Prefix / suffix compatibility should default to empty string
By: md_5 <git@md-5.net>
2018-07-16 09:09:47 +10:00
CraftBukkit/Spigot
cfe3572a0e SPIGOT-4011: Clear error for plugin misusing ChunkData
By: md_5 <git@md-5.net>
2018-07-16 09:01:23 +10:00
CraftBukkit/Spigot
d0932e640c SPIGOT-4006: ICE rather than SNOW forming in some biomes
By: md_5 <git@md-5.net>
2018-07-16 08:53:29 +10:00
CraftBukkit/Spigot
4ce8158350 Fish / Dolphin should be WaterMob, and WaterMob Creature
By: md_5 <git@md-5.net>
2018-07-16 08:51:34 +10:00
CraftBukkit/Spigot
e034ae75f7 SPIGOT-4004: Fix banner pattern colouring
By: md_5 <git@md-5.net>
2018-07-15 23:18:42 +10:00
CraftBukkit/Spigot
22abf2aab6 Validate world in CraftServer.createChunkData
By: md_5 <git@md-5.net>
2018-07-15 19:52:26 +10:00
CraftBukkit/Spigot
886827a6f4 SPIGOT-4003: Fix TropicalFish.getType
By: md_5 <git@md-5.net>
2018-07-15 18:52:21 +10:00
CraftBukkit/Spigot
4a0fd18b27 Add javadocs to new CraftBlockData utility methods.
By: Senmori <thesenmori@gmail.com>
2018-07-15 02:25:03 -04:00
CraftBukkit/Spigot
11cdaa50a3 Add EntityToggleSwimEvent and isSwimming / setSwimming API
By: md_5 <git@md-5.net>
2018-07-15 16:17:35 +10:00
CraftBukkit/Spigot
444ecb9903 SPIGOT-4002: Fix usage of default: statements in 1.13 plugins compiled w/ Eclipse
By: md_5 <git@md-5.net>
2018-07-15 15:00:35 +10:00
CraftBukkit/Spigot
7e0a66fdd5 Update to Minecraft 1.13-pre7
By: md_5 <git@md-5.net>
2018-07-15 10:00:00 +10:00
CraftBukkit/Spigot
d1e91a8adb Player metadata really should be keyed by UUID not name
By: md_5 <git@md-5.net>
2018-07-11 20:02:32 +10:00
CraftBukkit/Spigot
772c19a770 Add validation checks to CraftPlayer.teleport
By: md_5 <git@md-5.net>
2018-07-11 09:06:48 +10:00
CraftBukkit/Spigot
59793ae626 SPIGOT-3987: Preserve attributes when writing in books
By: md_5 <git@md-5.net>
2018-07-08 10:25:17 +10:00
CraftBukkit/Spigot
2458ceb0f8 SPIGOT-3976: Add some additional toStrings to CraftEntity classes
By: md_5 <git@md-5.net>
2018-06-27 20:27:52 +10:00
CraftBukkit/Spigot
0e8e610b0e SPIGOT-3619: Improve CraftScheduler#isCurrentlyRunning
* No longer returns opposite of what it should
* Works for sync tasks as well

By: blablubbabc <lukas@wirsindwir.de>
2018-06-17 15:04:25 +02:00
CraftBukkit/Spigot
2fff732946 Remove outdated build delay.
By: md_5 <git@md-5.net>
2018-06-17 13:02:54 +10:00
CraftBukkit/Spigot
548b662825 SPIGOT-3945: Remove RepairCost tag when cost is 0
By: blablubbabc <lukas@wirsindwir.de>
2018-05-23 16:17:41 +02:00
CraftBukkit/Spigot
bab7fe16a5 Implement Arrow tile methods
By: Parker Hawke <hawkeboyz2@hotmail.com>
2018-05-01 15:27:59 -04:00
CraftBukkit/Spigot
a002698e90 SPIGOT-3923: Defer PlayerInventory ItemStack change to 1.13
By: md_5 <git@md-5.net>
2018-05-05 08:22:40 +10:00
CraftBukkit/Spigot
1663f776d0 SPIGOT-3920: Make player inventories consistently return null for empty stacks
By: md_5 <git@md-5.net>
2018-05-04 17:09:46 +10:00
CraftBukkit/Spigot
130bf49619 Netty 4.1.24.Final
By: md_5 <git@md-5.net>
2018-04-30 17:41:47 +10:00
CraftBukkit/Spigot
8e14ee2168 SPIGOT-3908: Fix signed books incorrect defaulting to unresolved
By: md_5 <git@md-5.net>
2018-04-19 08:03:39 +10:00
CraftBukkit/Spigot
79e06952d3 SPIGOT-3904: Consolidate book handling code
By: md_5 <git@md-5.net>
2018-04-16 19:19:38 +10:00
CraftBukkit/Spigot
e6acb81bea SPIGOT-3899: Only load advancements from primary world
By: md_5 <git@md-5.net>
2018-04-15 10:21:11 +10:00
CraftBukkit/Spigot
d54b9c77e9 SPIGOT-3886: Plugin exceptions in map rendering should not crash server
By: md_5 <git@md-5.net>
2018-04-08 20:03:12 +10:00
CraftBukkit/Spigot
10a070d7a2 SPIGOT-3883: Better reloading of pending unload chunks
By: md_5 <git@md-5.net>
2018-04-04 16:12:32 +10:00
CraftBukkit/Spigot
f4e35ccf91 SPIGOT-3882: Extra call site for VehicleEntityCollisionEvent
By: md_5 <git@md-5.net>
2018-04-02 12:55:28 +10:00
CraftBukkit/Spigot
5c81a06a72 SPIGOT-3879: Make end->overworld spawning more consistent with vanilla
By: md_5 <git@md-5.net>
2018-03-30 19:16:53 +11:00
CraftBukkit/Spigot
b8065d1022 SPIGOT-3875: Book selectors not resolving
By: md_5 <git@md-5.net>
2018-03-29 20:34:46 +11:00
CraftBukkit/Spigot
39a4128d9d Remove magic values in scheduler package
By: Senmori <thesenmori@gmail.com>
2018-03-07 13:41:24 -05:00
CraftBukkit/Spigot
26e73eb61e SPIGOT-3869: More resurrect fixes
By: md_5 <git@md-5.net>
2018-03-24 16:13:17 +11:00
CraftBukkit/Spigot
72f49ebfa1 SPIGOT-3869: Error when forcing EntityResurrectEvent
By: md_5 <git@md-5.net>
2018-03-23 19:40:16 +11:00
CraftBukkit/Spigot
ade15e1627 SPIGOT-3864: Protect against suffocation on world change
By: md_5 <git@md-5.net>
2018-03-22 21:05:34 +11:00
CraftBukkit/Spigot
6c0f3574b1 SPIGOT-3845: Fix spawnRadius on respawn
Thanks senmori for the investigation in PR #431

By: md_5 <git@md-5.net>
2018-03-07 21:43:33 +11:00
CraftBukkit/Spigot
d769b80901 Add setTarget and getTarget to Slime.
By: Senmori <thesenmori@gmail.com>
2018-02-26 20:52:09 -05:00
CraftBukkit/Spigot
ec3128505e Add missing WEARABLE EnchantmentTarget
By: md_5 <git@md-5.net>
2018-02-19 20:48:27 +11:00
CraftBukkit/Spigot
246e624213 SPIGOT-3829: Apply some speed limits to all entities
By: md_5 <git@md-5.net>
2018-02-19 09:52:00 +11:00
CraftBukkit/Spigot
17078ba66a SPIGOT-3824: Return the direct vehicle of an entity, not the root vehicle
By: BlackHole <black-hole@live.com>
2018-02-16 23:14:36 +01:00
CraftBukkit/Spigot
c3bf431172 Fix incorrect unit test name
By: md_5 <git@md-5.net>
2018-02-16 10:33:36 +11:00
CraftBukkit/Spigot
5de19851fb Fix bad usage of setter in previous commit
By: md_5 <git@md-5.net>
2018-02-12 10:38:09 +11:00
CraftBukkit/Spigot
9355bb0ed9 Expand Structure Block API
By: Senmori <thesenmori@gmail.com>
2018-02-12 10:29:51 +11:00
CraftBukkit/Spigot
4377f7fede SPIGOT-3813: Player.setHealth not reliable in conjunction with attribute API
By: md_5 <git@md-5.net>
2018-02-12 08:59:32 +11:00
CraftBukkit/Spigot
4eeeca56d9 SPIGOT-3812: Workbench from Bukkit.createInventory does not update
By: md_5 <git@md-5.net>
2018-02-12 08:43:11 +11:00
CraftBukkit/Spigot
e7c0344002 SPIGOT-3807: Improve getEyeHeight
By: md_5 <git@md-5.net>
2018-02-10 12:17:00 +11:00
CraftBukkit/Spigot
920e1b53d9 SPIGOT-3805: Minecart does not teleport through Nether Portal
By: md_5 <git@md-5.net>
2018-02-09 18:02:53 +11:00
CraftBukkit/Spigot
225014455c Netty 4.1.21.Final
By: md_5 <git@md-5.net>
2018-02-07 18:23:26 +11:00
CraftBukkit/Spigot
d94545b32a Update README.md
By: Senmori <thesenmori@gmail.com>
2018-02-07 18:15:16 +11:00
CraftBukkit/Spigot
7453a5a9eb Expand EnderSignal API
By: Senmori <thesenmori@gmail.com>
2018-02-03 17:48:41 +11:00
CraftBukkit/Spigot
a626609da1 SPIGOT-2911: Implement AbstractHorseInventory
By: md_5 <git@md-5.net>
2018-01-28 09:55:16 +11:00
CraftBukkit/Spigot
c9693edfb0 SPIGOT-3784: Reset horse chests after event
By: md_5 <git@md-5.net>
2018-01-28 09:44:16 +11:00
CraftBukkit/Spigot
6f9c0bf3cb Expand CreatureSpawner API
By: Senmori <thesenmori@gmail.com>
2018-01-24 17:18:25 +11:00
CraftBukkit/Spigot
bf003c508a SPIGOT-3775: ghost player list entry if kicked on join
By: md_5 <git@md-5.net>
2018-01-23 22:49:26 +11:00
CraftBukkit/Spigot
4cb801b840 Unit tests for Material.isItem
By: md_5 <git@md-5.net>
2018-01-16 09:57:47 +11:00
CraftBukkit/Spigot
b7e9ff9023 SPIGOT-3751: BossBar flag methods reversed
By: md_5 <git@md-5.net>
2018-01-10 12:40:38 +11:00
CraftBukkit/Spigot
7e3f873771 Fix Block PistonMoveReaction
By: md_5 <git@md-5.net>
2018-01-10 10:47:26 +11:00
CraftBukkit/Spigot
a9afd0a670 Send complete metadata update to joining players
By: md_5 <git@md-5.net>
2018-01-08 19:48:32 +11:00
CraftBukkit/Spigot
05db940713 Fix opening shulker inventories
By: md_5 <git@md-5.net>
2018-01-08 16:07:18 +11:00
CraftBukkit/Spigot
c3ccbeb17d CauldronLevelChangeEvent does not use new level
By: md_5 <git@md-5.net>
2018-01-08 13:42:41 +11:00
CraftBukkit/Spigot
ce71ef0f33 Update Netty / MySQL / SQLite
By: md_5 <git@md-5.net>
2018-01-07 22:50:36 +11:00
CraftBukkit/Spigot
30fe3b362c Remove a bunch of spurious _INVALID_ methods.
By: md_5 <git@md-5.net>
2018-01-05 13:04:18 +11:00
CraftBukkit/Spigot
b4f6c0ea4a SPIGOT-3735: Missing call to BlockFadeEvent
By: md_5 <git@md-5.net>
2018-01-04 08:57:01 +11:00
CraftBukkit/Spigot
2f48bbf4cd print -> println in world start region preparation
By: md_5 <git@md-5.net>
2018-01-02 20:24:33 +11:00
CraftBukkit/Spigot
3d805cd0cb SPIGOT-3729: Add AreaEffectClouds to tracker
By: md_5 <git@md-5.net>
2018-01-02 09:35:58 +11:00
CraftBukkit/Spigot
39edf63dc2 SPIGOT-3724: Make CraftMetaSkull work reliably for player skulls
By: md_5 <git@md-5.net>
2018-01-01 12:15:43 +11:00
CraftBukkit/Spigot
9a972c6f30 SPIGOT-355: API for Villager careers
By: Senmori <thesenmori@gmail.com>
2017-12-31 21:21:03 +11:00
CraftBukkit/Spigot
7fc559ec56 Send title timings before sending titles
By: md_5 <git@md-5.net>
2017-12-30 13:39:54 +11:00
CraftBukkit/Spigot
a024f4c8d2 Remove unused private static final variable
By: md_5 <git@md-5.net>
2017-12-28 14:47:57 +11:00
CraftBukkit/Spigot
8560cbd06a SPIGOT-3717: Fix some RCON commands
By: md_5 <git@md-5.net>
2017-12-26 07:28:56 +11:00
CraftBukkit/Spigot
02b4af5356 SPIGOT-3696: Clearing custom name of some blocks does not work
By: blablubbabc <lukas@wirsindwir.de>
2017-12-16 03:43:04 +01:00
CraftBukkit/Spigot
f6d4eae5c3 Allow unloading all worlds except the main one
By: md_5 <git@md-5.net>
2017-12-16 10:19:00 +11:00
CraftBukkit/Spigot
dfa7c9eedb SPIGOT-2892: Fix some clone implementations and add unit test
By: md_5 <git@md-5.net>
2017-12-16 10:18:34 +11:00
CraftBukkit/Spigot
1cf4dbb721 Netty 4.1.18.Final
By: md_5 <git@md-5.net>
2017-12-12 20:54:32 +11:00
CraftBukkit/Spigot
b83b867dbb SPIGOT-3686: Move entity event call earlier in method
By: md_5 <git@md-5.net>
2017-12-09 17:32:19 +11:00
CraftBukkit/Spigot
9a2cfd9957 Add ChunkDataTest from PR #157
By: Antony Riley <antony@cyberiantiger.org>
2017-12-08 19:37:15 +11:00
CraftBukkit/Spigot
1a8d9ecfc8 SPIGOT-3684: Team#setColor does not trigger scoreboard update
By: md_5 <git@md-5.net>
2017-12-08 09:31:20 +11:00
CraftBukkit/Spigot
41e68bf772 Fix missing event call for BlockRedstoneLamp
By: md_5 <git@md-5.net>
2017-12-07 10:59:30 +11:00
CraftBukkit/Spigot
43c03ad8af SPIGOT-3664: Add Material getter to ChunkSnapshot
By: md_5 <git@md-5.net>
2017-12-07 10:25:16 +11:00
CraftBukkit/Spigot
69777fb8dc SPIGOT-3663: Add plugin parameter to hidePlayer+showPlayer.
By: Chris Cowan <agentme49@gmail.com>
2017-12-02 16:58:41 -08:00
CraftBukkit/Spigot
939f54a01e SPIGOT-3674: Take into account max stack size for PlayerDropItemEvent
By: md_5 <git@md-5.net>
2017-12-03 08:55:19 +11:00
CraftBukkit/Spigot
48f3ad297b SPIGOT-3668: Missing EntityToggleGlideEvent in creative mode
By: md_5 <git@md-5.net>
2017-11-28 09:33:40 +11:00
CraftBukkit/Spigot
afb2211b12 Fix some formatting in CraftEventFactory
By: md_5 <git@md-5.net>
2017-11-22 17:05:59 +11:00
CraftBukkit/Spigot
1256b90fd8 SPIGOT-1505: PlayerItemMendEvent
By: Senmori <thesenmori@gmail.com>
2017-11-21 10:17:31 +11:00
CraftBukkit/Spigot
587b05b37b BUILDTOOLS-362: Downgrade surefire plugin to fix issues in Docker
By: md_5 <git@md-5.net>
2017-11-20 11:31:02 +11:00
CraftBukkit/Spigot
710a2c2781 SQLite 3.21.0
https://www.sqlite.org/releaselog/3_21_0.html

By: md_5 <git@md-5.net>
2017-11-18 17:12:20 +11:00
CraftBukkit/Spigot
cd791fe451 SPIGOT-690: Try to make force opened enchant tables work a bit better
By: md_5 <git@md-5.net>
2017-11-18 10:48:16 +11:00
CraftBukkit/Spigot
a8a168aba4 Add setSpawnLocation(Location)
By: Cory Redmond <ace@ac3-servers.eu>
2016-07-11 02:20:23 +01:00
CraftBukkit/Spigot
82913cc71b Don't special case 'invalid' usernames for UUIDs.
By: md_5 <git@md-5.net>
2014-04-20 18:58:00 +10:00
CraftBukkit/Spigot
2a6be42be0 Use generics in health scaling methods
By: md_5 <git@md-5.net>
2017-11-17 11:08:26 +11:00
CraftBukkit/Spigot
be94470a9f Fix mismatched setArrowCount method
By: md_5 <git@md-5.net>
2017-11-17 11:03:30 +11:00
CraftBukkit/Spigot
70c2a1b52a CraftMetaFirework: AssertionError -> IllegalArgumentException
By: md_5 <git@md-5.net>
2017-11-17 10:15:14 +11:00
CraftBukkit/Spigot
c0ef3e197d Fix dispensing bone meal not having the correct data value
By: Thinkofdeath <thethinkofdeath@gmail.com>
2014-02-06 21:59:20 +00:00
CraftBukkit/Spigot
e43121c658 Move animal-sniffer to development profile.
By: md_5 <git@md-5.net>
2017-11-17 09:49:25 +11:00
CraftBukkit/Spigot
162a64ac95 SPIGOT-1891: Player.playNote should use RECORDS category
This is what NoteBlock.play etc uses.

By: md_5 <git@md-5.net>
2017-11-14 09:57:46 +11:00
CraftBukkit/Spigot
660b7ed1b6 SPIGOT-3649: Backwards check in playEffect
By: md_5 <git@md-5.net>
2017-11-13 08:47:04 +11:00
CraftBukkit/Spigot
52f9ea03cd Netty 4.1.17.Final
By: md_5 <git@md-5.net>
2017-11-11 08:12:42 +11:00
CraftBukkit/Spigot
648dd6e32f Add Score.isScoreSet()Z API.
By: md_5 <git@md-5.net>
2017-11-10 10:50:58 +11:00
CraftBukkit/Spigot
b6ce01dac8 Catch all exceptions from plugin conversation handling
By: md_5 <git@md-5.net>
2017-11-10 10:44:27 +11:00
CraftBukkit/Spigot
d87e31cf51 SPIGOT-3644: Fix missed yaw callsite update
By: md_5 <git@md-5.net>
2017-11-09 13:07:25 +11:00
CraftBukkit/Spigot
4a0e197bb8 Implement max fuse tick & explosion radius methods to Creeper
By: Parker Hawke <hawkeboyz2@hotmail.com>
2017-11-07 07:38:58 -05:00
CraftBukkit/Spigot
3a788673df SPIGOT-3638: Don't process async chat on shutting down server
By: md_5 <git@md-5.net>
2017-11-08 10:36:11 +11:00
CraftBukkit/Spigot
8e873a6220 SPIGOT-3629: Greatly expand entity effect API
By: md_5 <git@md-5.net>
2017-11-07 19:32:24 +11:00
CraftBukkit/Spigot
f7d75ce15b SPIGOT-3637: Adjust yaw yet again
By: md_5 <git@md-5.net>
2017-11-07 17:21:38 +11:00
CraftBukkit/Spigot
74a1fbce1f Database drivers should be runtime depends
By: md_5 <git@md-5.net>
2017-10-29 09:31:22 +11:00
CraftBukkit/Spigot
cb8eef8e5b Update SQLite to 3.20.1
By: md_5 <git@md-5.net>
2017-10-28 16:36:03 +11:00
CraftBukkit/Spigot
5f46670617 SPIGOT-3622: Issue in some combinations of spawn protection
By: md_5 <git@md-5.net>
2017-10-28 16:00:15 +11:00
CraftBukkit/Spigot
e3d53900c0 SPIGOT-3613: Success count not reset for exceptions.
By: md_5 <git@md-5.net>
2017-10-17 21:08:43 +11:00
CraftBukkit/Spigot
62c185e909 Fix bad diff
By: md_5 <git@md-5.net>
2017-10-13 21:47:55 +11:00
CraftBukkit/Spigot
30cdbb75b6 SPIGOT-3607: Bad yaw from armorstands treated as living
By: md_5 <git@md-5.net>
2017-10-13 21:36:32 +11:00
CraftBukkit/Spigot
009d5ad78b SPIGOT-3605: Spawn eggs not saving internal data
By: md_5 <git@md-5.net>
2017-10-09 18:32:45 +11:00
CraftBukkit/Spigot
01186b718b SPIGOT-3603: Fix client timing out in scenarios where it sends no packets.
By: md_5 <git@md-5.net>
2017-10-09 18:23:58 +11:00
CraftBukkit/Spigot
b147b1834f Fix zombie professions
By: md_5 <git@md-5.net>
2017-10-09 18:18:11 +11:00
CraftBukkit/Spigot
dd5c01cf48 SPIGOT-3598: Persist all beacon effects
Regardless of if they are possible in Vanilla by default.

By: blablubbabc <lukas@wirsindwir.de>
2017-10-07 00:27:39 +02:00
CraftBukkit/Spigot
ec331ba7fd Temporarily shift L7 timeout value to L4 value of 30s.
By: md_5 <git@md-5.net>
2017-10-06 20:49:22 +11:00
CraftBukkit/Spigot
70fc6df507 Supress harmless teleport error
By: md_5 <git@md-5.net>
2017-10-01 17:29:03 +11:00
CraftBukkit/Spigot
28399d699f SPIGOT-3587: Set head rotation when spawning entity
By: md_5 <git@md-5.net>
2017-10-01 11:01:49 +11:00
CraftBukkit/Spigot
32a52470be SPIGOT-3565: Head yaw is "more accurate" for living entities
By: md_5 <git@md-5.net>
2017-09-28 16:23:14 +10:00
CraftBukkit/Spigot
6f9b17e08b Fix active async tasks not cancelled by CraftScheduler#cancelTasks(Plugin)
By: blablubbabc <lukas@wirsindwir.de>
2017-08-29 13:19:14 +02:00
CraftBukkit/Spigot
fee051b1a3 SPIGOT-3571: Packet handling must be synchronous
By: md_5 <git@md-5.net>
2017-09-19 08:00:56 +10:00
CraftBukkit/Spigot
5e3ba4ff73 Update to Minecraft 1.12.2
By: md_5 <git@md-5.net>
2017-09-18 20:00:00 +10:00
CraftBukkit/Spigot
65ab757f26 Remove outdated build delay.
By: md_5 <git@md-5.net>
2017-09-14 21:39:04 +10:00
CraftBukkit/Spigot
a939c0b974 SPIGOT-3561: Fix selectors in SuccessCount
By: md_5 <git@md-5.net>
2017-09-09 12:51:18 +10:00
CraftBukkit/Spigot
e594b59798 SPIGOT-3553: Add OfflinePlayer based methods to SkullMeta
By: md_5 <git@md-5.net>
2017-09-06 16:14:21 +10:00
CraftBukkit/Spigot
d68b0a0f44 SPIGOT-3551: Recursively unrestrict advancements
By: md_5 <git@md-5.net>
2017-09-06 16:07:41 +10:00
CraftBukkit/Spigot
587e93b11a Add BukkitTask#isCancelled
By: blablubbabc <lukas@wirsindwir.de>
2017-08-29 13:46:18 +02:00
CraftBukkit/Spigot
3fec810197 Upgrade to Netty 4.1.15.Final
By: md_5 <git@md-5.net>
2017-08-31 07:50:10 +10:00
CraftBukkit/Spigot
c1ec43fdd8 SPIGOT-1107: Shift clicking and delegation for custom inventories
PR #398

By: Jannyboy11 <jannyboy11@gmail.com>
2017-08-18 18:52:09 +10:00
CraftBukkit/Spigot
3c5675eaa3 SPIGOT-3513: Correctly set size for freshly spawned Minecarts
By: md_5 <git@md-5.net>
2017-08-16 20:47:23 +10:00
CraftBukkit/Spigot
0d13d3970d Fix a few chunk saving race conditions
* ChunkRegionLoader.c() picks an entry in the save queue, removes that entry from the save queue and then actually writes the entry to the region file. So, between the last two steps, the entry is neither in the save queue nor is it in the region file; if somebody loads the chunk again (with ChunkRegionLoader.loadChunk()) in that gap, they'll get old data. I've delayed the removal until the saving is done.
* ChunkRegionLoader.c() also records the coords of the chunks it's currently saving in this.c. ChunkRegionLoader.a(ChunkCoordIntPair, NBTTagCompound), which adds an entry to the save queue, stops the addition of an entry if its coords are in this.c. Now, I'm guessing that Mojang's intended purpose for this mechanism was to prevent multiple parallel writes for the same chunk. The "stops the addition" bit above should then be something like "block until it's no longer in c"; in fact, the vanilla implementation is "discard the new state of the chunk". I've taken the easy route to solving this, by just making ChunkRegionLoader.c() synchronized (since, in normal use, only the chunk saving thread is in here).

By: Geoff Crossland <gcrossland+bukkit@gmail.com>
2017-08-11 17:27:33 +10:00
CraftBukkit/Spigot
fa26f3f501 SPIGOT-3497: Cancelled EntityPortalEvent leads to incorrect behaviour
By: md_5 <git@md-5.net>
2017-08-08 20:35:29 +10:00
CraftBukkit/Spigot
fafbd8532d SPIGOT-3496, MC-92282: Set mob type of mob-spawner reverts after single spawn wave.
Fixes CreatureSpawner.setSpawnedType and a vanilla issue related to
setting the mob type of a mob-spawner via spawn_egg.

By: Lukas Hennig <lukas@wirsindwir.de>
2017-08-08 04:46:59 +02:00
CraftBukkit/Spigot
1ca95d2193 Fix CraftBanner initialisation.
By: Lukas Hennig <lukas@wirsindwir.de>
2017-08-07 03:30:41 +02:00
CraftBukkit/Spigot
89b3d6e8a6 SPIGOT-3491: Add option to bypass permissions in advancements
By: md_5 <git@md-5.net>
2017-08-06 09:07:24 +10:00
CraftBukkit/Spigot
2bbb93f3ea Update misc depends
By: md_5 <git@md-5.net>
2017-08-05 14:48:14 +10:00
CraftBukkit/Spigot
8844b9ade9 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.

By: Lukas Hennig <lukas@wirsindwir.de>
2017-08-05 14:37:19 +10:00
CraftBukkit/Spigot
0f46337664 SPIGOT-3492: Ensure player functionality uses their specific scoreboard
By: md_5 <git@md-5.net>
2017-08-05 09:15:52 +10:00
CraftBukkit/Spigot
ad7106f650 Add build delay back
By: md_5 <git@md-5.net>
2017-08-04 16:09:17 +10:00
CraftBukkit/Spigot
0cda4f9617 Update to Minecraft 1.12.1
By: md_5 <git@md-5.net>
2017-08-03 23:00:00 +10:00
CraftBukkit/Spigot
4ba3003a60 Remove outdated build delay.
By: md_5 <git@md-5.net>
2017-08-03 21:10:43 +10:00
CraftBukkit/Spigot
19850b49b5 SPIGOT-3486: Missing check in redstone placement
By: md_5 <git@md-5.net>
2017-08-03 08:31:29 +10:00
CraftBukkit/Spigot
cdeade672d SPIGOT-3485: Launch shulker bullets as projectiles
By: md_5 <git@md-5.net>
2017-08-03 08:23:27 +10:00
CraftBukkit/Spigot
6f93c6c962 SPIGOT-3487: Llama doesn't drop chest
By: md_5 <git@md-5.net>
2017-08-03 08:21:05 +10:00