Commit graph

9 commits

Author SHA1 Message Date
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