Commit graph

4083 commits

Author SHA1 Message Date
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
a5b2050ee5 #1129: Fix state corruption while handling explosion damage on EntityComplexPart
An IllegalStateException may occur when an entity is damaged by fire or a potion effect immediately after an EntityComplexPart is damaged by an explosion.

This is fixed by performing the instanceof EntityComplexPart check prior to setting CraftEventFactory.entityDamage.

By: Jacob Martin <jjm_223@hotmail.com>
2022-12-29 14:06:51 +11:00
CraftBukkit/Spigot
b718d5f0b0 SPIGOT-7218: Player's outer layer of skin disappears after respawn
By: md_5 <git@md-5.net>
2022-12-27 16:04:45 +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
8fa77efef6 SPIGOT-7204: Add TeleportCause#DISMOUNT
By: md_5 <git@md-5.net>
2022-12-13 19:22:46 +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
c0d9b8db7c SPIGOT-7192: Call PlayerInteractEvent with Action.LEFT_CLICK_AIR if the entity interacted is hidden to the player
By: Doc <nachito94@msn.com>
2022-12-13 18:54:22 +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
0cb9e6122e SPIGOT-7200: CreatureSpawnEvent is called with incorrect SpawnReason when using spawn eggs
By: md_5 <git@md-5.net>
2022-12-10 21:48:22 +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
7daeaa49a5 SPIGOT-7191: TNT minecart explosions crash the server
By: md_5 <git@md-5.net>
2022-12-02 08:52:54 +11:00
CraftBukkit/Spigot
fb99448954 SPIGOT-7184: ExplosionPrimeEvent not called for ExplosiveMinecart
By: md_5 <git@md-5.net>
2022-11-20 12:10:31 +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
d3a49598fe SPIGOT-7179: PortalCreateEvent doesn't fire for players
By: Doc <nachito94@msn.com>
2022-11-06 18:14:38 +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
814c67ace8 SPIGOT-7171: Ability to get the IP/hostname players are requesting status of
By: md_5 <git@md-5.net>
2022-10-28 20:19:11 +11:00
CraftBukkit/Spigot
a8d96f30a4 SPIGOT-7177: Certain blocks don't call BlockCanBuildEvent
By: md_5 <git@md-5.net>
2022-10-28 20:07:09 +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
34ab403aa0 SPIGOT-7045: Ocelots never spawn with babies with spawn reason OCELOT_BABY
By: DerFrZocker <derrieple@gmail.com>
2022-09-28 20:09:43 +10: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
4c8115b426 #1113: Ignore .checkstyle file generated by Eclipse IDE
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-09-24 09:20:47 +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
c397b790df SPIGOT-7152: Handle hand item changing during air interact event
By: md_5 <git@md-5.net>
2022-09-12 19:27:14 +10:00
CraftBukkit/Spigot
42e5db32af SPIGOT-7154: Players get kicked when interacting with a conversation
By: md_5 <git@md-5.net>
2022-09-12 19:15:46 +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
ccb7421c43 SPIGOT-5607: PlayerInteractEvent Left-Click Bug
By: DerFrZocker <derrieple@gmail.com>
2022-08-30 21:50:53 +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
CraftBukkit/Spigot
8f8c4a60b5 SPIGOT-5761: initSettings is not a recognized option
By: DerFrZocker <derrieple@gmail.com>
2022-08-30 21:50:50 +10:00