PaperMC/paper-api/src/test/java/org/bukkit
Bukkit/Spigot 1ed361e0cc Improve speed and memory use of FixedMetadataValue. Fixes BUKKIT-1460
FixedMetadataValue currently just extends LazyMetadataValue with a value
that never changes. While this works it is a lot of unneeded overhead
that causes FixedMetadataValue to be a lot slower and use a lot more
memory than one would expect. To correct this we store the value directly
in FixedMetadataValue and override the the appropriate methods to use it.

Ideally we would modify FixedMetadataValue to no longer extend
LazyMetadataValue as this would give a very large memory savings. However,
this is not currently done for backwards compatibility reasons.

By: crast <contact@jamescrasta.com>
2013-02-16 17:34:52 -07:00
..
configuration Add ItemMeta factory and interfaces. This adds BUKKIT-15 2012-12-17 01:16:28 -06:00
conversations [Bleeding] Added ConversationAbandonedEvent and supporting infrastructure. Whenever a conversation exits, the ConversationAbandonedEvent is triggered with details about how the conversation ended and what, if anything caused it to end. Fixes BUKKIT-986 2012-03-04 16:29:56 -05:00
event Add a tab completion API for chat messages. Adds BUKKIT-2607 2012-10-17 04:33:02 -05:00
metadata Improve speed and memory use of FixedMetadataValue. Fixes BUKKIT-1460 2013-02-16 17:34:52 -07:00
plugin Test PluginManager.removePermission 2013-03-11 01:39:14 -07:00
potion [Bleeding] Fixed some issues with no-effect potions, and added more potion tests. Fixes BUKKIT-1251 2012-03-04 18:58:18 -05:00
AchievementTest.java Deprecation cleanup. 2012-01-30 21:32:48 +01:00
ArtTest.java Add some testing 2012-01-29 11:10:40 +01:00
BukkitMirrorTest.java [Bleeding] Add missing methods to Bukkit class, fix non-static methods, and add a junit test to ensure both these problems will be caught in future. 2012-02-25 12:39:10 -05:00
ChatColorTest.java Optimize ChatColor.getLastColors. 2012-05-16 18:12:48 -05:00
ChatPaginatorTest.java [Bleeding] ChatPaginator now preserves the color of a line after wrapping the line of text. Fixes BUKKIT-1048 2012-03-06 01:15:00 -05:00
CoalTypeTest.java Add some testing 2012-01-29 11:10:40 +01:00
ColorTest.java Add ItemMeta factory and interfaces. This adds BUKKIT-15 2012-12-17 01:16:28 -06:00
CropStateTest.java Add some testing 2012-01-29 11:10:40 +01:00
DifficultyTest.java Add some testing 2012-01-29 11:10:40 +01:00
DyeColorTest.java Clarify dye and wool color datas in DyeColor. Addresses BUKKIT-2786 2013-01-05 16:22:34 -06:00
EffectTest.java Add some testing 2012-01-29 11:10:40 +01:00
EntityEffectTest.java Add some testing 2012-01-29 11:10:40 +01:00
GameModeTest.java Add some testing 2012-01-29 11:10:40 +01:00
GrassSpeciesTest.java Add some testing 2012-01-29 11:10:40 +01:00
InstrumentTest.java Add some testing 2012-01-29 11:10:40 +01:00
MaterialTest.java Added negative id check to Material.getMaterial(int). Fixes BUKKIT-3414 2013-01-11 02:07:38 +01:00
NoteTest.java [Bleeding] Added sharp() and natural() factory functions to mirror the flat() one, sharped() and flattened() functions to get a note from an existing note, a toString(), and more tests. Addresses BUKKIT-861 2012-02-29 20:08:40 -05:00
StatisticTest.java Deprecation cleanup. 2012-01-30 21:32:48 +01:00
TestServer.java Test PluginManager.removePermission 2013-03-11 01:39:14 -07:00
TreeSpeciesTest.java Add some testing 2012-01-29 11:10:40 +01:00
WorldTypeTest.java Add some testing 2012-01-29 11:10:40 +01:00