-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'fix-quilt' into printing
- Loading branch information
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
v1_17/src/main/java/me/aleksilassila/litematica/printer/v1_17/mixin/AxeItemAccessor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package me.aleksilassila.litematica.printer.v1_17.mixin; | ||
|
||
import net.minecraft.block.Block; | ||
import net.minecraft.item.AxeItem; | ||
import org.spongepowered.asm.mixin.Mixin; | ||
import org.spongepowered.asm.mixin.gen.Accessor; | ||
|
||
import java.util.Map; | ||
|
||
/** | ||
* This class apparently fixes an issue with Quilt. | ||
*/ | ||
@Mixin(AxeItem.class) | ||
public interface AxeItemAccessor { | ||
@Accessor("STRIPPED_BLOCKS") | ||
static Map<Block, Block> getStrippedBlocks() { | ||
throw new AssertionError("Untransformed @Accessor"); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters