Commit Graph

53 Commits

Author SHA1 Message Date
shedaniel
aa454ee525 Add insert to ResourceView, this is partially supported 2022-02-05 20:18:25 +08:00
shedaniel
52aa329597 Relocate some classes, and add filtering methods to the handler itself 2022-02-05 20:01:10 +08:00
shedaniel
6da7fd9e4f Add withContents 2022-02-05 03:38:14 +08:00
shedaniel
4874c366f4 Simplify BE lookup 2022-02-05 03:00:56 +08:00
shedaniel
1cec469307 Made it easier to add queries, and more utils 2022-02-05 02:58:30 +08:00
shedaniel
62796d5f52 Clean up some classes 2022-02-05 01:58:41 +08:00
shedaniel
c462e06634 Implement energy api 2022-02-04 03:56:30 +08:00
shedaniel
5a9fca2207 Make ResourceView implement Closeable 2022-02-04 03:12:38 +08:00
shedaniel
a274b7c631 Add predicate method to filtering transfer handler, Move asTransfer out of inner class for easier override 2022-02-04 02:56:02 +08:00
shedaniel
3e7ac396ee Introduce (Worldly)ContainerTransferHandler and SingleTransferHandler 2022-02-04 02:38:27 +08:00
shedaniel
a6378f0600 Implement filtering handlers, methods for wrapping player inv and containers 2022-02-03 23:08:44 +08:00
shedaniel
fadc321034 Implement most of it 2022-02-03 01:43:18 +08:00
shedaniel
3e605d90fa Simplify applicator 2022-02-03 01:43:18 +08:00
shedaniel
5ee37d5091 Start on item transfer, work on forge reverse-abstraction 2022-02-03 01:43:18 +08:00
shedaniel
c28bb6bb39 Extension to the fluid api 2022-02-03 01:43:18 +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
5a6f4b1176 Implement ClientLifecycleEvent on Forge (+ testmod)
Signed-off-by: Max <maxh2709@gmail.com>
2022-01-30 03:23:02 +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
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
3083c82843 Add ClientReloadShadersEvent (#149)
Signed-off-by: Max <maxh2709@gmail.com>
2021-12-20 03:49:44 +01: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
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
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
ffe3fbe3f4 21w37a 2021-09-23 02:44:15 +08:00
shedaniel
c3ffa8d976 Update to Loom 0.10.0 and add Mixins 2021-09-22 23:03:07 +08:00
shedaniel
88dbf04c9b Implement item properties (#132) 2021-08-30 02:56:33 +08:00
shedaniel
c8667222a3 Add license headers 2021-08-24 03:34:50 +08:00
Leo40Git
aba773f07a These aren't actually recipes, so... 2021-08-13 12:00:20 +03:00
Leo40Git
0c1aaa98b2 Javadoc I definitely went ham on 2021-08-12 22:45:31 +03:00
Leo40Git
64be307c1b Rename parameters to be less cryptic 2021-08-12 22:35:11 +03:00
Leo40Git
c8f7904481 Validate stripping recipe before adding 2021-08-11 15:51:32 +03:00
Leo40Git
32a44239ea Add tool interaction recipe hooks 2021-08-11 12:14:26 +03:00
shedaniel
4ef7f45ae7 Switch to MethodHandlers to avoid wrapping exceptions with InvocationTargetException due to reflection 2021-08-06 17:09:05 +08:00
shedaniel
bf34031711 WIP Forge port 2021-07-29 23:03:06 +08:00
LatvianModder
5b7cb36414 Added SimpleNetworkManager (#120)
Signed-off-by: shedaniel <daniel@shedaniel.me>

Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: shedaniel <daniel@shedaniel.me>
2021-07-12 12:13:07 +08:00
Max
6b32aec5b9 Fix ExpectPlatform on FoodPropertiesHooks 2021-07-04 14:36:45 +02:00
shedaniel
e45dc97e92 Allow adding supplied effects to FoodProperties (#119)
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-04 18:40:27 +08:00
shedaniel
734a310c98 Make ColorHandlers wildcard, fix #114
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-01 19:23:39 +02:00
shedaniel
15ffb25551 Wrapper for BlockEntityType.Builder (#115)
Signed-off-by: shedaniel <daniel@shedaniel.me>

Co-authored-by: Max <maxh2709@gmail.com>
2021-07-01 18:38:16 +02:00