Commit graph

26 commits

Author SHA1 Message Date
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
Virtuoel
b617f4f7e4 Fix items with sword tool tag not instantly breaking bamboo (#1110)
* Fix items with sword tool tag not instantly breaking bamboo

* Consolidate mixins

* Add Javadoc to injection
2020-11-07 20:06:20 +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
2b462379ad Bump versions 2020-10-18 18:38:30 +01:00
shedaniel
e1e947a65f
Clean up to tool-attributes, add annotations and add test for custom … (#1073)
* 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>
2020-10-18 18:32:16 +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
shartte
ccce563e15
Fix dynamic tools not using their mining speed on modded blocks with mining level 0. (#1030) 2020-08-21 17:20:03 +01:00
Florens Pauwels
02fb8fda0e
Add Netherite mining level to vanilla blocks ToolHandler (#978)
* Add Netherite mining level to vanilla blocks ToolHandler

* Version bump, fix icon
2020-08-07 19:47:18 +01:00
Snakefangox
d21d463561
Fix tool attributes mining levels (#855)
* Decoupled effective checks and mining speed

* Fixed typo

* Bump major for method sig change

* Fix semvar

* Re-add original API method

* Extend test mod

* Fix bug discovered by testing

* Change current to vanillaResult, update doc for postProcessMiningSpeed

* Remove </p> tag

* Add vanilla tests and rename vars
2020-07-24 16:24:50 +01:00
modmuss50
5794386efb 1.16-pre7 2020-06-16 17:20:28 +01:00
modmuss50
059ea866ec update mappings 2020-06-09 22:29:07 +01:00
modmuss50
f6620c4898 Bump version 2020-06-05 11:37:29 +01:00
modmuss50
dff23fa481 Add basic test for tags, useful to ensure that datapack loading is working as expected 2020-06-05 11:25:55 +01:00
modmuss50
da175ad6ad 20w22a 2020-05-29 15:56:10 +01:00
modmuss50
c8964fcb8d tool attribute 1.1 (#589)
* Actual support

* Remove this useless mixin

* Resolve some issues

* Remove duplicate entries

* maybe?

* fix max breaking speed

* choose an item that is the closest

* Set version to 1.1

* better docs remove stuff

* deprecation doc and no todo comments

* Check if block has valid mining level

* javadocs

* Most of the issues resolved

* Some more javadoc and resolve some issues

* Forgot to change order for these

* Adds post process method to DynamicAttributeTool
Fixed going to vanilla again to query
Fixed tool mining level < 0
Fixed vanilla items on modded blocks not working
Renamed taggedToolHandlerInvoker to toolHandlerInvoker
Renamed entries to ENTRIES

* New comparision method for modded tools to vanilla blocks

* Remove useless mixins and use getMaterial().getMiningSpeed to support more tools.

* Simply mixin

* Some useful javadocs

* Fix license

* Bump fabric-object-builders-v0 because we are good

* Bump version of fabric-object-builder-api-v1 because we are nice

* Resolve some issues

* a

* remove vanilla tools vanilla blocks thing ok

* descriptive

* Get the faster speed instead

* Rename ModdedToolsVanillaBlocksToolHandler

* Remove tri state

* Fix compile errors

* testmod

* fix formatting

* fix testmod javadoc

* forgot to license format testmod

* Bump to 1.1.0
# Conflicts:
#	fabric-object-builder-api-v1/build.gradle
#	fabric-tool-attribute-api-v1/build.gradle
#	fabric-tool-attribute-api-v1/src/main/java/net/fabricmc/fabric/api/tool/attribute/v1/DynamicAttributeTool.java
#	fabric-tool-attribute-api-v1/src/main/java/net/fabricmc/fabric/mixin/tool/attribute/MixinItemStack.java
#	fabric-tool-attribute-api-v1/src/main/java/net/fabricmc/fabric/mixin/tool/attribute/MixinPlayerInventory.java
2020-05-11 22:12:43 +01:00
Prospector
fa8407432a
Add netherite tools to tool tags (#609) 2020-05-04 19:56:40 +00:00
modmuss50
686e6e57ad 20w18a 2020-04-29 17:49:19 +01:00
Player
526cfc4b2f Remove DynamicAttributeTool from ToolItem to fix vanilla tools being universally effective 2020-04-22 17:22:39 +02:00
Meredith Espinosa
b764ce9905 fabric-mining-levels-v0 -> fabric-tool-attribute-api-v1 (1.15 edition) (#460)
Moves the ToolManager and tool tags declared in fabric-mining-levels-v0 to a new fabric-tool-attributes-v1, along with adding new interfaces to be implemented on tools so that mining speed, mining level, and entity attribute modifiers can be decided by the itemstack.
2020-04-22 09:49:29 +02:00