Commit Graph

4104 Commits

Author SHA1 Message Date
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
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
md_5
e2785f4eda Remove note about development build 2018-11-02 19:19:00 +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
md_5
aed3aecbaf Make natural item dropping mimic Vanilla
Make sure we don't regress SPIGOT-260 by using exact drop method like Entity does
2018-10-31 20:10:39 +11:00
AndaBlock
1057710a78 SPIGOT-4376: Add draft BlockDropItemEvent 2018-10-31 19:55:53 +11:00
md_5
f3f2fe5795 SPIGOT-4455: ChunkData.getType returns legacy material 2018-10-29 07:17:59 +11:00
md_5
72c3617dfe SPIGOT-4433: Always generate ProtoChunk 2018-10-28 11:30:35 +11:00
md_5
5184216f27 SPIGOT-4447: Clear error for people trying to set an item as a block 2018-10-27 08:21:49 +11:00