Commit Graph

103 Commits

Author SHA1 Message Date
Max
2846a9616a Merge remote-tracking branch 'architectury/1.16' into 1.16 2021-03-22 22:28:59 +01:00
Max
9fb19f9605 Bump forge event priority to HIGH
My reasoning for this lies in the quirk that Forge by default cancels all following event listeners when one of them fails with an Exception. Because we are an API that mods need to be able to rely on, and this may cause cascading issues with mods that depend on us down the line (see https://github.com/KubeJS-Mods/KubeJS/issues/101), I think we should act on HIGH priority by default to reduce the risk of this happening
2021-03-22 22:28:37 +01:00
Max
28d986a3cc Add EntityHooks.fromCollision to retrieve an entity from block collision (#64) 2021-03-21 20:20:25 +01:00
shedaniel
f904c1de2e Add @SubscribeEvent to ColorHandlersImpl 2021-03-20 15:42:00 +08:00
shedaniel
aee0af27f4 Remove addListener from ColorHandlersImpl 2021-03-20 15:41:29 +08:00
shedaniel
3dcad1e8a1 Fix Forge Screen Events to be consistent with the fabric implementation: InteractionResult.SUCCESS should also indicate that the event should be cancelled. 2021-03-20 15:10:43 +08:00
Max
e1cff1567b More annotation event migration 2021-03-18 15:49:03 +01:00
Max
c8dd9061db Migrate Forge ReloadListeners events to annotations 2021-03-18 15:43:56 +01:00
Max
dd8c78c448 Fix CLIENT_WORLD_LOAD on Forge 2021-03-18 15:41:22 +01:00
shedaniel
fc41c38ffa Merge remote-tracking branch 'architectury/1.16' into 1.16 2021-03-01 21:30:37 +08:00
shedaniel
bf9efc708f Update plugins 2021-03-01 21:30:24 +08:00
shedaniel
d9b43e71e6 Add EntityRenderers (#52)
Close #45
2021-02-27 17:48:51 +08:00
shedaniel
89ce4c7c58 Fix BlockEntityExtension @Shadow remapping 2021-02-27 17:48:34 +08:00
shedaniel
5dc01b0a19 Implement onDataPacket (#48) 2021-02-26 00:36:06 +08:00
shedaniel
189f1e211c Implement Tag#equals and Tag#hashCode on forge because forge is nice 2021-02-23 01:03:06 +08:00
shedaniel
a7a98aa19f Add license 2021-02-23 00:58:04 +08:00
shedaniel
4f333f7ec7 Add test mod and fix game rules on forge 2021-02-23 00:56:50 +08:00
shedaniel
7e743dcb64 Add licenses and implement optional tags, requires some testing. 2021-02-23 00:16:26 +08:00
shedaniel
5613937011 Fix forge publishing as fabric 2021-02-19 02:19:38 +08:00
shedaniel
78043a3109 Migrate to Arch Plugin 3 2021-02-19 02:11:13 +08:00
shedaniel
2656e52221 Publish the platform specific jars on a different artifact id to resolve issues with transitive dependencies. 2021-02-17 14:51:31 +08:00
Max
b78cce58ee Add LightningEvent, FallingBlock land, move break/place to BlockEvent 2021-02-15 18:59:31 +01:00
shedaniel
7ac9b8485e Log unknown message IDs 2021-02-09 01:01:33 +08:00
shedaniel
70d5de3186 Migrate to my maven + make NetworkChannel side-agnostic 2021-02-08 21:49:58 +08:00
shedaniel
e66a57bc80 Add some null checks 2021-02-06 22:56:12 +08:00
shedaniel
0a5f606bf4 Fix ColorHandlers on Forge being on the wrong event bus 2021-02-04 23:17:09 +08:00
Max
3b16d58ed0 Remove call to target interfaces in mixin plugin
Fixes IOOBE with Architectury Registries
2021-01-27 22:28:36 +01:00
Juuxel
6de010f71a Add game rule API 2021-01-27 15:14:42 +02:00
shedaniel
d5e040604b Merge remote-tracking branch 'architectury/feature/registry-creation-api' into 1.16 2021-01-26 09:53:36 +08:00
Max
721db319f9 Merge pull request #22 from architectury/feature/screen-open-event
Add GuiEvent.SET_SCREEN
2021-01-25 19:21:30 +01:00
Max
baf36d02fb Fix mojank stripping containsKey from Registries on Server 2021-01-25 19:13:09 +01:00
Max
8d1f10205c Merge branch '1.16' into feature/screen-open-event 2021-01-25 18:51:49 +01:00
shedaniel
b69eae29d7 Merge remote-tracking branch 'architectury/1.16' into feature/registry-creation-api
# Conflicts:
#	build.gradle
2021-01-25 17:55:32 +08:00
shedaniel
dc702a01e6 FluidStackHooks in getting the rendering information for the fluids (#26) 2021-01-25 17:53:26 +08:00
shedaniel
492521dfe3 Add PlayerEvent#CHANGE_DIMENSION 2021-01-25 17:52:39 +08:00
shedaniel
c13620fc9c Expose raw id from registries 2021-01-25 12:26:38 +08:00
Max
5fbb420dd7 Only overwrite screen on SUCCESS, fix whitespace changes 2021-01-25 04:10:11 +01:00
shedaniel
a4beace95c Registry API to create modded registries, close #21 2021-01-25 11:09:20 +08:00
Max
0c7241ddfb Add GuiEvent.SET_SCREEN 2021-01-25 03:06:41 +01:00
shedaniel
b4646a0226 Merge remote-tracking branch 'architectury/feature/raw-input-events' into 1.16 2021-01-24 22:15:55 +08:00
shedaniel
526bbfb8ec Fix compilation error 2021-01-23 02:26:27 +08:00
shedaniel
465aeae5bd Add ClientLifecycleEvent.CLIENT_SETUP and allow deferring in ColorHandlers 2021-01-23 02:15:49 +08:00
Max
7c4b602b10 Add 1.16.5 to CurseForge versions 2021-01-21 19:36:32 +01:00
shedaniel
bca73403d8 Add LevelResourceHooks 2021-01-21 21:09:32 +08:00
shedaniel
de90542afd Add raw input events, close #16 2021-01-20 21:21:23 +08:00
shedaniel
9c6101835d Close #18 Currently testing item / block addition, keybinds and creative tabs. 2021-01-20 20:28:15 +08:00
shedaniel
b066d19de8 Add AbstractRecipeSerializer 2021-01-16 02:30:41 +08:00
shedaniel
50352219e5 ArchitecturyBlockEntity to sync data to client (#10)
* ArchitecturyBlockEntity to sync data to client

* Add remap = false to @Shadow

* Upgrade gradle plugins

* Fix ArchitecturyBlockEntity on Forge

* Rename ArchitecturyBlockEntity to BlockEntityExtension
2021-01-16 01:39:03 +08:00
shedaniel
e28f43db87 Fix MenuRegistry crash, thanks @OroArmor 2021-01-13 20:39:26 +08:00
shedaniel
cce752b74f Not automatically register the menu type, add methods to open the menu 2021-01-10 18:51:24 +08:00