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

3169 Commits

Autor SHA1 Nachricht Datum
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
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
md_5
96778caabb SPIGOT-4253: Add way to prioritise item conversion 2018-08-11 17:43:41 +10:00
Senmori
29e7564874 Expand GameRule API 2018-08-11 11:25:09 +10:00
md_5
50e6858b72 Improve entity hierarchy by adding Mob interface. 2018-08-10 19:48:09 +10:00
md_5
200b239819 SPIGOT-4233: Fix some missing handled NBT tags 2018-08-06 20:13:58 +10:00
md_5
cfc67965f3 Add merging and matching of parsed BlockData 2018-08-06 14:40:06 +10:00
md_5
5e3082c7d8 SPIGOT-4230: Improve legacy block types 2018-08-05 10:04:19 +10:00
Senmori
ec2095d9c6 SPIGOT-4223: Fix inventories using the same TileEntity instance. 2018-08-04 09:41:04 +10:00
md_5
dabb1b930b Potion particles should default to true 2018-08-03 20:01:12 +10:00
md_5
9331153551 SPIGOT-4217: Account for ShowIcon to allow custom tipped arrows to merge 2018-08-03 19:57:09 +10:00
md_5
69970127c1 SPIGOT-4221: Update surrounding blocks for cancelled break/place 2018-08-03 11:34:26 +10:00
md_5
2f17f677aa Tweak outdated windows 2018-08-03 09:13:30 +10:00
md_5
4587569c06 Fix ChunkData material alone being treated as legacy 2018-08-03 08:53:52 +10:00
md_5
80c43fc1de SPIGOT-4214: Catch attempts to create BlockData for items 2018-08-02 20:24:56 +10:00
md_5
272426acd7 SPIGOT-4199: Riptide related APIs 2018-08-02 09:38:52 +10:00
md_5
ab5599e8f3 Pre size legacy hash tables 2018-08-02 09:07:01 +10:00
blablubbabc
a0c7bcf02a Fix merchant inventories with custom titles 2018-08-01 08:50:08 +10:00
md_5
a3b7e3433a SPIGOT-4204: Allow passing data to AreaEffectCloud particles 2018-08-01 08:21:02 +10:00
md_5
549d9b0120 SPIGOT-4029: Add event for commands being sent to client 2018-07-31 10:46:09 +10:00
md_5
03c1273b59 SPIGOT-4197: Account for double trapped chests 2018-07-31 09:14:44 +10:00
blablubbabc
c3a8de0371 SPIGOT-227: Add entity persistent flag
Non-persistent entities won't get saved when the chunk saves the entities.
Entities that are passengers of a non-persistent entity won't get saved.
Players won't save their vehicle, if the player is directly or
indirectly riding a non-persistent entity.
2018-07-30 12:29:43 +10:00
md_5
b94fd7c7e4 Include class path in legacy conversion errors. 2018-07-30 09:19:07 +10:00
md_5
3b8f5be77b SPIGOT-1714: Draft API for player list header / footer 2018-07-29 21:30:31 +10:00
md_5
2ba567f29b SPIGOT-4182: Implement cursor captions 2018-07-29 15:10:08 +10:00
md_5
6a1dc5bb7d SPIGOT-4177: Change behaviour of item display names yet again 2018-07-29 09:24:42 +10:00
md_5
212fd0f230 SPIGOT-4166: Fix Tags being corrupted by early access (and not reflecting reloads) 2018-07-28 15:00:12 +10:00
md_5
392108bf94 SPIGOT-4168: Patch up some legacy calls 2018-07-28 10:23:32 +10:00
md_5
4d3ef4821f SPIGOT-4164: Treat new _AIR blocks as air 2018-07-28 08:28:56 +10:00
md_5
095239d4c5 SPIGOT-4159: Fix Player.launchProjectile(Trident.class) 2018-07-27 14:29:02 +10:00
md_5
1ef1ffd664 SPIGOT-4137: Fix World.regenerateChunk 2018-07-25 19:32:06 +10:00
Senmori
3599dbe3c2 SPIGOT-3981: Make custom inventories return specialised types where practical. 2018-07-25 18:03:37 +10:00
Senmori
9646d8d780 SPIGOT-4147: Fix ItemFrames not able to be placed UP or DOWN 2018-07-25 14:17:03 +10:00
md_5
9cfb0090d8 SPIGOT-4135: Fix DOLPHINS_GRACE PotionEffectType Wrapper. 2018-07-24 22:17:20 +10:00
md_5
46e5eeb67e SPIGOT-4128: Skip hopeless entity conversion 2018-07-24 20:46:49 +10:00
md_5
2100017016 SPIGOT-4132: Fix missing break in RedstoneWire.setFace 2018-07-24 12:46:21 +10:00
md_5
ca75fead2c SPIGOT-4131: Fix typo affecting setting BlockData 2018-07-24 12:04:34 +10:00
md_5
19ff43d9e1 SPIGOT-4128: Greatly improve spawn egg deserialization 2018-07-24 10:49:48 +10:00
md_5
7357d7237a SPIGOT-4123: Fix display names cleared by plugins / serialization 2018-07-24 10:47:51 +10:00
md_5
f732acf24f Add map ID API 2018-07-24 10:18:06 +10:00
md_5
fbf903a1bc SPIGOT-4120: Store BlockData enum mappings per class 2018-07-24 10:08:34 +10:00
md_5
ea7b61290a SPIGOT-4122: Fix an instance of legacy item inequalities 2018-07-24 08:57:58 +10:00
md_5
6a109cf6bc SPIGOT-4124: Fix misplaced PISTON_HEAD 2018-07-24 08:25:13 +10:00
Articdive
30ab12cf4c SPIGOT-824: SpongeAbsorbEvent 2018-07-23 17:21:07 +10:00
md_5
155b17305b SPIGOT-4112: scoreboard display names are not nullable 2018-07-23 11:46:23 +10:00
md_5
d4297cbe2d Just throw section signs into components a la Mojang 2018-07-23 10:48:28 +10:00
md_5
4e2f571337 Fix Player.playNote 2018-07-22 14:40:48 +10:00
md_5
1a6b4f5392 Update to Minecraft 1.13 2018-07-22 12:00:00 +10:00
md_5
e5d6f6b596 SPIGOT-4024: Improve interactions of Vanilla tab completion, and also reloads 2018-07-21 11:23:11 +10:00
md_5
889e17f99d SPIGOT-4100: Ignore invalid item display names 2018-07-21 09:54:08 +10:00
md_5
7c0f69e449 CraftBlock.toString shouldn't make legacy call 2018-07-20 16:10:48 +10:00
kaenganxt
814c742554 SPIGOT-840, SPIGOT-2522: [Draft] Add EntityPotionEffectChangeEvent
Discussion ongoing in PR #449
2018-07-20 16:06:34 +10:00
md_5
66b62a63b5 Fix bad old API call in CraftBlockState 2018-07-20 10:32:17 +10:00
md_5
ca1af9368b Update EntityChangeBlockEvent to new BlockData API 2018-07-20 10:29:34 +10:00
md_5
49ac8a7446 SPIGOT-4074: Fix createBlockData succeeding on garbage 2018-07-20 10:20:15 +10:00
md_5
80fefcf5ef SPIGOT-4047: Ignore non-existent potions 2018-07-19 11:35:12 +10:00
md_5
fc1b107579 SPIGOT-4046: Fix selectors in tick functions 2018-07-19 10:59:16 +10:00
md_5
595ec64726 SPIGOT-4049: Books lose NBT data 2018-07-19 10:12:55 +10:00
md_5
92dceb827c Revert "SPIGOT-4035: Enforce case-sensitivity for chat format code matching."
Minecraft allows uppercase colour codes.

This reverts commit d480dc74e5.
2018-07-19 10:07:04 +10:00
md_5
65bc676ed0 SPIGOT-4041: Fix regressed item naming 2018-07-18 17:39:04 +10:00
md_5
6fa4ae693e SPIGOT-4040: Further increase team related limits 2018-07-18 17:11:44 +10:00
md_5
9c98002856 Fix Block.setType alone being treated as legacy 2018-07-18 16:59:41 +10:00
md_5
d48ecdeb45 Delete Block.setData byte methods from API 2018-07-18 16:55:44 +10:00
md_5
b9fd5c60e9 SPIGOT-4020: Fix DustOptions colouring 2018-07-18 16:40:31 +10:00
md_5
15036eb75b Fix changes that got lost late in development cycle 2018-07-18 14:13:20 +10:00
md_5
f18d78282d SPIGOT-4028: Improve legacy ItemStack conversion 2018-07-18 14:01:15 +10:00
md_5
3791cf947e SPIGOT-4037: Improve legacy BlockState.setData 2018-07-18 09:53:50 +10:00
md_5
404d6e776e SPIGOT-4036: Handle regular/uncoloured shulker boxes 2018-07-18 09:45:27 +10:00
Hex
d480dc74e5 SPIGOT-4035: Enforce case-sensitivity for chat format code matching.
This maintains case-insensitivity for URL matching, and adds a unit test to verify correct conversion via CraftChatMessage.
2018-07-18 09:36:16 +10:00
md_5
8c9dea83c3 SPIGOT-4030: Improve CraftItemStack.hasItemMeta 2018-07-17 17:13:55 +10:00
Hex
1526726b57 SPIGOT-4031: Improve bounds checking in CraftInventoryView. 2018-07-16 22:47:47 -06:00
md_5
b4bff6fc3d SPIGOT-4026: Clicking on command error suggestion should return verbatim input 2018-07-17 06:49:40 +10:00
md_5
fa1340f7a6 SPIGOT-4022: Improve utility of Entity.getName for non-players 2018-07-17 06:36:08 +10:00
md_5
1fccb89501 Fix completion of multiple arguments in Bukkit commands 2018-07-16 21:03:46 +10:00
md_5
926ea10459 SPIGOT-4017: Increase Team related length limits 2018-07-16 19:15:26 +10:00
md_5
22e5229238 Standardise empty string as null / not set 2018-07-16 16:20:26 +10:00
md_5
b6a757dec8 SPIGOT-4016: Fix clearing custom names 2018-07-16 14:39:01 +10:00
md_5
8fbc72b714 Add ignore-vanilla-permissions option to assist with disabling default commands 2018-07-16 12:06:06 +10:00
md_5
322f2f9518 CraftBanner also needs to use wool data 2018-07-16 10:37:56 +10:00
md_5
3890544e04 SPIGOT-4015: Make CraftTeam tie into backing prefix/suffix 2018-07-16 10:20:53 +10:00
md_5
ee3c26688e SPIGOT-4008: Fix server-icon loading 2018-07-16 10:08:07 +10:00
md_5
43eb8f312c SPIGOT-4011: Clear error for plugin misusing ChunkData 2018-07-16 09:01:23 +10:00
md_5
10261f31d7 Fish / Dolphin should be WaterMob, and WaterMob Creature 2018-07-16 08:51:34 +10:00
md_5
b8ea9ec844 SPIGOT-4004: Fix banner pattern colouring 2018-07-15 23:30:00 +10:00
md_5
60185a5616 Validate world in CraftServer.createChunkData 2018-07-15 19:52:26 +10:00
md_5
764b81ced2 SPIGOT-4003: Fix TropicalFish.getType 2018-07-15 18:52:21 +10:00
Senmori
cfc30bb382 Add javadocs to new CraftBlockData utility methods. 2018-07-15 16:36:02 +10:00
md_5
fe7db9d53b Add EntityToggleSwimEvent and isSwimming / setSwimming API 2018-07-15 16:17:35 +10:00
md_5
72cf620d47 SPIGOT-4002: Fix usage of default: statements in 1.13 plugins compiled w/ Eclipse 2018-07-15 15:00:35 +10:00
md_5
421c1728c8 Update to Minecraft 1.13-pre7 2018-07-15 10:00:00 +10:00
md_5
57ab4cfc6f Player metadata really should be keyed by UUID not name 2018-07-11 20:02:32 +10:00
md_5
ca6d2cf9dc Add validation checks to CraftPlayer.teleport 2018-07-11 09:06:48 +10:00
md_5
6103339c08 SPIGOT-3976: Add some additional toStrings to CraftEntity classes 2018-06-27 20:27:52 +10:00
blablubbabc
fbe3046435 SPIGOT-3619: Improve CraftScheduler#isCurrentlyRunning
* No longer returns opposite of what it should
* Works for sync tasks as well
2018-06-20 13:11:50 +10:00
md_5
2f3ed3b2d0 Remove outdated build delay. 2018-06-17 13:02:54 +10:00
Parker Hawke
d0a3620c2d Implement Arrow tile methods 2018-05-06 14:12:19 +10:00
md_5
61ca7d92c1 SPIGOT-3923: Defer PlayerInventory ItemStack change to 1.13 2018-05-05 08:22:40 +10:00
md_5
ca057a3457 SPIGOT-3920: Make player inventories consistently return null for empty stacks 2018-05-04 17:09:46 +10:00
md_5
21d5f75d6c SPIGOT-3908: Fix signed books incorrect defaulting to unresolved 2018-04-19 08:03:39 +10:00
md_5
bea5a842bc SPIGOT-3904: Consolidate book handling code 2018-04-16 19:19:38 +10:00
md_5
9060bfa9b9 SPIGOT-3886: Plugin exceptions in map rendering should not crash server 2018-04-08 20:03:12 +10:00
Senmori
9f49ad60e7 Remove magic values in scheduler package 2018-03-26 15:34:33 +11:00
Senmori
3a482bdd40 Add setTarget and getTarget to Slime. 2018-03-03 21:50:57 +11:00
md_5
fb414fe101 Add missing WEARABLE EnchantmentTarget 2018-02-19 20:48:27 +11:00
BlackHole
bacaf9274b SPIGOT-3824: Return the direct vehicle of an entity, not the root vehicle 2018-02-16 23:16:48 +01:00
md_5
f4ca1805d6 Fix bad usage of setter in previous commit 2018-02-12 10:38:09 +11:00
Senmori
f8411ea1e5 Expand Structure Block API 2018-02-12 10:33:19 +11:00
md_5
8bb4f6ccc1 SPIGOT-3813: Player.setHealth not reliable in conjunction with attribute API 2018-02-12 08:59:32 +11:00
md_5
49ecc7c7a2 SPIGOT-3812: Workbench from Bukkit.createInventory does not update 2018-02-12 08:43:11 +11:00
md_5
9ab298de7b SPIGOT-3807: Improve getEyeHeight 2018-02-10 12:17:00 +11:00
Senmori
1c40a81828 Expand EnderSignal API 2018-02-03 17:48:41 +11:00
md_5
015bda4b7d SPIGOT-2911: Implement AbstractHorseInventory 2018-01-28 09:56:55 +11:00
Senmori
c7656468e4 Expand CreatureSpawner API 2018-01-24 17:19:41 +11:00