Commit Graph

61 Commits

Author SHA1 Message Date
shedaniel
cd5d68e40c Fix some events 2021-01-09 20:14:27 +08:00
shedaniel
12b3ffb909 Warn additional mod loaders. 2021-01-09 20:14:21 +08:00
shedaniel
d3a127f995 Allow DeferredRegister to be created with just the mod id. 2021-01-08 01:28:53 +08:00
shedaniel
4981779d4b Add getModId to Registries 2021-01-08 01:28:22 +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
59d42b7d4d Update license header year to include 2021 2021-01-02 00:54:16 +08:00
shedaniel
8dfb97fd87 Add DeferredRegister 2020-12-30 20:24:09 +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
12680fde12 Fix NPE on Fractions caching 2020-12-27 14:15:32 +08:00
shedaniel
6117b11483 Fix license, remove unused mixin 2020-12-23 16:57:32 +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
37dc3ef630 Better PlatformMethods errors 2020-11-27 18:10:23 +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
shedaniel
f9eeced624 Add tooltip events, new events for server starting 2020-11-26 18:43:27 +08:00
shedaniel
eaba509f2b Fix client events, bump version to 1.1, fix FluidStackHooks for fabric. 2020-11-22 19:35:39 +08:00
shedaniel
427f365850 Fix FluidStackHooksImpl 2020-11-22 02:34:54 +08:00
shedaniel
edd3a0e909 Add RecipeUpdateEvent 2020-11-22 00:44:29 +08:00
shedaniel
6cbd3967ff Add isFabric and isForge to Platform 2020-11-22 00:03:51 +08:00
shedaniel
1d0773c790 More Platform specific Mod hooks 2020-11-18 17:36:24 +08:00
shedaniel
2e09f293ff Add xp to break block 2020-11-18 01:17:11 +08:00
shedaniel
f78c88a0eb Add block break and block place events 2020-11-18 00:28:15 +08:00
shedaniel
e23ca38572 automatically attach to forge event if the class is annotated with @ForgeEvent. 2020-11-15 23:01:18 +08:00
shedaniel
7513980699 Add EventFactory.attachToForge 2020-11-15 22:58:28 +08:00
shedaniel
4abfb2b6d2 Add @ForgeEvent 2020-11-15 22:44:31 +08:00
shedaniel
5ad8a3fc83 Lazily initialize event invokers 2020-11-13 22:54:58 +08:00
shedaniel
123d9605dd Reorder ToolType variables 2020-11-13 00:35:54 +08:00
shedaniel
213da7a20e Convert to @ExpectPlatform 2020-11-12 22:33:11 +08:00
shedaniel
a86e762524 PlayerHooks#closeContainer 2020-11-08 23:28:59 +08:00
shedaniel
fd371dd9cd Add byId in ToolType 2020-11-08 20:44:09 +08:00
shedaniel
48d6e17342 Add TextureStitchEvent 2020-11-08 19:24:11 +08:00
shedaniel
61fe2fa932 Add PackRepositoryHooks and DyeColorHooks 2020-11-08 18:58:48 +08:00
shedaniel
1a2d921ad0 A few more events 2020-11-08 17:46:29 +08:00
shedaniel
cd595fc55a Proper mods metadata 2020-11-08 00:35:50 +08:00
shedaniel
c14c78f6ee More events 2020-11-08 00:24:53 +08:00
shedaniel
0e8754d7a6 getEncodeId 2020-11-07 23:14:49 +08:00
shedaniel
d2ab1c5110 More hooks 2020-11-07 22:53:20 +08:00
shedaniel
fe9e0383f6 ItemEntityHooks 2020-11-07 19:02:36 +08:00
shedaniel
87b5dcf7d9 Allow only using getRegistryName 2020-11-07 18:24:16 +08:00
shedaniel
0eec3e7108 Might have forgotten a true here 2020-11-07 18:19:54 +08:00
shedaniel
7f552f19db PlayerHooks and NetworkChannel 2020-11-07 18:11:23 +08:00
shedaniel
44e0c60bc1 nbt types utils 2020-11-07 15:35:40 +08:00
shedaniel
01901636b6 Hooks for getting buttons in a screen 2020-11-07 15:31:25 +08:00
shedaniel
17d455ff64 Deprecate getId using registry 2020-11-07 15:19:22 +08:00
shedaniel
e1f5e0462f Hooks for setting radius for explosion 2020-11-07 15:12:09 +08:00
shedaniel
5c059cc647 Hooks for getting radius for explosion 2020-11-07 15:09:30 +08:00
shedaniel
67958a7105 ExplosionHooks 2020-11-07 15:06:48 +08:00
shedaniel
1d7e7adff1 More events and hooks 2020-11-07 14:51:39 +08:00