Class PokeCheckerHelper
java.lang.Object
com.pixelmonmod.pixelmon.client.gui.PokeCheckerHelper
Used to add a Poke Checker (the floating box) to the screen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable ContextMenu
genPokeChecker
(int x, int y, Pokemon[] pokemon, net.minecraft.client.gui.screens.Screen gui) Call this, then you'd get a floating box on the screen.
-
Constructor Details
-
PokeCheckerHelper
public PokeCheckerHelper()
-
-
Method Details
-
genPokeChecker
@Nullable public static @Nullable ContextMenu genPokeChecker(int x, int y, Pokemon[] pokemon, net.minecraft.client.gui.screens.Screen gui) Call this, then you'd get a floating box on the screen. Its position depends on your click position- Parameters:
x
- Input mouse Xy
- Input mouse Ypokemon
- Pokemons involved in this clickgui
- source GUI of this click- Returns:
- a Poke Checker (ContextMenu object)
-