Commit graph

1437 commits

Author SHA1 Message Date
modmuss50
f41e2098ef Bump version 2020-06-30 20:18:00 +01:00
modmuss50
33474e5255
Hide mods from the resource/data pack screen (#854)
* Hide mods from the resource/data pack screen

* License
2020-06-30 20:17:07 +01:00
modmuss50
dfd0b839f4 Bump version 2020-06-25 23:29:25 +01:00
modmuss50
a4c57d8e2b Cleanup MixinTagImpl fixing a crash outside of dev 2020-06-25 23:28:14 +01:00
modmuss50
b0993bc1e7 Fix invalid testmod json 2020-06-25 22:42:35 +01:00
i509VCB
16acbe5bfd
Lifecycle Events V1 [1.16] (#681)
* Lifecycle Events V1 (1.16)

Now includes Chunk and (Block)Entity (un)load events

(cherry picked from commit 82b372873fd930dd07768331f7b70f6f9d3d441d)

* Move around code to work on 1.16

* Checkstyle

* Remove primary server getters

(cherry picked from commit c84f36209d)

* IJ DO YOU SPEAK RESOLVING IMPORTS

* Prune the tests that shouldn't exist

(cherry picked from commit a5112223ca)

* Listen here checkstyle you bugger

* Split up events to individual interfaces. Make Chunk events use WorldChunk instead.

(cherry picked from commit 3431c0d894)
2020-06-25 22:28:21 +01:00
modmuss50
4d66bed54e 1.16.1 + hopefully fix github actions 2020-06-25 17:41:13 +01:00
modmuss50
cfd9f68a54 Merge remote-tracking branch 'origin/1.16' into 1.16 2020-06-23 15:08:29 +01:00
modmuss50
b7084faa30 1.16 - Just mapping updates 2020-06-23 15:07:50 +01:00
modmuss50
b933439292
Replace Travis with github actions. (#827) 2020-06-21 21:14:29 +01:00
modmuss50
0a6f2a70dc Update loom to fix crash on build, Closes #831 2020-06-21 19:40:33 +01:00
modmuss50
3c9757ac95 Fix build 2020-06-21 13:47:19 +01:00
modmuss50
e00ecb5fb8 Bump version 2020-06-21 13:42:26 +01:00
Erlend Åmdal
2f74cfaf31 Simplify fabric-particles-v1 and resolve sprites not being added to the particle sprite atlas (#534) 2020-06-21 13:33:26 +01:00
i509VCB
43ae9fbacb
Move new method in FabricBlockSettings to correct place in class. (#668)
The lower methods in the class are commented with their categories:

`FABRIC DELEGATE WRAPPERS` for additional methods to allow editing fields not actually exposed in vanilla.

`FABRIC HELPERS` for methods to handle things like mining levels.

Per these two categories, the new method does not belong in `FABRIC HELPERS` and has been moved accordingly
2020-06-21 13:31:36 +01:00
zml
3234627dd4
networking: Clarify packet type callback JD (#829) 2020-06-21 13:31:30 +01:00
modmuss50
5ce5339883 Checkstyle
Nothing to see here
2020-06-18 22:13:03 +01:00
modmuss50
53a97948b3 Simplify server command registration, fixing server commands being registered too late. 2020-06-18 22:01:21 +01:00
modmuss50
f362c86ed3 Bump version + rc1 2020-06-18 21:45:48 +01:00
i509VCB
c10360a765
Fix screen handler test mod crashing on dedicated server. (#823) 2020-06-18 21:45:04 +01:00
modmuss50
28a9468044 1.16-pre8
Doesnt need a release
2020-06-17 17:20:18 +01:00
modmuss50
b92c4e0aca bump version 2020-06-16 17:21:13 +01:00
modmuss50
5794386efb 1.16-pre7 2020-06-16 17:20:28 +01:00
modmuss50
f444f16314 Bump Version 2020-06-15 22:05:41 +01:00
i509VCB
bef4575888
Fix issue with commands being registered on dedicated servers after a resource reload. (#822)
* Add a small datapack to test if custom commands work with command functions

* Fix issue with commands being registered on dedicated servers after a /reload

Also this adds testmods for command functions to verify they are registered properly.

* Clarify a comment

* Use the variable we allocate lol
2020-06-15 22:03:11 +01:00
Juuxel
045df74fe0
Screen handler API (#584)
* Add screen handler API

* Use more descriptive letters for FabricHandledScreens generics

* Add missing Deprecated annotations

* Bump fabric-containers-v0 version

* Remove unused ServerPlayerEntityAccessor

* Remove [Fabric] from log messages

* Convert FabricHandledScreens to a class

* Add dependency on networking-v0

* Resolve threading issues with NetworkingClient

* Use Identifiers instead of int IDs, make ScreenHandlers a class

Also added a private constructor to FabricHandledScreens.

* NetworkingClient -> ClientNetworking

* Use more descriptive names for injections

* Use ID parameter instead of fetching again

* Add clarifying comment

* Port changes from FabLabs

* Fix compilation

* Replace the content of links in FabricHandledScreens for readability

* Sync with FabLabs

* Add test mod

* I suppose IInv shouldn't have CC0 anymore 👀

* Improve logging

- Networking now uses a logger instead of an exception
- The loggers are now suffixed with their side
- Fixed the client unregistered screen message using the title instead of the ID

* Fix test mod on 20w21a

* Fix ExtendedScreenHandlerFactory javadoc referencing old names

* Update test mod to 1.16-pre2

Just a simple mapping update. :)

* Fix incorrect javadoc references to screen-handler-api in containers-v0

* Remove Minecraft exclusion from build.gradle (thanks to Loom 0.4) + testmod change

Resource loader v0 is now testmodRuntimeOnly as it's not needed for compiling.
2020-06-15 22:00:54 +01:00
modmuss50
c824e0ac2c 1.16-pre6 2020-06-15 19:26:27 +01:00
modmuss50
7066030fcb 1.16-pre5 2020-06-12 16:29:47 +01:00
modmuss50
ee3acc8423 version bump 2020-06-12 11:32:35 +01:00
modmuss50
a35bc9fe9a Merge remote-tracking branch 'origin/1.16' into 1.16 2020-06-12 11:24:35 +01:00
modmuss50
e16a9774a7 Keybinding 1.16 compile fixes 2020-06-12 11:24:25 +01:00
shedaniel
3fa9f7c5f8 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:20:31 +01:00
Geometrically
438f96368c
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:10:04 +01:00
modmuss50
7dba2d6c01 1.16-pre4 - just a mapping change. 2020-06-11 18:30:44 +01:00
modmuss50
6dddba385c Bump version 2020-06-11 11:41:10 +01:00
modmuss50
a71b3053ad
Rework Dimensions for 1.16 (#627)
* dim api initial port

* A whole bunch of work

* Checkstyle :)

* Minor tweaks based on feedback

* Update to latest snapshot

* Checkstyle ;)

* Some more dim work

* Re add default placer's, the example mod includes a test dim that currently marks the world as experimental

* license

* Fixup javadoc
2020-06-11 11:38:38 +01:00
modmuss50
5a6e8f4ce1 1.16-pre3 2020-06-10 18:17:45 +01:00
modmuss50
059ea866ec update mappings 2020-06-09 22:29:07 +01:00
modmuss50
4e84b64f5c Fix log spam for mods that are not datapacks. Also bump version for release 2020-06-05 20:09:24 +01:00
modmuss50
31d35604b1 Simplify and fix Dedicated server commands 2020-06-05 19:52:07 +01:00
modmuss50
8779c4a30c Change log level or orphaned registry output 2020-06-05 15:33:41 +01:00
modmuss50
3c5f026f0d 1.16-pre2 2020-06-05 12:42:58 +01:00
modmuss50
f6620c4898 Bump version 2020-06-05 11:37:29 +01:00
Meredith Espinosa
3d52d1e569
Make Fabric mod data packs automatically enable on world creation, allow mod data packs to load on dedicated servers (#663)
* make mod data packs load on dedi servers, auto-enable

* license headers
2020-06-05 11:34:38 +01:00
Hugman
d6bf72d59b
1.16 fix for nether biomes (#658)
* 20w22a support for nether biomes

* Apply suggestions from code review

Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>

* Checked style and bumped version

* Fixed some testmods

* Made TestCrimsonForestBiome an inner class in FabricBiomeTest

Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
2020-06-05 11:28:09 +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
277876c741 Hopefully fix mod datapacks 2020-06-04 22:35:10 +01:00
modmuss50
dd263cca8b
Fix some known issues with the registry sync module. (#525)
* Try to detect if a registry is modded, if its not it will left alone and no syncing or saving will take place.

* Some more work on moddable registries

* Checkstyle

* Fix licences

* Cleanup registry attributes

* Rework again

* Some small tweaks

* Yet another refactor

* Some minor style fixes

* Finish checking registries

* Start on a test mod, and apply some fixes.

* Checkstyle fixes

* Tweak the logic behind previously modded registries

* Use EnumSet

* Update fabric-registry-sync-v0/src/main/java/net/fabricmc/fabric/mixin/registry/sync/MixinRegistry.java

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

* Fix generics, add javadoc, add tests

* More changes

* Checkstyle fixes

* Minor fixes

* Remove hash stuff

* 20w21a - massive changes

* fix build

* Update fabric-registry-sync-v0/src/main/java/net/fabricmc/fabric/api/event/registry/FabricRegistryBuilder.java

Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>

* Feedback and update mappings

* No longer apply mappings to vanilla registries, no longer save empty mapping data.

* Use Identifier in FabricRegistryBuilder over RegistryKey
Improve empty registry tag handling

* Reorder toTag empty checks

* Minor fixes

* Make FabricRegistryBuilder final

* Update registry attributes

* Fix compile issue

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
Co-authored-by: Player <player@player.to>
2020-06-04 21:33:56 +01:00
modmuss50
1405d94241 Fix command test 2020-06-04 21:32:45 +01:00
modmuss50
346247d7d1 Checkstyle 2020-06-04 21:24:25 +01:00