13
0
geforkt von Mirrors/Paper
Commit graph

2973 Commits

Autor SHA1 Nachricht Datum
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
CraftBukkit/Spigot
ead7545014 SPIGOT-3482: ProjectileHitEvent for shulker bullet and llama spit
By: md_5 <git@md-5.net>
2017-08-02 18:05:28 +10:00
CraftBukkit/Spigot
f313e2f969 SPIGOT-3456: Expand calling of ServerCommandEvent
Existing usage preserved by checking sender.

By: md_5 <git@md-5.net>
2017-07-28 18:10:38 +10:00
CraftBukkit/Spigot
75cdf75d3d SPIGOT-3403: Add an EntityPickupItemEvent
By: md_5 <git@md-5.net>
2017-07-28 17:47:59 +10:00
CraftBukkit/Spigot
4ed8997ca1 SPIGOT-3463: Spurious item drops from event
By: md_5 <git@md-5.net>
2017-07-28 17:23:39 +10:00
CraftBukkit/Spigot
01bccda243 Implement BroadcastMessageEvent
By: BillyGalbreath <Blake.Galbreath@GMail.com>
2017-07-16 18:45:08 -05:00
CraftBukkit/Spigot
aba05b661c SPIGOT-3461: Standardise plugin load timing
By: md_5 <git@md-5.net>
2017-07-26 13:20:29 +10:00
CraftBukkit/Spigot
6d76725098 Correct scheduler behaviour with intervals of >= Integer.MAX_VALUE (circa 3 years).
By: md_5 <git@md-5.net>
2017-07-25 15:36:44 +10:00
CraftBukkit/Spigot
f4e233550c SPIGOT-3432: Add playNote support for new sounds
By: md_5 <git@md-5.net>
2017-07-24 17:41:08 +10:00
CraftBukkit/Spigot
cdcb11b8ae SPIGOT-3440: Non player entities should not make new portals
By: md_5 <git@md-5.net>
2017-07-22 16:40:10 +10:00
CraftBukkit/Spigot
8bafc76ff2 SPIGOT-3433: Improve AreaEffectCloud#getSource
By: md_5 <git@md-5.net>
2017-07-22 09:51:22 +10:00
CraftBukkit/Spigot
b4a099c163 SPIGOT-3428: Recover from invalid firework data
By: md_5 <git@md-5.net>
2017-07-19 09:56:35 +10:00
CraftBukkit/Spigot
29ee48fe27 Update Eclipse compiler.
By: md_5 <git@md-5.net>
2017-07-17 09:56:07 +10:00
CraftBukkit/Spigot
e2d75dccb4 Fix memory leak in PlayerList
By: md_5 <git@md-5.net>
2017-07-17 09:55:47 +10:00
CraftBukkit/Spigot
0d8abf61e3 SPIGOT-3418: Packaging error causing wrong netty version to be used
By: md_5 <git@md-5.net>
2017-07-16 11:45:27 +10:00
CraftBukkit/Spigot
16a95139f7 SPIGOT-3425: Correct slot type calculation
By: md_5 <git@md-5.net>
2017-07-16 11:03:19 +10:00
CraftBukkit/Spigot
8f5c16fce3 SPIGOT-3423: Don't treat technical piston block as BlockStateMeta
By: md_5 <git@md-5.net>
2017-07-16 10:48:21 +10:00
CraftBukkit/Spigot
7145fd4941 SPIGOT-3417: Event for shearing snowman
By: md_5 <git@md-5.net>
2017-07-15 09:53:22 +10:00
CraftBukkit/Spigot
e6c3102b03 SPIGOT-3416: Cap team prefix / suffix at correct value of 16
By: md_5 <git@md-5.net>
2017-07-13 12:42:45 +10:00
CraftBukkit/Spigot
bb0a0c3231 SPIGOT-3409: Improve performance of registering stupid amounts of permissions in plugin.yml
By: md_5 <git@md-5.net>
2017-07-10 21:05:47 +10:00
CraftBukkit/Spigot
e626522be7 SPIGOT-3407: Set damager for evoker fangs
By: md_5 <git@md-5.net>
2017-07-08 22:40:54 +10:00
CraftBukkit/Spigot
0353512d03 Update to Netty 4.1.13.Final.
By: md_5 <git@md-5.net>
2017-07-07 15:11:57 +10:00
CraftBukkit/Spigot
b7f6ba2171 Increase expiration time to two weeks.
By: md_5 <git@md-5.net>
2017-07-04 20:52:11 +10:00
CraftBukkit/Spigot
faa9a96c90 SPIGOT-3387: Prevent null enchantments in ItemMeta
By: BlackHole <black-hole@live.com>
2017-06-28 18:37:22 +02:00
CraftBukkit/Spigot
a7130c67fd SPIGOT-3382: Ensure players can pickup stuff
By: md_5 <git@md-5.net>
2017-06-26 11:21:38 +10:00
CraftBukkit/Spigot
13bcc894ec SPIGOT-3377: Fix subspace bubble advancement
By: md_5 <git@md-5.net>
2017-06-26 10:16:54 +10:00
CraftBukkit/Spigot
1396c4c1ec SPIGOT-3381: Save older serialized enchants
By: md_5 <git@md-5.net>
2017-06-26 09:49:28 +10:00
CraftBukkit/Spigot
71404da149 SPIGOT-3379: Generalise canPickupItems to other entities.
By: md_5 <git@md-5.net>
2017-06-26 08:34:52 +10:00
CraftBukkit/Spigot
d62c91e3a6 SPIGOT-3376: Fix nested functions
By: md_5 <git@md-5.net>
2017-06-26 08:27:25 +10:00
CraftBukkit/Spigot
4d6887228e SPIGOT-3373: Fix /execute in gameloop functions
By: md_5 <git@md-5.net>
2017-06-25 09:46:19 +10:00
CraftBukkit/Spigot
622d0477c5 SPIGOT-3324: Improve tameable damage handling
By: md_5 <git@md-5.net>
2017-06-24 10:01:46 +10:00
CraftBukkit/Spigot
d71a1a4036 SPIGOT-3368: Allow anvil level cost to be overwritten by properties
By: md_5 <git@md-5.net>
2017-06-23 20:35:17 +10:00
CraftBukkit/Spigot
c2453f20d4 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.

By: Jeremy Wood <farachan@gmail.com>
2017-06-14 09:17:14 -04:00
CraftBukkit/Spigot
d3b6e87d27 SPIGOT-3364: Correct EntityResurrectEvent
By: md_5 <git@md-5.net>
2017-06-23 12:47:29 +10:00
CraftBukkit/Spigot
e97c71d131 Treat Vanilla commands as Bukkit Commands
By: md_5 <git@md-5.net>
2017-06-21 19:14:51 +10:00
CraftBukkit/Spigot
ff815b0065 Fix nether world border center not adjusting
By: md_5 <git@md-5.net>
2017-06-18 19:23:33 +10:00
CraftBukkit/Spigot
7b0417e439 SPIGOT-3351: Replace bundled netty with 4.1.12.Final
By: md_5 <git@md-5.net>
2017-06-18 18:01:31 +10:00
CraftBukkit/Spigot
50ba730c54 Increase expire time to 7 days
By: md_5 <git@md-5.net>
2017-06-17 17:45:09 +10:00
CraftBukkit/Spigot
11f9d4e49b SPIGOT-3329: Allow per world loot tables
By: md_5 <git@md-5.net>
2017-06-15 20:34:19 +10:00
CraftBukkit/Spigot
0fab9a4f3a SPIGOT-3342: Fix invalid usage of null in InventoryWrapper
By: md_5 <git@md-5.net>
2017-06-15 20:25:06 +10:00
CraftBukkit/Spigot
eb7eb4ba47 SPIGOT-3337: Use special data value to indicate multiple recipe choices
By: md_5 <git@md-5.net>
2017-06-15 07:23:08 +10:00
CraftBukkit/Spigot
3770ac47cf Fix detection of missing or invalid tile entities for End portals and gateways
By: Jacob Martin <jjm_223@hotmail.com>
2017-06-12 12:41:18 -05:00
CraftBukkit/Spigot
ba73b2a397 Add PistonMoveReaction getters for Entity
By: md_5 <git@md-5.net>
2017-06-12 19:23:24 +10:00
CraftBukkit/Spigot
df475be109 SPIGOT-3331: New map colours don't display
By: md_5 <git@md-5.net>
2017-06-12 19:16:30 +10:00
CraftBukkit/Spigot
1121a78705 SPIGOT-3328: EntityTameEvent for Parrots
By: md_5 <git@md-5.net>
2017-06-12 07:27:34 +10:00
CraftBukkit/Spigot
e422dbe810 SPIGOT-3324: Best effort fix for shoulder Parrots + cancelled damage event
By: md_5 <git@md-5.net>
2017-06-11 12:20:18 +10:00
CraftBukkit/Spigot
731f084c5b SPIGOT-3320: Apply tile entity fixer to more types
By: md_5 <git@md-5.net>
2017-06-11 08:32:29 +10:00
CraftBukkit/Spigot
c354c54394 SPIGOT-3304: Respect duration from Vanilla /weather
By: md_5 <git@md-5.net>
2017-06-09 16:17:08 +10:00
CraftBukkit/Spigot
47947b0f3b SPIGOT-3303: Warn when attempting to grant non existent recipe
By: md_5 <git@md-5.net>
2017-06-09 16:13:35 +10:00
CraftBukkit/Spigot
f1d918e0ec SPIGOT-3302: Armor stands not dropping armor
By: md_5 <git@md-5.net>
2017-06-09 15:51:56 +10:00
CraftBukkit/Spigot
ea595a5dcf Update to Minecraft 1.12
By: md_5 <git@md-5.net>
2017-06-08 18:00:00 +10:00
CraftBukkit/Spigot
7b45ff54ad Prevent NPE when setting tempt target to null
By: chickeneer <emcchickeneer@gmail.com>
2017-06-03 00:44:10 -05:00
CraftBukkit/Spigot
f25ad2b556 Add proper TeleportCause for /teleport
By: md_5 <git@md-5.net>
2017-06-04 08:39:36 +10:00
CraftBukkit/Spigot
d67c53a34d SPIGOT-3290: /teleport command overrides player rotation
By: md_5 <git@md-5.net>
2017-06-04 08:34:52 +10:00
CraftBukkit/Spigot
1bcf144211 SPIGOT-3286: Call BlockFormEvent for Concrete Powder -> Concrete
By: md_5 <git@md-5.net>
2017-06-03 17:39:03 +10:00
CraftBukkit/Spigot
da806eea9c SPIGOT-3283: Don't allow plugin induced infinite velocity / position
By: md_5 <git@md-5.net>
2017-06-02 18:44:37 +10:00
CraftBukkit/Spigot
23a6a85a95 SPIGOT-3284: Allow TNTPrimed#getSource to return invalid entities
Eg dead players.

By: md_5 <git@md-5.net>
2017-06-02 18:28:30 +10:00
CraftBukkit/Spigot
ea6ca4328a Update to Minecraft 1.12-pre6
By: md_5 <git@md-5.net>
2017-05-30 21:25:59 +10:00
CraftBukkit/Spigot
f69eb04edc SPIGOT-3277: Fix Entity.eject()
By: BlackHole <black-hole@live.com>
2017-05-28 22:27:57 +02:00
CraftBukkit/Spigot
d6fc1359a2 Add support for preventing block drops in BreakEvent
By: Scetra <contact@scetra.me>
2017-05-27 21:16:13 -04:00
CraftBukkit/Spigot
57f7c8fb18 Add color API for Teams
By: md_5 <git@md-5.net>
2017-05-28 11:00:02 +10:00
CraftBukkit/Spigot
a6491eb83e 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).

By: Pokechu22 <Pokechu022@gmail.com>
2017-05-26 20:20:59 -07:00
CraftBukkit/Spigot
07fc30bf6d SPIGOT-439: Add player locale related APIs.
By: MiniDigger <admin@minidigger.me>
2017-05-26 23:37:06 +02:00
CraftBukkit/Spigot
691c25561d Ensure gameLoop function gets selectors applied.
By: md_5 <git@md-5.net>
2017-05-26 16:43:56 +10:00
CraftBukkit/Spigot
0fc0496730 SPIGOT-3257: Issue with AdvancementRewards function
By: md_5 <git@md-5.net>
2017-05-21 10:28:07 +10:00
CraftBukkit/Spigot
31553d7ef7 SPIGOT-3258: VehicleBlockCollisionEvent only fires in certain directions
By: md_5 <git@md-5.net>
2017-05-21 10:24:47 +10:00
CraftBukkit/Spigot
a0b8ce2dc9 SPIGOT-3254: Check chunks are loaded before ticking entities as per previous versions.
By: md_5 <git@md-5.net>
2017-05-20 11:27:48 +10:00
CraftBukkit/Spigot
724dc2b59b SPIGOT-3253: Fix entity yaw changes
By: md_5 <git@md-5.net>
2017-05-20 11:16:28 +10:00
CraftBukkit/Spigot
530fe41851 Update to Minecraft 1.12-pre5
By: md_5 <git@md-5.net>
2017-05-19 21:00:13 +10:00
CraftBukkit/Spigot
5284eb89a3 SPIGOT-3248: Don't set shoulder compounds of EntityHuman to null
By: BlackHole <black-hole@live.com>
2017-05-17 20:26:51 +02:00
CraftBukkit/Spigot
5317a74e0a Misc advancement / recipe reload fixes including SPIGOT-3240
By: md_5 <git@md-5.net>
2017-05-16 21:22:07 +10:00
CraftBukkit/Spigot
4c88ea37ee SPIGOT-3240: Temporarily stub out rarely used resetRecipes method to fix some issues.
By: md_5 <git@md-5.net>
2017-05-16 06:58:37 +10:00
CraftBukkit/Spigot
94200cb8b3 SPIGOT-3244: Downgrade MySQL driver to 5.1.42 - the current GA release
By: md_5 <git@md-5.net>
2017-05-15 21:38:06 +10:00
CraftBukkit/Spigot
654b7c21fa SPIGOT-3243: Remove recipe reset on world change / death
By: md_5 <git@md-5.net>
2017-05-15 18:11:48 +10:00
CraftBukkit/Spigot
036d5985ab SPIGOT-3242: Fix rain not showing client side
By: md_5 <git@md-5.net>
2017-05-15 15:01:05 +10:00
CraftBukkit/Spigot
ea922d07c1 SPIGOT-3238: Add Server.advancementIterator
By: md_5 <git@md-5.net>
2017-05-15 08:25:53 +10:00
CraftBukkit/Spigot
40c8954e17 Update to Minecraft 1.12-pre2
By: md_5 <git@md-5.net>
2017-05-14 12:00:00 +10:00
CraftBukkit/Spigot
b8446f770b Change book limit to allow for automatically generated colour codes
By: md_5 <git@md-5.net>
2017-05-14 11:19:38 +10:00
CraftBukkit/Spigot
d082966e85 Remove outdated build delay.
By: md_5 <git@md-5.net>
2017-05-14 10:35:01 +10:00
CraftBukkit/Spigot
88f459dc51 SPIGOT-3235: Disconnect for payload errors
By: md_5 <git@md-5.net>
2017-05-14 09:25:25 +10:00
CraftBukkit/Spigot
fe7337fc10 Set health before entity death.
By: Lukas Hennig <lukas@wirsindwir.de>
2017-04-24 18:20:14 +02:00
CraftBukkit/Spigot
8803cfc46a SPIGOT-3215: Call BlockPhysicsEvent for tall plants
By: BlackHole <black-hole@live.com>
2017-05-01 01:21:20 +02:00
CraftBukkit/Spigot
de05a02353 SPIGOT-3214: Allow book titles up to 32 even though they can't be created by a Vanilla client.
By: md_5 <git@md-5.net>
2017-04-30 13:20:43 +10:00
CraftBukkit/Spigot
f965ee5c7f Implement getColor / setColor for Shulker entity
By: Matthew <stteg@hotmail.com>
2017-04-29 17:11:43 -04:00
CraftBukkit/Spigot
c5b0a788e9 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.

By: Pokechu22 <Pokechu022@gmail.com>
2017-04-27 21:53:31 -07:00
CraftBukkit/Spigot
0f12ccbdba Drop RegionFile.chunkExists() in favour of Mojang's own version
By: Geoff Crossland <gcrossland+bukkit@gmail.com>
2017-01-31 23:52:21 +00:00
CraftBukkit/Spigot
7baa3d8ac1 Implement getColor / setColor for TippedArrow
By: Matthew <stteg@hotmail.com>
2017-04-26 20:28:27 -04:00
CraftBukkit/Spigot
596875c55b Reset player arrow count on death
By: md_5 <git@md-5.net>
2017-04-26 15:56:06 +10:00
CraftBukkit/Spigot
b47c79c77a Skip invalid enchants in CraftMetaItem
By: md_5 <git@md-5.net>
2017-04-26 15:45:52 +10:00
CraftBukkit/Spigot
82c0a41a0d Create NBT TypeId helper class
By: Senmori <thesenmori@gmail.com>
2017-04-21 23:10:22 -04:00
CraftBukkit/Spigot
14c31d360f Remove players from vehicle when changing world via NMS methods.
By: md_5 <git@md-5.net>
2017-04-21 14:56:41 +10:00
CraftBukkit/Spigot
66b6964877 SPIGOT-3192: Return default value for invalid map icons
By: md_5 <git@md-5.net>
2017-04-21 08:20:49 +10:00
CraftBukkit/Spigot
fab1910b0a Add small throttle to book edits.
By: md_5 <git@md-5.net>
2017-04-20 22:10:31 +10:00
CraftBukkit/Spigot
b690df1231 Enforce proper limits on books.
By: md_5 <git@md-5.net>
2017-04-20 21:45:42 +10:00
CraftBukkit/Spigot
8d75072425 Implement cooldown API
By: md_5 <git@md-5.net>
2017-04-19 18:04:32 +10:00
CraftBukkit/Spigot
1e5121ed78 Inventory getContents Cleanup
By: Lukas Hennig <lukas@wirsindwir.de>
2017-04-17 18:09:15 +10:00
CraftBukkit/Spigot
ace33e4d68 Make CraftJukebox.isPlaying locally consistent
By: md_5 <git@md-5.net>
2017-04-16 08:26:51 +10:00
CraftBukkit/Spigot
46de596c57 Add correct interfaces for comparator / daylight detector
By: md_5 <git@md-5.net>
2017-04-16 08:16:49 +10:00
CraftBukkit/Spigot
aa4bae9d6f Fix some blockstate consistency issues.
By: md_5 <git@md-5.net>
2017-04-15 18:01:44 +10:00
CraftBukkit/Spigot
16807cc431 SPIGOT-3182: Fix tab-completion in command blocks without leading slash
By: Pokechu22 <Pokechu022@gmail.com>
2017-04-13 17:57:47 -07:00
CraftBukkit/Spigot
4d80529e9a Fixes to mob equipment behaviour
* Set correct flag for CanPickUpLoot on NBT load
* Drop previous equipment on mob equipment pickup

By: Jacob Martin <jjm_223@hotmail.com>
2017-04-08 18:05:32 -05:00
CraftBukkit/Spigot
cc67baddeb SPIGOT-3165: Only increment spawncount when mob spawn succeeds
By: md_5 <git@md-5.net>
2017-04-06 21:31:27 +10:00
CraftBukkit/Spigot
53cffc1f87 SPIGOT-3162: Experience ignored for custom recipes
By: md_5 <git@md-5.net>
2017-04-03 09:06:42 +10:00
CraftBukkit/Spigot
c37f72b58c SPIGOT-3157: Use Vanilla gamemode change code
By: md_5 <git@md-5.net>
2017-03-31 21:21:11 +11:00
CraftBukkit/Spigot
fbcf1da3b9 SPIGOT-3154: Sleeping players cannot change dimensions
By: md_5 <git@md-5.net>
2017-03-30 21:53:23 +11:00
CraftBukkit/Spigot
f6132ee36c SPIGOT-3144: Add missing PrepareAnvilEvent call.
By: md_5 <git@md-5.net>
2017-03-25 09:51:02 +11:00
CraftBukkit/Spigot
30c00da7a6 SPIGOT-3149: StructureGrowEvent for dispenser triggered growth
By: md_5 <git@md-5.net>
2017-03-24 21:03:44 +11:00
CraftBukkit/Spigot
aaaf346654 Add additional methods sigs for binary compat
By: md_5 <git@md-5.net>
2017-03-24 15:23:23 +11:00
CraftBukkit/Spigot
34fe9e8377 Add Chunk.isSlimeChunk to check if a chunk can spawn slimes
By: Senmori <thesenmori@gmail.com>
2017-03-23 12:42:01 -04:00
CraftBukkit/Spigot
f37ad64b75 Add TeleportCause.COMMAND for inbuilt /tp
By: md_5 <git@md-5.net>
2017-03-24 15:14:31 +11:00
CraftBukkit/Spigot
1c486f86db Add Material.isFuel to check if a material is a furnace fuel.
By: Phoenix616 <mail@moep.tv>
2017-03-23 23:18:32 +01:00
CraftBukkit/Spigot
a29c3edf2f SPIGOT-3142: Plugin event changes not using TeleportCause.PLUGIN
By: md_5 <git@md-5.net>
2017-03-24 15:09:34 +11:00
CraftBukkit/Spigot
100722e44b SPIGOT-3141: Missing TeleportCause.SPECTATE when lift clicking spectate
By: md_5 <git@md-5.net>
2017-03-24 15:08:19 +11:00
CraftBukkit/Spigot
f0c1225026 Fix trailing whitespace in CraftChunk
By: md_5 <git@md-5.net>
2017-03-23 20:19:29 +11:00
CraftBukkit/Spigot
c839929065 SPIGOT-3143: Don't decrease item stack size if VehicleCreateEvent is cancelled
By: BlackHole <black-hole@live.com>
2017-03-21 23:03:20 +01:00
CraftBukkit/Spigot
b18c5c741b Process entity portalling towards the end of a tick.
Cross world teleportation works by taking a copy of an entity and moving it to a new world. After this happens the original entity is marked as dead so as to be removed from the original world, however it still undergoes one further tick in the main world, but with some information from the new world. It is not so easy to break out of this tick cycle if needed, so instead we move the portalling process towards the end of an existing tick. This ensures that the entity will not be spuriously ticked.

By: md_5 <git@md-5.net>
2017-03-20 15:41:15 +11:00
CraftBukkit/Spigot
3d517d9d80 Properly validate player experience bar progress
By: Parker Hawke <hawkeboyz2@hotmail.com>
2017-03-19 18:31:40 -04:00
CraftBukkit/Spigot
49200e382f Add getWidth + getHeight for Entity
By: bramhaag <bramhagens@hotmail.nl>
2017-03-18 11:08:37 +01:00
CraftBukkit/Spigot
cedf1495bd SPIGOT-3128: Shift VehicleCreateEvent calling.
By: md_5 <git@md-5.net>
2017-03-15 20:48:47 +11:00
CraftBukkit/Spigot
d8033d64c6 SPIGOT-3126: Make fireballs do a better job of respecting mobGriefing
By: md_5 <git@md-5.net>
2017-03-15 15:26:36 +11:00
CraftBukkit/Spigot
7489812328 Ensure PlayerResourcePackStatusEvent is synchronous
By: md_5 <git@md-5.net>
2017-03-14 21:56:19 +11:00
CraftBukkit/Spigot
e075d320d4 Add getIgnitingBlock to BlockBurnEvent
By: Nathan Wolf <nathan@elmakers.com>
2017-03-08 14:20:24 -08:00
CraftBukkit/Spigot
843a9ac2db Don't call super update on unplaced command block metas
By: md_5 <git@md-5.net>
2017-03-10 20:30:20 +11:00
CraftBukkit/Spigot
0df899a244 Add more notch inventory conversions
By: md_5 <git@md-5.net>
2017-03-10 20:03:31 +11:00
CraftBukkit/Spigot
862f4e6c0d SPIGOT-3114: Initialize custom SHULKER_BOX slots
By: md_5 <git@md-5.net>
2017-03-10 20:01:31 +11:00
CraftBukkit/Spigot
f6f4501444 SPIGOT-3110: SHULKER_BOX InventoryType
By: md_5 <git@md-5.net>
2017-03-08 17:56:08 +11:00
CraftBukkit/Spigot
5e2981ee0f SPIGOT-3107: Try and improve shield knockback further
By: md_5 <git@md-5.net>
2017-03-08 14:51:48 +11:00
CraftBukkit/Spigot
11c88dc8f2 SPIGOT-3108: Hack around mirroring empty item stacks
By: md_5 <git@md-5.net>
2017-03-08 14:33:40 +11:00
CraftBukkit/Spigot
3de67df146 SPIGOT-3105: BlockFadeEvent for large snow blocks
By: md_5 <git@md-5.net>
2017-03-08 14:24:11 +11:00
CraftBukkit/Spigot
0e4ffd62e1 MC-111753, SPIGOT-2971: Brewing stand not reloading
By: md_5 <git@md-5.net>
2017-02-21 20:47:40 +11:00
CraftBukkit/Spigot
1f9370d293 SPIGOT-3075: EntityTeleportEvent for Shulkers
By: md_5 <git@md-5.net>
2017-02-20 09:55:24 +11:00
CraftBukkit/Spigot
ed87a3caf9 SPIGOT-3068: API for localized item names
By: md_5 <git@md-5.net>
2017-02-16 11:49:46 +11:00
CraftBukkit/Spigot
6c52504f93 SPIGOT-3067: Wither skeleton heads not dropping
By: md_5 <git@md-5.net>
2017-02-15 10:11:41 +11:00
CraftBukkit/Spigot
0a74e4d700 SPIGOT-2152: Method to set resource pack + hash.
By: Max Lee <mail@moep.tv>
2017-02-14 14:00:30 +01:00
CraftBukkit/Spigot
4b11aba0f7 SPIGOT-3063: Call EntityAirChangeEvent
By: md_5 <git@md-5.net>
2017-02-14 10:34:56 +11:00
CraftBukkit/Spigot
0a07809cce SPIGOT-3054: Correct LLamaSpit launching
By: md_5 <git@md-5.net>
2017-02-09 09:14:44 +11:00
CraftBukkit/Spigot
10d09dbcc2 SPIGOT-3051: Set pitch/yaw for spawned boats
By: md_5 <git@md-5.net>
2017-02-06 11:58:42 +11:00
CraftBukkit/Spigot
2c79e73a5c Update SQLite to 3.16 for performance improvements and architecture compat
By: md_5 <git@md-5.net>
2017-02-01 13:16:30 +11:00
CraftBukkit/Spigot
3f242883c4 Add implementation for LlamaSpit in ProjectileSource#launchProjectile
By: Parker Hawke <hawkeboyz2@hotmail.com>
2017-01-31 21:12:17 -05:00
CraftBukkit/Spigot
52753fe5e1 Increase expiration time to two weeks.
By: md_5 <git@md-5.net>
2017-01-31 21:39:17 +11:00
CraftBukkit/Spigot
3b1a28ec19 SPIGOT-3044: BlockDispenseEvent for shulker boxes
By: md_5 <git@md-5.net>
2017-01-31 21:38:55 +11:00
CraftBukkit/Spigot
c1c5f27be2 Update MySQL Driver Version to 5.1.40
By: md_5 <git@md-5.net>
2017-01-31 21:30:09 +11:00
CraftBukkit/Spigot
634ad7d00e SPIGOT-3040: Round health to float for validation
By: md_5 <git@md-5.net>
2017-01-28 11:41:09 +11:00
CraftBukkit/Spigot
4166ac5145 Make tile activeContainer assignment consistent.
By: md_5 <git@md-5.net>
2017-01-27 11:42:21 +11:00
CraftBukkit/Spigot
49758a0994 SPIGOT-3033: Alter behaviour of cancelled hopper transfers (reverted from commit ca9bfb2d1f)
By: md_5 <git@md-5.net>
2017-01-26 14:08:04 +11:00
CraftBukkit/Spigot
b05bba2d39 SPIGOT-3037: WorldBorder#isInside(Location)
By: md_5 <git@md-5.net>
2017-01-26 11:16:39 +11:00
CraftBukkit/Spigot
ca9bfb2d1f SPIGOT-3033: Alter behaviour of cancelled hopper transfers
By: md_5 <git@md-5.net>
2017-01-26 11:13:00 +11:00
CraftBukkit/Spigot
c98102fd99 SPIGOT-3031: Pigs are not dropping their saddle
By: md_5 <git@md-5.net>
2017-01-24 13:39:22 +11:00
CraftBukkit/Spigot
49376274b6 Re-enable the vanilla debug MethodProfiler and /debug command
This is highly useful for profiling vanilla code, and in some cases plugin code.  It is somewhat expensive, though, which is why it was initially disabled.

I chose to use a system property instead of a configuration setting because 1) the MethodProfiler is exclusive to CraftBukkit and not part of the general API (the timings system is the general API equivalent), and 2) using a static final boolean property _may_ allow the JITter to optimize out the methods when disabled (though I'm not sure of it).

There are several changes to fix cases where the profiler code was broken slightly by other craftbukkit changes.  All of cases have been fixed, except for the block entity ticking one, due to the cost of the getSimpleName call.  For that, a ticking entry is used instead, so that time spent actually ticking the block entities can be compared with time processing the list.

This (effectively) reverts 7dde6cc566.

By: Pokechu22 <Pokechu022@gmail.com>
2017-01-18 17:42:35 -08:00
CraftBukkit/Spigot
03cf4ffdf1 Add API to set Arrow pickup status
By: xGhOsTkiLLeRx <ratchet.player@gmx.de>
2017-01-18 10:01:28 +11:00
CraftBukkit/Spigot
d6082cde7f SPIGOT-3003: Fix custom dropper / beacons.
By: md_5 <git@md-5.net>
2017-01-11 09:53:16 +11:00
CraftBukkit/Spigot
d66b605829 SPIGOT-3002: Mob spawners are valid
By: md_5 <git@md-5.net>
2017-01-11 09:24:08 +11:00
CraftBukkit/Spigot
6e7031ad9a SPIGOT-2997: Explicitly disallow invalid tiles to be opened
By: md_5 <git@md-5.net>
2017-01-10 09:56:20 +11:00
CraftBukkit/Spigot
5be013beb5 Fix crash if entities other than players (somehow?) consume their item.
By: md_5 <git@md-5.net>
2017-01-09 14:28:49 +11:00
CraftBukkit/Spigot
c4d20d3951 10 day build expire
By: md_5 <git@md-5.net>
2017-01-09 10:38:33 +11:00
CraftBukkit/Spigot
7e1910e6d4 SPIGOT-2990: EntityTeleportEvent for tameable animals following owner
By: md_5 <git@md-5.net>
2017-01-05 20:44:26 +11:00
CraftBukkit/Spigot
df1033f5f9 SPIGOT-2989: Use existing horse inventory object.
By: md_5 <git@md-5.net>
2017-01-05 15:03:22 +11:00
CraftBukkit/Spigot
e63cab01fc SPIGOT-826: Add method to retrieve entity by UUID
By: Zach Brown <zach.brown@destroystokyo.com>
2017-01-04 21:28:31 -06:00
CraftBukkit/Spigot
0bd65c1b02 SPIGOT-2640: API for multiple passengers per entity
By: md_5 <git@md-5.net>
2017-01-04 10:53:07 +11:00
CraftBukkit/Spigot
abf429e3bb SPIGOT-1915: Fix players seeing their own passengers
By: md_5 <git@md-5.net>
2017-01-04 10:50:02 +11:00
CraftBukkit/Spigot
44f4a83e59 More robust inventory handling
By: md_5 <git@md-5.net>
2017-01-04 10:04:27 +11:00
CraftBukkit/Spigot
a1cc3a4382 SPIGOT-2980: Improve SpawnEgg NBT application and ItemStack conversion.
By: md_5 <git@md-5.net>
2017-01-02 16:13:25 +11:00
CraftBukkit/Spigot
86649dea13 Recover spawn egg data from UNSPECIFIC meta.
By: md_5 <git@md-5.net>
2017-01-02 15:29:11 +11:00
CraftBukkit/Spigot
ed9b479bcb Clear effectsToProccess after applying potion effects
By: md_5 <git@md-5.net>
2017-01-02 13:51:16 +11:00
CraftBukkit/Spigot
85a119a172 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

By: md_5 <git@md-5.net>
2017-01-02 10:04:19 +11:00
CraftBukkit/Spigot
0779610d64 SPIGOT-2969: Shulker box removal not updating comparators
By: md_5 <git@md-5.net>
2016-12-28 14:23:52 +11:00
CraftBukkit/Spigot
93623ce896 SPIGOT-2966: Entirely remove problematic check
By: md_5 <git@md-5.net>
2016-12-28 09:50:40 +11:00
CraftBukkit/Spigot
1f6a5ecc06 SPIGOT-2960: Fire HOTBAR_MOVE_AND_READD in more cases
By: md_5 <git@md-5.net>
2016-12-27 12:14:55 +11:00
CraftBukkit/Spigot
e3b7ad4ef3 SPIGOT-2964: Correct number of shelve sin PrepareEnchantEvent
By: md_5 <git@md-5.net>
2016-12-27 11:53:09 +11:00
CraftBukkit/Spigot
2d5ab1f7b5 SPIGOT-2963: Endless loop in CraftHumanEntity#openMerchant
By: md_5 <git@md-5.net>
2016-12-27 09:01:22 +11:00
CraftBukkit/Spigot
14eb034e4b Increase expire time to 7 days
By: md_5 <git@md-5.net>
2016-12-26 09:39:59 +11:00
CraftBukkit/Spigot
6333307ee3 SPIGOT-2957 getSeaLevel() should return the real sea level, not a hard-coded value
By: Ryan Michela <deltahat@gmail.com>
2016-12-25 11:26:00 -05:00
CraftBukkit/Spigot
83554f3290 Correct some code.
By: md_5 <git@md-5.net>
2016-12-24 22:52:50 +11:00
CraftBukkit/Spigot
d338127ab9 SPIGOT-2127: Add DamageCause.ENTITY_SWEEP_ATTACK
By: md_5 <git@md-5.net>
2016-12-23 22:39:33 +11:00
CraftBukkit/Spigot
a272470d6f Additional fireworks damage tracking.
By: md_5 <git@md-5.net>
2016-12-23 22:32:40 +11:00
CraftBukkit/Spigot
64b9c40cd7 MC-88491: Fix projectile colliding with shooter
In some situations, a projectile made collide with the entity that shot
it. This occurs because the game sets the ignored entity incorrectly.
Our fix is to ensure that the shooter is the only entity that gets
ignored by the projectile.

By: Zach Brown <zach.brown@destroystokyo.com>
2016-12-22 15:29:23 -06:00
CraftBukkit/Spigot
2b518036f5 SPIGOT-2953: Set damager for fireworks
By: md_5 <git@md-5.net>
2016-12-22 20:26:27 +11:00
CraftBukkit/Spigot
e6b0af2e55 SPIGOT-2944: Just apply filtering to players
By: md_5 <git@md-5.net>
2016-12-22 16:50:24 +11:00
CraftBukkit/Spigot
0c321dd15d Update to Minecraft 1.11.2
By: md_5 <git@md-5.net>
2016-12-21 22:00:00 +11:00
CraftBukkit/Spigot
afecf1c36c SPIGOT-2948: Alter filtering logic
By: md_5 <git@md-5.net>
2016-12-21 17:12:39 +11:00
CraftBukkit/Spigot
f9a809b2ba Update to Minecraft 1.11.1
By: md_5 <git@md-5.net>
2016-12-21 07:00:00 +11:00
CraftBukkit/Spigot
74902a47aa SPIGOT-2936: Simplify WorldBorder diff
By: md_5 <git@md-5.net>
2016-12-19 23:05:39 +11:00
CraftBukkit/Spigot
595c69ab7b SPIGOT-2930: Shift calling of PlayerItemBreakEvent to before break.
By: md_5 <git@md-5.net>
2016-12-18 09:26:36 +11:00
CraftBukkit/Spigot
75f7baf1ad SPIGOT-2926: Check spawn-npcs setting for NPCs.
Probably should refactor this code to be more similar to Vanilla in future.

By: md_5 <git@md-5.net>
2016-12-17 14:26:09 +11:00
CraftBukkit/Spigot
348449a44a SPIGOT-2923: Added PotionEffectType#getColor()
By: Lukas Hennig <lukas@wirsindwir.de>
2016-12-16 17:22:21 +01:00
CraftBukkit/Spigot
fe586949bf SPIGOT-2924: Improve handling of Jukeboxes playing nothing.
By: md_5 <git@md-5.net>
2016-12-17 09:45:14 +11:00
CraftBukkit/Spigot
d69f49d486 SPIGOT-1036: Add API to manipulate sendTitle timings.
By: md_5 <git@md-5.net>
2016-12-16 09:48:14 +11:00
CraftBukkit/Spigot
694b7ad459 SPIGOT-2918: Always call EnchantItemEvent
By: md_5 <git@md-5.net>
2016-12-14 14:38:55 +11:00
CraftBukkit/Spigot
54e60aee75 SPIGOT-2913: Only one enchantment applied to items
By: md_5 <git@md-5.net>
2016-12-13 08:44:50 +11:00
CraftBukkit/Spigot
d381e7b934 SPIGOT-2912: Fix enchanting with ID of 0
By: md_5 <git@md-5.net>
2016-12-12 09:35:31 +11:00
CraftBukkit/Spigot
a9e3f93ed3 Add getLocation for InventoryEnderChest
By: md_5 <git@md-5.net>
2016-12-11 16:41:40 +11:00
CraftBukkit/Spigot
b5bd9528a0 Add EnchantmentOffer to PrepareItemEnchantEvent
By: md_5 <git@md-5.net>
2016-12-11 11:10:38 +11:00
CraftBukkit/Spigot
25e61b60e4 SPIGOT-2242: Handle changed item in PlayerPickupArrowEvent
By: md_5 <git@md-5.net>
2016-12-10 12:48:56 +11:00
CraftBukkit/Spigot
87d502339e SPIGOT-2524: Update inventory for cancelled air right click
By: md_5 <git@md-5.net>
2016-12-10 12:36:09 +11:00
CraftBukkit/Spigot
8b77464a94 SPIGOT-2907: Improve EntityResurrectEvent handling
By: md_5 <git@md-5.net>
2016-12-10 12:16:14 +11:00
CraftBukkit/Spigot
b4a50e447b SPIGOT-2908: Correctly spawn LlamaSpit
By: md_5 <git@md-5.net>
2016-12-10 12:10:28 +11:00
CraftBukkit/Spigot
05fbc8df18 Clean up BlockFlowing
By: md_5 <git@md-5.net>
2016-12-09 12:56:49 +11:00
CraftBukkit/Spigot
2fa7ac3174 SPIGOT-2886: Call BlockFormEvent when Lava and Water collide
By: Brokkonaut <hannos17@gmx.de>
2016-12-09 12:53:15 +11:00
CraftBukkit/Spigot
9e8988306c Use CraftEventFactory for BlockFormEvent
By: md_5 <git@md-5.net>
2016-12-09 12:45:21 +11:00
CraftBukkit/Spigot
cd5305a554 Add API to get default value of an Attribute
By: md_5 <git@md-5.net>
2016-12-09 12:31:08 +11:00
CraftBukkit/Spigot
597dc19283 SPIGOT-2894: Preserve unreadable spawn egg data in memory
By: md_5 <git@md-5.net>
2016-12-07 10:44:57 +11:00
CraftBukkit/Spigot
00609fd3df 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.

By: md_5 <git@md-5.net>
2016-12-06 22:05:58 +11:00
CraftBukkit/Spigot
9c16a5f61a Implement pre-spawn API to allow modifications to spawned entities.
See preceding commit for why this change was included.

By: Xor Boole <mcyoung@mit.edu>
2016-12-06 21:39:20 +11:00
CraftBukkit/Spigot
dd89db67a5 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.

By: Matthew <stteg@hotmail.com>
2016-12-06 21:15:10 +11:00
CraftBukkit/Spigot
e40bffa82a SPIGOT-2890: SetBiome not saving changes
By: md_5 <git@md-5.net>
2016-12-06 20:46:04 +11:00
CraftBukkit/Spigot
db5c1e3e66 Implement EntityDeathEvent for ArmorStands
By: Senmori <thesenmori@gmail.com>
2016-12-03 16:32:13 -05:00
CraftBukkit/Spigot
24fdb26050 SPIGOT-2889: Error cancelling creative InventoryClickEvent
By: md_5 <git@md-5.net>
2016-12-05 09:07:25 +11:00
CraftBukkit/Spigot
5443bf1110 #326: Convert BlockMeta to handle older serialized items.
By: Jacob Martin <jjm_223@hotmail.com>
2016-12-03 10:51:53 +11:00
CraftBukkit/Spigot
83cf54fd9d SPIGOT-2879: Change order of entity addition for ender pearls
By: md_5 <git@md-5.net>
2016-12-03 09:55:36 +11:00
CraftBukkit/Spigot
bdf0df74a9 SPIGOT-911: Add hitBlock to PorjectileHitEvent
By: md_5 <git@md-5.net>
2016-12-02 09:38:50 +11:00
CraftBukkit/Spigot
a00951dd57 SPIGOT-2871: Improve BlockStates + BlockStateMeta
By: md_5 <git@md-5.net>
2016-12-02 09:29:33 +11:00
CraftBukkit/Spigot
159538aaba Reduce outdated build delay further.
By: md_5 <git@md-5.net>
2016-12-01 10:19:09 +11:00
CraftBukkit/Spigot
e593f348c8 Add some expansions to Anvil Inventory API
By: Xor Boole <mcyoung@mit.edu>
2016-11-30 16:40:40 +11:00
CraftBukkit/Spigot
081c11644f SPIGOT-2867: Update inventory on cancelled interacts too
By: md_5 <git@md-5.net>
2016-11-30 15:33:29 +11:00
CraftBukkit/Spigot
ccedad711d Fangs degree => radians (and back)
By: md_5 <git@md-5.net>
2016-11-30 09:56:09 +11:00
CraftBukkit/Spigot
21a4e56ad5 Expand definition of isFrozen
By: md_5 <git@md-5.net>
2016-11-30 09:16:01 +11:00
CraftBukkit/Spigot
e12c8edd14 SPIGOT-2862: Cannot spawn evoker fangs
By: md_5 <git@md-5.net>
2016-11-30 08:37:06 +11:00
CraftBukkit/Spigot
140a834de3 SPIGOT-2860: Don't create 0 exp orbs when breeding
By: md_5 <git@md-5.net>
2016-11-29 15:42:46 +11:00
CraftBukkit/Spigot
5cdc0bbd0e Add hitEntity to ProjectileHitEvent
By: md_5 <git@md-5.net>
2016-11-28 12:47:01 +11:00
CraftBukkit/Spigot
3f8ec9a859 SPIGOT-2855: Empty ItemStacks in PlayerDeathEvent drops
By: md_5 <git@md-5.net>
2016-11-28 12:34:21 +11:00
CraftBukkit/Spigot
ad94b29ad6 Build expiry is now 1 week
By: md_5 <git@md-5.net>
2016-11-28 10:19:33 +11:00
CraftBukkit/Spigot
8eb1f2cdd7 SPIGOT-1401: Issues placing blocks adjacent to eachother
By: md_5 <git@md-5.net>
2016-11-28 10:13:49 +11:00
CraftBukkit/Spigot
1070f2682f Fix possible leaks in vanish API
By: md_5 <git@md-5.net>
2016-11-28 10:02:40 +11:00
CraftBukkit/Spigot
8399bc349a SPIGOT-2850: NPE in CraftInventoryCrafting
By: md_5 <git@md-5.net>
2016-11-27 17:03:28 +11:00
CraftBukkit/Spigot
0dcf5cb67e SPIGOT-2695: Added BrewingStandFuelEvent and added fuel level to the BrewEvent
By: LukBukkit <luk.bukkit@gmail.com>
2016-11-24 18:03:48 +01:00
CraftBukkit/Spigot
c6077651a7 Added method for spawning a falling block with the BlockData
By: LukBukkit <luk.bukkit@gmail.com>
2016-11-26 19:23:20 +01:00
CraftBukkit/Spigot
0069e6122a Fix banner color. Banners have inverted color bytes.
By: kaenganxt <kaenganxt@yahoo.de>
2016-11-25 21:02:13 +01:00
CraftBukkit/Spigot
223f2ee80f SPIGOT-2842: Improve item age handling
By: md_5 <git@md-5.net>
2016-11-25 10:31:53 +11:00
CraftBukkit/Spigot
d722f59600 Farmland is a pickable block
By: md_5 <git@md-5.net>
2016-11-24 21:29:41 +11:00
CraftBukkit/Spigot
4ed4ac8d00 SPIGOT-619: Force rotate head of entities when setting location.
By: LukBukkit <luk.bukkit@gmail.com>
2016-11-23 22:21:08 +01:00
CraftBukkit/Spigot
5a3215856c SPIGOT-2833: Tile entities occasionally wiped after placement
By: md_5 <git@md-5.net>
2016-11-24 09:30:01 +11:00
CraftBukkit/Spigot
874e784b8a SPIGOT-2836: ProjectileHitEvent not always firing for FishHook
By: md_5 <git@md-5.net>
2016-11-23 22:50:37 +11:00
CraftBukkit/Spigot
2f768a3cfb SPIGOT-2835: CraftBlock getDrops Returns Air
By: md_5 <git@md-5.net>
2016-11-23 22:02:36 +11:00
CraftBukkit/Spigot
c85a3c331b SPIGOT-2765: Special case entity triggered explosions for HangingBreakEvent
By: md_5 <git@md-5.net>
2016-11-23 10:34:08 +11:00
CraftBukkit/Spigot
6b773ce751 SPIGOT-2824: Llama Strength API
By: md_5 <git@md-5.net>
2016-11-23 10:27:49 +11:00
CraftBukkit/Spigot
90d646054a SPIGOT-2822: Droppers are droppers
By: md_5 <git@md-5.net>
2016-11-22 20:21:19 +11:00
CraftBukkit/Spigot
1eee4ff9cb Add Unbreakable to ItemMeta
By: md_5 <git@md-5.net>
2016-11-22 14:35:54 +11:00
CraftBukkit/Spigot
fe2d118352 Implement default title for custom merchants
By: md_5 <git@md-5.net>
2016-11-22 10:53:36 +11:00
CraftBukkit/Spigot
22dd0c1849 SPIGOT-2817: Custom Merchant title omits color
By: md_5 <git@md-5.net>
2016-11-22 10:30:01 +11:00
CraftBukkit/Spigot
db370129b4 Fix setCarryingChest not resizing horse inventory
By: md_5 <git@md-5.net>
2016-11-21 21:56:17 +11:00
CraftBukkit/Spigot
f6dd4eff69 SPIGOT-2272: Add API for virtual Merchants
By: Lukas Hennig <lukas@wirsindwir.de>
2016-11-21 15:29:36 +11:00
CraftBukkit/Spigot
8d52a891a4 SPIGOT-2810: Fix entity statistics
By: BlackHole <black-hole@live.com>
2016-11-20 20:10:39 +01:00
CraftBukkit/Spigot
6d1f84a8e1 SPIGOT-2807: Update inventory when attack cancelled
By: md_5 <git@md-5.net>
2016-11-20 14:13:21 +11:00
CraftBukkit/Spigot
1026d97b35 SPIGOT-2806: Fix PlayerDropItemEvent for disconnected players
By: md_5 <git@md-5.net>
2016-11-20 10:19:22 +11:00
CraftBukkit/Spigot
0193564053 Fix cancelling PlayerEditBookEvent
By: LukBukkit <luk.bukkit@gmail.com>
2016-11-19 12:40:42 +01:00
CraftBukkit/Spigot
a68281e279 SPIGOT-2800: Can only smelt 63 stack
By: md_5 <git@md-5.net>
2016-11-19 21:14:46 +11:00
CraftBukkit/Spigot
a61117da28 SPIGOT-2801: Missing break in CraftMetaBlockState
By: md_5 <git@md-5.net>
2016-11-19 21:11:54 +11:00
CraftBukkit/Spigot
c8c4604bfd SPIGOT-2799: ItemFrame set null error
By: md_5 <git@md-5.net>
2016-11-19 20:28:04 +11:00
CraftBukkit/Spigot
0816d8a06f Add additional APIs for Evoker / EvokerFangs
By: momothereal <momothereal.mc@gmail.com>
2016-11-19 18:53:57 +11:00
CraftBukkit/Spigot
5fd13b693b Implement isCursed for new enchantments
By: Senmori <thesenmori@gmail.com>
2016-11-18 23:46:27 -05:00
CraftBukkit/Spigot
3095757b40 Change style of PAIL comments in README.md
By: md_5 <git@md-5.net>
2016-11-19 16:05:22 +11:00
CraftBukkit/Spigot
1159a15bf0 SPIGOT-2798: Fix ShulkerBox BlockStateMeta
By: md_5 <git@md-5.net>
2016-11-19 15:59:04 +11:00
CraftBukkit/Spigot
3e21482d20 Attempt to sync damage up again - golden apples this time
By: md_5 <git@md-5.net>
2016-11-19 14:53:19 +11:00
CraftBukkit/Spigot
38fb5c2469 Add stopSound for specific sound category & unit test for SoundCategory
By: md_5 <git@md-5.net>
2016-11-19 14:27:18 +11:00
CraftBukkit/Spigot
de0b8db8ad Implement SoundCategory for playing sounds.
By: LukBukkit <luk.bukkit@gmail.com>
2016-11-19 14:20:13 +11:00
CraftBukkit/Spigot
e73c499794 SPIGOT-2795: InventoryClickEvent issues
By: md_5 <git@md-5.net>
2016-11-19 13:51:10 +11:00