Commit graph

1339 commits

Author SHA1 Message Date
modmuss50
1405d94241 Fix command test 2020-06-04 21:32:45 +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
modmuss50
0e8ef4f8b9 Version bump 2020-06-01 17:18:57 +01:00
Will Toll
31c789fd11
Fixed the nether biome mixin (#652)
Fixed the nether biome mixin on MultiNoiseBiomeSource solving #650
2020-06-01 17:18:16 +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
4a01746c06 Merge remote-tracking branch 'origin/1.16' into 1.16 2020-05-29 20:12:35 +01:00
modmuss50
0a73535729 Bump version 2020-05-29 20:11:58 +01:00
grondag
021baa0119
Various Indigo lighting fixes (#640)
* Various lighting fixes

* 20w22a

* Various lighting fixes

Co-authored-by: modmuss50 <modmuss50@gmail.com>
2020-05-29 20:06:29 +01:00
i509VCB
1aa9d47288
Use a Slice over the Shift.BEFORE by -6 (#644)
* Use a Slice over the Shift.BEFORE by -6

This is much less prone to breakage and possibly more precise.

* bump version
2020-05-29 20:04:41 +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
modmuss50
da175ad6ad 20w22a 2020-05-29 15:56:10 +01:00
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