Commit graph

1001 commits

Author SHA1 Message Date
md_5
f74c7b9578 SPIGOT-4706: Can't interact with active item 2019-04-20 13:00:10 +10:00
md_5
51d62deced SPIGOT-4702: Exception when middle clicking certain slots 2019-04-16 20:49:28 +10:00
md_5
be557e69fa SPIGOT-4700: Add PlayerFishEvent.State.REEL_IN 2019-04-15 20:42:51 +10:00
md_5
812f66aa99 SPIGOT-4684: Update persistence of converting zombie villagers 2019-04-08 20:29:18 +10:00
md_5
51100db821 SPIGOT-4678: Fix placing signs in certain circumstances 2019-03-24 21:34:57 +11:00
md_5
d3ed151625 Fix dangerously threaded beacons 2019-03-17 13:09:37 +11:00
md_5
a49270b28b Mappings Update 2019-03-17 11:48:53 +11:00
md_5
5259d80c48 SPIGOT-4669: Fix PlayerTeleportEvent coordinates for relative teleports 2019-03-16 15:10:34 +11:00
blablubbabc
8d8475fc46 SPIGOT-4666: Force parameter in HumanEntity#sleep
Also moved the application of the force parameter inside EntityHuman, to
no longer allow bypassing of very essential checks.
2019-03-13 18:31:59 +11:00
Phoenix616
8b1588e2f1 Fix ExplosionPrimeEvent#setFire not working with EnderCrystals 2019-03-10 11:06:55 +11:00
md_5
77ca7ca07b Rebuild patches 2019-03-06 16:38:02 +11:00
Phoenix616
73597ed865 Improve damage handling of dead entities 2019-03-06 13:22:33 +11:00
md_5
f102d88299 SPIGOT-4647: Properly cancel VehicleDamageEvent 2019-03-05 16:42:23 +11:00
Phoenix616
ec17d07def Use getBukkitEntity for ExplosionPrimeEvent instead of creating new one 2019-03-04 16:50:50 +01:00
Parker Hawke
0f708cbf51 Add love mode API to Animals 2019-02-28 16:29:24 +11:00
md_5
40cbae42b1 SPIGOT-4638: Give last registered recipe priority 2019-02-26 11:17:42 +11:00
bloodshot
822ff72934 SPIGOT-4637: Add source block to BlockPhysicsEvent.
Allows a plugin to lookup the source block of event. For example, a protection plugin may want to determine what caused the physics event to be triggered.
2019-02-25 19:29:43 +11:00
md_5
acbba8badd SPIGOT-4635: Restore shield damage sound 2019-02-25 18:52:09 +11:00
md_5
51c118b1d7 SPIGOT-4619: Incorrect packet order for villager inventories 2019-02-13 17:02:33 +11:00
Brokkonaut
d158f2e993 Fix EntityPickupItemEvent getRemaining / PlayerInventory#canHold
Without this change the calculation of fitting items was incorrect, so event.getRemaining() did return 0 when it should not be 0.
2019-02-13 16:59:39 +11:00
md_5
a2dd0e3035 SPIGOT-4615: Missing target event for withers 2019-02-10 10:32:24 +11:00
bermudalocket
2b1940ae24 Make AreaEffectCloudApplyEvent cancellable 2019-02-07 00:40:41 -05:00
md_5
2ced02339a Don't handle sync packets for kicked players 2019-02-03 14:23:04 +11:00
md_5
d5e96882ad SPIGOT-4602: Cache reflection in decompile error workaround 2019-02-02 09:57:26 +11:00
md_5
ad6070dffd SPIGOT-4193: API for selecting entities by strings 2019-01-31 15:08:25 +11:00
md_5
ed274c517f SPIGOT-4597: Make BlockDropItemEvent use a list 2019-01-30 11:20:39 +11:00
md_5
2aba349f1a Need to update item in hand if fish bucket pickup cancelled 2019-01-27 15:32:30 +11:00
md_5
b634e059e0 SPIGOT-4591: Must mark itemstacks as dirty in case the handle itself changed 2019-01-25 20:54:56 +11:00
md_5
7fc66b28db Fix minecraft.command.selector permission 2019-01-18 16:02:08 +11:00
Brokkonaut
47b06d5b4e SPIGOT-4584: Call events for hatching turtle eggs 2019-01-18 02:50:04 +01:00
md_5
0c715b32b0 SPIGOT-4579: Shulker boxes not dropping in creative 2019-01-14 15:53:54 +11:00
md_5
98b862ad88 Fix duplicate iron golem add 2019-01-11 12:37:43 +11:00
md_5
843cee65f3 Fix a bunch of duplicate EntityCombustEvent calls 2019-01-11 11:41:32 +11:00
md_5
438556243d SPIGOT-4571: EntityCombustEvent not firing for phantoms 2019-01-09 20:39:25 +11:00
md_5
9dc56581e6 SPIGOT-4570: Add FluidLevelChangeEvent 2019-01-08 21:23:11 +11:00
md_5
f17d591cc9 Fix BlockDropItemEvent for Skulls and Shulker Boxes 2019-01-07 13:57:35 +11:00
md_5
5932f8a7da Load default world spawn areas in consistent order 2019-01-05 17:05:51 +11:00
md_5
3a5dc78f47 Fix confusing migration message appearing on fresh server 2019-01-05 17:03:12 +11:00
md_5
516a408f4a Remove redundant CraftBukkit change for secondary world data
The above loop would always save this data
2019-01-05 16:41:02 +11:00
riking
73a2c749be Process conversation input on the main thread.
Fixes BUKKIT-5611.
2019-01-05 16:21:07 +11:00
drXor
f2746a5eb2 Descriptive kick reasons instead of Nope! 2019-01-05 16:21:07 +11:00
md_5
d0a9130d24 SPIGOT-4563: Fix regenerating chunks saved to disk already 2019-01-03 15:44:06 +11:00
md_5
756c38d1e4 Add RecipeChoice.ExactChoice API for NBT matches on ingredients 2019-01-02 15:56:21 +11:00
md_5
8e65d8df6c SPIGOT-4560: Add HumanEntity.sleep and related APIs 2019-01-02 14:43:12 +11:00
md_5
a83828623b SPIGOT-4562: reducedDebugInfo not updated on world change 2019-01-02 10:57:47 +11:00
md_5
c4a67eed99 SPIGOT-4556: Fix plugins closing inventory during drop events 2018-12-31 10:13:02 +11:00
md_5
5be2ddcbd5 Replace version constants with methods to prevent compiler inlining 2018-12-30 16:00:31 +11:00
md_5
b54b9409e0 SPIGOT-2864: Make Arrow / Item setTicksLived behave like FallingBlock 2018-12-27 12:02:17 +11:00
md_5
79ded7a8ca SPIGOT-1811: Death message not shown on respawn screen 2018-12-27 11:37:19 +11:00
md_5
b4a4f15dbf SPIGOT-943: InventoryCloseEvent called on death regardless of open inventory 2018-12-27 11:36:53 +11:00
md_5
0afed59271 SPIGOT-794: Call EntityPlaceEvent for Minecart placement 2018-12-27 10:45:36 +11:00
md_5
2b2d084ac9 Add InventoryView#getSlotType 2018-12-26 10:44:39 +11:00
md_5
963f4a5fc1 Add PlayerItemDamageEvent 2018-12-26 08:00:00 +11:00
md_5
d05c8b1481 Mappings Update 2018-12-26 08:00:00 +11:00
md_5
dff66dfccd Reduce copying of positions from block states 2018-12-22 11:32:11 +11:00
md_5
91cae6efbf SPIGOT-4387: Durability looping from cancelled BlockPlaceEvent 2018-12-22 11:25:14 +11:00
md_5
24c5e68c5f SPIGOT-4493: Allow burnt out furnaces to remain lit like Vanilla whilst retaining SPIGOT-844 API 2018-12-22 11:04:31 +11:00
md_5
fe89a8c1bb SPIGOT-4503: Add API to insert complete ItemStack into Jukebox 2018-12-22 10:50:57 +11:00
md_5
6ff5a64c25 SPIGOT-4541: Cancelled bucket events require inventory update 2018-12-22 10:12:16 +11:00
Parker Hawke
4b843638ea Add BlockData#getAsString(boolean) to hide unspecified states 2018-12-18 11:03:20 +11:00
md_5
bb6f384a83 SPIGOT-4534: Only call event for new chunks 2018-12-17 21:36:21 +11:00
md_5
38cf676e32 SPIGOT-4534: CreatureSpawnEvent not being called for CHUNK_GEN 2018-12-17 12:36:12 +11:00
md_5
b446cb5d74 SPIGOT-4527: Fix sponges with waterlogged blocks 2018-12-13 14:28:34 +11:00
md_5
6ec8ea5cf4 SPIGOT-4526: Add conversion time API for Zombie & subclasses 2018-12-13 14:10:36 +11:00
md_5
c64fe5080c Mappings Update 2018-12-13 11:00:00 +11:00
md_5
a3c2ec0314 Fix missing ServerListPingEvent call for legacy pings 2018-12-12 11:19:31 +11:00
md_5
7fa173e6d1 Remove unnecessary line in BlockMushroom 2018-12-10 11:14:39 +11:00
md_5
aa36c8417b Mappings Update 2018-12-06 10:00:00 +11:00
nathat890
20fc5bea2c Add list of entities to EntityTransformEvent & move die calls 2018-12-05 09:51:45 +11:00
Bjarne Koll
38e4c013b6 SPIGOT-4347: Add API to allow storing arbitrary values on ItemStacks 2018-12-04 09:44:56 +11:00
md_5
6a398ac443 SPIGOT-4511: Trident doesn't lose durability 2018-12-01 08:18:09 +11:00
md_5
ee6684bba7 SPIGOT-4507: BlockRedstoneEvent current flipped for levers 2018-11-28 09:09:56 +11:00
md_5
f489f0f745 SPIGOT-4494: Remove fix for SPIGOT-3864, better handled by SPIGOT-3879 fix 2018-11-20 21:34:15 +11:00
md_5
e4183e7069 SPIGOT-4491: Fix InventoryMoveItemEvent causing repeated events 2018-11-19 20:59:37 +11:00
md_5
1cac9d4fc1 Add Player to BlockCanBuildEvent 2018-11-18 09:27:46 +11:00
md_5
c2035aa1d0 Add some missing CreatureSpawnEvent.SpawnReason calls 2018-11-14 14:17:25 +11:00
nathat890
d2c422f13e SPIGOT-4339: Add EntityTransformEvent
Thanks klugemonkey for some contributions in https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/pull-requests/351/overview
2018-11-14 14:10:22 +11:00
md_5
17ff1e0467 SPIGOT-4483: Missing EntityInteractEvent call for zombies on eggs 2018-11-12 19:19:04 +11:00
md_5
3a9118280c SPIGOT-4477: Arrows only firing direction of boat 2018-11-10 20:36:35 +11:00
md_5
1663a63de2 SPIGOT-4478: NPE during PlayerLoginEvent recipe manipulation 2018-11-10 20:30:58 +11:00
Yannick Lamprecht
3697ec7a60 Add API to manipulate boss bar of entities and those created by commands 2018-11-10 20:23:17 +11:00
md_5
ca22de36ab SPIGOT-4469: Age API for EndGateway 2018-11-07 11:15:24 +11:00
md_5
de547749ec SPIGOT-4471: Use wall time for zombie drowning & enhance checks
Thanks Zach Brown for outline of issue with drowned zombies.
2018-11-06 18:06:56 +11:00
md_5
e693496c17 SPIGOT-4467: Improve ExpiringMap 2018-11-04 11:40:15 +11:00
md_5
f0398e444e SPIGOT-4438: Add choice API to furnace recipes 2018-11-03 21:04:33 +11:00
md_5
96c461b3a5 API to get client side view distance. 2018-11-02 21:24:14 +11:00
Ugleh
a8000588cb SPIGOT-4395: Additions to PlayerBedEnterEvent.
Contributions by blablubbabc as well - https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/500/overview
2018-11-02 18:32:19 +11:00
AndaBlock
1057710a78 SPIGOT-4376: Add draft BlockDropItemEvent 2018-10-31 19:55:53 +11:00
md_5
72c3617dfe SPIGOT-4433: Always generate ProtoChunk 2018-10-28 11:30:35 +11:00
md_5
3359cb1998 MC-137353: Don't go crazy on amount of bootstrap threads needed 2018-10-23 20:34:30 +11:00
md_5
b4230a9a7e Update to Minecraft 1.13.2 2018-10-23 06:00:00 +11:00
md_5
db10914a96 Improve minecart spawners 2018-10-19 20:25:25 +11:00
blablubbabc
cd6252a489 Fixed missed diff in PathfinderGoalPanic.
Originally from the MC 1.8 update, broken afterwards and was no longer calling the correct method.
2018-10-17 08:19:19 +11:00
md_5
0adc1b9989 SPIGOT-4428: Update Player CustomName 2018-10-15 19:21:35 +11:00
md_5
8ab46ff7c6 SPIGOT-4368: Tweak fish persistence 2018-10-07 10:08:58 +11:00
Parker Hawke
1ceee63341 Implement maximum repair cost API to AnvilInventory 2018-10-06 19:26:40 +10:00
Ugleh
02518f92ab Make setPersistent also control player saving 2018-10-03 20:45:21 +10:00
md_5
68588dac4f SPIGOT-4405: Chunk generation problem 2018-10-02 23:00:16 +10:00
md_5
c8f68670f5 Save server version 2018-10-02 20:52:57 +10:00
Parker Hawke
7a2f486768 Implement PlayerRecipeDiscoverEvent and methods to (un/)discover recipes 2018-10-01 19:15:12 +10:00
md_5
1cf8b5dc1b SPIGOT-4400: Populators running on existing chunks 2018-09-27 21:41:24 +10:00
md_5
eea4387034 MC-134115: Fix issues converting tile entities 2018-09-27 11:11:53 +10:00
md_5
1a7f2d109e SPIGOT-4397: isChunkGenerated API 2018-09-26 17:19:16 +10:00
Aikar
40aed54d11 SPIGOT-4396: Improve vehicle movement 2018-09-26 17:19:16 +10:00
md_5
020b495274 SPIGOT-4392: Stem updates even if BlockGrowEvent cancelled 2018-09-25 14:34:05 +10:00
Senmori
dcb43ef83d MC-136886: locate command loads chunks without needing to.
Thanks Aikar for the report
2018-09-24 09:55:18 +10:00
Senmori
88a5346fea Add API to locate structures. 2018-09-22 17:11:17 +10:00
md_5
26c89277cb SPIGOT-4385: Clearer error for invalid generator-settings 2018-09-19 18:32:21 +10:00
Parker Hawke
a222e4a252 Implement BatToggleSleepEvent 2018-09-17 16:49:45 +10:00
md_5
79ada744cb SPIGOT-4382: Fix damage_absorbed statistic 2018-09-17 16:40:35 +10:00
md_5
6166843699 SPIGOT-4378: Fix mistakenly included code 2018-09-16 08:16:03 +10:00
md_5
a4bdecff65 SPIGOT-4372: LightningStrikeEvent cause API 2018-09-15 19:16:42 +10:00
md_5
34caaf6d68 SPIGOT-4371: Trident damaged when event cancelled 2018-09-15 19:07:03 +10:00
md_5
97315374fb SPIGOT-4369: Handle cancelled trident event 2018-09-15 15:31:39 +10:00
md_5
bf1c82731c SPIGOT-4370: Remove vehicle if its passenger spawn event was cancelled 2018-09-15 15:25:27 +10:00
simpleauthority
953e1d601a SPIGOT-4314: Ability to change item in frame without playing sound 2018-09-11 20:39:58 +10:00
md_5
7033f180e0 Hoist out synchronisation from ChunkRegionLoader 2018-09-10 19:13:03 +10:00
md_5
022b8c350a SPIGOT-4361: BlockFadeEvent for regular coral 2018-09-10 08:30:13 +10:00
md_5
3123a069bf SPIGOT-4352: MoistureChangeEvent 2018-09-09 18:56:38 +10:00
Parker Hawke
226db0eae7 Add BlockDispenseArmorEvent 2018-09-09 18:44:55 +10:00
md_5
cd367fa4d8 Fix bad thread safety in ChunkRegionLoader 2018-09-09 09:39:23 +10:00
md_5
3f5ca5f2a4 SPIGOT-4355: Improve cancelling VehicleEnterEvent 2018-09-09 09:32:11 +10:00
Pante
19d654bd5e Add ServerLoadEvent 2018-09-08 13:40:42 +10:00
md_5
228a5cd59d Remove vanilla command ambiguity warning
Needless support burden
2018-09-07 20:51:57 +10:00
md_5
0ddd67b0a9 SPIGOT-4350: Expand EntityTeleportEvent to /teleport command 2018-09-07 20:32:57 +10:00
md_5
632449b6c4 SPIGOT-4349: End portal has wrong TeleportCause 2018-09-07 07:14:59 +10:00
md_5
c88ae6b195 SPIGOT-4342: Fix PlayerMoveEvent from pitch/yaw incorrect 2018-09-04 20:57:55 +10:00
md_5
3037eb3e7c BlockSpreadEvent for Kelp 2018-09-03 08:43:48 +10:00
md_5
6cf60193b0 SPIGOT-4340: Improve client bug workaround 2018-09-03 08:00:50 +10:00
md_5
60d7982024 SPIGOT-4338: breedCause API 2018-09-01 19:28:12 +10:00
md_5
4c219e2a12 Expand Recipe API to allow multiple Materials per slot 2018-09-01 11:04:48 +10:00
md_5
6304ccd95f SPIGOT-4116: Tweak tab complete spam since the client appears to be duplicating packets 2018-08-29 22:30:16 +10:00
Senmori
1486c29516 API to prevent PlayerBedLeaveEvent from changing a player's spawn location 2018-08-29 19:08:58 +10:00
md_5
9636bb8d77 SPIGOT-4319: Conduit damage should be a block event 2018-08-28 21:00:24 +10:00
md_5
c2cbdc5ab4 SPIGOT-4316: Do even less processing when block placement without physics requested 2018-08-27 18:29:28 +10:00
md_5
479ec05e3b SPIGOT-4310: Reset villager career level with trades 2018-08-27 07:00:56 +10:00
md_5
6dee81a6f7 SPIGOT-4302: Use defaults when setting unplaced furnaces 2018-08-27 06:50:15 +10:00
md_5
997d378dab Fix client stall in specific teleportation scenarios 2018-08-26 19:44:10 +10:00
md_5
5d0d83bb90 SPIGOT-4309: Add "forced" display of particles 2018-08-26 18:27:19 +10:00
md_5
ce1af0c348 Update to Minecraft 1.13.1 2018-08-26 12:00:00 +10:00
md_5
1bc24337d1 SPIGOT-4304: Turtle helmet overrides water breathing potion 2018-08-24 20:56:58 +10:00
md_5
3418f8d7a1 SPIGOT-4298: Block command sender returns wrong block 2018-08-22 08:52:17 +10:00
md_5
bfb9131494 SPIGOT-4283: Allow setting recipe groups 2018-08-17 20:40:54 +10:00
md_5
06112946da Fix whitespace issue in previous commit 2018-08-16 20:48:00 +10:00
md_5
5bf0abb3ae SPIGOT-4281: Fix looting enchantment 2018-08-16 20:39:29 +10:00
md_5
b865db3b2a SPIGOT-4278: EntityChangeBlockEvent for turtles laying eggs 2018-08-16 20:27:16 +10:00
md_5
1728eb298e SPIGOT-4279: Move turtle egg interact event 2018-08-16 20:23:17 +10:00
md_5
7c341e9beb Fix StructureGrowEvent originating from dispensers 2018-08-15 18:05:04 +10:00
Senmori
c0df4b82d3 SPIGOT-1936: LootTable API 2018-08-12 18:40:03 +10:00
md_5
0e1d79b449 Correct error in previous patch 2018-08-10 19:43:15 +10:00