CleanCut

CleanCut

24M Downloads

New version 6.0 incompatible with Tweakeroo/Carpet accurateblockplacement

MeeniMc opened this issue · 1 comments

commented

When the new version of this mod is present, the accurateblockplacement feature of Tweakeroo is broken.

Replication steps:

  1. get an observer
  2. enable accurateblockplacement=yes in tweakeroo config
  3. use the hotkey (default alt) to have the block placement overlay show
  4. place a block with a non-default orientation
  5. the block is placed with default orientation (bug)

Remove mod, this works correctly.

Log item

The log item clearly indicates taht this is due to using @Redirect, maybe a simple fix is to use @Inject at HEAD instead.

08:09:10] [Render thread/WARN] (FabricLoader/Mixin) @Redirect conflict. Skipping mixins.tweakeroo.json:MixinMinecraftClient from mod tweakeroo->@Redirect::onProcessRightClickBlock(Lnet/minecraft/class_636;Lnet/minecraft/class_746;Lnet/minecraft/class_1268;Lnet/minecraft/class_3965;)Lnet/minecraft/class_1269; with priority 990, already redirected by cleancut.mixins.json:MinecraftClientMixin from mod cleancut->@Redirect::onItemUse(Lnet/minecraft/class_636;Lnet/minecraft/class_746;Lnet/minecraft/class_1268;Lnet/minecraft/class_3965;)Lnet/minecraft/class_1269; with priority 1000

versions

	- carpet 1.4.101+v230319
	- carpet-extra 1.4.100
	- cleancut 6.0
	- creativeonepunch 1.3
	- fabric-api 0.83.0+1.19.4
	- malilib 0.15.4
	- tweakeroo 0.16.0
commented

Inject at HEAD won't work, that's not how the method works, but i'll try to find a different way to avoid this conflict ^_^