13
0
geforkt von Mirrors/Paper
Commit graph

2794 Commits

Autor SHA1 Nachricht Datum
CraftBukkit/Spigot
355e9daf30 #1196: Test Registry instances more thoroughly
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-06-04 11:28:33 +10:00
CraftBukkit/Spigot
e894c4d08c #1191: Do not start on pre-release Java 17
Pre-release versions of Java may miss standard API that is introduced later during development of the same release. Unfortunately some server hosts knowingly (!) run these versions in production, even years after the general availability of that java release. Therefore, we need to manually enforce that the server only runs on fully standardized versions to ensure compatibility of plugin and server code with the runtime.

To cause less problems when developers test their software with newer Java, this rule is only enforced on the oldest Java release the server can run with. This is the Java version all plugins will normally compile to, so it's feature set must always be available during runtime.

By: saltyaimbotter <saltyaimbotter@gmail.com>
2023-06-03 11:39:00 +10:00
CraftBukkit/Spigot
ce8a5d4953 SPIGOT-7362: Properly handle null in CraftBlock#blockFaceToNotch()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-05-30 21:14:16 -04:00
CraftBukkit/Spigot
a345ec2e35 SPIGOT-7195, SPIGOT-7197: Add DataPack API
By: Doc <nachito94@msn.com>
2023-05-30 19:05:48 +10:00
CraftBukkit/Spigot
d8a3b1e7f0 #1170: Add preliminary support for multi sided signs
By: Yannick Lamprecht <yannicklamprecht@live.de>
2023-05-25 07:21:35 +10:00
CraftBukkit/Spigot
2eb01eb21a Fix addition of custom smithing trim / transform recipes
By: md_5 <git@md-5.net>
2023-05-14 12:11:23 +10:00
CraftBukkit/Spigot
3842cba3fd #1186: Move getHighestBlockYAt methods from World to RegionAccessor
By: Jishuna <joshl5324@gmail.com>
2023-05-11 06:48:41 +10:00
CraftBukkit/Spigot
7b7d756683 #1185: Add API for directly setting Display transformation matrices
By: Cerus <github.social@cerus.dev>
2023-05-11 06:48:40 +10:00
CraftBukkit/Spigot
dafbbb0363 #1176: Add InventoryView#setTitle
By: Y2Kwastaken <mwholder2005@gmail.com>
2023-05-04 18:52:18 +10:00
CraftBukkit/Spigot
ba817be945 SPIGOT-519: Add TNTPrimeEvent
Thanks to Pokechu22 for an earlier implementation

By: Jishuna <joshl5324@gmail.com>
2023-05-03 20:46:43 +10:00
CraftBukkit/Spigot
d58f895450 Add test for Chunk.LoadLevel mirroring
By: md_5 <git@md-5.net>
2023-04-29 17:44:42 +10:00
CraftBukkit/Spigot
f4abdeb3f9 #1171: Add method to get chunk load level
By: Jishuna <joshl5324@gmail.com>
2023-04-29 17:37:52 +10:00
CraftBukkit/Spigot
747897f79b #375: Add accessors to Wither's invulnerability ticks
By: Matthew <stteg@hotmail.com>
2023-04-21 18:59:04 +10:00
CraftBukkit/Spigot
695e12db3d SPIGOT-7209: Accessors and events for player's exp cooldown
By: FreeSoccerHDX <freesoccerhdx@gmail.com>
2023-04-21 18:46:56 +10:00
CraftBukkit/Spigot
b99d3df2d8 #1181: Consolidate Location conversion code
By: Doc <nachito94@msn.com>
2023-04-19 19:59:19 +10:00
CraftBukkit/Spigot
2ffb1d2479 SPIGOT-6308: Deprecate the location name property of map items
This property does not have the expected effect.

By: blablubbabc <lukas@wirsindwir.de>
2023-04-17 19:33:17 +10:00
CraftBukkit/Spigot
9e30ea471f #1095: Add PlayerSpawnChangeEvent
By: Doc <nachito94@msn.com>
2023-04-17 19:33:17 +10:00
CraftBukkit/Spigot
41bd40bcaa #808: Expand the FishHook API
By: Martoph <sager1018@gmail.com>
2023-04-16 10:10:27 +10:00
CraftBukkit/Spigot
2a9c3c262f Increase outdated build delay
By: md_5 <git@md-5.net>
2023-04-15 17:49:52 +10:00
CraftBukkit/Spigot
5d28a95165 #1169: Add damage methods to FallingBlock
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-04-13 07:08:26 +10:00
CraftBukkit/Spigot
aa099d8420 SPIGOT-7335: Fix typo in TextDisplay#TextAlignment enum name
By: md_5 <git@md-5.net>
2023-04-11 18:52:28 +10:00
CraftBukkit/Spigot
d3104ad934 SPIGOT-7336: Fix typo in internal method name
By: Doc <nachito94@msn.com>
2023-04-11 18:37:21 +10:00
CraftBukkit/Spigot
178a84c8d6 SPIGOT-5217, SPIGOT-6183: Add RespawnReason to PlayerRespawnEvent
By: Jishuna <joshl5324@gmail.com>
2023-04-10 08:26:45 +10:00
CraftBukkit/Spigot
07453b7fc5 SPIGOT-7333: Correctly handle null in ColorableArmorMeta#setColor()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-04-09 12:38:58 -04:00
CraftBukkit/Spigot
4147116921 SPIGOT-7332: Persistent Data Container of Chunk not saving on stop or restart.
By: DerFrZocker <derrieple@gmail.com>
2023-04-09 05:24:52 +02:00
CraftBukkit/Spigot
c01ce41ff3 #1173: Change CraftMinecartTNT to public for consistency
By: libraryaddict <libraryaddict115@yahoo.co.nz>
2023-04-09 08:38:21 +10:00
CraftBukkit/Spigot
6c852e65e7 #1147: Add experimental armor trim API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-04-07 16:51:00 +10:00
CraftBukkit/Spigot
48dd61052b Fix UUID not being updated when changing world of MapView
By: Phoenix616 <max@themoep.de>
2023-04-04 19:36:37 +01:00
CraftBukkit/Spigot
496189d962 #1160: Add more bell API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-04-02 14:35:13 +10:00
CraftBukkit/Spigot
a9bdb77af1 #1145: Allow Player#sendBlockDamage() to specify a source entity
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-04-02 13:56:16 +10:00
CraftBukkit/Spigot
df5cb9bc3a #1144: Add more Guardian API, particularly for its laser
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-04-02 13:49:05 +10:00
CraftBukkit/Spigot
257f5ad3e8 #1162: Add BlockData#rotate and BlockData#mirror
By: Jishuna <joshl5324@gmail.com>
2023-04-02 13:32:01 +10:00
CraftBukkit/Spigot
ad8f95c3df #1159: Add missing API for explosive minecarts
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-04-02 13:21:31 +10:00
CraftBukkit/Spigot
c48c822440 #1155: Allow getting chunks without generating them and optimize chunk data request for ungenerated chunks
By: DerFrZocker <derrieple@gmail.com>
2023-04-02 13:06:59 +10:00
CraftBukkit/Spigot
f8dd2656fa #1157: Add Player#sendHurtAnimation()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-04-02 12:58:05 +10:00
CraftBukkit/Spigot
609f8055d2 SPIGOT-7188: ChunkSnapshot biome y coordinate doesn't match chunk biome y coord
By: DerFrZocker <derrieple@gmail.com>
2023-03-29 19:33:34 +02:00
CraftBukkit/Spigot
26ae05b48f SPIGOT-7313: More accurately edit data on Jukeboxes
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-03-29 19:23:41 +11:00
CraftBukkit/Spigot
c8d32f6ca3 SPIGOT-7312: Entity#setVisibleByDefault on player causes skin reset on this player client
By: md_5 <git@md-5.net>
2023-03-25 08:49:26 +11:00
CraftBukkit/Spigot
abc47f4655 SPIGOT-7309: Add API for jukebox inventories
Also fixes a crash when inserting music discs into jukeboxes with a Dropper

By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-03-23 20:55:14 +11:00
CraftBukkit/Spigot
c7648eb04e #1150: Add Sniffer API and handle EntityItemDropEvent
By: Doc <nachito94@msn.com>
2023-03-20 19:03:53 +11:00
CraftBukkit/Spigot
3d6c128ff1 #1149: Add BlockData#getPlacementMaterial
By: Jishuna <joshl5324@gmail.com>
2023-03-20 10:05:43 +11:00
CraftBukkit/Spigot
5a539a8bf5 SPIGOT-7302: Fix more issues with EntityDamageByEntity
- Fix Projectile damage by dispenser
- Fix cases where only exists a direct entity damager

By: Doc <nachito94@msn.com>
2023-03-19 18:48:43 +11:00
CraftBukkit/Spigot
609c06878c Increase outdated build delay
By: md_5 <git@md-5.net>
2023-03-19 11:27:29 +11:00
CraftBukkit/Spigot
a6cf3347bf SPIGOT-7299: Fix indirect/anvil damage events and minor improvements
By: Doc <nachito94@msn.com>
2023-03-17 07:32:54 +11:00
CraftBukkit/Spigot
9e22d7f688 SPIGOT-7292: Support alpha channel in Display entities
By: Doc <nachito94@msn.com>
2023-03-16 19:27:57 +11:00
CraftBukkit/Spigot
33e9c807c6 SPIGOT-7294: Call EntityDamageEvent for Interaction entity
By: md_5 <git@md-5.net>
2023-03-16 07:15:33 +11:00
CraftBukkit/Spigot
85db37be1b Fix availability of experimental datapack features in unit tests
By: md_5 <git@md-5.net>
2023-03-15 20:41:42 +11:00
CraftBukkit/Spigot
aa22d67aa3 Fix crash with 1.20 smithing table
By: md_5 <git@md-5.net>
2023-03-15 18:43:20 +11:00
CraftBukkit/Spigot
3ef3090e4a Fix crash with composters
By: md_5 <git@md-5.net>
2023-03-15 18:08:47 +11:00
CraftBukkit/Spigot
40076782ed Update to Minecraft 1.19.4
By: md_5 <git@md-5.net>
2023-03-15 03:30:00 +11:00
CraftBukkit/Spigot
90a887a912 Remove outdated build delay.
By: md_5 <git@md-5.net>
2023-03-15 03:30:00 +11:00
CraftBukkit/Spigot
b6f6246c5d #1136: Add API to allow entities to be invisible by default
Designed to make creating per-player entities easier

By: md_5 <git@md-5.net>
2023-03-04 09:15:52 +11:00
CraftBukkit/Spigot
ed5774c2f5 #1141: Add methods to edit custom chat completions
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-03-04 08:40:21 +11:00
CraftBukkit/Spigot
229f3bb810 #1140: Add a method to send multiple equipment changes
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-02-27 20:27:47 +11:00
CraftBukkit/Spigot
c9f381c842 Add support for Java 20
By: md_5 <git@md-5.net>
2023-02-23 07:19:41 +11:00
CraftBukkit/Spigot
eb0a08e7f1 Increase outdated build delay
By: md_5 <git@md-5.net>
2023-02-23 07:15:06 +11:00
CraftBukkit/Spigot
412e157d39 SPIGOT-7267: Fix EntityType#getTranslationKey() and add unit test
By: Doc <nachito94@msn.com>
2023-02-20 19:35:39 +11:00
CraftBukkit/Spigot
b83c3d9c17 SPIGOT-7268: CraftMetaPotion reads ShowParticles and ShowIcon properties incorrectly
By: blablubbabc <lukas@wirsindwir.de>
2023-02-20 19:34:20 +11:00
CraftBukkit/Spigot
9cb4cf919d SPIGOT-7262: Improve visibility API
By: md_5 <git@md-5.net>
2023-02-16 19:45:56 +11:00
CraftBukkit/Spigot
3e2e60d062 Fix issues with fluid tag conversion and fluid #isTagged
By: md_5 <git@md-5.net>
2023-02-15 21:09:58 +11:00
CraftBukkit/Spigot
000270a286 SPIGOT-4569: Implement more BlockData API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-02-11 18:59:34 +11:00
CraftBukkit/Spigot
abeb7e6d0c #1131: Added methods to get translation keys for materials, itemstacks and more
By: mfnalex <mfnalex@gmail.com>
2023-02-10 20:50:24 +11:00
CraftBukkit/Spigot
b9bf523b80 #1117: Add new BiomeParameterPoint passed to BiomeProvider#getBiome
By: FreeSoccerHDX <freesoccerhdx@gmail.com>
2023-02-07 21:23:23 +11:00
CraftBukkit/Spigot
fed3e5b5bc SPIGOT-7239: Getter/setter for player's enchantment seed
By: FreeSoccerHDX <freesoccerhdx@gmail.com>
2023-01-28 11:55:40 +11:00
CraftBukkit/Spigot
cbc24baf79 SPIGOT-7214: Add CraftChunk and CraftChunkSnapshot contains biome method
By: md_5 <git@md-5.net>
2023-01-28 11:49:46 +11:00
CraftBukkit/Spigot
f299b781eb #1134: Add custom sound parameter option for playSound with entity as source
By: Gero <gecam59@gmail.com>
2023-01-28 11:39:20 +11:00
CraftBukkit/Spigot
2923c2979f Avoid switch on material in previous commit
See 9c7e65d17a4ed6c3d73935027bdbb9ea9d3c2965 for further info

By: md_5 <git@md-5.net>
2023-01-12 19:51:51 +11:00
CraftBukkit/Spigot
d310f63995 SPIGOT-7034: Add methods for set/get instrument in Goat Horn
By: byquanton <32410361+byquanton@users.noreply.github.com>
2023-01-08 20:36:10 +11:00
CraftBukkit/Spigot
20992162c0 SPIGOT-7225: FireworkMeta#getPower() can throw a NullPointerException for items with no power set
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-01-03 08:04:16 +11:00
CraftBukkit/Spigot
2d8592203b SPIGOT-7221: Add Enemy (Entity) interface
By: ShaneBee <shanebolenback@me.com>
2022-12-31 10:24:09 +11:00
CraftBukkit/Spigot
be664f5cc4 #1125: Add support for NoteBlock sounds in Skulls
By: Doc <nachito94@msn.com>
2022-12-23 12:26:06 +11:00
CraftBukkit/Spigot
7f7ce313db SPIGOT-7212: Allow negative firework power
By: md_5 <git@md-5.net>
2022-12-23 11:46:35 +11:00
CraftBukkit/Spigot
70cbc21972 SPIGOT-7211: generateTree() with Consumer or Predicate is broken
By: md_5 <git@md-5.net>
2022-12-23 11:36:46 +11:00
CraftBukkit/Spigot
0a3b1d16c4 Increase outdated build delay
By: md_5 <git@md-5.net>
2022-12-21 18:36:51 +11:00
CraftBukkit/Spigot
bd71072036 SPIGOT-7210: Fix structures in custom worlds
By: md_5 <git@md-5.net>
2022-12-16 11:13:10 +11:00
CraftBukkit/Spigot
eb88aa7b90 SPIGOT-7207: WorldCreator creates world as super flat even when normal is specified
By: md_5 <git@md-5.net>
2022-12-14 13:47:32 +11:00
CraftBukkit/Spigot
4fcfe1390d #1123: Add PrepareGrindstoneEvent
By: FreeSoccerHDX <freesoccerhdx@gmail.com>
2022-12-13 19:28:47 +11:00
CraftBukkit/Spigot
37d4b08ff4 #1121: Add unit test for spawn egg meta
By: Doc <nachito94@msn.com>
2022-12-13 19:04:30 +11:00
CraftBukkit/Spigot
499e743516 Increase outdated build delay
By: md_5 <git@md-5.net>
2022-12-13 18:51:42 +11:00
CraftBukkit/Spigot
1c2a27790b SPIGOT-7201: Spawner ItemMeta not working as expected
By: md_5 <git@md-5.net>
2022-12-11 08:40:57 +11:00
CraftBukkit/Spigot
644b6c302a SPIGOT-7196: Exception loading alternate worlds
By: md_5 <git@md-5.net>
2022-12-08 18:02:21 +11:00
CraftBukkit/Spigot
3b551e84ca SPIGOT-7198: Add Sittable interface to Camel
By: md_5 <git@md-5.net>
2022-12-08 17:53:57 +11:00
CraftBukkit/Spigot
2111d3575c #1121: Handle additional missing SpawnEggs in MetaSpawnEgg
By: Doc <nachito94@msn.com>
2022-12-08 17:50:40 +11:00
CraftBukkit/Spigot
4a09aaa914 Handle missing SpawnEggs in MetaSpawnEgg
By: Doc <nachito94@msn.com>
2022-12-07 19:27:20 -03:00
CraftBukkit/Spigot
8b26bb8f3e Update to Minecraft 1.19.3
By: md_5 <git@md-5.net>
2022-12-08 03:00:00 +11:00
CraftBukkit/Spigot
a13136ada2 Remove outdated build delay.
By: md_5 <git@md-5.net>
2022-12-08 03:00:00 +11:00
CraftBukkit/Spigot
0aece55e50 SPIGOT-6765: Pass WorldInfo, Random and coordinates to ChunkGenerator should methods
By: DerFrZocker <derrieple@gmail.com>
2022-11-15 17:56:51 +11:00
CraftBukkit/Spigot
76f35527a4 SPIGOT-7170: Cannot set slots in custom smithing inventory
By: md_5 <git@md-5.net>
2022-10-28 20:33:21 +11:00
CraftBukkit/Spigot
532c51f79d SPIGOT-7174: Avoid adding air to CraftMetaBundle
By: Doc <nachito94@msn.com>
2022-10-28 19:57:22 +11:00
CraftBukkit/Spigot
5d713025af SPIGOT-7163: CraftMerchantRecipe doesn't copy demand and specialPrice from BukkitMerchantRecipe
By: md_5 <git@md-5.net>
2022-10-02 09:13:14 +11:00
CraftBukkit/Spigot
159ae52462 #1107: Add getHand() to all relevant events
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-10-02 09:07:14 +11:00
CraftBukkit/Spigot
b42b04fecd SPIGOT-2620: Add Player#sendBlockChanges()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-09-24 11:05:14 +10:00
CraftBukkit/Spigot
63e45760a3 Add support for Java 19
By: md_5 <git@md-5.net>
2022-09-21 06:56:58 +10:00
CraftBukkit/Spigot
61e6302177 #1110: Make CraftMapColorCache more thread safe
By: DerFrZocker <derrieple@gmail.com>
2022-09-21 06:54:55 +10:00
CraftBukkit/Spigot
c38953dda8 SPIGOT-7160: LootTable.fillInventory() is not considered a plugin-issued event
By: Doc <nachito94@msn.com>
2022-09-19 21:43:51 +10:00
CraftBukkit/Spigot
7d96f4be6d SPIGOT-3842: Add Player#fireworkBoost() and expand Firework API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-09-12 19:04:24 +10:00
CraftBukkit/Spigot
d41367ee6d #1100: Add methods to get sounds from entities
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-09-11 22:24:15 +10:00
CraftBukkit/Spigot
803175b864 SPIGOT-7146: Reduce use of Material switch in ItemMeta
The Java compiler expands switch statements into a synthetic method that generates an int array with the enum's ordinal. For small enums this is fine, but with an enum as large as Material, this can add over one hundred thousand additional bytes of data. This unnecessarily increases CraftBukkit's overall file size by over 2MB. Where possible, simple conditions are returned. In cases where more than 2 constants are referenced, a HashSet is used (as opposed to an EnumSet which generates a large backing array into memory).

By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-09-11 10:26:21 +10:00
CraftBukkit/Spigot
2935ef7994 #1101: Implement LivingEntity#canBreatheUnderwater()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-09-04 21:34:21 +10:00
CraftBukkit/Spigot
b09234ee3f SPIGOT-7131: Chunk snapshot returned by World#getEmptyChunkSnapshot(int,int,boolean,boolean) thinks every block has PLAINS biome
By: DerFrZocker <derrieple@gmail.com>
2022-08-30 21:50:52 +10:00