mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-06-30 17:13:05 +00:00

Mostly in prep for 1.19.4. - Update to Loom 1.1. - Simplifies our handling of remapped configurations a little. - Removes the need for a fake fabric.mod.json in the API jar. For reasons I don't quite understand, this required us to bump the Fabric API version. Otherwise interfaces are not injected. - Update to Rollup 3.0. - Do NOT update NullAway: It now correctly checks @Nullable fields in inherited classes. This is good, but also a pain as Minecraft is a little over-eager in where it puts @Nullable.
25 lines
708 B
Java
25 lines
708 B
Java
/*
|
|
* This file is part of ComputerCraft - http://www.computercraft.info
|
|
* Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
|
|
* Send enquiries to dratcliffe@gmail.com
|
|
*/
|
|
package dan200.computercraft.mixin.gametest;
|
|
|
|
import net.minecraft.SharedConstants;
|
|
import org.spongepowered.asm.mixin.Mixin;
|
|
import org.spongepowered.asm.mixin.Overwrite;
|
|
|
|
// TODO(1.19.4): Remove this
|
|
@Mixin(SharedConstants.class)
|
|
class SharedConstantsMixin {
|
|
/**
|
|
* Disable DFU initialisation.
|
|
*
|
|
* @author SquidDev
|
|
* @reason This doesn't have any impact on gameplay, and slightly speeds up tests.
|
|
*/
|
|
@Overwrite
|
|
public static void enableDataFixerOptimizations() {
|
|
}
|
|
}
|