Commit graph

2852 commits

Author SHA1 Message Date
CraftBukkit/Spigot
b05a252b02 Cross World Entity Teleportation
Use Entity.teleportTo for cross-world teleportation in CraftEntity.

By: Andrew Krieger <Slizyboy@hotmail.com>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
bda697612e Check for blank OfflinePlayer Names
By: md_5 <git@md-5.net>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
d19f284744 Descriptive kick reasons instead of Nope!
By: drXor <mcyoungsota@gmail.com>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
3eede450ed Cap Channel Registrations
By: md_5 <git@md-5.net>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
fe7c2ee97f Identify CraftScheduler threads with useful names
By: md_5 <git@md-5.net>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
44f09e5404 Skip tests on default builds
By: md_5 <git@md-5.net>
2019-01-04 20:25:27 +11:00
CraftBukkit/Spigot
3e70f09bdf SPIGOT-4563: Fix regenerating chunks saved to disk already
By: md_5 <git@md-5.net>
2019-01-03 15:44:06 +11:00
CraftBukkit/Spigot
ec15f56573 Remove redundant BlockPosition creation from sleep API
By: md_5 <git@md-5.net>
2019-01-02 22:58:07 +11:00
CraftBukkit/Spigot
5aff480181 Add RecipeChoice.ExactChoice API for NBT matches on ingredients
By: md_5 <git@md-5.net>
2019-01-02 15:56:21 +11:00
CraftBukkit/Spigot
1336c4afb9 SPIGOT-4560: Add HumanEntity.sleep and related APIs
By: md_5 <git@md-5.net>
2019-01-02 14:41:31 +11:00
CraftBukkit/Spigot
19795494f3 SPIGOT-4562: reducedDebugInfo not updated on world change
By: md_5 <git@md-5.net>
2019-01-02 10:57:47 +11:00
CraftBukkit/Spigot
d2d0415a74 SPIGOT-4556: Fix plugins closing inventory during drop events
By: md_5 <git@md-5.net>
2018-12-31 10:13:02 +11:00
CraftBukkit/Spigot
92b2d3a400 Replace version constants with methods to prevent compiler inlining
By: md_5 <git@md-5.net>
2018-12-30 16:00:31 +11:00
CraftBukkit/Spigot
adabfc807a Use API method to create offset command completions
By: md_5 <git@md-5.net>
2018-12-28 10:34:51 +11:00
CraftBukkit/Spigot
cf4055b264 SPIGOT-3747: Add API for force loaded chunks
By: md_5 <git@md-5.net>
2018-12-27 12:44:50 +11:00
CraftBukkit/Spigot
92e8783d1e SPIGOT-3538: Add getHitBlockFace for ProjectileHitEvent
By: md_5 <git@md-5.net>
2018-12-27 12:19:45 +11:00
CraftBukkit/Spigot
aa6ac2b0e2 SPIGOT-2864: Make Arrow / Item setTicksLived behave like FallingBlock
By: md_5 <git@md-5.net>
2018-12-27 12:02:17 +11:00
CraftBukkit/Spigot
b9c01d1768 SPIGOT-1811: Death message not shown on respawn screen
By: md_5 <git@md-5.net>
2018-12-27 11:37:19 +11:00
CraftBukkit/Spigot
6b0b34838e SPIGOT-943: InventoryCloseEvent called on death regardless of open inventory
By: md_5 <git@md-5.net>
2018-12-27 11:36:53 +11:00
CraftBukkit/Spigot
e7b5d8a7cf SPIGOT-794: Call EntityPlaceEvent for Minecart placement
By: md_5 <git@md-5.net>
2018-12-27 10:45:36 +11:00
CraftBukkit/Spigot
d085b4781b Add InventoryView#getSlotType
By: md_5 <git@md-5.net>
2018-12-26 10:40:14 +11:00
CraftBukkit/Spigot
6631f07cae Do not use deprecated ItemSpawnEvent constructor
By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00
CraftBukkit/Spigot
fbbba56eca SPIGOT-4547: Call EntitySpawnEvent as general spawn fallback event
By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00
CraftBukkit/Spigot
5e4a190d2c Add PlayerItemDamageEvent
By: md_5 <md_5@live.com.au>
2018-12-26 08:00:00 +11:00
CraftBukkit/Spigot
1f95e4ef1c Add API to get / set base arrow damage
By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00
CraftBukkit/Spigot
70789fee2e Add CraftMagicNumbers.MAPPINGS_VERSION for use by NMS plugins
By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00
CraftBukkit/Spigot
d7e312278d Mappings Update
By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00
CraftBukkit/Spigot
239b2828db SPIGOT-4551: Ignore invalid attribute modifier slots
By: md_5 <git@md-5.net>
2018-12-25 09:27:17 +11:00
CraftBukkit/Spigot
1471b6a942 Reduce copying of positions from block states
By: md_5 <git@md-5.net>
2018-12-22 11:32:11 +11:00
CraftBukkit/Spigot
bcdd4e14ac SPIGOT-4387: Durability looping from cancelled BlockPlaceEvent
By: md_5 <git@md-5.net>
2018-12-22 11:25:14 +11:00
CraftBukkit/Spigot
9ac4c1601e SPIGOT-4493: Allow burnt out furnaces to remain lit like Vanilla whilst retaining SPIGOT-844 API
By: md_5 <git@md-5.net>
2018-12-22 11:04:31 +11:00
CraftBukkit/Spigot
ecd55ecaab Fix Jukebox API not synchronizing playing data with state
By: md_5 <git@md-5.net>
2018-12-22 11:01:20 +11:00
CraftBukkit/Spigot
d6e57b855b SPIGOT-4503: Add API to insert complete ItemStack into Jukebox
By: md_5 <git@md-5.net>
2018-12-22 10:50:57 +11:00
CraftBukkit/Spigot
c030d74398 Make CraftBlockState use BlockPosition
By: md_5 <git@md-5.net>
2018-12-22 10:28:43 +11:00
CraftBukkit/Spigot
1d3a5b9292 SPIGOT-4543: Jukebox playing calls should not use legacy data
By: md_5 <git@md-5.net>
2018-12-22 10:24:13 +11:00
CraftBukkit/Spigot
b33f268413 SPIGOT-4541: Cancelled bucket events require inventory update
By: md_5 <git@md-5.net>
2018-12-22 10:12:16 +11:00
CraftBukkit/Spigot
20287f3b40 Tweak Block.getTemperature to return actual block temperature
By: md_5 <git@md-5.net>
2018-12-19 10:53:08 +11:00
CraftBukkit/Spigot
0cbe91dd0f SPIGOT-2151: Add support for getting simple bounding box of a block
By: Evoluseis <contact@evoluseis.me>
2018-12-17 19:11:04 -05:00
CraftBukkit/Spigot
42831b84cd Add BlockData#getAsString(boolean) to hide unspecified states
By: Parker Hawke <hawkeboyz2@hotmail.com>
2018-12-16 18:21:29 -05:00
CraftBukkit/Spigot
7114dbbb9d SPIGOT-4534: Only call event for new chunks
By: md_5 <git@md-5.net>
2018-12-17 21:36:21 +11:00
CraftBukkit/Spigot
0d2bc86153 SPIGOT-4534: CreatureSpawnEvent not being called for CHUNK_GEN
By: md_5 <git@md-5.net>
2018-12-17 12:30:16 +11:00
CraftBukkit/Spigot
ee3eaaf511 SPIGOT-4527: Fix sponges with waterlogged blocks
By: md_5 <git@md-5.net>
2018-12-13 14:28:34 +11:00
CraftBukkit/Spigot
bbf578d00a SPIGOT-4526: Add conversion time API for Zombie & subclasses
By: md_5 <git@md-5.net>
2018-12-13 14:10:36 +11:00
CraftBukkit/Spigot
83baf22bde Mappings Update
By: md_5 <git@md-5.net>
2018-12-13 11:00:00 +11:00
CraftBukkit/Spigot
8817bc22d9 Fix missing ServerListPingEvent call for legacy pings
By: md_5 <git@md-5.net>
2018-12-12 11:19:31 +11:00
CraftBukkit/Spigot
c388691b53 Remove unnecessary line in BlockMushroom
By: md_5 <git@md-5.net>
2018-12-10 11:14:39 +11:00
CraftBukkit/Spigot
d2a0453b60 Add PlayerSpawned API for Endermites
By: md_5 <git@md-5.net>
2018-12-10 10:39:54 +11:00
CraftBukkit/Spigot
344ffef3d9 Enable optional source JAR shading via profile shadeSourcesJar
mvn clean source:jar install -PshadeSouresJar

achieves this goal. If 'source:jar' is not specified the resulting
source JAR will not include CraftBukkit sources. Not specifying
'install' will result in an unshaded CraftBukkit source JAR and not
include other sources, making it useless for debugging purposes.
Shade CraftBukkit sources JAR.

Add maven-shade-plugin configuration directives to create sources JAR
and shade contents thereof. This ensures when source:jar goal is run,
relocated CraftBukkit source files are also relocated for debugging
and final code review purposes.

By: Javacraft <frelling@java-craft.com>
2018-12-05 23:04:41 -05:00
CraftBukkit/Spigot
21a5dbe50f Use ImmutableList rather than AbstractList for CraftMetaBook
Although the AbstracList implementation does return a list, it is a
of a form that does not play well with libraries using reflection,
such as Gson. Leveraging a stream and the ImmutableList collector,
this process is greatly simplified (and cleaner).

By: Javacraft <frelling@java-craft.com>
2018-12-05 19:44:07 -05:00
CraftBukkit/Spigot
98ccac33d9 Fix setRecipes(List) not setting Knowledge Book recipes.
Iterator source for recipe NamespacedKeys is changed to use method
parameter 'recipes' specifying recipes to be added, rather than class
property 'recipes', to which recipes are added.

By: Javacraft <frelling@java-craft.com>
2018-12-05 19:22:03 -05:00