Technici4n
6eb9a2a153
AttackBlockCallback: creative fix and javadoc update ( #2691 )
...
* AttackBlockCallback: creative fix and block break delay
* More return value clarifications
* Revert CONSUME_PARTIAL behavior
* Apply suggestions from code review
Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
(cherry picked from commit 422b77fbfd
)
2022-11-29 18:09:25 +00:00
modmuss50
c6af733cfb
Cleanup incorrect mixin shadow annotations/access
2022-09-25 14:46:29 +01:00
apple502j
93d8cb82e8
Fix many javadoc issues ( #2526 )
...
Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
2022-09-25 14:45:12 +01:00
modmuss50
aeb40ebeab
Rename and validate Mixin class names. ( #2450 )
...
And update loom.
2022-08-15 18:59:19 +01:00
modmuss50
9ff28f4026
Split client only code into its own sourceset. ( #2179 )
...
A common source of crashes on modded Minecraft servers comes from modders accidently calling client only code from the client, this PR is another large step towards elimitating that.
This PR has been months in the making and years in the planning, requiring major changes to Loom & Loader. In recent Minecraft versions Mojang has made it easier than ever to cleanly split the jar, going against the status-quo of merging the client and server into one jar.
From the start we have designed Fabric to have a very clear split between client and common (client & server) code. Fabric has always encoraged keeping client only code seprate from the server, this can be seen at a fundamental level with the entrypoints in Loader. Fabric API's have all been designed with this mind.
This PR provides a compile safety net around Fabric API using client only code on the server. Even though there are almost 400 changed files, minimal changes beyond moving the files were required to achieve this in Fabric API, thanks to the effort of all contributors in the past.
These changes should not affect modders or players in anyway, a single "universal" jar is still produced. Im happy to awnswer any questions.
2022-05-21 16:26:46 +01:00
modmuss50
a67d2aa505
22w12a
2022-03-24 20:18:23 +00:00
Player
7463d67c85
22w11a
2022-03-18 00:33:37 +01:00
modmuss50
d7c144a830
Migrate to SLF4j and update loom ( #1960 )
...
* Migrate to SLF4j and update loom
* Update loom
* Update to latest loom
2022-01-30 21:37:23 +00:00
Technici4n
bfa23f17d3
Fix AttackBlockCallback on the client not sending a packet to the server ( #1872 )
2021-12-03 13:34:52 +00:00
Player
3ac43d9577
Revert Mixin compatibilityLevel bump, bump versions
2021-11-17 03:29:11 +01:00
modmuss50
e77d3ea62f
1.18-pre2 & Java 17
2021-11-16 18:41:10 +00:00
modmuss50
b4f4f6cda4
Update Loom and Loader. Cleanup/improve buildscript.
2021-11-12 15:02:54 +00:00
modmuss50
65d505fc8a
Bump versions
...
All of the version need to be bumped due to fabric-api-base being updated, this highlights the need for a better solution.
2021-11-05 17:09:48 +00:00
modmuss50
dc3d5c4769
21w38a
2021-09-23 18:30:50 +01:00
modmuss50
8f2c3e04fb
Bump version
2021-09-21 11:41:06 +01:00
shartte
a2c681827d
Compile Fixes ( #1729 )
2021-09-17 20:06:14 +01:00
modmuss50
5553aff888
21w37a: Compile pass
2021-09-17 18:42:42 +01:00
modmuss50
fc40aa9d88
Bump version
2021-09-01 18:57:12 +01:00
Potatoboy99999
3fb13e467a
Send block entity update packet along with regular block update packet ( #1689 )
...
* Send block entity update packet along with regular block update packet
* Fix style
2021-08-31 14:00:06 +01:00
Player
a722d8c028
Bump versions
2021-06-20 16:57:51 +02:00
Frieder Hannenheim
00066f1e8d
Fix ClientPickBlockApplyCallback.EVENT not working as expected Fixes #1493 ( #1498 )
...
Co-authored-by: Player <player@player.to>
2021-06-20 14:25:14 +00:00
modmuss50
a02b4463f9
21w19a
2021-05-12 20:23:04 +01:00
modmuss50
d748de6c71
Bump module version as well.
...
I shouldnt use github to do this stuff :)
2021-03-11 22:04:10 +00:00
haykam821
180d867766
Fix the onPlayerInteractEntity mixin causing a crash because the target method signature was not specified ( #1364 )
2021-03-11 22:02:25 +00:00
modmuss50
41a6855274
21w10a
2021-03-10 19:21:48 +00:00
modmuss50
0d6fddeefc
Fix MixinServerPlayNetworkHandler not applying when the synthetic fields have been renamed.
...
This happens when using mojmap in dev.
2021-02-28 21:24:27 +00:00
modmuss50
7268309e55
21w08a
2021-02-24 20:30:53 +00:00
modmuss50
92519afafe
Version bump
2021-01-19 19:38:22 +00:00
i509VCB
f8cf2bb436
Add custom value denoting module lifecycles. ( #1253 )
...
* Add custom value denoting module lifecycles.
* Make the module validation work.
My hand has been forced - we must use buildSrc since JsonSlurper is not available in main buildscript.
* Apply task to each project and dont cross projects
* A horrible hack
* Wait what
* It works now.
* Not needed
* Drop unneeded maven repo, cache map lookup
(cherry picked from commit daa38b3d82
)
2021-01-19 18:54:23 +00:00
Thalia Nero
9f7a7423f3
Add module dependencies to maven POM ( #1104 )
2020-11-15 19:46:01 +00:00
modmuss50
df3673f0bc
20w46a
2020-11-11 20:18:14 +00:00
modmuss50
3e817a62fd
Version bump
2020-11-05 18:26:58 +00:00
modmuss50
fd6e7547e7
20w45a
...
Added FabricBlockEntityTypeBuilder
Reworked EntityRendererRegistry
Ported BlockEntityRendererRegistry
2020-11-05 18:05:55 +00:00
modmuss50
f8ac1db2b1
Version bump
2020-09-27 12:38:48 +01:00
Deximus-Maximus
5f10696617
Add @Nullable and friends ( #1007 )
...
* Boost to Loom 0.5
Add null related annotations
* Rearrange nullable to be overline
* Fix anno sorting for picky
* Add imports
* Address feedback
* Fix import
2020-09-27 12:10:02 +01:00
Geometrically
e2e6cdad60
Block break event ( #980 )
...
* Block break event
* License headers + after event
* Before and after events, testmod
* Fix checkstyle
* Version bump, fix client method call
* Move to one event class
* Expand event parameters + javadoc
* Add cancelation event and move javadocs
* Move JavaDoc + Make success have same function as pass
* Fix success bug
* Fix documentation again, change approach
* Fix checkstyle
* Update fabric-events-interaction-v0/src/main/java/net/fabricmc/fabric/api/event/player/BlockBreakEvents.java
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Update fabric-events-interaction-v0/src/main/java/net/fabricmc/fabric/api/event/player/BlockBreakEvents.java
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Update fabric-events-interaction-v0/src/main/java/net/fabricmc/fabric/api/event/player/BlockBreakEvents.java
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Update fabric-events-interaction-v0/src/main/java/net/fabricmc/fabric/api/event/player/BlockBreakEvents.java
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Update fabric-events-interaction-v0/src/main/java/net/fabricmc/fabric/api/event/player/BlockBreakEvents.java
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Update fabric-events-interaction-v0/src/main/java/net/fabricmc/fabric/api/event/player/BlockBreakEvents.java
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Fix checkstyle
* Rename stuff
* fixes
* Update fabric-events-interaction-v0/src/main/java/net/fabricmc/fabric/api/event/player/PlayerBlockBreakEvents.java
Co-authored-by: i509VCB <i509vcb@gmail.com>
* Update fabric-events-interaction-v0/src/main/java/net/fabricmc/fabric/api/event/player/PlayerBlockBreakEvents.java
Co-authored-by: i509VCB <i509vcb@gmail.com>
* Update fabric-events-interaction-v0/src/main/java/net/fabricmc/fabric/impl/event/interaction/InteractionEventsRouter.java
Co-authored-by: i509VCB <i509vcb@gmail.com>
* Update fabric-events-interaction-v0/src/main/java/net/fabricmc/fabric/api/event/player/PlayerBlockBreakEvents.java
Co-authored-by: i509VCB <i509vcb@gmail.com>
* Rename Canceled Event Method Name
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: i509VCB <i509vcb@gmail.com>
2020-08-21 17:22:11 +01:00
modmuss50
7066030fcb
1.16-pre5
2020-06-12 16:29:47 +01:00
modmuss50
5a6e8f4ce1
1.16-pre3
2020-06-10 18:17:45 +01:00
modmuss50
6d41837a96
20w20a
2020-05-13 18:42:14 +01:00
modmuss50
04b9979457
Fix AttackBlockCallback being fired for incorrect player actions ( #520 )
2020-03-11 11:56:01 +00:00
modmuss50
2cbdd032eb
Fix modded ItemGroups not showing, also updated mappings
2020-03-06 18:31:57 +00:00
modmuss50
b7d52fa581
20w10a
2020-03-04 20:59:37 +00:00
modmuss50
9421522d5a
20w06a
2020-02-05 18:05:59 +00:00
Player
a1bd3118a0
Bump versions
2020-01-01 14:01:16 +01:00
legobmw99
25c8636270
Resolve ClassCastException in UseItemCallback
...
Returns ActionResult, not TypedActionResult
2020-01-01 13:00:23 +00:00
modmuss50
12515ed9ee
19w45a
2019-11-07 20:35:26 +00:00
Player
b7f9825dbb
Add checkstyle verification for package names, fix non-API packages.
2019-11-03 20:14:45 +01:00
Player
dfdb52d6e5
Add checkstyle, format existing code accordingly.
2019-10-27 15:40:26 +01:00
modmuss50
d2e3099f39
19w42a
...
Includes a work around for the funky rendering issues, this will need looking into some more.
2019-10-16 18:54:16 +01:00
modmuss50
ccd269cfad
19w41a
2019-10-09 19:05:13 +01:00