Commit graph

38 commits

Author SHA1 Message Date
frqnny
0a73a6c22b Structure Pool Callback (#1540)
* Structure Pool Callback

* Update build.gradle

* Update fabric-structure-api-v1/src/main/java/net/fabricmc/fabric/api/structure/v1/FabricStructurePool.java

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Update fabric-structure-api-v1/src/main/java/net/fabricmc/fabric/api/structure/v1/FabricStructurePool.java

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Fix certain concerns

* Expose identifier for easier access

* Final test mod thing

* fix access widener

* Fix a few things

* Fix a few things

* Fix license

* haha lets see if this works

* checkstyle was working after I did checkstyleMain so u bettar work

* i take too much time to do checkstyle fixes

* checkstyle fix testmod ugh amirite

* Fix a few concerns brought up <3

* Oops, forgot to add a mutanle there

* Let's test this one more time?

* Remove Access Widener woop woop

* rename to poolAccessor

* Simplify the pool modification a bit

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

(cherry picked from commit 48a9ad892d)
2022-01-14 15:20:08 +00:00
modmuss50
295197a789 1.18-pre6
Just some mappings in the tests, but nice to keep on top of it.
2021-11-22 18:37:29 +00:00
modmuss50
03d159cf68 1.18-pre3 2021-11-17 18:06:43 +00:00
Player
3ac43d9577 Revert Mixin compatibilityLevel bump, bump versions 2021-11-17 03:29:11 +01:00
modmuss50
e77d3ea62f 1.18-pre2 & Java 17 2021-11-16 18:41:10 +00:00
modmuss50
e899b67a68 Update mappings. 2021-11-16 13:01:16 +00:00
modmuss50
b4f4f6cda4 Update Loom and Loader. Cleanup/improve buildscript. 2021-11-12 15:02:54 +00:00
modmuss50
65d505fc8a Bump versions
All of the version need to be bumped due to fabric-api-base being updated, this highlights the need for a better solution.
2021-11-05 17:09:48 +00:00
modmuss50
6eb8b35a31 21w39a 2021-09-29 20:03:16 +01:00
modmuss50
dc3d5c4769 21w38a 2021-09-23 18:30:50 +01:00
modmuss50
8f2c3e04fb Bump version 2021-09-21 11:41:06 +01:00
shartte
fb712d3a80
Fixes the structure API for 1.18. (#1730)
Structures are no longer linked to Biomes via an instance field  in the Biome class. Instead they are linked by registry keys. This means that standard biome spawning rules also apply to superflat worlds, instead of the hardcoded list of structures linked with superflat worlds by default. Changes the FabricStructureBuilder to allow adding structures to this default list.
2021-09-19 09:06:27 +01:00
modmuss50
5553aff888 21w37a: Compile pass 2021-09-17 18:42:42 +01:00
modmuss50
5ab9934c7c Bump version 2021-07-23 17:28:43 +01:00
modmuss50
bc1653ce03 Use a wildcard version for dep on fabric-lifecycle-events-v1 so it can be ran in dev without gradle. 2021-07-23 17:16:17 +01:00
modmuss50
6cefd57746 1.17.1-rc2 2021-07-05 18:44:49 +01:00
modmuss50
e369698318 Bump version 2021-06-14 23:07:31 +01:00
frqnny
98295c3114
Fix structure config not applying in every case (#1495)
* Fix structure config not applying in every case

* Make tempmap immutable

* delete unfinished sentence

oop

* Some more cleanup
This was done at the request of Technician

* Update fabric-structure-api-v1/src/main/resources/fabric.mod.json

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-06-14 22:58:00 +01:00
modmuss50
be9da31056 1.17-rc (Just mappings)
This is a little behind just wanted to get it building against rc1
2021-06-07 11:01:31 +01:00
Player
75bf7f0f4a Bump versions 2021-05-20 01:32:24 +02:00
Player
8297e96629 21w20a
Co-authored-by: modmuss50 <modmuss50@gmail.com>
2021-05-20 01:15:25 +02:00
modmuss50
a02b4463f9 21w19a 2021-05-12 20:23:04 +01:00
modmuss50
23b3c92ea9 21w13a 2021-03-31 20:52:51 +01:00
modmuss50
03bff30f22 21w11a 2021-03-17 19:14:28 +00:00
modmuss50
7268309e55 21w08a 2021-02-24 20:30:53 +00:00
modmuss50
1eb2670e8a 21w05a 2021-02-03 19:53:20 +00:00
modmuss50
92519afafe Version bump 2021-01-19 19:38:22 +00:00
i509VCB
f8cf2bb436 Add custom value denoting module lifecycles. (#1253)
* Add custom value denoting module lifecycles.

* Make the module validation work.

My hand has been forced - we must use buildSrc since JsonSlurper is not available in main buildscript.

* Apply task to each project and dont cross projects

* A horrible hack

* Wait what

* It works now.

* Not needed

* Drop unneeded maven repo, cache map lookup

(cherry picked from commit daa38b3d82)
2021-01-19 18:54:23 +00:00
modmuss50
c6723711fd Bump versions 2020-12-30 17:26:06 +00:00
haykam821
6bc3f52d3f Fix missing metadata (#1233)
* Fix certain modules not having icons

* Add additional metadata to the fabric-particles-v1 module

(cherry picked from commit ae85d92960)
2020-12-30 16:56:49 +00:00
modmuss50
cc3cc6c601 Bump version 2020-11-23 20:24:54 +00:00
modmuss50
40e91bd0cb Fix MC-149777 - java.util.ConcurrentModificationException when using Java 11 or above (#1176)
* Fix MC-149777

* Fix license
2020-11-23 20:14:35 +00:00
modmuss50
3e817a62fd Version bump 2020-11-05 18:26:58 +00:00
modmuss50
fd6e7547e7
20w45a
Added FabricBlockEntityTypeBuilder
Reworked EntityRendererRegistry
Ported BlockEntityRendererRegistry
2020-11-05 18:05:55 +00:00
modmuss50
f8ac1db2b1 Version bump 2020-09-27 12:38:48 +01:00
i509VCB
ca18475868
Add fix for handling removal of old structures. (#1100)
* 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`
2020-09-27 12:09:34 +01:00
modmuss50
fb0d9b0e7d Update mappings 2020-09-03 20:39:05 +01:00
Joseph Burton
516ece7c6e
Structures API (#917)
* Initial structures API implementation

* Improve generics + add a superflatFeature helper method

* Initialize StructuresConfig class early to prevent its assertion failing

* Add a testmod

* Documentation and null assertions

* Apply review suggestions

* Update fabric-structure-api-v1/src/main/java/net/fabricmc/fabric/api/structure/v1/FabricStructureBuilder.java

Co-authored-by: shartte <shartte@users.noreply.github.com>

* Apply review suggestions

* Update to 1.16.2

Co-authored-by: shartte <shartte@users.noreply.github.com>
2020-08-21 17:22:57 +01:00