Commit Graph

4467 Commits

Author SHA1 Message Date
md_5
2b2d084ac9 Add InventoryView#getSlotType 2018-12-26 10:44:39 +11:00
md_5
01a9959aaf Do not use deprecated ItemSpawnEvent constructor 2018-12-26 08:00:00 +11:00
md_5
9642498d24 SPIGOT-4547: Call EntitySpawnEvent as general spawn fallback event 2018-12-26 08:00:00 +11:00
md_5
963f4a5fc1 Add PlayerItemDamageEvent 2018-12-26 08:00:00 +11:00
md_5
63db044596 Add API to get / set base arrow damage 2018-12-26 08:00:00 +11:00
md_5
531c25d73f Add CraftMagicNumbers.MAPPINGS_VERSION for use by NMS plugins 2018-12-26 08:00:00 +11:00
md_5
d05c8b1481 Mappings Update 2018-12-26 08:00:00 +11:00
md_5
bd36e200da SPIGOT-4551: Ignore invalid attribute modifier slots 2018-12-25 09:27:17 +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
bc943daf94 Fix Jukebox API not synchronizing playing data with state 2018-12-22 11:01:54 +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
fc1024944e Make CraftBlockState use BlockPosition 2018-12-22 10:29:53 +11:00
md_5
89ab488721 SPIGOT-4543: Jukebox playing calls should not use legacy data 2018-12-22 10:24:13 +11:00
md_5
6ff5a64c25 SPIGOT-4541: Cancelled bucket events require inventory update 2018-12-22 10:12:16 +11:00
md_5
1b982fd67e Tweak Block.getTemperature to return actual block temperature 2018-12-19 10:53:08 +11:00
Evoluseis
f55c819185 SPIGOT-2151: Add support for getting simple bounding box of a block 2018-12-19 10:34:47 +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
cc1e3497db Add PlayerSpawned API for Endermites 2018-12-10 10:39:54 +11:00
Javacraft
068dab5be3 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.
2018-12-07 13:00:03 +11:00
Javacraft
ad7b00b762 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).
2018-12-07 12:59:08 +11:00
Javacraft
5f5a6767e8 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.
2018-12-05 19:22:03 -05: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
a4c555b6b1 Add Vanilla help to default permissions 2018-12-03 15:16:37 +11:00
md_5
6a398ac443 SPIGOT-4511: Trident doesn't lose durability 2018-12-01 08:18:09 +11:00
md_5
282dad196d Tweak outdated windows 2018-11-28 15:22:20 +11:00
md_5
ee6684bba7 SPIGOT-4507: BlockRedstoneEvent current flipped for levers 2018-11-28 09:09:56 +11:00
md_5
97b0057ad3 SPIGOT-4500: callSyncMethod broken 2018-11-24 17:52:29 +11:00
md_5
8cd538e661 SPIGOT-4498: Crash on startup 2018-11-23 14:20:59 +11:00
md_5
b4ee04baae SPIGOT-4496: Undeprecate MapView.getId and make int 2018-11-23 11:50:48 +11:00
md_5
ec937d0e07 SPIGOT-4472: Add Consumer scheduler methods 2018-11-23 11:40:18 +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
b1d149cfd0 SPIGOT-4489: NOTE_BLOCK incorrectly has BlockStateMeta 2018-11-16 15:18:28 +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