forked from JDKDigital/InvTweaksRefoxed
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
72 additions
and
74 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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 |
---|---|---|
@@ -1,29 +1,29 @@ | ||
//package invtweaks.jei; | ||
// | ||
//import invtweaks.InvTweaksMod; | ||
//import invtweaks.events.ClientEvents; | ||
//import mezz.jei.api.IModPlugin; | ||
//import mezz.jei.api.JeiPlugin; | ||
//import mezz.jei.api.runtime.IJeiRuntime; | ||
//import net.minecraft.MethodsReturnNonnullByDefault; | ||
//import net.minecraft.resources.ResourceLocation; | ||
// | ||
//import javax.annotation.ParametersAreNonnullByDefault; | ||
// | ||
//@SuppressWarnings("unused") | ||
//@JeiPlugin | ||
//@ParametersAreNonnullByDefault | ||
//@MethodsReturnNonnullByDefault | ||
//public class InvTweaksJEI implements IModPlugin { | ||
// public static final ResourceLocation UID = new ResourceLocation(InvTweaksMod.MODID, "jei_plugin"); | ||
// | ||
// @Override | ||
// public ResourceLocation getPluginUid() { | ||
// return UID; | ||
// } | ||
// | ||
// @Override | ||
// public void onRuntimeAvailable(IJeiRuntime jeiRuntime) { | ||
// ClientEvents.setJEIKeyboardActiveFn(() -> jeiRuntime.getIngredientListOverlay().hasKeyboardFocus()); | ||
// } | ||
//} | ||
package invtweaks.jei; | ||
|
||
import invtweaks.InvTweaksMod; | ||
import invtweaks.events.ClientEvents; | ||
import mezz.jei.api.IModPlugin; | ||
import mezz.jei.api.JeiPlugin; | ||
import mezz.jei.api.runtime.IJeiRuntime; | ||
import net.minecraft.MethodsReturnNonnullByDefault; | ||
import net.minecraft.resources.ResourceLocation; | ||
|
||
import javax.annotation.ParametersAreNonnullByDefault; | ||
|
||
@SuppressWarnings("unused") | ||
@JeiPlugin | ||
@ParametersAreNonnullByDefault | ||
@MethodsReturnNonnullByDefault | ||
public class InvTweaksJEI implements IModPlugin { | ||
public static final ResourceLocation UID = ResourceLocation.fromNamespaceAndPath(InvTweaksMod.MODID, "jei_plugin"); | ||
|
||
@Override | ||
public ResourceLocation getPluginUid() { | ||
return UID; | ||
} | ||
|
||
@Override | ||
public void onRuntimeAvailable(IJeiRuntime jeiRuntime) { | ||
ClientEvents.setJEIKeyboardActiveFn(() -> jeiRuntime.getIngredientListOverlay().hasKeyboardFocus()); | ||
} | ||
} |
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
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
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
public net.minecraft.client.gui.Gui renderSlot(Lnet/minecraft/client/gui/GuiGraphics;IIFLnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;I)V # renderSlot | ||
public net.minecraft.client.gui.Gui renderSlot(Lnet/minecraft/client/gui/GuiGraphics;IILnet/minecraft/client/DeltaTracker;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;I)V # renderSlot |
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