262 Commits

Author SHA1 Message Date
shedaniel
a2e5359225 Add client commands
Signed-off-by: shedaniel <daniel@shedaniel.me>
2024-02-26 21:13:36 +09:00
shedaniel
f1fdba9897 [ci skip] SpawnPlacements.register Hook (Closes architectury/architectury-api#375) (#473) 2024-02-06 17:32:50 +09:00
Josiah Glosson
a333232d85 [ci skip] Add defaultId to RegistrarBuilder (#474)
* Add defaultId to RegistrarBuilder

* Make the default key an registrar option

---------

Co-authored-by: shedaniel <daniel@shedaniel.me>
2024-02-06 17:32:35 +09:00
shedaniel
b26347a026 [ci skip] Add ClientTooltipComponentRegistry for custom tooltips (#475)
* Add ClientTooltipComponentRegistry for custom tooltips (#463)

Signed-off-by: Sergey Shatunov <me@aur.rocks>
Signed-off-by: shedaniel <daniel@shedaniel.me>

* Fix testmod for client tooltip components

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

---------

Signed-off-by: Sergey Shatunov <me@aur.rocks>
Signed-off-by: shedaniel <daniel@shedaniel.me>
Co-authored-by: Sergey Shatunov <me@aur.rocks>
2024-02-06 17:32:25 +09:00
Max
b29a272304 Fix block place event mixin passing incorrect BlockState on Fabric
Closes #402
2023-05-04 09:47:53 +02:00
Max
6e3e5738b6 Merge branch '1.19' into 1.19.2 2023-04-05 16:34:19 +02:00
Max
a62231ab87 Merge branch '1.18.2' into 1.19 2023-04-05 16:34:14 +02:00
Max
b1e7c89ffb Fix args order in player clone event (supersedes and closes #391) 2023-04-05 16:33:51 +02:00
Max
b8dcba2ee5 Fix #398 (supersedes and closes #395) 2023-04-05 16:32:40 +02:00
Max
93dd95c6a0 Merge branch '1.19' into 1.19.2 2023-02-06 18:01:55 +01:00
Max
b4cf77dde9 Merge branch '1.18.2' into 1.19 2023-02-06 18:01:10 +01:00
desht
1524550146 Add PlayerEvent.ATTACK_ENTITY (#380)
[ci skip]

* Add PlayerEvent.ATTACK_ENTITY
* Fired from Forge's AttackEntityEvent and Fabric's AttackEntityCallback
* When player is about to attack any entity (not just living) with left-click
* javadoc parameter alignment
* import cleanup
2023-02-06 17:53:43 +01:00
Max
0f10f54a34 *Actually* use fabric-api dependency in fmj... 2022-12-08 18:58:26 +01:00
Max
96f3dc6f9c Buildscript updates, use fabric-api dependency in fmj 2022-12-08 18:10:18 +01:00
shedaniel
709ca7535c Merge remote-tracking branch 'architectury/1.19' into 1.19.2 2022-11-23 01:46:01 +08:00
shedaniel
e8177b3075 Merge remote-tracking branch 'architectury/1.18.2' into 1.19 2022-11-23 01:43:22 +08:00
Juuz
ec9cb04ebc Fix Loom 1.0 removals (#348)
* Replace loom.forge.localMods with loom.mods

* Replace javax annotations with jetbrains

[norelease]
2022-11-20 00:33:48 +01:00
shedaniel
b0f0a04c50 Merge remote-tracking branch 'architectury/1.19' into 1.19.2
# Conflicts:
#	gradle.properties
2022-10-23 01:06:20 +08:00
shedaniel
108ac16ce5 Merge remote-tracking branch 'architectury/1.18.2' into 1.19 2022-10-23 01:03:00 +08:00
shedaniel
d26471de0e [ci skip] Fix #340 (#341) 2022-10-23 01:02:39 +08:00
Max
6a9d61aa42 Merge branch '1.19' into 1.19.2 2022-09-11 19:04:48 +02:00
Max
e573a15545 Merge branch '1.18.2' into 1.19 2022-09-11 19:02:48 +02:00
Max
0138323e7d Use fluid variant rendering for sprites / colours on Fabric (#337) 2022-09-11 19:00:45 +02:00
Juuxel
0978e58bb6 Prevent running on 1.19.1+ (#325) 2022-08-22 19:59:01 +08:00
shedaniel
fd6a654868 Merge remote-tracking branch 'architectury/1.19' into 1.19.2
# Conflicts:
#	gradle.properties
2022-08-11 19:07:54 +08:00
shedaniel
19d1d7f55a Merge remote-tracking branch 'architectury/1.18.2' into 1.19
# Conflicts:
#	gradle.properties
2022-08-11 19:07:26 +08:00
shedaniel
3ee2355b2d [ci skip] Add LiquidBlock.arch$getFluid and fix MixinFoodPropertiesBuilder (#316) 2022-08-11 19:05:55 +08:00
shedaniel
ab80a6a77f Revert "[ci skip] Add LiquidBlock.arch$getFluid and fix MixinFoodPropertiesBuilder (#314)" (#315)
This reverts commit 21bed670de.
2022-08-11 19:04:34 +08:00
shedaniel
21bed670de [ci skip] Add LiquidBlock.arch$getFluid and fix MixinFoodPropertiesBuilder (#314) 2022-08-11 19:03:55 +08:00
shedaniel
8cefb7797a Merge remote-tracking branch 'architectury/1.19' into 1.19.2
# Conflicts:
#	gradle.properties
2022-08-08 18:06:15 +08:00
shedaniel
f584b0b991 Merge remote-tracking branch 'architectury/1.18.2' into 1.19
# Conflicts:
#	gradle.properties
2022-08-08 18:05:54 +08:00
shedaniel
739359e5b2 Add simple interface injection extensions (#257)
* Add simple interface injection extensions
* Update to only add holders for intrusive registry entries
* Add arch$registryName

[ci skip]
2022-08-07 16:01:46 +02:00
Max
2f150cf819 Add more validation to NetworkManagerImpl (#310)
[ci skip]
2022-08-07 16:01:06 +02:00
shedaniel
432581096e Update to 1.19.1 (#302)
* Update to 1.19.1

* Make it compile

* Update to 1.19.1

* Set 1.19.1 as the publishing version

(cherry picked from commit b316dde8ba)
2022-08-06 10:06:35 +08:00
shedaniel
1c98573c5f Revert "Update to 1.19.1 (#302)"
This reverts commit b316dde8ba.
2022-08-06 10:05:43 +08:00
Max
6624dbe295 Merge branch '1.18.2' into 1.19 2022-07-31 18:59:43 +02:00
shedaniel
b316dde8ba Update to 1.19.1 (#302)
* Update to 1.19.1

* Make it compile

* Update to 1.19.1

* Set 1.19.1 as the publishing version
2022-07-28 19:45:57 +08:00
itsmeow
81f4de28ba Implement hasTag onto BiomeContext (#272)
* Implement hasTag onto BiomeContext
* Improve optional handling

[norelease] to allow for version bumping and reformatting before release

(cherry picked from commit 16a7d23602)
2022-07-23 03:08:43 +08:00
Juuxel
6b83a15e81 [ci skip] Add loot table modification event (#287)
* Add loot table modification event

Closes #42. It's a simple wrapper around the platform events.

* Add param for builtin loot tables

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

(cherry picked from commit f0555ce0eb)
2022-07-23 03:00:07 +08:00
Juuxel
f0555ce0eb [ci skip] Add loot table modification event (#287)
* Add loot table modification event

Closes #42. It's a simple wrapper around the platform events.

* Add param for builtin loot tables

Co-authored-by: shedaniel <daniel@shedaniel.me>
2022-07-20 23:22:47 +08:00
Max
192d3a9d26 Merge branch '1.18.2' into 1.19 2022-06-16 12:03:36 +02:00
Max
7d86eba267 Implement Forge's new Fluid API (#280)
* (Untested) fixes for the new Forge Fluid API
* Migrate ArchitecturyFlowingFluid to FluidTypes
* Add overlay textures, fix compile issues
* Fix Supplier import
* Add FluidState variant of get texture and color methods
* Deprecate combined render properties getter in favour of separate stack- and state-aware getters
* Add overlay texture override to SimpleArchitecturyFluidAttributes
* Update common/src/main/java/dev/architectury/core/fluid/ArchitecturyFluidAttributes.java

Co-authored-by: shedaniel <daniel@shedaniel.me>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

[norelease]
2022-06-16 11:59:08 +02:00
shedaniel
146fe8b8b9 Add stack-aware CraftingRemainingItem (#277)
* Add stack-aware CraftingRemainingItem
* Add JavaDocs

[norelease]
2022-06-16 11:58:10 +02:00
Max
78ec6761a0 Reformat and cleanup merged PR, bump minor version 2022-06-09 19:49:07 +02:00
itsmeow
16a7d23602 Implement hasTag onto BiomeContext (#272)
* Implement hasTag onto BiomeContext
* Improve optional handling

[norelease] to allow for version bumping and reformatting before release
2022-06-09 19:47:34 +02:00
shedaniel
c77f040c21 Update to 1.19 2022-06-08 21:35:41 +08:00
Max
551edceb82 Clean up BlockEntityHooks
Signed-off-by: Max <maxh2709@gmail.com>
2022-06-08 13:40:10 +02:00
Max
c870ccab83 Remove most deprecated features marked for removal in previous versions
Signed-off-by: Max <maxh2709@gmail.com>
2022-06-08 13:17:21 +02:00
shedaniel
f7947ecbdf Update to 1.19-pre3 2022-05-29 17:22:42 +08:00
shedaniel
d13267a721 Merge remote-tracking branch 'architectury/1.18.2' into 1.19
# Conflicts:
#	fabric/build.gradle
#	forge/build.gradle
#	gradle.properties
2022-05-29 16:59:22 +08:00