1.19.1 update (#145)
Co-authored-by: Cloudburst <18114966+C10udburst@users.noreply.github.com>
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
package anticope.rejects.mixin;
|
||||
|
||||
import anticope.rejects.modules.modifier.NoRenderModifier;
|
||||
import net.minecraft.client.gui.screen.CommandSuggestor;
|
||||
import net.minecraft.client.gui.screen.ChatInputSuggestor;
|
||||
import net.minecraft.client.util.math.MatrixStack;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Inject;
|
||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
|
||||
@Mixin(CommandSuggestor.class)
|
||||
@Mixin(ChatInputSuggestor.class)
|
||||
public class CommandSuggestorMixin {
|
||||
@Inject(method = "render", at = @At(value = "HEAD"), cancellable = true)
|
||||
public void onRenderCommandSuggestion(MatrixStack matrices, int mouseX, int mouseY, CallbackInfo info) {
|
||||
|
||||
@@ -23,7 +23,6 @@ public class MineProcessMixin {
|
||||
|
||||
@Shadow(remap = false)
|
||||
private List<BlockPos> a; // knownOreLocations
|
||||
|
||||
@Inject(method = "a(Ljava/util/List;Lbaritone/pathing/movement/CalculationContext;)V", at = @At("HEAD"), cancellable = true, remap = false)
|
||||
private void onRescan(List<BlockPos> already, CalculationContext context, CallbackInfo ci) {
|
||||
OreSim oreSim = Modules.get().get(OreSim.class);
|
||||
|
||||
Reference in New Issue
Block a user