Commit Graph

358 Commits

Author SHA1 Message Date
Max
fc31afa2b8 Add docs and util methods from #104 on top of previous PR
(I **completely** forgot I already implemented this for 1.16...)

Signed-off-by: Max <maxh2709@gmail.com>
2022-01-31 19:02:07 +01:00
Max
38a2e56461 BiomeModifications on Forge now uses Forge's builtin priority system (#188)
* BiomeModifications on Forge now uses Forge's builtin priority system

Signed-off-by: Max <maxh2709@gmail.com>

* Bump minor version

Signed-off-by: Max <maxh2709@gmail.com>
2022-01-31 16:20:50 +01:00
shedaniel
503226e60d Fix #185, Fix shedaniel/RoughlyEnoughItems#748 2022-01-30 17:00:54 +08:00
Max
3f61c09e65 Bump version to 3.5
Signed-off-by: Max <maxh2709@gmail.com>
2022-01-30 03:24:10 +01:00
Max
5a6f4b1176 Implement ClientLifecycleEvent on Forge (+ testmod)
Signed-off-by: Max <maxh2709@gmail.com>
2022-01-30 03:23:02 +01:00
Max
c38df29d67 Update FAPI / Loader, migrate to new API where possible
Signed-off-by: Max <maxh2709@gmail.com>
2022-01-29 21:06:14 +01:00
Max
8b282f5c5a 3.4 : License and workflow updates, deprecate NbtType, merge #159 and #160
Signed-off-by: Max <maxh2709@gmail.com>
2021-12-31 23:06:44 +01:00
shedaniel
39e216bbed [ci skip] Entity Model Layer Reg, and move to new package (#159) 2021-12-31 22:36:08 +01:00
shedaniel
6a6cad7025 [ci skip] Introduce EntitySpawnExtension (#160)
* Introduce EntitySpawnExtension

* Add to mixins

* Update common/src/main/java/dev/architectury/extensions/network/EntitySpawnExtension.java

* Update common/src/main/java/dev/architectury/networking/NetworkManager.java

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-12-31 22:35:40 +01:00
Mitchell Skaggs
b61045bc0e Explicitly add remap=true to fix mixin failing in prod (#172) 2021-12-31 14:01:26 +08:00
shedaniel
12a91fe8b6 @Redirect workaround for closing #152 (#154)
* @Redirect workaround for closing #152

* This is supposed to be MOUSE_DRAGGED_POST
2021-12-30 16:51:38 +01:00
Max
2d03849800 (Mostly) reimplement BiomeModifications on Fabric
TODO: Structures (currently missing on Forge)
Signed-off-by: Max <maxh2709@gmail.com>
2021-12-27 22:41:20 +01:00
Max
2aa674616b Loosen version constraints to accept any 1.18 version
(You should still be using 1.18.1, though, as it is the only version supported by Mojang / Forge, and we may be switching to it permanently at a later date)

Signed-off-by: Max <maxh2709@gmail.com>
2021-12-27 17:43:48 +01:00
Mitchell Skaggs
2ad19f9cb5 Fix LVTs (#167)
* Fix ServerGamePacketListenerImpl

Closes #165, closes #166

* Fix MixinGameRenderer by giving it an explicit ordering

The Fabric API mixin uses the default priority of 1000, so we use 1100 priority to apply before it. This results in this bytecode structure, where "F" is the Fabric API injections, "A" is the Architectury API injections, and "M" is the Minecraft function being injected pre/post: `FAMAF`.

* Fix MixinPhantomSpawner captures

* Fix MixinPatrolSpawner captures

* Fix MixinChunkSerializer captures
2021-12-27 16:02:11 +08:00
Max
5f66213bab Fix MixinFallingBlockEntity on 1.18, closes #164
Signed-off-by: Max <maxh2709@gmail.com>
2021-12-27 01:09:52 +01:00
Max
a5d32c3f9a Update to 1.18.1, Forge 39, and add Loader and FAPI to fmj depends (#151)
Signed-off-by: Max <maxh2709@gmail.com>
2021-12-26 23:18:23 +01:00
Max
82d1b6947f Update workflow files
Signed-off-by: Max <maxh2709@gmail.com>
2021-12-26 23:11:11 +01:00
shedaniel
eea1b5182c Add LifecycleEvent.SETUP for manipulating things after normal init (#148)
* Add LifecycleEvent.SETUP for manipulating things after normal initialization

* Improve javadocs

* Fix broken english

* Update common/src/main/java/dev/architectury/event/events/common/LifecycleEvent.java

Co-authored-by: BasiqueEvangelist <basiqueevangelist@yandex.ru>
Signed-off-by: Max <maxh2709@gmail.com>
2021-12-26 20:20:00 +01:00
shedaniel
997af6b81a Move EnvExecutor executions to another class 2021-12-23 17:49:24 +08:00
shedaniel
2edd08bc64 Try to guard against NoClassDefFoundError for #158 2021-12-23 17:19:49 +08:00
Juuxel
90d4a59986 Add 1.18.1 to MC versions on CF (#156) 2021-12-22 14:39:03 +08:00
Max
630762b78e Add AWs for RenderType.create and the RenderType$CompositeState class (#155) 2021-12-20 04:17:46 +01:00
shedaniel
3083c82843 Add ClientReloadShadersEvent (#149)
Signed-off-by: Max <maxh2709@gmail.com>
2021-12-20 03:49:44 +01:00
Max
6e4b06a793 Merge pull request #153 from YaLTeR/patch-1
ScreenInputDelegate: Call MOUSE_DRAGGED_POST correctly
2021-12-17 15:23:57 +01:00
Ivan Molodetskikh
8e912bc10b ScreenInputDelegate: Call MOUSE_DRAGGED_POST correctly
It was erroneously calling the PRE event twice.
2021-12-15 19:27:12 +03:00
shedaniel
11ef83f9de Fix #150 2021-12-12 22:01:28 +08:00
shedaniel
ebbc2a6490 Remove hacks around RegistryEntry (#144) 2021-12-11 19:05:36 +08:00
shedaniel
7857615bfc Migrate to transitive access wideners (#146)
* Migrate to transitive access wideners

* Fix invalid AW

* Bump minor version, changes to gradle buildscript

Co-authored-by: Max <maxh2709@gmail.com>
2021-12-08 22:17:44 +08:00
shedaniel
7d745d612c Re-use RenderTooltipEvent#getPoseStack on forge 2021-12-02 17:25:40 +08:00
shedaniel
582e0a001c Update Forge to enable Mixins 2021-12-02 17:25:23 +08:00
shedaniel
43dc2500e8 Migrate to Temurin JDK 17 2021-12-02 01:28:45 +08:00
shedaniel
cd56322fbb Forgot to enable forge support 2021-12-02 01:21:57 +08:00
shedaniel
eeaaf273c6 Forge 1.18 Support 2021-12-02 01:11:27 +08:00
shedaniel
286158ad7b 1.18-rc3 2021-11-27 00:26:11 +08:00
shedaniel
d49d13b19f Merge remote-tracking branch 'architectury/1.17' into 1.18
# Conflicts:
#	gradle.properties
2021-11-27 00:19:12 +08:00
shedaniel
7d721c8521 Add Registries#forRegistry and delay getting forge mod event bus (#82) 2021-11-27 00:18:55 +08:00
shedaniel
a7ecdcf578 Removed Deprecated API 2021-11-14 02:32:49 +08:00
shedaniel
52d3bad6f8 Update to 1.18-pre1 2021-11-14 02:30:22 +08:00
shedaniel
e3fb2e577d Update to 21w44a 2021-11-05 01:33:38 +08:00
shedaniel
8dd3547848 Fix compilation with AW validation 2021-10-28 15:16:44 +08:00
shedaniel
4724ca427d Update to 21w43a 2021-10-28 15:10:12 +08:00
shedaniel
ac84414b30 Merge remote-tracking branch 'architectury/1.17' into 1.18
# Conflicts:
#	gradle.properties
2021-10-28 14:52:03 +08:00
shedaniel
db6ae9934f Don't release non split packets, bump minor version because we didn't 2021-10-23 19:12:41 +08:00
shedaniel
a6a361e5e1 Add support for PacketTransformer and a SplitPacketTransformer (#142)
* Add support for PacketTransformer and a SplitPacketTransformer

* Add testmod and make it work

* Add experimental, Remove generics, they are pointless
2021-10-23 18:27:28 +08:00
shedaniel
e1738f7a2d Update to 21w41a 2021-10-14 17:07:02 +08:00
shedaniel
fd334a005f Merge remote-tracking branch 'architectury/1.17' into 1.18 2021-10-14 16:53:13 +08:00
shedaniel
f636b1ad96 Switch to gradle components 2021-10-13 22:08:53 +08:00
Juuxel
404db2782a Update deps in fabric.mod.json (#141) 2021-10-11 13:59:02 +08:00
davidalb97
ad35504c21 Fixed PlayerAttackInvoker mixing loading crash on server side (#137)
Signed-off-by: apple <davidalb97@hotmail.com>
2021-10-01 05:22:09 +08:00
shedaniel
ffe3fbe3f4 21w37a 2021-09-23 02:44:15 +08:00