CraftBukkit/Spigot
27d67a7a4e
SPIGOT-5803: Add Piglin/Zoglin Baby API
...
By: md_5 <git@md-5.net>
2020-06-25 19:58:27 +10:00
CraftBukkit/Spigot
a955c5cbab
SPIGOT-5809: block.getState() instanceof Sign for crimson_sign missed
...
By: md_5 <git@md-5.net>
2020-06-25 19:42:38 +10:00
CraftBukkit/Spigot
189c2a0e03
SPIGOT-5809: block.getState() instanceof Sign for warped_sign missed
...
By: md_5 <git@md-5.net>
2020-06-25 19:22:27 +10:00
CraftBukkit/Spigot
ea7b7e1ddd
Misc bugfixes to multiworld support
...
By: md_5 <git@md-5.net>
2020-06-25 17:58:10 +10:00
CraftBukkit/Spigot
6da7d19c96
SPIGOT-5806: Block#getDrops(ItemStack tool) does not work as it should
...
By: md_5 <git@md-5.net>
2020-06-25 17:04:07 +10:00
CraftBukkit/Spigot
e388fab4fe
SPIGOT-5805: NPE when getting an Attribute from a Player
...
By: md_5 <git@md-5.net>
2020-06-25 13:19:24 +10:00
CraftBukkit/Spigot
ae29605e26
SPIGOT-5804: Cannot launch Entity Firework
...
By: md_5 <git@md-5.net>
2020-06-25 12:57:58 +10:00
CraftBukkit/Spigot
097840d174
SPIGOT-5802: Add SmithingRecipe API
...
By: md_5 <git@md-5.net>
2020-06-25 12:41:55 +10:00
CraftBukkit/Spigot
bafa4625d1
SPIGOT-2106, SPIGOT-3942: Improve collidable API
...
By: Phoenix616 <mail@moep.tv>
2020-06-25 10:00:00 +10:00
CraftBukkit/Spigot
50503fd516
Update to Minecraft 1.16.1
...
By: md_5 <git@md-5.net>
2020-06-25 10:00:00 +10:00
CraftBukkit/Spigot
3862d2811e
SPIGOT-5782: Set Arrow Launched From Crossbow
...
By: md_5 <git@md-5.net>
2020-06-24 10:05:39 +10:00
CraftBukkit/Spigot
5f36fbfcfe
SPIGOT-5799: InventoryCloseEvent fires after PlayerQuitEvent
...
By: md_5 <git@md-5.net>
2020-06-24 09:54:59 +10:00
CraftBukkit/Spigot
33a09c7f27
Remove outdated build delay.
...
By: md_5 <git@md-5.net>
2020-06-20 12:50:13 +10:00
CraftBukkit/Spigot
5a47beb9cd
SPIGOT-2623: Add EntityEquipment methods to get/set ItemStacks by slot.
...
By: blablubbabc <lukas@wirsindwir.de>
2020-06-13 20:56:32 +10:00
CraftBukkit/Spigot
ecdda0bdbc
#673 : Fix Craftworld#isChunkLoaded
...
The flag for getChunkAt(int, int, ChunkStatus, boolean)
is actually a flag for whether to bring the underlying
PlayerChunk up to the required ticket level to load the
chunk. So, if the chunk is already at the required level,
but has not yet loaded, the call will actually either
start the load if it has not already been started and
block until completion.
This behaviour is not suitable for just
checking if the chunk is loaded.
By: Spottedleaf <Spottedleaf@users.noreply.github.com>
2020-06-06 19:23:46 +10:00
CraftBukkit/Spigot
3be59d8d05
SPIGOT-5751: Made breakNaturally and getDrops returns the correct item if no argument is given
...
By: Lars Dormans <lars.dormans@live.nl>
2020-06-03 19:28:13 +10:00
CraftBukkit/Spigot
a1cc6a4683
SPIGOT-4441: Fix serializing Components to and from Legacy
...
While 9862a0135d
might of semi helped being able to save black text
lore, it actually took a fundamental problem with the legacy serialization
code and expanded it to break even more aspects of the server when dealing
with Component to Legacy conversion.
This is causing data loss in Spigot with cases such as setting an item name
to white gets stripped resulting in it being italic.
Additionally, things such as book pages have been returning black formatting
codes for the end of the line even when the user doesn't have colors in the book.
The root issue is that the "Default Color" system is fundamentally wrong.
Components do not and should not care about what element of the game they
are being used by, and that's what the default color system did.
It results in components that if obtained from 1 source such as a Book
where the default / rendered color is black, is then copied to another
source such as an Entity name, the black is carried forward and shown
in the Entity name, when in reality it should have been white.
This commit reverts 9862a0135d
and fixes the underlying serialization
issues when it comes to Legacy to and From conversions.
There was quite a number of issues with this code overall, in how
it handles inserting color codes, new line parsing and such.
Books was using mojangs own "getLegacyString" which doesn't match behavior.
We also do not want to use Mojangs method as there is no guarantee they don't
remove that in future.
Plus, everything about books uses the CB implementation anyways, and it should
be consistent (this was mandatory to avoid serialization format changes on old vs new)
These changes as is results in Item Stacks already serialized will not
change contents when they go to component and back, so this won't impact
any existing data.
Newly created books though for example will change behavior in that they
will no longer insert black color codes in the serialized data and will
only represent intentional color changes by the creator of the book.
This will result in cleaner data on them, and books are the only thing
I'm aware of that has a behavioral shift due to the likelyhood of the
default color system kicking in on other parts of the string.
A unit test has been added to verify integrity of serialization to
ensure that any legacy string that is converted into Components will
always re-encode back in the same way when going back to Legacy.
By: Aikar <aikar@aikar.co>
2020-06-01 19:19:42 +10:00
CraftBukkit/Spigot
515509a1a9
#665 : Add test for Material#getCraftingRemainingItem()
...
By: ben <ben@benwoodworth.net>
2020-05-28 19:31:27 +10:00
CraftBukkit/Spigot
9862a0135d
SPIGOT-5749: ItemMeta serializing to YAML not saving black colour code
...
By: md_5 <git@md-5.net>
2020-05-26 19:39:03 +10:00
CraftBukkit/Spigot
edf9390114
SPIGOT-5748: Add instant effect potion break to the Effect enum
...
Conversion from Color to integer for the data of the new enum entry
By: WinX64 <winx64b@hotmail.com>
2020-05-26 19:34:39 +10:00
CraftBukkit/Spigot
809449f545
SPIGOT-5716: Clarify documentation of MultipleFacing
...
By: md_5 <git@md-5.net>
2020-05-09 16:12:18 +10:00
CraftBukkit/Spigot
a00b0adb43
SPIGOT-5718: Block.BreakBlockNaturally does not reflect tool used
...
By: md_5 <git@md-5.net>
2020-05-09 16:05:17 +10:00
CraftBukkit/Spigot
53746005d5
#664 : Add methods to get/set ItemStacks in EquipmentSlots
...
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-05-05 19:10:03 +10:00
CraftBukkit/Spigot
fb92d00666
#662 : Expose ItemStack and hand used in PlayerShearEntityEvent
...
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-05-02 17:48:37 +10:00
CraftBukkit/Spigot
c4099fa584
SPIGOT-2304: Implement LootGenerateEvent
...
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-04-30 19:15:58 +10:00
CraftBukkit/Spigot
b29a5757f9
SPIGOT-5707: PersistentDataHolder not Persistent on API dropped Item
...
By: md_5 <git@md-5.net>
2020-04-29 17:21:06 +10:00
CraftBukkit/Spigot
95a89a0073
#650 : Add method to get player's attack cooldown
...
By: DiamondDagger590 <diamonddagger590@gmail.com>
2020-04-23 11:13:40 +10:00
CraftBukkit/Spigot
8a51bce44c
#655 : Added support for the VM tag jansi.passthrough when processing messages sent to a ColouredConsoleSender.
...
By: Martoph <sager1018@gmail.com>
2020-04-23 11:06:13 +10:00
CraftBukkit/Spigot
3f9b83c715
SPIGOT-5689: Fireball.setDirection increases velocity too much
...
By: md_5 <git@md-5.net>
2020-04-23 08:33:33 +10:00
CraftBukkit/Spigot
e9672f330b
SPIGOT-5673: swingHand API does not show to self
...
By: md_5 <git@md-5.net>
2020-04-22 12:06:24 +10:00
CraftBukkit/Spigot
7eca640bdd
Improve build process
...
By: md_5 <git@md-5.net>
2020-04-22 11:50:23 +10:00
CraftBukkit/Spigot
9f7fbec5c6
Add a couple of method null checks to CraftWorld
...
By: md_5 <git@md-5.net>
2020-04-17 08:39:22 +10:00
CraftBukkit/Spigot
18886036f4
Misc checkstyle fixes
...
By: md_5 <git@md-5.net>
2020-04-14 12:34:43 +10:00
CraftBukkit/Spigot
5833b4d35c
SPIGOT-5669: Fix Beehive.isSedated
...
By: Lars Dormans <lars.dormans@live.nl>
2020-04-13 00:49:58 +02:00
CraftBukkit/Spigot
92afab4058
SPIGOT-5603: Use LootContext#lootingModifier in CraftLootTable
...
By: konsolas <vincentyntang@gmail.com>
2020-04-08 17:11:22 +10:00
CraftBukkit/Spigot
466de0ab57
SPIGOT-5641: Add Block.getDrops(ItemStack, Entity)
...
By: md_5 <git@md-5.net>
2020-04-05 16:52:06 +10:00
CraftBukkit/Spigot
51b2cd767e
Fix some formatting in CraftHumanEntity
...
By: md_5 <git@md-5.net>
2020-04-05 16:30:47 +10:00
CraftBukkit/Spigot
8c3cf217bb
Add Merchant slot delegate
...
By: md_5 <git@md-5.net>
2020-04-05 16:29:43 +10:00
CraftBukkit/Spigot
8155ea419f
SPIGOT-5621: Add missing container types for opening InventoryView
...
By: Tim <tblattner@gmail.com>
2020-04-05 16:28:43 +10:00
CraftBukkit/Spigot
b7d5dc8dd0
#645 : Allow statistics to be accessed for offline players
...
By: SydMontague <sydmontague@phoenix-staffel.de>
2020-04-05 15:58:43 +10:00
CraftBukkit/Spigot
96b5fcb92f
#649 : CraftBell should implement Bell
...
By: ShaneBee <shanebolenback@me.com>
2020-04-04 02:32:15 -07:00
CraftBukkit/Spigot
deee71fef3
SPIGOT-5650: Lectern.setPage(int) causes a NullPointerException
...
By: md_5 <git@md-5.net>
2020-04-01 09:30:47 +11:00
CraftBukkit/Spigot
7cc234d159
Add FaceAttachable interface to handle Grindstone facing in common with Switches
...
By: md_5 <git@md-5.net>
2020-04-01 09:14:29 +11:00
CraftBukkit/Spigot
193d17b420
SPIGOT-5647: ZombieVillager entity should have getVillagerType()
...
By: md_5 <git@md-5.net>
2020-03-30 12:15:21 +11:00
CraftBukkit/Spigot
a9cc2e304b
#642 : Add a DragonBattle API to manipulate respawn phases etc
...
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-03-24 19:53:47 +11:00
CraftBukkit/Spigot
e6566a0503
SPIGOT-5484: Add more spawn tick settings
...
By: Phoenix616 <mail@moep.tv>
2020-03-07 18:30:21 +01:00
CraftBukkit/Spigot
9b74297f7a
Prepare for Java 14
...
By: md_5 <git@md-5.net>
2020-03-02 13:30:33 +11:00
CraftBukkit/Spigot
e18fd0cff5
#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.
By: Bjarne Koll <LynxPlay101@gmail.com>
2020-03-01 17:23:54 +01:00
CraftBukkit/Spigot
035d63bb02
Fix formatting in CraftLivingEntity
...
By: md_5 <git@md-5.net>
2020-02-23 19:01:11 +11:00
CraftBukkit/Spigot
0814f8bbad
#633 : Add LivingEntity#attack, LivingEntity#swingMainHand, LivingEntity#swingOffHand
...
By: konsolas <vincentyntang@gmail.com>
2020-02-19 23:04:55 +00:00
CraftBukkit/Spigot
c98e5fba12
SPIGOT-5591: Allow concurrent potion effects
...
By: md_5 <git@md-5.net>
2020-02-23 10:33:10 +11:00
CraftBukkit/Spigot
aac54fb8a7
SPIGOT-5592: Custom ChunkGenerator can cause bugged dirt
...
By: md_5 <git@md-5.net>
2020-02-23 10:29:46 +11:00
CraftBukkit/Spigot
7d47bd7c7f
Make it clear in error messages that api-version above 1.13 is also supported
...
By: md_5 <git@md-5.net>
2020-02-23 09:42:33 +11:00
CraftBukkit/Spigot
153bdf9192
Improve legacy conversion of some materials that changed post flattening
...
By: md_5 <git@md-5.net>
2020-02-21 12:13:05 +11:00
CraftBukkit/Spigot
2a55fc03dd
SPIGOT-5311: Add API to get/set item associated with throwable projectiles
...
By: Lars Dormans <lars.dormans@live.nl>
2020-02-21 09:53:51 +11:00
CraftBukkit/Spigot
39966685a6
Add set/isAware to disable Vanilla AI components of a Mob
...
By: konsolas <vincentyntang@gmail.com>
2020-02-19 10:50:21 +00:00
CraftBukkit/Spigot
3e008424f2
SPIGOT-5468: Beehive TileEntity was not loaded for BlockStateMeta
...
By: Brokkonaut <hannos17@gmx.de>
2020-02-17 18:08:10 +01:00
CraftBukkit/Spigot
6b4ea66b11
SPIGOT-5573, SPIGOT-5574: Move CustomChunkGenerator generation code back to buildBase()
...
By: konsolas <vincentyntang@gmail.com>
2020-02-12 17:58:50 +00:00
CraftBukkit/Spigot
e714c00b96
SPIGOT-5572: Fix console/API completion of Vanilla commands
...
By: md_5 <git@md-5.net>
2020-02-11 12:03:36 +11:00
CraftBukkit/Spigot
6b39c5d083
SPIGOT-5468: Improve Beehive TileEntity API
...
By: ShaneBee <shanebolenback@me.com>
2020-02-09 10:47:11 +11:00
CraftBukkit/Spigot
13b8a2aea1
#624 : Add an API for passing the heightmap to getHighestBlockAt* method
...
By: ysl3000 <yannicklamprecht@live.de>
2020-02-09 10:31:07 +11:00
CraftBukkit/Spigot
4eb5ed272f
SPIGOT-5558: Fix World#getHighestBlockAt, previously off by +1
...
By: ysl3000 <yannicklamprecht@live.de>
2020-02-03 09:42:48 +11:00
CraftBukkit/Spigot
9adbf6f88b
Remove unused seed in CustomChunkGenerator
...
By: md_5 <git@md-5.net>
2020-02-02 19:32:36 +11:00
CraftBukkit/Spigot
49baa3c19c
#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.
By: konsolas <vincentyntang@gmail.com>
2020-02-02 19:27:10 +11:00
CraftBukkit/Spigot
0bee4968bb
#618 : Add method to remove a recipe by its key
...
By: ShaneBee <shanebolenback@me.com>
2020-02-02 10:32:49 +11:00
CraftBukkit/Spigot
c03616905c
SPIGOT-5556: Some biome methods use incorrect positions
...
See SPIGOT-5529
By: md_5 <git@md-5.net>
2020-02-01 17:30:40 +11:00
CraftBukkit/Spigot
259935c4f7
Print legacy load reason in debug mode
...
By: md_5 <git@md-5.net>
2020-01-31 19:20:02 +11:00
CraftBukkit/Spigot
7867f1cb3e
SPIGOT-5554: Clear error message when BossBar is used for not fully joined players
...
By: md_5 <git@md-5.net>
2020-01-31 08:36:59 +11:00
CraftBukkit/Spigot
fe92a3fcfd
Clean up CraftBlockData.toString
...
By: md_5 <git@md-5.net>
2020-01-29 09:53:13 +11:00
CraftBukkit/Spigot
e2093ed2c6
SPIGOT-5551: BlockState.setData fails when used by legacy plugin
...
By: md_5 <git@md-5.net>
2020-01-29 09:22:43 +11:00
CraftBukkit/Spigot
e0ee6f0a50
SPIGOT-5537: Bee nests generated by growing trees near flower have no bees
...
By: md_5 <git@md-5.net>
2020-01-28 09:48:28 +11:00
CraftBukkit/Spigot
37d58b321b
Remove unused CraftWorld.getId method
...
By: md_5 <git@md-5.net>
2020-01-27 19:30:17 +11:00
CraftBukkit/Spigot
77bc265e5b
SPIGOT-5536: Material.values() causes legacy data init
...
By: md_5 <git@md-5.net>
2020-01-23 08:53:36 +11:00
CraftBukkit/Spigot
8ef307d13e
SPIGOT-5532: Material.values() yields an exception
...
By: md_5 <git@md-5.net>
2020-01-22 13:23:55 +11:00
CraftBukkit/Spigot
b978d253d9
Only load legacy support data if something uses it
...
By: md_5 <git@md-5.net>
2020-01-22 11:15:58 +11:00
CraftBukkit/Spigot
d775003bb2
Fix log messages being split across GUI and terminal
...
By: md_5 <git@md-5.net>
2020-01-22 09:10:36 +11:00
CraftBukkit/Spigot
1410a7c678
SPIGOT-5529: BiomeGrid uses incorrect indexing
...
By: md_5 <git@md-5.net>
2020-01-22 08:54:12 +11:00
CraftBukkit/Spigot
77b64e0c78
Update to Minecraft 1.15.2
...
By: md_5 <git@md-5.net>
2020-01-22 08:00:00 +11:00
CraftBukkit/Spigot
d862f0fa87
#601 : Implement Player#sendExperienceChange
...
By: anhcraft <huynhduyanh123123@gmail.com>
2019-12-23 11:53:58 +07:00
CraftBukkit/Spigot
f8d1ea3c68
Remove outdated build delay.
...
By: md_5 <git@md-5.net>
2020-01-19 11:33:04 +11:00
CraftBukkit/Spigot
2b704c8cf9
SPIGOT-5516: Correct EnchantmentTarget values
...
By: md_5 <git@md-5.net>
2020-01-15 14:20:14 +11:00
CraftBukkit/Spigot
bc8ef512e1
#616 : Fix exception on entity portal teleport attempt
...
By: Phoenix616 <mail@moep.tv>
2020-01-14 15:10:30 +01:00
CraftBukkit/Spigot
e0d3951ff9
SPIGOT-5509: Sleeping player does not eject bed when teleported
...
By: md_5 <git@md-5.net>
2020-01-11 14:14:23 +11:00
CraftBukkit/Spigot
26c66710ce
SPIGOT-5506: CustomChunkGenerator is processing Phantoms in the Nether and The End
...
By: md_5 <git@md-5.net>
2020-01-10 09:22:31 +11:00
CraftBukkit/Spigot
4f966acb41
SPIGOT-5496: API to create and manipulate hardcore worlds
...
By: md_5 <git@md-5.net>
2020-01-04 10:14:23 +11:00
CraftBukkit/Spigot
b0aa0e2871
SPIGOT-5486: Raider CanJoinRaid
...
By: md_5 <git@md-5.net>
2019-12-29 14:21:16 +11:00
CraftBukkit/Spigot
199da69b9f
SPIGOT-5487: Increase outdated build delay
...
By: md_5 <git@md-5.net>
2019-12-29 14:18:05 +11:00
CraftBukkit/Spigot
03662947f3
SPIGOT-5482: Structure Block setUsageMode encounters NullpointerException
...
By: md_5 <git@md-5.net>
2019-12-25 10:09:20 +11:00
CraftBukkit/Spigot
886b2f0508
SPIGOT-5426: isSimilar for player heads fails
...
By: md_5 <git@md-5.net>
2019-12-25 10:05:11 +11:00
CraftBukkit/Spigot
a813637b22
SPIGOT-5413: Add TrustedPlayer API for foxes
...
By: md_5 <git@md-5.net>
2019-12-23 12:34:53 +11:00
CraftBukkit/Spigot
ef9f6da935
SPIGOT-5471: Allow empty title/author for books
...
By: md_5 <git@md-5.net>
2019-12-22 18:40:55 +11:00
CraftBukkit/Spigot
0f7b5e8049
Add TimeSkipEvent
...
By: ShaneBee <shanebolenback@me.com>
2019-12-20 17:06:18 -08:00
CraftBukkit/Spigot
beab2a487e
Add thread name to TerminalConsoleWriterThread
...
By: md_5 <git@md-5.net>
2019-12-21 12:01:52 +11:00
CraftBukkit/Spigot
68fb3c06e5
SPIGOT-794: Add boats to EntityPlaceEvent
...
By: md_5 <git@md-5.net>
2019-12-19 12:53:27 +11:00
CraftBukkit/Spigot
351402accf
Update to Minecraft 1.15.1
...
By: md_5 <git@md-5.net>
2019-12-18 08:00:00 +11:00
CraftBukkit/Spigot
6996e288a1
Remove outdated build delay.
...
By: md_5 <git@md-5.net>
2019-12-18 07:00:00 +11:00
CraftBukkit/Spigot
2855f812ac
SPIGOT-5428: Better handling of some ItemMeta
...
By: md_5 <git@md-5.net>
2019-12-14 10:54:12 +11:00
CraftBukkit/Spigot
aaeee556da
SPIGOT-5443: BEE_NEST BlockState
...
- Add missing BEE_NEST block state
- Add a missing break in CraftMetaBlockState
By: ShaneBeee <shanebolenback@me.com>
2019-12-11 21:40:10 -08:00
CraftBukkit/Spigot
30f1448618
SPIGOT-5437: Fix CustomChunkGenerator.CustomBiomeGrid ignoring the y value for biomes
...
By: BlackHole <black-hole@live.com>
2019-12-11 19:41:21 +01:00
CraftBukkit/Spigot
7dbf1ee072
SPIGOT-5422: Add support for 3-dimensional biomes
...
By: md_5 <git@md-5.net>
2019-12-11 15:28:37 +11:00