Commit Graph

4 Commits

Author SHA1 Message Date
Allink
12cfdfe31d
Add methods specifically for logging components to FreedomLogger
The new component-logging methods are ALL suffixed with "Component" to prevent type erasure conflicts with the other Supplier methods.

These methods were added for completeness for when I make the FreedomLogger an Audience.
2023-05-20 05:08:15 +01:00
Allink
55859b6b15
Add adventure utility class
This class is meant to track a global PlainTextComponentSerializer instance, so we don't have to call PlainTextComponentSerializer#plainText in every class that needs to serialize a Component into a String.

I implemented this so I can add component logging to FreedomLogger.
2023-05-20 05:08:11 +01:00
Allink
7756813d01
Add mutable audience forwarder class
This class allows for ForwardingAudience-esque behaviour, while being mutable. It is currently not thread safe.

It was implemented as we need a good way to implement a "TransactionSpy" (or "EconomySpy", maybe) in the future, once we finalize planned administrative functions.
2023-05-20 04:00:51 +01:00
Paul Reilly
6f400e505c Upgrades 2023-05-15 01:30:37 -05:00