Commit Graph

87 Commits

Author SHA1 Message Date
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
69d6ab5255 Remove unused import 2021-01-25 18:58:42 +01:00
Max
8d1f10205c Merge branch '1.16' into feature/screen-open-event 2021-01-25 18:51:49 +01:00
Max
9e733da049 Attempted fix for #25 (#28)
* Experiment with low priority and require=0 to try to fix #25

* Revert require = 0 because it didn't work

* (Hopefully) solve things with a mixin plugin

Might be overkill, but we could need it again in the future...

* Replace Platform call with FabricLoader
2021-01-25 18:09:56 +01:00
shedaniel
0223834441 Fix crash registering reload listeners 2021-01-25 18:43:20 +08: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
bb33552a49 Fix #25 2021-01-25 17:33:10 +08:00
shedaniel
c13620fc9c Expose raw id from registries 2021-01-25 12:26:38 +08:00
Max
107ffe4aa7 Set @Unique to be mixin-wide in MixinMinecraft 2021-01-25 05:19:40 +01:00
shedaniel
9deb0f8be4 Merge branch '1.16' into feature/registry-creation-api 2021-01-25 11:57:04 +08:00
Max
9994b9049e Merge remote-tracking branch 'origin/1.16' into feature/screen-open-event 2021-01-25 04:24:55 +01: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
ca8af3f754 Fix shader effects location being hardcoded to minecraft namespace 2021-01-25 03:48:06 +01: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
0bb1d9c87e Fix AW 2021-01-21 21:22:08 +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
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
26c04a60c4 Fix Chocohead/OptiFabric#147 2021-01-12 10:09:43 +08:00
shedaniel
cce752b74f Not automatically register the menu type, add methods to open the menu 2021-01-10 18:51:24 +08:00
OroArmor
7dc435f537 Some name changes and Javadoc 2021-01-09 13:15:32 -08:00
OroArmor
943e4fe514 Added Screen Registry API 2021-01-09 12:40:03 -08:00
shedaniel
2838a51cbc License format 2021-01-09 22:26:48 +08:00
shedaniel
36bda09029 Delegate the Screen itself 2021-01-09 22:26:07 +08:00
shedaniel
1fdeb8cd6a Rename to ClientScreenInputEvent and fix mixins 2021-01-09 20:44:49 +08:00
shedaniel
21f4243b2a Merge remote-tracking branch 'architectury/1.16' into feature/gui-input 2021-01-09 20:20:07 +08:00
shedaniel
5b6f429bbe Add test mod 2021-01-09 20:17:01 +08:00
shedaniel
cd5d68e40c Fix some events 2021-01-09 20:14:27 +08:00
shedaniel
e7e995f0b6 Add license to CriteriaTriggersRegistry 2021-01-08 01:28:04 +08:00
shedaniel
f09f23db35 Adds CriteriaTriggersRegistry 2021-01-07 01:14:37 +08:00
shedaniel
23d884df54 Update license header to 2021 2021-01-02 00:55:54 +08:00
shedaniel
aac7d56ac9 Add ClientGuiInputEvent 2021-01-02 00:55:22 +08:00
shedaniel
59d42b7d4d Update license header year to include 2021 2021-01-02 00:54:16 +08:00
shedaniel
f20d05221f Somehow method references are evil 2021-01-02 00:53:08 +08:00
shedaniel
d605cd5028 Add RegistrySupplier to ease registry delegation 2020-12-28 17:17:31 +08:00
shedaniel
575654f2bb Add ForgeEventCancellable 2020-12-27 18:06:53 +08:00
shedaniel
67a1db1ccb Architectury Update
- Cache fractions from -1024 to 1023
- Add BiomeModifications for platform-agnostic biome additions
- Add FluidStackHooksForge to convert architectury FluidStacks to forge FluidStacks
- Migrate to Forge Loom & Update Architect Plugin
- Mark several methods in Mod as NotNull
- Add Env as a replacement for EnvType
2020-12-21 01:03:47 +08:00
shedaniel
5822bb9460 Remove the use of typetools in EventFactory#of and fix license field 2020-11-26 19:38:21 +08:00
shedaniel
f275c3b156 Upload the remap jar for fabric 2020-11-26 19:13:25 +08:00