Commit graph

58 commits

Author SHA1 Message Date
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
Juuxel
d2f76b0fdf Add tag-based mining level API, fix and deprecate FabricBlockSettings.breakByTool (#1629)
* Mining Level API, part 1

* Fix incorrect netherite mining level in MiningLevelManager docs

* Add some format checks in dynamic mining level tag checking

* Add mining level API test mod

* Grammar

* Add cursed basic support for the tool attribute api

* Fix tool attribute JD

* Add proper compat for tool attribute api

Also fixes the remaining bugs in it!

* Update license headers

* stuff

* better comments

* more test mod work

* more

* Fix test mod

* i'm done with this module

* Address some code review things

* Use Reference2IntMap (basically IdentityHashMap for int values)

* Prefix mixin handlers with fabric$

* Add missing license header

* Update fabric-object-builder-api-v1/src/main/java/net/fabricmc/fabric/api/object/builder/v1/block/FabricBlockSettings.java

* Resolve liach's comment

* Update to use TagFactory
2021-11-05 15:50:11 +00:00
modmuss50
cbda9318cd
Update Gradle/Loom and mappings. (#1692)
* Update Gradle/Loom and mappings.

* Fix deprecations and enforce

* Review feedback

* More cleanup and deprecation fixes.
2021-08-31 14:00:20 +01:00
modmuss50
b7ab612143 1.17-pre1 2021-05-27 18:40:00 +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
f08a69e19f 21w18a 2021-05-05 19:53:16 +01:00
Player
8d89ed54f2 Bump versions 2021-05-01 23:36:32 +02:00
Technici4n
1f1ad061d4 Fix trade offers by writing to the trade map directly (#1430)
* Write to the trade map directly

* Add warning when TradeOfferHelper#refreshOffers is called

* Correctly use synchronized, just in case

* Add null check - PR should be ready for merge now

* Make ctor private to hide it from javadoc
2021-05-01 23:23:40 +02:00
modmuss50
40e100eb8e 21w07a - Fairly major mappings update 2021-02-17 19:11:45 +00:00
modmuss50
524a2e859c Bump Version 2021-02-14 18:03:24 +00:00
PepperCode1
4270b5a63f Fix FabricMaterialBuilder.notSolid having the wrong return type (#1308)
Should be backwards compatible.

(cherry picked from commit cd0f1d33c1)
2021-02-14 17:56:45 +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
Thalia Nero
9f7a7423f3 Add module dependencies to maven POM (#1104) 2020-11-15 19:46:01 +00:00
modmuss50
df3673f0bc 20w46a 2020-11-11 20:18:14 +00:00
modmuss50
96d1e9eae1 Version bump 2020-11-07 20:32:46 +00:00
i509VCB
8d074a03a9
Temp fix for feature renderer testmod, update mappings, reimplement client entity events (#1152)
* Temp fix for feature renderer testmod, update mappings

* Deprecation comments...

* Reimplement client entity events

* Readd the client world change entity event stuff
2020-11-07 19:54:09 +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
a89534abff Add back renamed lightLevel method, I believe the root cause of this issue is in tiny remapper 2020-10-28 08:44:17 +00:00
modmuss50
a4467d2a9c Bump version 2020-10-27 18:36:48 +00:00
i509VCB
25b143484c
Tweak entity type builder generics to eliminate explicit type arguments (#1094)
* Tweak entity type builder generics to eliminate explicit type arguments

* Apply different generic on the entity factory method
2020-10-26 20:57:02 +00:00
i509VCB
eacb8ba396
Update yarn mappings (#1127) 2020-10-22 18:54:44 +01:00
modmuss50
c270b09831 Version Bump 2020-10-05 19:41:39 +01:00
i509VCB
1304192f58
Add helper methods to create custom villager types. (#1076)
* 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
2020-10-05 19:15:49 +01:00
modmuss50
f8ac1db2b1 Version bump 2020-09-27 12:38:48 +01:00
Deximus-Maximus
5f10696617
Add @Nullable and friends (#1007)
* 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
2020-09-27 12:10:02 +01:00
modmuss50
c1aa8ed8d7 Version Bump 2020-09-18 18:48:09 +01:00
modmuss50
95c147c6a1 Fix crash in prod 2020-09-18 18:30:17 +01:00
i509VCB
670bc71753 Fix bug with creating custom villager types and TradeOffer utilities. 2020-09-18 18:09:23 +01:00
modmuss50
b17f382b19
Custom advancement criterion registry (#1091)
* Custom advancement criterion registry

Fixes #20

Signed-off-by: liach <liach@users.noreply.github.com>

* Update fabric-object-builder-api-v1/src/main/java/net/fabricmc/fabric/api/object/builder/v1/advancement/FabricCriterionRegistry.java

* Update fabric-object-builder-api-v1/src/main/java/net/fabricmc/fabric/api/object/builder/v1/advancement/FabricCriterionRegistry.java

* Rename fabric criterion registry -> criterion registry

Signed-off-by: liach <liach@users.noreply.github.com>

* Remove unnecessary build.gradle parts

Will add manually when I run tests

Signed-off-by: liach <liach@users.noreply.github.com>

* Fine I give up

Hope my github editing skill suffices

* Code style

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-09-18 17:44:59 +01:00
modmuss50
432ea188f9 Bump version 2020-09-03 20:00:01 +01:00
Hugman
15028e6f6c
Tweaks to EntityTypeBuilder [1.16] (#836)
* Better consistency with vanilla mobs

* Added a new method for just tracking distance

* Renamed param names

* Update FabricEntityTypeBuilder.java

* Updated v0 for backwards compatibility

* Updated descriptions and parameter names of FabricEntityTypeBuilder

* Added compat with new builders

* Style fix

* Fix style again

* Added backwards compat
2020-09-03 19:46:36 +01:00
modmuss50
e81ec80bf4 Version bump 2020-08-13 18:17:47 +01:00
i509VCB
de1d6c86d0
Add ability to define default attributes and spawn restirctions within the entity type builder. (#828)
* Add ability to define default attributes within the entity type builder.

* Update fabric-object-builder-api-v1/src/main/java/net/fabricmc/fabric/api/object/builder/v1/entity/FabricDefaultAttributeRegistry.java

Co-authored-by: Pyrofab <redstoneinfire@gmail.com>

* Add ability to specify spawn restriction. Add a Living and Mob builder to handle attributes and spawn restrictions seperately from default builder.

* Let's not cast like a maniac

* Add misc overloads for living builder

* Add a few null checks

* Allow factory to be defined in builder

* Make spawn group a builder parameter

Co-authored-by: Pyrofab <redstoneinfire@gmail.com>
2020-08-13 18:15:01 +01:00
modmuss50
ad64ee68e8 Bump version 2020-08-07 19:52:25 +01:00
Shnupbups
23a4a963ba
Fix FabricBlockSettings not copying the toolRequired boolean (#984) 2020-08-07 19:47:09 +01:00
shedaniel
ba4afa57ac
Fix the javadocs of object-builders as the method was moved from material to block. (#892)
Signed-off-by: shedaniel <daniel@shedaniel.me>
2020-07-20 19:35:49 +01:00
modmuss50
e00ecb5fb8 Bump version 2020-06-21 13:42:26 +01:00
i509VCB
43ae9fbacb
Move new method in FabricBlockSettings to correct place in class. (#668)
The lower methods in the class are commented with their categories:

`FABRIC DELEGATE WRAPPERS` for additional methods to allow editing fields not actually exposed in vanilla.

`FABRIC HELPERS` for methods to handle things like mining levels.

Per these two categories, the new method does not belong in `FABRIC HELPERS` and has been moved accordingly
2020-06-21 13:31:36 +01:00
modmuss50
059ea866ec update mappings 2020-06-09 22:29:07 +01:00
modmuss50
346247d7d1 Checkstyle 2020-06-04 21:24:25 +01:00
modmuss50
74492929a5 Stabilise experimental api's 2020-06-04 21:22:30 +01:00
modmuss50
0d474ec430 1.16-pre1 2020-06-04 21:20:20 +01:00
i509VCB
c6ab3e1b2d
Make the create method public on villager profession builder (#647)
* Make the create method public

* Bump module ver

* Bump main version
2020-05-29 23:34:00 +01:00
modmuss50
0a73535729 Bump version 2020-05-29 20:11:58 +01:00
i509VCB
2521f6a319 Add object builders to simplify the process of creating Villager professions (#493)
* Add Object builders for simplifying the process of creating villager professions and point of interest types.

* Move everything to new object-builders-api

* flatten a bit down

* a few javadoc changes

* More JD tweaks
2020-05-29 20:02:33 +01:00