Commit graph

2383 commits

Author SHA1 Message Date
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