Commit graph

402 commits

Author SHA1 Message Date
modmuss50
76ca481865 Fix build 2020-06-21 13:53:32 +01:00
modmuss50
563421ed11 Merge remote-tracking branch 'origin/1.15' into 1.15 2020-06-21 13:41:53 +01:00
modmuss50
d487f0eea9 Bump version 2020-06-21 13:41:43 +01:00
Erlend Åmdal
da6c23c5f1
Simplify fabric-particles-v1 and resolve sprites not being added to the particle sprite atlas (#534) 2020-06-21 13:32:48 +01:00
zml
bb1a063356 networking: Clarify packet type callback JD (#829) 2020-06-21 13:32:00 +01:00
modmuss50
e6da85d258 Update loom, should fix build 2020-06-12 11:45:00 +01:00
modmuss50
d7f31bf16d Merge remote-tracking branch 'origin/1.15' into 1.15 2020-06-12 11:32:12 +01:00
modmuss50
4aae594c84 version bump 2020-06-12 11:32:04 +01:00
shedaniel
2af3af9102
migrate to fabric-keybindings-v1 and remove builder (#615)
* Edited Clone of #244
- Fixed checkstyle issues
- Migrated to fabric-keybindings-v1
- Removed sticky keybindings from #244 as it sounds useless and you can just around it by simply adding that functionality yourself, I might add it back if someone can tell me the advantages of sticky keys except bloat
- Added a test mod
- Added FabricKeyBinding#getBoundKeyOf for getting vanilla bound keys with ease
- Renamed `registered` to `automaticallyRegister` as that is more of a better name
- Added a couple Objects.requireNonNull validations

* Add back StickyFabricKeyBinding as it is in vanilla, did not notice.

* Remove extra "key."

* Bump to 1.0.0

* build().register()

* Remove `register()`

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Fix test

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Rename module

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Fix checkstyle violation

Signed-off-by: shedaniel <daniel@shedaniel.me>

* major refactor

Signed-off-by: shedaniel <daniel@shedaniel.me>

* revert some stuff

Signed-off-by: shedaniel <daniel@shedaniel.me>

* fix build

Signed-off-by: shedaniel <daniel@shedaniel.me>

* major stuff

Signed-off-by: shedaniel <daniel@shedaniel.me>

* fix license, of course

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Add resource loader v0

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Let's not break the api.

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Rename to buildAndRegister

Signed-off-by: shedaniel <daniel@shedaniel.me>

* resolve reviews

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Use GLFW

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Dump the builder entirely

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Rename to Key Binding

Signed-off-by: shedaniel <daniel@shedaniel.me>
2020-06-12 11:18:17 +01:00
Geometrically
0121bd9039 Move creative pagination buttons (#639)
* Move creative pagination buttons

* Bump module version + Update Texture

* Remove Krita Autogenerated File

* Add Hover and Update Texture

* Fix button positions

* Fix checkstyle
2020-06-12 11:12:42 +01:00
i509VCB
e7a4edb35e
Make villager profession builder create method public [1.15] (#649)
* Make method public

* bump module version

* Bump main version
2020-05-29 23:38:01 +01:00
modmuss50
5ff93ffd61 Bump version 2020-05-29 20:10:14 +01:00
i509VCB
e336d62478
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:00:12 +01:00
modmuss50
73868082a6 Bump version 2020-05-11 21:58:03 +01:00
shedaniel
3e55875197
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
2020-05-11 21:47:17 +01:00
modmuss50
8382c6c3c5 Add Travis file from 1.16 2020-05-07 22:28:08 +01:00
modmuss50
2aebb7fff1 Checkstyle fixes
(ง'̀-'́)ง
2020-05-07 22:27:43 +01:00
modmuss50
c515a28281 Version bumps 2020-05-07 22:18:07 +01:00
i509VCB
5177e148fa
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:07:53 +01:00
i509VCB
e1cc239944
Fix duplicate input class from object builder mixins (#611)
We Fix this by marking the old v0 mixins as `OldMixinTarget`
2020-05-07 22:05:54 +01:00
modmuss50
045efb4682 Restart Testmods (#593) 2020-05-03 19:46:37 +02:00
modmuss50
7b6f8bc5f3
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:19:24 +01:00
modmuss50
eec4b1a447 Bump version 2020-04-30 00:06:13 +01:00
Juuxel
2a034f0a88
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:05:39 +01:00
i509VCB
796d1cc4d3 Object builders v0->v1 migration (#537)
Co-authored-by: modmuss50 <modmuss50@gmail.com>
2020-04-29 23:44:51 +01:00
modmuss50
6ffe71e2a9 Bump version
Also fix running in dev
2020-04-29 22:12:11 +01:00
i509VCB
2e0c4ff552
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:05:43 +01:00
Player
915c4463ea Remove DynamicAttributeTool from ToolItem to fix vanilla tools being universally effective 2020-04-22 17:18:28 +02:00
Player
e40501d4d5 Fix import order to make checkstyle happy 2020-04-22 10:52:20 +02:00
Prospector
ea4672f136
fabric-climbable-api-v1 - Re-implementing minecraft:climbable on 1.15 (#558) 2020-04-22 08:41:13 +00:00
Player
ea0c4fa998
Bump version 2020-04-22 07:28:42 +00:00
Player
692f3e57e9
Bump fabric-tool-attribute-api 2020-04-22 07:28:20 +00:00
Player
20bf598a7b
Fix missing cancellable in MixinPlayerInventory 2020-04-22 07:27:34 +00:00
Player
45c38e2d22 Bump version 2020-04-22 05:39:46 +02:00
Meredith Espinosa
ec951ea440
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 03:30:02 +00:00
modmuss50
ad2f81bd4c Bump version 2020-04-20 01:42:07 +01:00
Erlend Åmdal
0715dda6df
Fix particle API javadocs (#535) 2020-04-20 01:41:29 +01:00
modmuss50
0fb9af842c Bump version 2020-04-20 01:11:56 +01:00
Erlend Åmdal
1fe2961f4b
Fix FabricMaterialBuilder#notSolid returning the wrong builder type (#533) 2020-04-20 01:11:11 +01:00
modmuss50
f8935a2594 Merge 1.16's build.gradle changes, includes javadoc's 2020-04-20 01:04:07 +01:00
Sargun Vohra
bd8e7c315a
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 00:56:39 +01:00
liach
0036435150 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 21:24:59 +02:00
modmuss50
24e5bfc827 Bump Version 2020-03-11 11:55:07 +00:00
modmuss50
fac69e32a7
Fix AttackBlockCallback being fired for incorrect player actions (#520) 2020-03-11 11:53:39 +00:00
Player
7acb0ecdd8 Bump version 2020-03-05 13:48:36 +01:00
Juuxel
2ad15631c8 Fix day/night-cycle enabling in World.isDay and World.isNight being
hardcoded for Overworld, use Dimension.hasVisibleSky instead.

- World.isDay() and World.isNight() are now un-hardcoded.
  Instead of checking for the overworld, they check for a visible sky
  like clocks. The check is false for the nether and the end,
  so vanilla behaviour stays the same.
2020-03-05 13:43:51 +01:00
modmuss50
d9bddadaa0 Set curse game version 2020-02-10 17:15:00 +00:00
modmuss50
e939d5c64a Bump version 2020-02-10 17:13:40 +00:00
modmuss50
f08b613338 Fix ForwardingBakedModel not forwarding isSideLit. Closes #501 (#502)
* Fix ForwardingBakedModel not forwarding isSideLit. Closes #501

* Remove unused DamageModel

* Bump version
2020-02-10 17:13:08 +00:00
modmuss50
9ccefa5712 Publish a fat javadoc jar to maven (#503)
* Publish a fat javadoc jar to maven

* Cleanup
2020-02-10 17:13:07 +00:00