Commit Graph

28 Commits

Author SHA1 Message Date
canitzp
371925b28d Add NetworkManager hook for Entity spawn packets (#88)
* New utility hook for creating a entity spawn packet. before every mod had to implement this in itself.

* Apply suggestions from code review

Co-authored-by: shedaniel <daniel@shedaniel.me>

* Update common/src/main/java/me/shedaniel/architectury/networking/NetworkManager.java

* Update common/src/main/java/me/shedaniel/architectury/networking/NetworkManager.java

* Properly implement SpawnEntityPacket & Format style

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Format

Signed-off-by: shedaniel <daniel@shedaniel.me>

* createEntitySpawnPacket -> createAddEntityPacket for mojmap consistency

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Bump version to 1.17

Co-authored-by: Max <maxh2709@gmail.com>
Co-authored-by: shedaniel <daniel@shedaniel.me>
2021-05-27 19:34:50 +02:00
canitzp
582ededddd Add Chunk data save and load events, closes #89 (#92)
* Created Chunk save and load event. Closes #89

* Fixed missing licence

* Update common/src/main/java/me/shedaniel/architectury/event/events/ChunkEvent.java

* Update common/src/main/java/me/shedaniel/architectury/event/events/ChunkEvent.java

* Update common/src/main/java/me/shedaniel/architectury/event/events/ChunkEvent.java

* Supply ServerLevel in ChunkEvent.LOAD, style cleanup

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Add "Data" suffix to Chunk IO Events and mark level as nullable for load

* Update common/src/main/java/me/shedaniel/architectury/event/events/ChunkEvent.java

* Bump to 1.16

Co-authored-by: shedaniel <daniel@shedaniel.me>
Co-authored-by: Max <maxh2709@gmail.com>
2021-05-27 01:03:20 +02:00
shedaniel
29c7fa1646 Bump to 1.15 because build numbers have reset
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-05-20 23:17:46 +08:00
Max
428f98be44 Reformat and bump version 2021-05-15 00:13:39 +02:00
shedaniel
2eef26f632 Add FuelRegistry (#81)
* Add FuelRegistry

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Fix compilation

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Remove redundant generic

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Change to MinecraftForge.EVENT_BUS

Signed-off-by: shedaniel <daniel@shedaniel.me>

* A few docs, and switch to returning 0 for non-fuels

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Bump to 1.13
2021-05-12 13:43:03 +08:00
shedaniel
5accb65ee8 Add interruptTrue/Default/False as util methods 2021-04-17 22:05:43 +08:00
shedaniel
f06776d884 Bump to 1.11 2021-04-15 23:27:27 +08:00
Max
28d986a3cc Add EntityHooks.fromCollision to retrieve an entity from block collision (#64) 2021-03-21 20:20:25 +01:00
Max
47da69c510 Bump to 1.9
This is to indicate possibly changed mod behaviour (e.g. with KubeJS UI)
2021-03-16 16:51:01 +01:00
shedaniel
186d9bc517 Bump to 1.8 2021-02-23 23:11:00 +08:00
shedaniel
78043a3109 Migrate to Arch Plugin 3 2021-02-19 02:11:13 +08:00
shedaniel
2656e52221 Publish the platform specific jars on a different artifact id to resolve issues with transitive dependencies. 2021-02-17 14:51:31 +08:00
Max
cd9c1926a9 (Retroactively) bump version to 1.6 2021-02-15 19:50:49 +01:00
shedaniel
d6acb9e78a Bump base version to 1.5 2021-01-26 09:53:51 +08:00
shedaniel
5e808e52ee Add PR snapshots 2021-01-25 11:56:49 +08:00
shedaniel
27de429afb Bump minor version to 1.4 2021-01-24 22:16:12 +08:00
shedaniel
526bbfb8ec Fix compilation error 2021-01-23 02:26:27 +08:00
shedaniel
2ded801007 Bump minor version 2021-01-10 18:51:52 +08:00
shedaniel
57298e3574 Upgrade gradle plugins 2021-01-10 17:30:17 +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
fe2764823c Update forge 2020-12-02 10:55:06 +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
6362fe40e3 Publish to CF 2020-11-15 20:32:36 +08:00
shedaniel
0183b7f937 Update to 1.16.4 2020-11-14 00:32:56 +08:00
shedaniel
b5f82c0801 Set gradle memory to 3GB 2020-11-07 00:53:31 +08:00
shedaniel
601e3c5722 Fix compile 2020-11-07 00:47:08 +08:00
shedaniel
6c91c919d1 Publish to bintray 2020-11-07 00:37:41 +08:00
shedaniel
5a39747a65 Initial work 2020-11-01 19:59:17 +08:00