Class CustomDropScreenFactory

java.lang.Object
com.pixelmonmod.pixelmon.api.drops.CustomDropScreenFactory

public class CustomDropScreenFactory extends Object
  • Constructor Details

    • CustomDropScreenFactory

      public CustomDropScreenFactory()
  • Method Details

    • onDropClick

      public void onDropClick(CustomDropsEvent.ClickDrop event)
    • onScreenClose

      public void onScreenClose(CustomDropsEvent.CloseScreen event)
    • onButtonClick

      public void onButtonClick(CustomDropsEvent.ClickButton event)
    • openDropScreen

      public static String openDropScreen(net.minecraft.server.level.ServerPlayer player, net.minecraft.network.chat.Component title, List<net.minecraft.world.item.ItemStack> items, net.minecraft.network.chat.Component... buttons)
    • openDropScreen

      public static String openDropScreen(String mnemonic, net.minecraft.server.level.ServerPlayer player, net.minecraft.network.chat.Component title, List<net.minecraft.world.item.ItemStack> items, net.minecraft.network.chat.Component... buttons)
    • builder

      public static CustomDropScreenFactory.Builder builder()
    • builder

      public static CustomDropScreenFactory.Builder builder(net.minecraft.network.chat.Component title)