Commit Graph

110 Commits

Author SHA1 Message Date
shedaniel
8de2c936b5 Fixes CME with Platform#getMod
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-05-08 19:21:10 +08:00
Max
ca2a528160 Some more (mostly Entity-based) Events (#75)
* Add FarmlandTrample event

* FarmlandTrample debug event

* Add FILL_BUCKET event and testmod

* Add ENTER_CHUNK event and testmod

* Add CHECK_SPAWN on Forge

* CHECK_SPAWN on Fabric part 1 aka: The Concernening

* CHECK_SPAWN on Fabric part 2: I kinda don't hate this as much

* CHECK_SPAWN on Fabric part 3: Patrols

* CHECK_SPAWN on Fabric part 4: catJAM

* CHECK_SPAWN on Fabric part 5: Phantoms

* Fix CHECK_SPAWN for patrols

* Add mod metadata (#73)

* new event system

* Revert patrol spawner behaviour

* Implement CheckSpawn behaviour for spawners and add test (forgot about that)

* Revert "Revert patrol spawner behaviour"

This reverts commit 1da3fb73

* Change MixinPhantomSpawner to SOFT

* Edit forge mods.toml
We support 1.16.2+ on forge

Co-authored-by: shedaniel <daniel@shedaniel.me>
2021-04-15 23:26:48 +08:00
shedaniel
ac94c33e07 Re-license header 2021-04-13 19:40:44 +08:00
shedaniel
35145b9acb Add getCustomEquipmentSlot 2021-04-10 20:33:26 +08:00
shedaniel
27addc91d9 Close #39 2021-04-10 20:13:19 +08:00
Max
28d986a3cc Add EntityHooks.fromCollision to retrieve an entity from block collision (#64) 2021-03-21 20:20:25 +01:00
shedaniel
389034e1ff Change at 2021-03-11 21:11:43 +08:00
shedaniel
833d6014ea Rewrite the GuiEvent.SET_SCREEN mixin to fix #35 2021-03-11 21:09:22 +08:00
shedaniel
fc41c38ffa Merge remote-tracking branch 'architectury/1.16' into 1.16 2021-03-01 21:30:37 +08:00
shedaniel
bf9efc708f Update plugins 2021-03-01 21:30:24 +08:00
shedaniel
d9b43e71e6 Add EntityRenderers (#52)
Close #45
2021-02-27 17:48:51 +08:00
shedaniel
89ce4c7c58 Fix BlockEntityExtension @Shadow remapping 2021-02-27 17:48:34 +08:00
shedaniel
5dc01b0a19 Implement onDataPacket (#48) 2021-02-26 00:36:06 +08:00
shedaniel
f99ac935ed Merge remote-tracking branch 'architectury/feature/optional_tags' into 1.16 2021-02-23 23:09:45 +08:00
shedaniel
c0c496007e Fix block entity without position 2021-02-23 23:09:16 +08:00
shedaniel
7e743dcb64 Add licenses and implement optional tags, requires some testing. 2021-02-23 00:16:26 +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
b78cce58ee Add LightningEvent, FallingBlock land, move break/place to BlockEvent 2021-02-15 18:59:31 +01:00
shedaniel
70d5de3186 Migrate to my maven + make NetworkChannel side-agnostic 2021-02-08 21:49:58 +08:00
shedaniel
e66a57bc80 Add some null checks 2021-02-06 22:56:12 +08:00
shedaniel
afe197b516 Merge pull request #32 from Juuxel/feature/game-rule-api
Game rule API
2021-01-27 22:26:26 +08:00
Juuxel
6de010f71a Add game rule API 2021-01-27 15:14:42 +02:00
shedaniel
51c9e8b0d8 [ci skip] This is beautiful 2021-01-27 19:22:03 +08:00
shedaniel
d5e040604b Merge remote-tracking branch 'architectury/feature/registry-creation-api' into 1.16 2021-01-26 09:53:36 +08:00
Max
721db319f9 Merge pull request #22 from architectury/feature/screen-open-event
Add GuiEvent.SET_SCREEN
2021-01-25 19:21:30 +01:00
Max
baf36d02fb Fix mojank stripping containsKey from Registries on Server 2021-01-25 19:13:09 +01:00
Max
69d6ab5255 Remove unused import 2021-01-25 18:58:42 +01:00
Max
8d1f10205c Merge branch '1.16' into feature/screen-open-event 2021-01-25 18:51:49 +01:00
Max
9e733da049 Attempted fix for #25 (#28)
* Experiment with low priority and require=0 to try to fix #25

* Revert require = 0 because it didn't work

* (Hopefully) solve things with a mixin plugin

Might be overkill, but we could need it again in the future...

* Replace Platform call with FabricLoader
2021-01-25 18:09:56 +01:00
shedaniel
0223834441 Fix crash registering reload listeners 2021-01-25 18:43:20 +08:00
shedaniel
b69eae29d7 Merge remote-tracking branch 'architectury/1.16' into feature/registry-creation-api
# Conflicts:
#	build.gradle
2021-01-25 17:55:32 +08:00
shedaniel
dc702a01e6 FluidStackHooks in getting the rendering information for the fluids (#26) 2021-01-25 17:53:26 +08:00
shedaniel
492521dfe3 Add PlayerEvent#CHANGE_DIMENSION 2021-01-25 17:52:39 +08:00
shedaniel
bb33552a49 Fix #25 2021-01-25 17:33:10 +08:00
shedaniel
c13620fc9c Expose raw id from registries 2021-01-25 12:26:38 +08:00
Max
107ffe4aa7 Set @Unique to be mixin-wide in MixinMinecraft 2021-01-25 05:19:40 +01:00
shedaniel
9deb0f8be4 Merge branch '1.16' into feature/registry-creation-api 2021-01-25 11:57:04 +08:00
Max
9994b9049e Merge remote-tracking branch 'origin/1.16' into feature/screen-open-event 2021-01-25 04:24:55 +01:00
Max
5fbb420dd7 Only overwrite screen on SUCCESS, fix whitespace changes 2021-01-25 04:10:11 +01:00
shedaniel
a4beace95c Registry API to create modded registries, close #21 2021-01-25 11:09:20 +08:00
Max
ca8af3f754 Fix shader effects location being hardcoded to minecraft namespace 2021-01-25 03:48:06 +01:00
Max
0c7241ddfb Add GuiEvent.SET_SCREEN 2021-01-25 03:06:41 +01:00
shedaniel
b4646a0226 Merge remote-tracking branch 'architectury/feature/raw-input-events' into 1.16 2021-01-24 22:15:55 +08:00
shedaniel
526bbfb8ec Fix compilation error 2021-01-23 02:26:27 +08:00
shedaniel
465aeae5bd Add ClientLifecycleEvent.CLIENT_SETUP and allow deferring in ColorHandlers 2021-01-23 02:15:49 +08:00
Max
7c4b602b10 Add 1.16.5 to CurseForge versions 2021-01-21 19:36:32 +01:00
shedaniel
0bb1d9c87e Fix AW 2021-01-21 21:22:08 +08:00
shedaniel
de90542afd Add raw input events, close #16 2021-01-20 21:21:23 +08:00
shedaniel
9c6101835d Close #18 Currently testing item / block addition, keybinds and creative tabs. 2021-01-20 20:28:15 +08:00