mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-26 17:46:25 -05:00
07df213ec3
* Sculk Sensor Frequency Registry - Mixin'd to `SculkSensorBlock` to make its `FREQUENCIES` map modifiable. - Created `SculkSensorFrequencyRegistry` with a dedicated method for registering these frequencies, with all necessary checks to avoid issues, and javadoc to assist in understanding. - Added tests to the test mod, as well as a block that emits a test event, to ensure it all works. Unfortunately, the mixin currently uses a Redirect. If this is undesired, feel free to suggest other ways of achieving the end result of being able to modify the frequencies map. * Update SculkSensorFrequencyRegistry.java * cleaner javadoc * Update fabric-content-registries-v0/src/main/resources/fabric-content-registries-v0.mixins.json Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com> * Final touches ...get it? (oh and removed that Dynamic because tech didn't like it) * Whoops Forgot to remove the Dynamic import Also restored the actual contents of the dynamic, as javadoc. Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com> |
||
---|---|---|
.. | ||
src | ||
build.gradle |