Commit Graph

540 Commits

Author SHA1 Message Date
Hiroku
a1ffed1942 Fixed EntitySpawnExtension buffer being unable to be read from, Fix #208 (#220)
* Fixed EntitySpawnExtension buffer being unable to read from, #208

* Release the extensions buffer when it is no longer needed

* Cleaned the buffer fix for EntitySpawnExtension

Co-authored-by: Paul <paul.l.preston@hotmail.com>
2022-03-20 20:26:58 +08:00
Hiroku
f9d8a59790 Fixed EntitySpawnExtension buffer being unable to be read from, Fix #208 (#220)
* Fixed EntitySpawnExtension buffer being unable to read from, #208

* Release the extensions buffer when it is no longer needed

* Cleaned the buffer fix for EntitySpawnExtension

Co-authored-by: Paul <paul.l.preston@hotmail.com>
2022-03-20 20:26:47 +08:00
Emma Pointer-Null
dbb955808f Update to 22w11a (#222)
* Update to 22w11a

* fix aw

* update fapi ver
2022-03-19 20:58:32 +08:00
shedaniel
dc2e644ed2 Update workflow files for 1.19 2022-03-19 20:57:21 +08:00
shedaniel
36a5aea8aa Big clean up, more details in the PR (#216)
* Big clean up, more details in the PR

* Fix build

* Deprecate BlockProperties, generate AWs for Item constructors, Block constructors and RenderStateShard fields

* Add a few more RenderType AWs

* Deprecate BlockPropertiesExtension

* Set defaultType on resolving the entity type in SpawnEggItem

* Used the wrong object

* Add license information for generating AWs

* Add link to original PR

* Properly add support for forge vanilla registries

* Bump to 4.1
2022-03-12 00:01:49 +08:00
shedaniel
5f63bbafea Prevent getFeatures from crashing due to IndexOutOfRange 2022-03-04 09:50:23 +08:00
shedaniel
fd57796eb2 Mark as release 2022-03-02 13:31:36 +08:00
shedaniel
711cf507ad Increase gradle memory 2022-03-02 13:28:44 +08:00
shedaniel
d550eef8e2 Update to Forge 1.18.2 2022-03-02 11:43:45 +08:00
shedaniel
b0517249b6 Merge remote-tracking branch 'architectury/1.18' into 1.18.2 2022-03-02 10:21:31 +08:00
Max
ae849d58c8 Explicitly call Path.normalize on Platform paths, fixing #212
Signed-off-by: Max <maxh2709@gmail.com>
2022-02-27 15:51:09 +01:00
shedaniel
83d9922a50 1.18.2-rc1 2022-02-27 18:20:34 +08:00
shedaniel
4508b98573 Merge remote-tracking branch 'architectury/1.18' into 1.18.2 2022-02-27 18:13:36 +08:00
shedaniel
8393cabe20 Bump to 1.18.2-pre2 and bring back biome api 2022-02-22 10:26:37 +08:00
shedaniel
e0cbeb45ed Mark OptiFabric as incompatible (#203) 2022-02-20 00:35:33 +08:00
shedaniel
73bb926f66 Update to 1.18.2-pre1 & Bump to 4.0 2022-02-19 19:49:25 +08:00
shedaniel
6d1570d289 Fix EventBuses always failing 2022-02-19 02:06:26 +08:00
shedaniel
d2cb2a6f68 Merge remote-tracking branch 'architectury/1.18' into 1.18.2 2022-02-19 00:58:24 +08:00
shedaniel
4c5bb1e8a5 Bump to 3.7 2022-02-19 00:45:45 +08:00
shedaniel
b5aa583b02 [ci skip] Introduce item as an additional context (#189)
* Introduce item as an additional context

* Remove @Internal
2022-02-19 00:43:41 +08:00
shedaniel
60b21d2364 [ci skip] Allow registering entries after it has been collected on Forge (#193)
* Allow registering entries after it has been collected on Forge

* Fix compilation
2022-02-19 00:43:32 +08:00
shedaniel
397e5c7a6a [ci skip] Requires Fabric Loader 0.13.0 (#194) 2022-02-19 00:43:22 +08:00
Max
4c2ccc043e [ci skip] Some cleanup for Platform class and other platform-specific stuff (#201)
* Ensure paths returned by Platform are absolute, add javadocs to Platform

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

* Use putIfAbsent for event buses to clean up some minor nastyness

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

* Remove explicit NotNull annotation
2022-02-19 00:43:12 +08:00
shedaniel
6d1a5f081c Properly update to 22w06a 2022-02-12 02:03:53 +08:00
shedaniel
6dff58485f Drop 1.18/1.18.1 Support, it now compiles 2022-02-10 10:03:56 +08:00
shedaniel
d3d5b89d99 Merge remote-tracking branch 'architectury/1.18' into feature/1.18.2 2022-02-10 08:59:25 +08:00
Max
917b70d50a Make DeferredRegister iterable
Signed-off-by: Max <maxh2709@gmail.com>
2022-02-06 13:10:40 +01:00
shedaniel
c2fc8a0abc Fix GameRenderer capturing the wrong matrices 2022-02-05 00:53:22 +08:00
shedaniel
2c8f514694 22w05a 2022-02-03 01:34:49 +08:00
shedaniel
1ebf2eecab Merge remote-tracking branch 'architectury/1.18' into feature/1.18.2
# Conflicts:
#	fabric/src/main/java/dev/architectury/plugin/fabric/ArchitecturyMixinPlugin.java
2022-02-03 01:14:32 +08:00
shedaniel
6530f388a9 Support loader 0.13.0 2022-02-01 23:19:56 +08:00
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
shedaniel
d1f26d122b Support 1.18.2 while maintaining compatibility with 1.18, we will see if we can maintain this structure 2022-01-26 08:36:59 +08: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