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

3482 Commits

Autor SHA1 Nachricht Datum
Bjarne Koll
6b00b14539 #639: Deep clone itemmetas persistent container on clone
After this commit, spigot now creates a deep copy of the
itemmeta's persistent data container when the itemmeta
instance is cloned.

This change fixes the bug that, after cloning itemmeta, the container
instance the cloned meta would point to was equal to the original one.
This resulted in two itemmeta instances sharing a single persistent
container.
2020-03-02 13:10:21 +11:00
md_5
3d61a853e3 Fix formatting in CraftLivingEntity 2020-02-23 19:01:11 +11:00
konsolas
f7ab30557e #633: Add LivingEntity#attack, LivingEntity#swingMainHand, LivingEntity#swingOffHand 2020-02-23 19:00:18 +11:00
md_5
d5ef2eab9e SPIGOT-5591: Allow concurrent potion effects 2020-02-23 10:33:10 +11:00
md_5
25a9a9ff62 SPIGOT-5592: Custom ChunkGenerator can cause bugged dirt 2020-02-23 10:29:46 +11:00
md_5
3f6d0de989 Make it clear in error messages that api-version above 1.13 is also supported 2020-02-23 09:42:33 +11:00
md_5
fba9f4876b Improve legacy conversion of some materials that changed post flattening 2020-02-21 12:13:05 +11:00
Lars Dormans
f7cdb53c0e SPIGOT-5311: Add API to get/set item associated with throwable projectiles 2020-02-21 09:53:51 +11:00
konsolas
ab85433d7f Add set/isAware to disable Vanilla AI components of a Mob 2020-02-20 09:19:59 +11:00
Brokkonaut
918061b75c SPIGOT-5468: Beehive TileEntity was not loaded for BlockStateMeta 2020-02-17 18:08:10 +01:00
konsolas
37f32da8f8 SPIGOT-5573, SPIGOT-5574: Move CustomChunkGenerator generation code back to buildBase() 2020-02-13 09:04:28 +11:00
md_5
d171d7eb8e SPIGOT-5572: Fix console/API completion of Vanilla commands 2020-02-11 12:03:36 +11:00
ShaneBee
708be69539 SPIGOT-5468: Improve Beehive TileEntity API 2020-02-09 10:47:11 +11:00
ysl3000
2d151f4c33 #624: Add an API for passing the heightmap to getHighestBlockAt* method 2020-02-09 10:32:24 +11:00
ysl3000
807a677e9a SPIGOT-5558: Fix World#getHighestBlockAt, previously off by +1 2020-02-03 09:42:48 +11:00
md_5
d70084e53d Remove unused seed in CustomChunkGenerator 2020-02-02 19:32:36 +11:00
konsolas
8a66d4c7ac #619: Allow delegation of certain elements to Vanilla when using a custom ChunkGenerator
Allows delegation of caves, decorations, mobs and structures to the Vanilla generation algorithms.
Overriding these methods to return true enables that aspect of Vanilla generation, which is applied after the ChunkGenerator's custom generation.
2020-02-02 19:27:10 +11:00
ShaneBee
0098037647 #618: Add method to remove a recipe by its key 2020-02-02 10:32:49 +11:00
md_5
e82b5477ae SPIGOT-5556: Some biome methods use incorrect positions
See SPIGOT-5529
2020-02-01 17:30:40 +11:00
md_5
512ff7a52f Print legacy load reason in debug mode 2020-01-31 19:32:57 +11:00
md_5
df371c1b69 SPIGOT-5554: Clear error message when BossBar is used for not fully joined players 2020-01-31 08:36:59 +11:00
md_5
6bbb4e7348 Clean up CraftBlockData.toString 2020-01-29 09:53:13 +11:00
md_5
b1e96bd5ca SPIGOT-5551: BlockState.setData fails when used by legacy plugin 2020-01-29 09:22:43 +11:00
md_5
6515ea4957 SPIGOT-5537: Bee nests generated by growing trees near flower have no bees 2020-01-28 09:48:28 +11:00
md_5
d82b314944 Remove unused CraftWorld.getId method 2020-01-27 19:30:17 +11:00
md_5
a0e88fb362 SPIGOT-5536: Material.values() causes legacy data init 2020-01-23 08:53:36 +11:00
md_5
a81f6ed397 SPIGOT-5532: Material.values() yields an exception 2020-01-22 13:23:55 +11:00
md_5
efd6cf55fc Only load legacy support data if something uses it 2020-01-22 11:15:58 +11:00
md_5
dad61762f8 Fix log messages being split across GUI and terminal 2020-01-22 09:11:37 +11:00
md_5
3c9a4a3ba6 SPIGOT-5529: BiomeGrid uses incorrect indexing 2020-01-22 08:54:12 +11:00
md_5
6881a10803 Update to Minecraft 1.15.2 2020-01-22 08:00:00 +11:00
anhcraft
b91ce1192a #601: Implement Player#sendExperienceChange 2020-01-21 10:32:16 +11:00
md_5
661bebc642 Remove outdated build delay. 2020-01-19 11:33:04 +11:00
Phoenix616
01334e7dcb #616: Fix exception on entity portal teleport attempt 2020-01-15 08:13:44 +11:00
md_5
d208733e70 SPIGOT-5509: Sleeping player does not eject bed when teleported 2020-01-11 14:14:23 +11:00
md_5
108b44ca20 SPIGOT-5506: CustomChunkGenerator is processing Phantoms in the Nether and The End 2020-01-10 09:22:31 +11:00
md_5
e7202cd444 SPIGOT-5496: API to create and manipulate hardcore worlds 2020-01-04 10:14:23 +11:00
md_5
731e819c94 SPIGOT-5486: Raider CanJoinRaid 2019-12-29 14:21:16 +11:00
md_5
4e4a9b200d SPIGOT-5487: Increase outdated build delay 2019-12-29 14:18:05 +11:00
md_5
edcb0a4b6a SPIGOT-5482: Structure Block setUsageMode encounters NullpointerException 2019-12-25 10:09:20 +11:00
md_5
82322fe06c SPIGOT-5426: isSimilar for player heads fails 2019-12-25 10:05:11 +11:00
md_5
817116de01 SPIGOT-5413: Add TrustedPlayer API for foxes 2019-12-23 12:34:53 +11:00
md_5
85106731bf SPIGOT-5471: Allow empty title/author for books 2019-12-22 18:40:55 +11:00
ShaneBee
2d9db47fb5 Add TimeSkipEvent 2019-12-21 18:33:20 +11:00
md_5
384225c282 Add thread name to TerminalConsoleWriterThread 2019-12-21 12:01:52 +11:00
md_5
90ef74efbe SPIGOT-794: Add boats to EntityPlaceEvent 2019-12-19 12:53:27 +11:00
md_5
30a1b6911f Update to Minecraft 1.15.1 2019-12-18 08:00:00 +11:00
md_5
e2790ae2ea Remove outdated build delay. 2019-12-18 07:00:00 +11:00
md_5
61d4b09023 SPIGOT-5428: Better handling of some ItemMeta 2019-12-14 10:54:12 +11:00
ShaneBeee
b97d581af2 SPIGOT-5443: BEE_NEST BlockState
- Add missing BEE_NEST block state
- Add a missing break in CraftMetaBlockState
2019-12-13 09:12:38 +11:00
BlackHole
beff9fb9dd SPIGOT-5437: Fix CustomChunkGenerator.CustomBiomeGrid ignoring the y value for biomes 2019-12-11 19:43:03 +01:00
md_5
db0dafb17c SPIGOT-5422: Add support for 3-dimensional biomes 2019-12-11 15:28:37 +11:00
md_5
de42aa13f3 Update to Minecraft 1.15 2019-12-11 09:00:00 +11:00
md_5
656701746a SPIGOT-5417: Campfire should implement Directional 2019-12-09 12:52:46 +11:00
md_5
eeae942e44 SPIGOT-5416: Block.getDrops gives drops even when tool should not give drops 2019-12-08 10:39:57 +11:00
md_5
e9bb2f15aa SPIGOT-5403: isSimilar returns true for different skulls 2019-12-05 10:37:02 +11:00
md_5
5c9e723692 SPIGOT-5409: Remove unnecessary defaulting in CraftMetaBookSigned 2019-12-05 10:28:16 +11:00
md_5
56118c6760 Increase outdated build delay to 4 weeks 2019-11-08 20:07:56 +11:00
pop4959
7554e08e45 Add UUID support to CraftProfileBanList 2019-10-20 19:22:04 +11:00
blablubbabc
13caf84858 SPIGOT-5370: Fix Block#rayTrace considering other blocks. 2019-10-18 20:28:06 +02:00
md_5
1e7a197f7a Fix incorrect inequality in 683bae0670
Thanks Brokkoli & Phoenix616 for pointing out
2019-10-17 20:35:42 +11:00
ShaneBeee
db98d54df9 SPIGOT-5362: Suspicious stews fail isSimilar check 2019-10-14 21:04:58 +11:00
jojokobi
7deb3728e3 SPIGOT-5309: Call cancelled EntityDamageEvent when damaging invisible armor stands 2019-10-06 19:20:31 +11:00
md_5
683bae0670 SPIGOT-5342: Lore lost when deserializing items with no version stored 2019-10-06 18:34:51 +11:00
md_5
c2d1201118 SPIGOT-5353: Expand explosion API by adding source entity 2019-10-05 17:16:52 +10:00
md_5
a3fdef8c32 SPIGOT-5331: Add support for Java 13 2019-09-18 20:05:04 +10:00
md_5
6ddeb980cf SPIGOT-5317: Create accessors for player absorption hearts 2019-09-13 20:04:43 +10:00
md_5
5d335e9684 SPIGOT-5315: Cannot serialize armor stand ItemMeta 2019-09-11 18:14:46 +10:00
ShaneBeee
03b145b300 SPIGOT-5158: Add SuspiciousStewMeta 2019-09-09 19:22:40 +10:00
md_5
9aa743049f SPIGOT-5310: Add Chunk.contains 2019-09-08 11:39:08 +10:00
md_5
7ef2b20d0b SPIGOT-3308: RecipeIterator cannot longer remove recipes 2019-09-07 17:07:36 +10:00
md_5
023f438cca Add API to get/set inhabited time of a Chunk 2019-09-07 16:48:30 +10:00
md_5
b79a86edeb SPIGOT-5250: Add ChunkSnapshot.contains 2019-09-07 16:40:30 +10:00
md_5
403ac18579 SPIGOT-5301: BlockIgniteEvent for campfire + arrow 2019-09-02 13:14:13 +10:00
md_5
96bc85f0b4 SPIGOT-5298: Remove unexplained 0.1 drop chance offset 2019-08-31 16:54:49 +10:00
md_5
8d4bc54183 SPIGOT-5293: Sponge behaviour differs from Vanilla 2019-08-28 20:10:04 +10:00
anhcraft
cbdd713908 SPIGOT-5211: Add Raid API 2019-08-28 19:52:32 +10:00
md_5
7055c93117 SPIGOT-5264: Call event for experience orbs losing their target 2019-08-24 19:06:17 +10:00
md_5
4914117237 SPIGOT-5282: Improve bucket event API 2019-08-23 20:30:16 +10:00
md_5
6bbb3b04ed SPIGOT-5281: Clearer error messages for ChunkSnapshot misuse 2019-08-23 20:10:58 +10:00
md_5
2012f1e048 SPIGOT-5269: Item attribute modifiers don't persist their order 2019-08-16 20:57:49 +10:00
md_5
368f4e9940 Increase outdated build delay to 3 weeks 2019-08-10 10:52:38 +10:00
md_5
660b6d19a7 SPIGOT-5249: Do not add data to empty loot table 2019-08-09 20:19:06 +10:00
md_5
1ec1b05e2a SPIGOT-5245: Unneeded cast to WorldNBTStorage in CraftWorld#getWorldFolder 2019-08-05 20:20:38 +10:00
md_5
e5e8eec2cf SPIGOT-5241: setAttributeModifiers does not work on untouched stack 2019-08-03 12:55:20 +10:00
md_5
803eaa3169 SPIGOT-5231: ShotAtAngle API for Fireworks 2019-08-02 19:32:10 +10:00
md_5
da62a66ab7 SPIGOT-5225: World handle isn't closed if world is unloaded without saving 2019-07-29 16:37:48 +10:00
md_5
104b3831f8 SPIGOT-5222: Cannot get Long values from Entity memory 2019-07-29 16:37:48 +10:00
Carl Poole
3e7b3862c7 SPIGOT-5195 (#2): Player loot table does not drop when keepInventory is on 2019-07-27 09:43:51 +10:00
md_5
c88867e4fc SPIGOT-5208: Reset state on cancelled EntityTransformEvent to prevent event spam 2019-07-26 09:58:18 +10:00
md_5
f744c09c02 SPIGOT-5214: setCooldown not working 2019-07-26 09:40:09 +10:00
md_5
860b354014 SPIGOT-5204: Typo in deprecated enchantment name 2019-07-24 09:30:28 +10:00
BlackHole
c98d61bfcd SPIGOT-4712: Allow spawning of upwards or downwards facing item frames
Also use correct block position for spawning hanging entities
2019-07-23 13:02:23 +10:00
BlackHole
b0ef3996ed SPIGOT-4679 Fix black lines after book paragraphs
Also increase max page count to 100 to match 1.14
2019-07-23 09:28:12 +10:00
LelouBil
1215188ff7 SPIGOT-5180: Add Villager#sleep() and #wakeup() methods 2019-07-22 18:22:44 +10:00
md_5
e73aabd666 Update to Minecraft 1.14.4 2019-07-20 09:00:00 +10:00
md_5
a77ba00b60 Remove outdated build delay. 2019-07-20 09:00:00 +10:00
md_5
5f88938850 Tweak build expiration to 7 days 2019-07-10 19:57:22 +10:00
md_5
7ad3a1f468 SPIGOT-5146: BlockDataMeta does not work 2019-07-09 10:47:07 +10:00
md_5
087a2cf4db Print number of force loaded chunks per plugin in crash reports 2019-07-08 12:34:15 +10:00
Spottedleaf
07b5b06d2c Add Plugin Chunk Ticket API
Allows plugins to force certain chunks to be kept loaded for as long as they are enabled.
2019-07-08 12:16:01 +10:00
md_5
7ffb2a2733 SPIGOT-5149: resetRecipes does nothing 2019-07-07 11:40:14 +10:00
md_5
a2275f19e9 SPIGOT-5141: World.generateTree() causes ClassCastException with huge mushrooms 2019-07-06 10:13:00 +10:00
md_5
31d4a777c7 SPIGOT-5142: Ignore invalid firework effects 2019-07-06 10:08:52 +10:00
md_5
375969a674 Re-add chunk GC for plugin chunk loads 2019-07-03 10:29:02 +10:00
md_5
5815136865 SPIGOT-5123: Snapshot tile entities can end up with a non-null world 2019-07-03 10:22:42 +10:00
md_5
a0e47473ce SPIGOT-5121: Method to set PierceLevel of arrows 2019-06-30 09:52:18 +10:00
md_5
bf0ea33de6 SPIGOT-5105: The EntityTag nbt tag disappears from preset armor_stand items. 2019-06-29 16:55:36 +10:00
md_5
63cde5caa5 SPIGOT-5106: Config option to prevent plugins with incompatible API's from loading 2019-06-29 16:36:58 +10:00
md_5
f1f33559fa Update to Minecraft 1.14.3 2019-06-25 06:44:52 +10:00
Yannick Lamprecht
8a3d3f4980 SPIGOT-5098: Add a method to allow colored sign changes 2019-06-23 11:00:08 +10:00
blablubbabc
6dde4b9fda SPIGOT-5094: Allow opening merchant for wandering traders and hide the xp bar for custom merchants 2019-06-22 18:31:21 +10:00
md_5
9af900778d SPIGOT-5097: Bukkit.clearRecipes() no longer working 2019-06-22 18:24:23 +10:00
md_5
38fa220f69 Fix setting game rules via the API 2019-06-21 20:35:22 +10:00
md_5
fe3930ce00 Update to Minecraft 1.14.3-pre4 2019-06-21 20:00:00 +10:00
md_5
da071ec5a7 Remove outdated build delay. 2019-06-21 19:52:34 +10:00
md_5
efd8a2b50a SPIGOT-5089: UnsupportedOperationException on setting villager memory to null 2019-06-19 18:42:51 +10:00
i509VCB
8003ced585 SPIGOT-5061: Add explode and ignite methods to Creeper 2019-06-17 20:12:42 +10:00
blablubbabc
f424222672 Optimize getEntitiesByClasses slightly 2019-06-16 11:13:51 +10:00
md_5
e81013d786 SPIGOT-5072: Process phantom, cat and patrol spawning in CustomChunkGenerator 2019-06-16 11:12:08 +10:00
blablubbabc
30a6337982 SPIGOT-5010: World#getEntitiesByClass/es also return entities in border chunks. 2019-06-15 18:24:16 +10:00
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
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