Commit graph

704 commits

Author SHA1 Message Date
Juuxel
872498418c
Tweak the screen registry's generics to fix type inference (#857)
* Tweak the screen registry's generics to fix type inference

* Fix test mod
2020-07-20 19:36:10 +01:00
shedaniel
ba4afa57ac
Fix the javadocs of object-builders as the method was moved from material to block. (#892)
Signed-off-by: shedaniel <daniel@shedaniel.me>
2020-07-20 19:35:49 +01:00
modmuss50
3b4b2c130e Version bump 2020-07-17 16:22:50 +01:00
modmuss50
f5c4fce088 and imports.. 😠 2020-07-17 15:59:41 +01:00
modmuss50
f5b8457b41 Remove unused variable 2020-07-17 15:58:37 +01:00
i509VCB
144d3847c0
Lifecycle Events: Part 2, Electric Boogaloo (#848)
* Add a few new server lifecycle events

Server starting, Load World, Before server resource reload, After server resource reload

* Save event

* Split world load into ServerWorldEvents, add failure event for data pack reload

* cause

* Merge fail and regular end.

* Present tense lol

* So we can just plainly specify the system properties

* use handleAsync instead
2020-07-17 14:51:05 +01:00
shartte
1036f7f1f9
Reuse TerrainFallbackConsumer to render vanilla models when (#870)
called from BlockModelRenderer. Fixes #869.
2020-07-17 14:49:30 +01:00
modmuss50
5553fa5856 20w29a 2020-07-15 17:20:11 +01:00
modmuss50
e4cb07a722 Bump version 2020-07-12 19:36:35 +01:00
Joseph Burton
fac8f36647
Fix loot table API for 1.16 (#832)
* Fix loot table API for 1.16

* Bump module version to 1.0.0

* Apply review suggestions
2020-07-12 19:32:22 +01:00
modmuss50
e09978fc7c Bump version 2020-07-09 22:50:21 +01:00
Draylar
08834d9e76
20w28a Biome Module fixes (#874)
* 20w28a biome module fixes

* update version to 0.3.0

* major version bump to 1.0.0

* Update mappings

* Fix nether biome test's

* Fix nether biome's on the server
Closes https://github.com/FabricMC/fabric/issues/861

* Accessor name changes

Co-authored-by: modmuss50 <modmuss50@gmail.com>
2020-07-09 22:49:30 +01:00
ㄗㄠˋ ㄑㄧˊ
fde2bb23c4
github actions: add wrapper validation (#875)
It validates the checksums of Gradle Wrapper JAR files present in the source tree and fails if unknown Gradle Wrapper JAR files are found. https://github.com/gradle/wrapper-validation-action
2020-07-09 22:31:28 +01:00
modmuss50
35e08e3387 20w28a - no biomes or dimensions 2020-07-08 19:31:01 +01:00
modmuss50
8d384cef9a Disable actions cache, and increase gradle memory allocation a little. 2020-07-01 19:05:55 +01:00
modmuss50
408b8aa4b4 Github release publishing 2020-07-01 18:58:47 +01:00
modmuss50
c668f41520 20w27a 2020-07-01 18:40:27 +01:00
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