#shield attack fail

10 messages · Page 1 of 1 (latest)

foggy rune
#

what is this event when my attack is cancelled by the other player that is blocking with a shield?

nocturne prism
#

there's no such event

foggy rune
#

oh

#

there is no other ways?

nocturne prism
#

you can mixin into an appropriate place

#

events are provided by fabric api for common use cases. if there's none, you can always use a mixin

foggy rune
#

what is a mixin? sorry im new to this stuff

nocturne prism
#

!!mixin

brave brambleBOT
#

Mixin is a trait/mixin and bytecode weaving framework for Java using ASM written by Mumfrey, primarily used in Fabric mods for modifying existing game code.

Mixin Wiki: https://github.com/SpongePowered/Mixin/wiki
Javadoc: http://jenkins.liteloader.com/view/Other/job/Mixin/javadoc/index.html
Fabric Wiki tutorial: https://fabricmc.net/wiki/tutorial:mixin_introduction
Cheatsheet: https://github.com/2xsaiko/mixin-cheatsheet/blob/master/README.md

See also:
!!mcdev - An IntelliJ plugin which adds useful helpers and inspections for using mixin
!!spongecord - The Sponge Discord server, with official support for Mixin in the #mixin channel

nocturne prism
#

it's how we change vanilla code