Alexander
3be63f18f3
Add ConfigHelper to help with extracting values from configs
2021-05-23 23:21:16 +01:00
caucow
3339fdc859
Add to CollectionUtil: consolidate LazyList creation+sizing(+empty case)
2021-05-13 13:40:42 -05:00
caucow
2a2ffa1572
Bump version
2021-05-11 23:10:18 -05:00
caucow
57c2073bec
Add a SkinCache for getting playerheads less laggylyily
...
Mayhaps this could be refactored in the future, idk to what degree of overly abstract CMC needs to be but if more generic use cases come up it shouldn't be too painful to do.
2021-05-11 22:56:18 -05:00
caucow
30e2890d6d
Fix vanilla server transient dependency from paperclip-installed paper
2021-05-11 22:53:36 -05:00
Alexander
d6a590201e
Fix MapColours error, Set.of() doesn't like null values
2021-04-29 21:44:10 +01:00
wingzero54
d182038114
Revert "Revert "Chat / Item / Meta utilities update""
2021-04-29 15:03:19 -05:00
wingzero54
622650da6a
Revert "Chat / Item / Meta utilities update"
2021-04-29 09:54:44 -05:00
Alexander
a51c4b956e
Make certain dependencies pseudo-provided
2021-04-26 21:29:04 +01:00
Alexander
5e538e64bb
Remove extraneous PagedGUI hooks
2021-04-26 21:28:18 +01:00
Alexander
1db39cb355
Replace PagedGUI with Canvas
2021-04-26 18:31:43 +01:00
Alexander
21b38bd869
Add TaskChain dependency ( #80 )
2021-04-25 14:20:19 +01:00
Alexander
a99d4244af
Add MapColours enum
2021-04-25 14:16:37 +01:00
Alexander
8781253b23
Add fastutil as a provided dependency
2021-04-25 14:01:56 +01:00
Alexander
7333547e01
Allow AikarCommandManager.getPlugin() to be overridden
2021-04-24 21:52:15 +01:00
Alexander
dd8984c0e9
Add clone component function
2021-04-24 16:22:52 +01:00
Alexander
02683fe479
Fallback on Bukkit logger
2021-04-23 00:13:54 +01:00
Alexander
188d96eaf1
Fix another CivLogger bug, hopefully last one
...
It's weird because the issue I was having before was fix with the last change.. maybe PaperMC changed something? Either way, the nuclear option should the plugin be loaded but not instantiated is to create a replicant logger since PaperMC doesn't define the logger until after the plugin has been constructed.
2021-04-22 20:29:50 +01:00
Alexander
50280b6b98
Use more appropriate serialisation for ChatUtils.isNullOrEmpty()
2021-04-22 20:27:31 +01:00
Alexander
a1beeadf41
PlayerTradeEvent requires a non-null villager… so be it
2021-04-21 18:55:04 +01:00
Alexander
0f7fce89c7
Custom merchant handling
2021-04-21 17:45:18 +01:00
Alexander
c6fae38671
Self GUI was a dud, remove
2021-04-21 17:06:51 +01:00
Alexander
db17f5d858
Merge branch 'prune-deprecated' into main
...
* prune-deprecated:
Move away from Chainer
Remove a lot of deprecated clutter
# Conflicts:
# src/main/java/vg/civcraft/mc/civmodcore/CivModCorePlugin.java
# src/main/java/vg/civcraft/mc/civmodcore/inventory/items/EnchantUtils.java
# src/main/java/vg/civcraft/mc/civmodcore/serialization/NBTCompound.java
# src/test/java/vg/civcraft/mc/civmodcore/serialization/SerializationTests.java
2021-04-20 18:37:11 +01:00
Alexander
38f1a00fb2
Add chest row amount values
2021-04-20 18:30:47 +01:00
Alexander
a275905420
Add NBTCompound#getCompound() version that ensures non-null
2021-04-20 18:30:19 +01:00
Alexander
996539100f
Fix NBTHelper ItemStack serialisation
2021-04-20 18:29:40 +01:00
Alexander
8cfd92d867
Add BatchedNbtStorage
2021-04-20 18:26:04 +01:00
Alexander
206c0db10e
Add ChatUtils.newComponent()
2021-04-20 18:23:36 +01:00
Alexander
7a4663194e
Add self GUI system
2021-04-20 18:23:09 +01:00
Alexander
45b601a57f
Add new serialisation tests
2021-04-19 20:19:15 +01:00
Alexander
d49b5b23e2
Fix PseudoServer from throwing fits upon second setup
2021-04-19 20:14:16 +01:00
Alexander
2b78d0e935
Add UuidUtils.fromString() for less throwy UUID parsing
2021-04-19 17:37:02 +01:00
Alexander
484c1a85c9
Add MoreCollectionUtils.collectExact() as a safer version of Arrays.asList()
2021-04-19 10:28:22 +01:00
Alexander
4f9508e77d
Allow NBTCompound to wrap PersistentDataContainers
2021-04-19 10:20:17 +01:00
Alexander
3ac5734111
Allow a ClonedInventory to be force cloned
2021-04-19 10:17:28 +01:00
Alexander
80e459998d
Update Aikar commands
2021-04-19 10:16:50 +01:00
Alexander
e7ae1b8481
Add NBTHelper for common serialisations
2021-04-19 10:16:06 +01:00
Alexander
15e3058892
Fix CivLogger issue if the logger detects a plugin but the plugin is not enabled yet
2021-04-19 10:15:23 +01:00
Alexander
0240ed54f9
Update WorldUtils.isWithinBounds() to use new lower bound method
2021-04-19 10:13:12 +01:00
Alexander
3ef0c6ea07
Merge branch 'master' of https://github.com/Civclassic/CivModCore into main
...
* 'master' of https://github.com/Civclassic/CivModCore :
Add EnumSetting
Remove unnecessary config reload
2021-04-09 14:26:08 +01:00
Alexander
71abcd4ebe
Re-arrange repositories
2021-04-09 14:21:26 +01:00
Alexander
bc1e18a8d1
Make these ArrayLists empty
2021-04-09 14:19:32 +01:00
Alexander
0535298db6
Rename UuidTester to actually work
...
Apparently test classes have to be suffixed with "Tests"
2021-04-09 14:18:17 +01:00
Alexander
72bc9b579e
Update to Kyori Adventure
2021-04-09 14:17:30 +01:00
wingzero54
0bf7c5442c
Merge pull request #78 from Protonull/patch-1
...
Remove unnecessary config reload
2021-04-08 20:53:42 -05:00
Alexander
a2ca1fdea3
Move away from Chainer
2021-04-09 00:57:40 +01:00
Alexander
e1f1ff5a46
Start using CivLogger
2021-04-08 23:22:24 +01:00
Alexander
3b8fc19b20
Tidy up CivModCorePlugin a lil'
2021-04-08 23:22:05 +01:00
Alexander
9e71c86aed
Update ACivMod.getInstance()
2021-04-08 23:21:29 +01:00
Alexander
0ab4cc4917
Add CivLogger
2021-04-08 18:07:23 +01:00