Commit graph

626 commits

Author SHA1 Message Date
modmuss50
4a08d6b285 20w21a initial port 2020-05-20 19:39:37 +01:00
modmuss50
6d41837a96 20w20a 2020-05-13 18:42:14 +01:00
modmuss50
8dcfcb1e89 Bump version 2020-05-11 22:13:40 +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
modmuss50
fbdec5486a Checkstyle fixes
(ง'̀-'́)ง
2020-05-07 22:27:19 +01:00
modmuss50
57dbcc4ce5 Version bumps 2020-05-07 22:12:06 +01:00
liach
eae12eb815
Add fabric model predicate provider registry (#601)
* Add fabric model predicate provider registry

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

* Fix jd with new mappings

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

* Bump module version

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

* Remove redundant line

* Move inner class accessor to outer class

Co-authored-by: liach <liach@users.noreply.github.com>
2020-05-07 22:10:07 +01:00
i509VCB
d83d36ad00 Create command api test mod (#607)
* Create command api test mod

* Verify the callback is only called once per server instance.
2020-05-07 22:08:14 +01:00
i509VCB
cc3ee51411 Fix duplicate input class from object builder mixins (#611)
We Fix this by marking the old v0 mixins as `OldMixinTarget`
2020-05-07 22:07:19 +01:00
modmuss50
d1e1b46ce9 Remove call to initShapeCache when registering blocks.
At some point in the 1.16 update cycle this was moved to be called after tags are (re)loaded and not when blocks are being registered.
2020-05-07 13:52:28 +01:00
modmuss50
84cce57f4d 20w19a: Deprecated min/maxDespawnDistance in FabricEntityTypeBuilder as they are no longer applicable to the EntityType.
This was done to keep mod compat and will be removed very shortly. I dont think they were used by many mods (only added in a recent 1.16 snapshot) so I think this is the best course of action.
2020-05-06 18:46:36 +01:00
Player
b4da06fb83
Bump version 2020-05-04 19:57:24 +00:00
Prospector
fa8407432a
Add netherite tools to tool tags (#609) 2020-05-04 19:56:40 +00:00
Player
d0b0d5f31b Bump version 2020-05-03 20:21:57 +02:00
modmuss50
63435d4b92
Restart Testmods (#593) 2020-05-03 16:56:50 +00:00
modmuss50
fcb6b9aa64 Update MixinMinecraftDedicatedServer to 1.16 2020-05-02 21:22:33 +01:00
modmuss50
5644fa286e Fix commands on servers. (#604)
* Fix commands on servers.

Based off the same fix I made a year or two ago...

* Fix
2020-05-02 21:21:35 +01:00
Juuxel
304e48eb3a
Bump fabric-rendering-v1 to 1.1.0 (#597) 2020-04-30 18:16:37 +00:00
modmuss50
bf7c167a1d Fix crash 2020-04-30 00:45:49 +01:00
modmuss50
a15fc24836 Bump version 2020-04-30 00:07:20 +01:00
Juuxel
24a100d8a9 Add a hook for BuiltinModelItemRenderer (#563)
* Add builtin item renderers

Closes #488.

* Bump fabric-rendering-v1 to 1.0.0

* Code review

* Add comments

* Code review II

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

* Add missing license headers

* Switch to ugly class singletons

* Add null checks to BuiltinItemRendererRegistry.register

* Protect against overwriting others' renderers by catching exceptions

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-30 00:06:55 +01:00
modmuss50
204c316b03 Bump version 2020-04-29 22:50:05 +01:00
i509VCB
c38e8d9e1e
Object builders v0->v1 migration (#537)
* Migrate object builders from v0 -> v1

* Port entity attribute registry to v1
2020-04-29 22:48:08 +01:00
modmuss50
610157e1cf Bump Version 2020-04-29 22:15:52 +01:00
i509VCB
52d30836ba Migrate commands to v1 (#539)
* Migrate commands to v1

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

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update fabric-commands-v1/src/main/java/net/fabricmc/fabric/api/command/v1/CommandRegistrationCallback.java

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* commands -> command and improved javadoc.

* Fix the stragglers

* swap dedicated and dispatcher params

* Update fabric-command-v1/src/main/java/net/fabricmc/fabric/api/command/v1/CommandRegistrationCallback.java

Whoops forgot that one

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

* module name order has been restored.

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-04-29 22:15:05 +01:00
modmuss50
686e6e57ad 20w18a 2020-04-29 17:49:19 +01:00
Player
224bbbbccc Bump versions 2020-04-27 14:04:35 +02:00
liach
5417aa6a29
Entity attribute registry (#568) 2020-04-27 11:52:55 +00:00
modmuss50
2fd224ca63 20w17a 2020-04-22 17:59:17 +01:00
Player
526cfc4b2f Remove DynamicAttributeTool from ToolItem to fix vanilla tools being universally effective 2020-04-22 17:22:39 +02:00
Player
570150aa1c Bump version 2020-04-22 09:49:46 +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
modmuss50
6c0e72dfcd Bump version 2020-04-20 01:43:57 +01:00
modmuss50
6cbc90d6ae
Fix lighting issues (#583) 2020-04-20 01:42:57 +01:00
modmuss50
708a050cc0 Bump version 2020-04-20 01:13:57 +01:00
Erlend Åmdal
1e6eeb5830 Fix FabricMaterialBuilder#notSolid returning the wrong builder type (#533) 2020-04-20 01:13:22 +01:00
Sargun Vohra
83200dc6f5 Check the Fabric box when uploading to curseforge (#574)
* Check the Fabric box when uploading to curseforge

This will ensure mod auto update tools know it's a Fabric jar.

* Update cursegradle version
2020-04-20 01:01:02 +01:00
modmuss50
eb276f9cfc 20w16a 2020-04-15 16:42:48 +01:00
Player
dc50b8619e Bump version 2020-04-11 22:00:53 +02:00
Juuxel
94c7834a50
Make resource-loader-v0's generated resource packs use the latest data version (#559)
This prevents incompatibility warnings about mod resource and data packs.
2020-04-11 19:46:10 +00:00
liach
1a47cd78f6
Update checkstyle and change tab width to be 4 than 8 (#518)
* Remove unnecessary chmod in travis script
* Update checkstyle and fix indent config
* Travis CI optimizations and checkstyle fixes
2020-04-11 18:21:53 +00:00
modmuss50
9cd8d660bf Remove un-used import 2020-04-08 16:16:36 +01:00
modmuss50
a2a96bf9a5 20w15a 2020-04-08 16:03:19 +01:00
modmuss50
d6ae8a0d62 Fix build 2020-04-05 15:51:59 +01:00
modmuss50
2dc54f998a Fix inner class mixin.
Previous versions bumps cover this
2020-04-05 15:17:50 +01:00
modmuss50
12a8474c3a Bump versions 2020-04-05 15:12:25 +01:00
Virtuoel
94ecb00e4e
Use public fluid tag container getter instead of reflection (#552) 2020-04-05 15:07:54 +01:00
liach
655c8d6a5c
Fix javadoc jar generation and javadoc building (#550)
* Update build.gradle for testing

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

* Fix javadocs

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-05 15:07:27 +01:00
modmuss50
88afe607db Update gradle, loom, mappings, loader 2020-04-03 20:44:38 +01:00
modmuss50
c808269fb2 20w14a 2020-04-02 19:28:36 +01:00