3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-22 06:20:06 +01:00
Commit graph

3445 Commits

Autor SHA1 Nachricht Datum
md_5
43431ba65b SPIGOT-5034: FoodLevelChangeEvent add getItem method 2019-06-14 19:41:36 +10:00
md_5
4090d01f6d SPIGOT-5047: Correct slot types for 1.14 inventories 2019-06-13 22:01:16 +10:00
md_5
d445af3b14 SPIGOT-5067: Add item meta for 1.14 spawn eggs 2019-06-13 20:51:39 +10:00
simpleauthority
649921e5ba Add Player#openBook(ItemStack) method
This PR adds the openBook(ItemStack) method to Player that allows opening a
Material.WRITTEN_BOOK for a player on demand.
2019-06-08 19:51:29 +10:00
PurkkaKoodari
b7db6fba12 SPIGOT-2000: Picking up items to shield slot working inconsistently when inventory is full 2019-06-08 19:48:49 +10:00
md_5
7cc7719ffd SPIGOT-5037: Player.openMerchant does not show merchant level 2019-06-07 19:48:12 +10:00
md_5
0fc6922bf3 SPIGOT-5028: Villager#setVillagerExperience() doesn't work 2019-06-06 20:46:32 +10:00
md_5
043d31deb0 SPIGOT-5015: Players in spectator mode prevent block placement and block projectiles 2019-06-02 19:54:24 +10:00
md_5
b7fea42777 SPIGOT-5010: World.getEntities returns entities in border chunks 2019-05-31 06:56:00 +10:00
md_5
455023c4bb Show incorrect size passed into createInventory 2019-05-29 19:58:01 +10:00
md_5
ba575a5a41 SPIGOT-4992: Various villager issues due to broken mapping 2019-05-28 20:43:33 +10:00
md_5
cb3d14c5a7 Update to Minecraft 1.14.2 2019-05-28 06:30:00 +10:00
i509VCB
fcb9f90bf3 SPIGOT-4946: Add VillagerCareerChangeEvent 2019-05-27 12:21:53 +10:00
blablubbabc
8d0f37228d SPIGOT-4752: Fixed inconsistency between isChunkLoaded and chunk load/unload events 2019-05-25 10:47:30 +10:00
md_5
c45c0a983b SPIGOT-4972: Cannot add contextual data to loot table API 2019-05-23 20:48:20 +10:00
md_5
6984fc4f83 SPIGOT-4968: Jukebox.setPlaying(null) causes error 2019-05-21 12:09:42 +10:00
md_5
de9b85b8a1 SPIGOT-4925: Uppercase world names no longer supported 2019-05-20 19:49:07 +10:00
md_5
c5e09ceaaa SPIGOT-4961: Cannot open various inventories 2019-05-20 19:46:20 +10:00
md_5
b114affb9d SPIGOT-4958: API to set map trackingPosition 2019-05-20 19:29:51 +10:00
md_5
401432b995 SPIGOT-4962: Bubble column blocks not classified as liquid 2019-05-20 19:27:02 +10:00
Yannick Lamprecht
eb99127a36 SPIGOT-4833: Allow access to LivingEntity memories 2019-05-19 20:09:15 +10:00
blablubbabc
9bda413457 SPIGOT-4943: Zombie villager conversion player API.
Also resetting the conversion player when stopping a conversion.
2019-05-18 10:58:58 +10:00
Brokkonaut
09d00e9f90 SPIGOT-4938: Call EntityPickupItemEvent for dolphins 2019-05-18 10:18:24 +10:00
Brokkonaut
a278e4453a SPIGOT-4948: Lectern.getInventory should return a LecternInventory 2019-05-17 20:18:13 +02:00
md_5
f690957311 SPIGOT-4935: Lore deserializes incorrectly from previous versions 2019-05-15 17:07:47 +10:00
md_5
dd99c5bb44 SPIGOT-4929: Beacon inventory getType() returns CHEST 2019-05-14 21:31:49 +10:00
md_5
89c52b7b0e Update to Minecraft 1.14.1 2019-05-14 10:00:00 +10:00
md_5
1fee35bef3 Remove outdated build delay. 2019-05-14 08:50:43 +10:00
md_5
a46ef53b75 Load custom worlds from correct location 2019-05-12 17:32:41 +10:00
md_5
21dbe8ab2a SPIGOT-4911: Cannot add firework rocket as charged projectile in crossbow 2019-05-12 11:22:21 +10:00
md_5
8ad02cd9c7 SPIGOT-4900: Rearchitect multiworld support for better compat with new villager AI 2019-05-12 11:15:48 +10:00
nathat890
b38a3c338c Add BlockShearEntityEvent for Dispensers shearing Sheep 2019-05-08 19:57:44 +10:00
Brokkonaut
70ebefca6b SPIGOT-4891: LecternInventory.getType() should return InventoryType.LECTERN 2019-05-08 16:58:57 +10:00
blablubbabc
0036d1b753 SPIGOT-4887: Villager level minimum is 1 2019-05-08 07:41:09 +10:00
md_5
3057b72c7d SPIGOT-4880: Potion effects with unknown names. 2019-05-07 09:22:45 +10:00
md_5
fe1199caa5 SPIGOT-4874: Use empty loot context
Appears to work irrespective of what the loot table requires
2019-05-06 20:00:27 +10:00
md_5
0d76f8658d SPIGOT-4872: LootTables missing a few loot tables 2019-05-06 08:40:15 +10:00
md_5
84400e66b8 SPIGOT-4871: Manually opened double chest doesn't have close animation 2019-05-05 18:39:58 +10:00
md_5
c441dba815 SPIGOT-4834: API for Villager levels and experience 2019-05-05 12:03:20 +10:00
md_5
3be0bc1c51 SPIGOT-4840: CartographyInventory not returned for InventoryClickEvent.getClickedInventory on result slot 2019-05-05 09:46:41 +10:00
md_5
68e72f630e SPIGOT-4863: --eraseCache doesn't work 2019-05-04 20:54:32 +10:00
md_5
09a453aede SPIGOT-4835: Manually opened chest doesn't have close animation 2019-05-03 17:57:05 +10:00
md_5
8ddb94da62 SPIGOT-4831: setKeepSpawnInMemory to false does not work 2019-05-02 15:15:53 +10:00
md_5
a584320126 SPIGOT-4836: Breaking barrier block causes error 2019-05-02 09:23:16 +10:00
md_5
1fa9a81514 SPIGOT-4802: Add CrossbowMeta 2019-05-01 20:18:01 +10:00
md_5
d5c2e3ccb6 SPIGOT-4714: Broadcasts can no longer be done from secondary threads 2019-05-01 18:46:18 +10:00
md_5
deeecc7f08 SPIGOT-4820: Villager Type API 2019-05-01 18:39:43 +10:00
md_5
3dcbf6b85b Regular arrow spawn method should not have changed type 2019-05-01 18:14:52 +10:00
md_5
327c30812b SPIGOT-4822: Existing world fails to load 2019-05-01 18:10:27 +10:00
md_5
4fa2ad7c66 SPIGOT-4825: Clearly error on asynchronous tile access 2019-05-01 17:05:21 +10:00
md_5
bbd66d2046 SPIGOT-4823: Crash picking up arrows 2019-05-01 06:48:56 +10:00
md_5
dadc539211 World#spawnArrow should return an AbstractArrow now 2019-04-30 21:32:03 +10:00
md_5
29b90d2410 SPIGOT-4819: Continue refactoring of Arrow-related APIs 2019-04-30 21:23:11 +10:00
md_5
9926d780c4 SPIGOT-4816: Editing book causes glitchy behaviour 2019-04-30 15:33:35 +10:00
md_5
d7d28b1244 SPIGOT-4818: Unit test banner patterns 2019-04-30 15:20:11 +10:00
md_5
5193f762a7 SPIGOT-4803: Fox related APIs 2019-04-28 17:59:12 +10:00
Coleman Yantis
ba2e5e7c74 Add TradeSelectEvent 2019-04-28 12:35:37 +10:00
md_5
e3df3d5cda Add Override annotations where appropriate 2019-04-28 11:38:01 +10:00
md_5
1fafd8f3f2 Allow direct opening of another player's inventory
Not recommended - bugs may result, especially re: slot updates
2019-04-27 13:14:40 +10:00
md_5
884028b23b SPIGOT-4784: Collar colour API for Cats 2019-04-27 12:52:52 +10:00
md_5
6bb1f087e7 Loosen restrictions on inventory sizing
Allows creating (but not opening) inventories created eg via Bukkit.createInventory(..., InventoryType.PLAYER);
2019-04-27 12:50:43 +10:00
md_5
6606cd88d2 SPIGOT-4753: Add Pose API 2019-04-27 10:27:05 +10:00
md_5
1949f5835d SPIGOT-4778: Bell Attachment is missing 2019-04-27 09:33:00 +10:00
md_5
4b9b0f4d5b Add variant API to MushroomCow 2019-04-26 14:48:19 +10:00
md_5
e2bbf62bf4 Don't concurrently execute ChunkGenerators by default 2019-04-26 12:08:59 +10:00
md_5
28adbcff5b SPIGOT-4751: Update mappings version 2019-04-26 09:08:32 +10:00
md_5
aed901654b SPIGOT-4744: Cannot spawn Cat entity 2019-04-25 14:59:08 +10:00
md_5
76a855c8ce SPIGOT-4742: Make Sign Colorable 2019-04-25 14:49:23 +10:00
Bjarne Koll
42f88f72b5 Replace ItemTag API with new API that also expands to Tiles and Entities 2019-04-25 14:42:39 +10:00
md_5
724ec10f33 SPIGOT-4741: InventoryHolder no longer returns DoubleChest 2019-04-25 13:57:18 +10:00
md_5
ed20842bcf Update to Minecraft 1.14 2019-04-25 12:00:00 +10:00
md_5
58c5c617d8 SPIGOT-4736: Serialized ItemStack Lore Doesn't Deserialize 2019-04-25 10:06:40 +10:00
md_5
de6cdd0364 SPIGOT-4735: ProjectileHitEvent Fires Immediately 2019-04-25 09:23:21 +10:00
md_5
14df075f80 SPIGOT-4728: Fix clicking on custom ender chests 2019-04-24 22:02:45 +10:00
md_5
6d504c2d4c SPIGOT-4725: Virtual Merchant GUI crashes server 2019-04-24 10:10:41 +10:00
md_5
c8d1e94209 SPIGOT-4718: Fix creating odd inventory sizes 2019-04-24 10:01:54 +10:00
md_5
005e1bbc13 SPIGOT-4726: Lore not being applied to new items 2019-04-24 09:54:58 +10:00
md_5
bfec7c79cd Apply outdated build delay 2019-04-24 09:52:43 +10:00
md_5
93ad381a68 SPIGOT-4727: Fix CraftEvil for legacy plugins 2019-04-24 09:40:42 +10:00
md_5
364b6fbb73 Fix weird test import in EnderDragonPhaseTest 2019-04-23 21:28:41 +10:00
md_5
0ec9b61de9 SPIGOT-4717: Fix adding recipes after clearRecipes is called 2019-04-23 20:53:56 +10:00
md_5
5fea790398 Apply import ordering rules to CraftBukkit classes 2019-04-23 14:56:58 +10:00
md_5
48c4c5ca81 Begin implementation of CheckStyle style checking 2019-04-23 14:00:30 +10:00
md_5
a2d787f6eb Update to Minecraft 1.14-pre5 2019-04-23 12:00:00 +10:00
md_5
a46fdbc62c Remove outdated build delay. 2019-04-22 16:44:07 +10:00
md_5
9ead700959 SPIGOT-4677: Add minecraft.admin.command_feedback permission 2019-04-20 13:24:20 +10:00
blablubbabc
c3749a2358 Remove the Damage tag from items when it is 0.
CraftBukkit (and Minecraft as well in some cases, such as when getting
an item from the creative inventory menu) will omit the Damage tag when
it is zero. However, minecraft will add the tag in some situations
nevertheless, such as when loading the ItemStack, or when explictly
setting the item undamaged.

These items (with and without the Damage tag for undamaged items) will
be considered as different by minecraft and CraftBukkit in various
situations, even though they should not. In CraftBukkit these items will
actually only be considered unsimilar if the items' metadata is not
'empty' (if it contains other additional metadata, such as enchantments,
etc.).

If the item's tag is empty after removing the Damage tag, it gets
completely removed. The setRepairCost function was adapted to behave in
the same way (removal of the tag if it becomes empty).
2019-04-20 13:00:41 +10:00
md_5
7c395d429c SPIGOT-4681: Note about additional world creation on STARTUP 2019-04-08 20:32:00 +10:00
md_5
812f66aa99 SPIGOT-4684: Update persistence of converting zombie villagers 2019-04-08 20:29:18 +10:00
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