* Create EndBiomes.java
* Revert "Create EndBiomes.java"
This reverts commit 4d1736fad9.
* Revert "Revert "Create EndBiomes.java""
This reverts commit 673c508d82.
* Rename ContinentalBiomeEntry to WeightedBiomeEntry
* Complete API for adding biomes to the end
* Mixin to end biome source
* Revert "Rename ContinentalBiomeEntry to WeightedBiomeEntry"
This reverts commit 849197e15d18c26af2a6f2aa1766b7d73d9a7144.
* Revert "Revert "Rename ContinentalBiomeEntry to WeightedBiomeEntry""
This reverts commit c2aa4ab097eb3daed71e82d4e77142671ed04316.
* Create SimpleLayerRandomnessSource for use with end biome source mixin
* Renamed MAIN region to MAIN_ISLANDS
* Create test mod
* Added pickFromNoise method to WeightedBiomePicker
* Javadoc and licensing info
* Comply with checkstyle
* Internalize EndRegion
* Added stretching when getting the biome for the end
* Rename EndBiomes to TheEndBiomes to be consistent with yarn mappings
* Fix typo
Courtesy of i509VBC
Co-authored-by: i509VCB <i509vcb@gmail.com>
* Add @Unique to private fields in MixinTheEndBiomeSource
* Made end test biome consistent in style with previous test
Courtesy of i509VBC
Co-authored-by: i509VCB <i509vcb@gmail.com>
* Fix imports
* Didn't know test mods needed to follow the checkstyle
* SimpleLayerRandomnessSource's random is now use to instantiate its noise sampler
* A very important note
* Update javadoc for adding biomes to the Main Island region
* Remove method that is leftover from when EndRegion was part of the API
* Ported 1.16.1 biomes-api-v1 to 1.16.2.
Public API changes:
- Removed flagging biomes as suitable for player spawns since that is now handled in the Biome Builder.
- Changed API over to RegistryKey's, not because it's necessary, but because it is more ergonomic since Vanilla Biomes in BuiltInBiomes are now all exposed as keys, rather than instances.
* Increase memory size to fix build failures.
* Add the ability to add modded dimensions to the regions of the end.
* Hopefully fixed everything that went wrong during the rebase
* Update fabric-biome-api-v1.mixins.json
* Finally got custom end biomes to generate
* Thanks for nothing, GitHub Desktop
* Bad GitHub Desktop
* Bad newline no cookie
* Got everything to follow the checkstyle
* Bring branch up-to-date with main repo (#11)
* Revert "Bring branch up-to-date with main repo (#11)"
This reverts commit dc47106241.
* Remove some stuff that's not supposed to be there
* Fix git silliness
* Update FabricBiomeTest.java
* TheEndBiomes is now Deprecated to match OverworldBiomes and NetherBiomes
* Update some checkNotNull messages
* Change the noise scale when replacing end biomes
* Bad space no cookie
* Remove unnecessary code
* Remove unused imports
* Set up InternalBiomeData to treat End Midlands and End Barrens as border biomes
* Changed the API to reflect midlands and barrens biomes being considered border biomes
* Start work on getting the new system fully working
* Finally got everything working and cleaned up the Javadoc
* Fixed checkstyle violations
* Fix checkstyle violations again
* Drop fabric_ prefix
* Calling SimpleLayerRandomnessSource#nextInt() now throws an exception
* If the midlands or barrens biome picker is null, the replacement key defaults to the vanilla one
* Fix usage of vanilla identifier
* Update MixinTheEndBiomeSource.java
* Fix checkstyle violations
Co-authored-by: i509VCB <i509vcb@gmail.com>
Co-authored-by: Sebastian Hartte <sebastian@hartte.de>
* Create EndBiomes.java
* Revert "Create EndBiomes.java"
This reverts commit 4d1736fad9.
* Revert "Revert "Create EndBiomes.java""
This reverts commit 673c508d82.
* Rename ContinentalBiomeEntry to WeightedBiomeEntry
* Complete API for adding biomes to the end
* Mixin to end biome source
* Revert "Rename ContinentalBiomeEntry to WeightedBiomeEntry"
This reverts commit 849197e15d18c26af2a6f2aa1766b7d73d9a7144.
* Revert "Revert "Rename ContinentalBiomeEntry to WeightedBiomeEntry""
This reverts commit c2aa4ab097eb3daed71e82d4e77142671ed04316.
* Create SimpleLayerRandomnessSource for use with end biome source mixin
* Renamed MAIN region to MAIN_ISLANDS
* Create test mod
* Added pickFromNoise method to WeightedBiomePicker
* Javadoc and licensing info
* Comply with checkstyle
* Internalize EndRegion
* Added stretching when getting the biome for the end
* Rename EndBiomes to TheEndBiomes to be consistent with yarn mappings
* Fix typo
Courtesy of i509VBC
Co-authored-by: i509VCB <i509vcb@gmail.com>
* Add @Unique to private fields in MixinTheEndBiomeSource
* Made end test biome consistent in style with previous test
Courtesy of i509VBC
Co-authored-by: i509VCB <i509vcb@gmail.com>
* Fix imports
* Didn't know test mods needed to follow the checkstyle
* SimpleLayerRandomnessSource's random is now use to instantiate its noise sampler
* A very important note
* Update javadoc for adding biomes to the Main Island region
* Remove method that is leftover from when EndRegion was part of the API
* Ported 1.16.1 biomes-api-v1 to 1.16.2.
Public API changes:
- Removed flagging biomes as suitable for player spawns since that is now handled in the Biome Builder.
- Changed API over to RegistryKey's, not because it's necessary, but because it is more ergonomic since Vanilla Biomes in BuiltInBiomes are now all exposed as keys, rather than instances.
* Increase memory size to fix build failures.
* Add the ability to add modded dimensions to the regions of the end.
* Hopefully fixed everything that went wrong during the rebase
* Update fabric-biome-api-v1.mixins.json
* Finally got custom end biomes to generate
* Thanks for nothing, GitHub Desktop
* Bad GitHub Desktop
* Bad newline no cookie
* Got everything to follow the checkstyle
* Bring branch up-to-date with main repo (#11)
* Revert "Bring branch up-to-date with main repo (#11)"
This reverts commit dc47106241.
* Remove some stuff that's not supposed to be there
* Fix git silliness
* Update FabricBiomeTest.java
* TheEndBiomes is now Deprecated to match OverworldBiomes and NetherBiomes
* Update some checkNotNull messages
* Change the noise scale when replacing end biomes
* Bad space no cookie
* Remove unnecessary code
* Remove unused imports
* Set up InternalBiomeData to treat End Midlands and End Barrens as border biomes
* Changed the API to reflect midlands and barrens biomes being considered border biomes
* Start work on getting the new system fully working
* Finally got everything working and cleaned up the Javadoc
* Fixed checkstyle violations
* Fix checkstyle violations again
* Drop fabric_ prefix
* Calling SimpleLayerRandomnessSource#nextInt() now throws an exception
Co-authored-by: i509VCB <i509vcb@gmail.com>
Co-authored-by: Sebastian Hartte <sebastian@hartte.de>
* Biome Modification API
* Improved docs on Mixins.
* Added convenience methods to select biomes by mob-spawns, and added a top-level convenience method to add new spawns.
* Checkstyle fixes.
* Replace a reference to DRM with DynamicRegistryManager
* Replaced integer order with phase-based ordering.
* Changed to @Deprecated
* Checkstyle fix
* Added category selector.
* Update command api to use new non-tail constructor inject
This removes a redirect in fabric api and fixes the location of the command api's icon.
* Update lifecycle events for command-api-v1 testmod
* Clean up to tool-attributes, add annotations and add test for custom tool types.
Signed-off-by: shedaniel <daniel@shedaniel.me>
* Change version to 1.2.3
Signed-off-by: shedaniel <daniel@shedaniel.me>
* remove unrelated change
Signed-off-by: shedaniel <daniel@shedaniel.me>
* Turn build.gradle to tabs
Signed-off-by: shedaniel <daniel@shedaniel.me>
* Fix checkstyle
Signed-off-by: shedaniel <daniel@shedaniel.me>
* Fix some review issues
Signed-off-by: shedaniel <daniel@shedaniel.me>
* Add license to package-info.java
Signed-off-by: shedaniel <daniel@shedaniel.me>
* Remove line between the javadoc and the package line
Signed-off-by: shedaniel <daniel@shedaniel.me>
* Move the @NotNull annotation
Signed-off-by: shedaniel <daniel@shedaniel.me>
This also moves use of deprecated `classifier` from AbstractArchiveTask to `archiveClassifier`
Also this moves loader to the Globals class.
This PR does not touch the individual modules since there are other PRs open which modify those.
* Added DynamicRegistryEntryAddedCallback
* bumbed loader version, finalized DynamicRegistryEvents
* Fixed some generics
* Changed the event to a more generic one
* Added some javadoc and the license header
* increased gradle memory in the hope it fixes the github action fail
* Added DynamicRegistryEntryAddedCallback
* bumbed loader version, finalized DynamicRegistryEvents
* Fixed some generics
* Changed the event to a more generic one
* reverted memory change
* updated mixin for new mappings
* removed redundant supressions
* renamed event method
* Tri-state extensions
Adds new extensions to tri-state and some javadoc.
* Part 2
* Comment fix
* More conistent codestyle, abstract the map and ifxyz code a bit
* Annotations
* Player said no to qualifying static members local to the TriState enum.
* Exceptional spelling
* add a more Optional-like map method and drop if*State*
* ? extends T this time
* Compare to default rather than null of getBoxed
* Puncation of course
* Add helper methods to create custom villager types.
* Rename biome method
* Make it register and register the instance of the villager type.
* Javadoc 2
* Add texture javadoc
* Boost to Loom 0.5
Add null related annotations
* Rearrange nullable to be overline
* Fix anno sorting for picky
* Add imports
* Address feedback
* Fix import
* Add fix for handling removal of old structures.
This fix is required or else worlds where a mod is removed WILL NOT SAVE.
* Only mark for saving if the chunk has a null key
* Add label for issue being fixed
* Actually fix the redirect lol
* Licenses...
* Use ThreadLocal boolean instead of nullable unit
* Checkstyle is picky
* remove unnecessary `containsKey`
* Ported 1.16.1 biomes-api-v1 to 1.16.2.
Public API changes:
- Removed flagging biomes as suitable for player spawns since that is now handled in the Biome Builder.
- Changed API over to RegistryKey's, not because it's necessary, but because it is more ergonomic since Vanilla Biomes in BuiltInBiomes are now all exposed as keys, rather than instances.
* Changed to CheaterCode's mixin for modifying the nether biomes, saving us one accessor.
* Move Bonanza
* Finished moving and updating of the module, added experimental markers.
* Adjusted experimental notes.
* Finished rename from biomes-v1 to biome-api-v1
* Reverted memory settings in preparation for loom-0.5