Dark Matter has been archived. Dark Matter will not receive any further updates unless the author decides to unarchive the project.
Changelog
What's new:
Base:
A bunch of stuff was moved out of Base to make it less version dependent.
- FakeWorld is now a standalone module. If you want to use it or Screen Particles, you have to include
cracker-util-fake-world
. - ValueTracker has been deprecated and will be removed in the future with no replacement. Although it might receive updates, it is not a priority.
- CrackerLog is now internal and should not be used. Use PrependingLogger with a preset instead.
Utilities#nextBetween()
is deprecated and should be replaced withMathStuff#nextInt()
.- Mutable Immutable has been separated into modules that require it. RecipeBookGroup and RecipeBookOptions are now part of cracker-util-recipe-book, and TextColor is patched on demand by TextFormattingUtil (part of cracker-util-content) and an accesswidener.
UnsafeAccess#writeField()
has been renamed toUnsafeAccess#putObject()
.- DrawUtil remains part of Base, but may be moved to a different module in the future. Additionally, the fillGradientHorizontal() method has been added.
- Added ColorUtil.
- PredicateTwo and ConsumerTwo are now deprecated, because BiConsumer and BiPredicate exist.
- Added
mapObjectFromAnnotation(Object value, boolean loadEnums, boolean loadClasses)
to ExtendedPlugin. - MixinShouldApply is now removed from target classes.
- Added
getField
andsetField
to ReflectionUtil. These work like the oldwriteField
andgetObject
from UnsafeAccess. - UnsafeAccess's
putObject
andgetObject
now don't use reflection. They will also check fields for volatility.- Also removed the
e.printStackTrace()
which was left there by mistake.
- Also removed the
- Added
Utilities#getCallerClass()
andUtilities#getCallerClass(depth)
- Added Tuple and MutableTuple.
- Added Tri(Consumer/Predicate/Function)
Content
- removed
put1
from NbtBuilder.
Danger
- InstrumentationAccess should no longer implode if invoked from a LanguageAdapter.
- Added the forgotten
break;
to thefor
loop, which checked if InstrumentationAccess should be enabled. - Changed
InstrumentationAccess#bootstrap
to store the jar in the game-dir and not to write the file every game load.
Screen Particles:
- Due to changes in Base, you now have to include
cracker-util-fake-world
. - VanillaParticle has undergone some minor changes, but nothing should be affected or break.
- You can now add your own Particle instance.
- Also, there's now a ctx with
velZ
- private
createParticle
is now publiccreateScreenParticle
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Metadata
Release channel
BetaVersion number
0.4.0-1.19.2Loaders
Fabric
Game versions
1.19.2Downloads
39Publication date
April 28, 2023 at 2:52 PMPublisher
melontini
Author