Commit Graph

3356 Commits

Author SHA1 Message Date
md_5
f40143ef5e SPIGOT-4691: Fix custom world generator when placing tiles 2019-04-05 19:59:47 +11:00
blablubbabc
0e1cea5a4a Added Entity#setRotation.
Unlike Entity#teleport this can also be used while the entity is inside a vehicle.
2019-04-03 19:46:27 +11:00
md_5
0bf75bbde2 SPIGOT-4686: Enchantment ordering nondeterministic 2019-04-02 21:13:05 +11:00
md_5
4c8327f721 SPIGOT-4673: EntitySpawnEvent should not be called for players 2019-03-26 20:42:04 +11:00
md_5
d65a2576e4 SPIGOT-4674: Allow spawning hanging on top/bottom of block 2019-03-22 20:33:20 +11:00
md_5
1be05a2146 Prepare for imminent Java 12 release 2019-03-17 12:53:55 +11:00
md_5
a49270b28b Mappings Update 2019-03-17 11:48:53 +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
Yannick Lamprecht
39a287b7da Don't ignore newlines in PlayerListHeader/Footer 2019-03-10 11:04:15 +11:00
md_5
1dbe87c8cc SPIGOT-4646: Test + fix InventoryWrapper.getContents 2019-03-05 16:59:40 +11:00
md_5
faa6226959 SPIGOT-4650: Charging API for Vex 2019-03-05 16:47:33 +11:00
Parker Hawke
0f708cbf51 Add love mode API to Animals 2019-02-28 16:29:24 +11:00
md_5
cb98c6eaef Fix line endings in CraftDefaultPermissions 2019-02-25 19:44:21 +11:00
blablubbabc
4e4cde4816 Fix experience reward flag gets lost during MerchantRecipe conversion 2019-02-24 20:49:45 +11:00
md_5
6430d9c0ba SPIGOT-4632: BlockState location is not fixed 2019-02-21 20:32:44 +11:00
blablubbabc
14cd1688da Fix CraftInventoryMerchant#getSelectedRecipe if there is no active merchant recipe. 2019-02-21 20:29:37 +11:00
blablubbabc
c24abab787 Load custom permissions after default permissions. 2019-02-18 10:00:15 +11:00
Matthew Miller
bc99dfe89f Make tags Keyed 2019-02-17 16:21:01 +11:00
Matthew Miller
6fce004fa2 Added a method to get a list of tags 2019-02-17 16:20:53 +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
b26fb37427 Update outdated spigot link 2019-02-09 10:42:26 +11:00
md_5
c7ba97906c Fix incorrect method descriptor in previous commit 2019-02-06 08:08:45 +11:00
md_5
3d19f011e9 SPIGOT-4608: Improve quality of MapMeta APIs 2019-02-05 21:31:05 +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
1734f378f7 SPIGOT-4598: Shift click on custom workbench inventory causes crash 2019-01-30 11:10:04 +11:00
md_5
1748af891b Consistent multiple choice APIs for RecipeChoice. 2019-01-25 14:06:58 +11:00
md_5
61c762f448 Add CookTimeTotal API to Furnace 2019-01-23 10:26:43 +11:00
md_5
1a64d4ae2b SPIGOT-4587: Enforce at least one valid choice for FurnaceRecipe 2019-01-21 10:39:24 +11:00
md_5
50fbc3f190 SPIGOT-4576: Fix attributes in itemstack internal data being lost 2019-01-14 10:20:24 +11:00
Bjarne Koll
8059a937eb SPIGOT-4577: Fix loss of int/double custom tags when serialized to yaml 2019-01-14 10:12:55 +11:00
md_5
07e504c37f Clarify exception thrown when setting drop chance for player inventory 2019-01-13 14:11:12 +11:00
md_5
9dc56581e6 SPIGOT-4570: Add FluidLevelChangeEvent 2019-01-08 21:23:11 +11:00
md_5
b15abb12cb SPIGOT-4566: Don't special case NETHER_PORTAL teleport reason from plugins 2019-01-08 09:26:34 +11:00
hauno
100c3f07e9 Cap Objective Score Length
Adds a check for Score arguments that would crash the client
2019-01-05 16:21:07 +11:00
Andrew Krieger
6e842759cc Cross World Entity Teleportation
Use Entity.teleportTo for cross-world teleportation in CraftEntity.
2019-01-05 16:21:07 +11:00
md_5
7deba1c606 Check for blank OfflinePlayer Names 2019-01-05 16:21:07 +11:00
md_5
b021230837 Cap Channel Registrations 2019-01-05 16:21:07 +11:00
md_5
a610dcd821 Identify CraftScheduler threads with useful names 2019-01-05 16:21:07 +11:00
md_5
917411fd80 Remove redundant BlockPosition creation from sleep API 2019-01-02 22:58:07 +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
5be2ddcbd5 Replace version constants with methods to prevent compiler inlining 2018-12-30 16:00:31 +11:00
md_5
a5b9c7b3ee Use API method to create offset command completions 2018-12-28 10:34:51 +11:00
md_5
2bc7d1df25 SPIGOT-3747: Add API for force loaded chunks 2018-12-27 12:44:50 +11:00
md_5
a408f3751e SPIGOT-3538: Add getHitBlockFace for ProjectileHitEvent 2018-12-27 12:19:45 +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
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
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
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
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
38cf676e32 SPIGOT-4534: CreatureSpawnEvent not being called for CHUNK_GEN 2018-12-17 12:36:12 +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
cc1e3497db Add PlayerSpawned API for Endermites 2018-12-10 10:39:54 +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
282dad196d Tweak outdated windows 2018-11-28 15:22:20 +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
b1d149cfd0 SPIGOT-4489: NOTE_BLOCK incorrectly has BlockStateMeta 2018-11-16 15:18:28 +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
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
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
5184216f27 SPIGOT-4447: Clear error for people trying to set an item as a block 2018-10-27 08:21:49 +11:00
md_5
d6b57bd963 SPIGOT-4446: Legacy rotation methods don't work for wall mounted skulls 2018-10-27 08:15:41 +11:00
blablubbabc
4a47be6164 Add ray tracing and bounding box API 2018-10-26 20:00:00 +11:00
md_5
a835b03538 SPIGOT-4443: Scoreboard RenderType API 2018-10-26 19:38:41 +11:00
md_5
b4230a9a7e Update to Minecraft 1.13.2 2018-10-23 06:00:00 +11:00
md_5
a639ae44d2 Remove outdated build delay. 2018-10-23 05:57:42 +11:00
blablubbabc
e3d7b2fd96 Add Block#isPassable 2018-10-13 09:49:25 +11:00
md_5
e7ced970d2 Catch plugins setting null Material or BlockData to blocks 2018-10-13 09:43:05 +11:00
Parker Hawke
1ceee63341 Implement maximum repair cost API to AnvilInventory 2018-10-06 19:26:40 +10:00
md_5
6a0c4e1cc2 SPIGOT-4411: Document use of null for shulker colours 2018-10-06 10:17:06 +10:00
Parker Hawke
7a2f486768 Implement PlayerRecipeDiscoverEvent and methods to (un/)discover recipes 2018-10-01 19:15:12 +10:00
Nathan Wolf
116cb9a1bc SPIGOT-4399: Add attribute modifier equality test 2018-09-27 20:56:49 +10:00
md_5
5ee1c18a4b SPIGOT-4398: Set ASM7_EXPERIMENTAL flag 2018-09-27 20:54:14 +10:00
md_5
1a7f2d109e SPIGOT-4397: isChunkGenerated API 2018-09-26 17:19:16 +10:00
Ugleh
c1ecaa2ff7 API to generate filled explorer maps 2018-09-24 19:32:42 +10:00
md_5
5cffeca21f SPIGOT-4391: Sign editable API 2018-09-24 15:01:10 +10:00
md_5
7d506c6cd7 SPIGOT-4389: Fix empty custom inventory title 2018-09-23 19:14:32 +10:00
Senmori
fc10dec5f3 Don't throw error on invalid data in CraftMetaItem. 2018-09-22 10:25:27 -04:00
md_5
65bb2d0f7d Increase expiration time to 10 days 2018-09-22 17:14:27 +10:00
Senmori
88a5346fea Add API to locate structures. 2018-09-22 17:11:17 +10:00
Senmori
8164f4b25b SPIGOT-1916: Attribute modifiers for ItemStacks 2018-09-21 20:51:04 +10:00
Parker Hawke
a222e4a252 Implement BatToggleSleepEvent 2018-09-17 16:49:45 +10:00
md_5
94b8708aca SPIGOT-4373: Item display colours are white by default
Should probably look at all this code at some point
2018-09-16 08:30:11 +10:00
md_5
1cead6280f SPIGOT-4363: Bad colours in leather armor 2018-09-11 20:44:34 +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
3123a069bf SPIGOT-4352: MoistureChangeEvent 2018-09-09 18:56:38 +10:00
Pante
19d654bd5e Add ServerLoadEvent 2018-09-08 13:40:42 +10:00
md_5
3eb8af2340 SPIGOT-4348: Use online player for setting skull owner if possible 2018-09-06 20:47:37 +10:00
Senmori
ee5efeb0dc Add getFacing method to get the current cardinal direction an entity is facing. 2018-09-03 18:06:58 +10:00
md_5
60d7982024 SPIGOT-4338: breedCause API 2018-09-01 19:28:12 +10:00
md_5
dc69d2b3db Fix unbound shaped recipe ingredients 2018-09-01 14:12:20 +10:00
md_5
4c219e2a12 Expand Recipe API to allow multiple Materials per slot 2018-09-01 11:04:48 +10:00
md_5
3831ae621f SPIGOT-4325: Validate coordinate arguments in Chunk/ChunkSnapshot 2018-08-29 07:44:36 +10:00
md_5
a1ab86d8cb SPIGOT-4321: Team#getSuffix returns the prefix 2018-08-29 07:26:59 +10:00
md_5
9636bb8d77 SPIGOT-4319: Conduit damage should be a block event 2018-08-28 21:00:24 +10:00
md_5
4228a56c0d SPIGOT-4318: More missing spawn eggs 2018-08-27 21:01:46 +10:00
md_5
908516f102 Fix some formatting in CraftLootable 2018-08-27 18:32:35 +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
f598574711 SPIGOT-4313: Unsupported plugin should not crash server 2018-08-27 12:57:04 +10:00
md_5
479ec05e3b SPIGOT-4310: Reset villager career level with trades 2018-08-27 07:00:56 +10:00
md_5
d0bb0a1d7e Fix some tests randomly failing 2018-08-26 20:44:50 +10:00
md_5
b3dc236663 SPIGOT-4307: Fix hacky API for banners on shields 2018-08-26 19:18:56 +10:00
md_5
2a271162af SPIGOT-4301: Fix more invalid enchants 2018-08-26 18:48:32 +10:00
md_5
5d0d83bb90 SPIGOT-4309: Add "forced" display of particles 2018-08-26 18:27:19 +10:00
Senmori
a677257885 Add additional tests for CraftBlockData 2018-08-26 18:17:55 +10:00
md_5
ce1af0c348 Update to Minecraft 1.13.1 2018-08-26 12:00:00 +10:00
md_5
162bda93ff Add note about 1.13.1 2018-08-26 13:58:37 +10:00
md_5
f41aae401e Remove reflection from CraftBlockData 2018-08-25 08:41:14 +10:00
md_5
3418f8d7a1 SPIGOT-4298: Block command sender returns wrong block 2018-08-22 08:52:17 +10:00
md_5
903c0e30c1 SPIGOT-4296: Ensure recipe group set in craft translation 2018-08-21 18:21:11 +10:00
md_5
89492315d1 launchProjectile Fish -> FishHook
Thanks Senmori & SpoonFed on IRC
2018-08-21 18:21:11 +10:00
md_5
82f4b3b1d9 SPIGOT-4292: Ignore itemstacks with invalid enchants 2018-08-20 12:49:36 +10:00
md_5
bfb9131494 SPIGOT-4283: Allow setting recipe groups 2018-08-17 20:40:54 +10:00
BlackHole
375bc637bd SPIGOT-4276: Fix untyped statistics causing client errors 2018-08-16 20:42:40 +10:00
md_5
452a173807 SPIGOT-4271: Fix API error when enderman are not carrying a block 2018-08-15 08:51:18 +10:00
md_5
4a24108665 SPIGOT-4261: Missing turtle / phantom spawn egg meta 2018-08-13 18:22:57 +10:00
Senmori
c0df4b82d3 SPIGOT-1936: LootTable API 2018-08-12 18:40:03 +10:00
md_5
15da706706 SPIGOT-4258: Add Player.updateCommands method 2018-08-12 09:41:00 +10:00
md_5
b47946ff19 Fix regression in item priority conversion 2018-08-12 08:04:52 +10:00
md_5
a0a27e5876 Switch around item conversion code as well 2018-08-11 20:19:12 +10:00