Class MailEvent.ReadMail.Pre

java.lang.Object
net.minecraftforge.eventbus.api.Event
Enclosing class:
MailEvent.ReadMail

public static class MailEvent.ReadMail.Pre extends MailEvent.ReadMail
Fired before the open screen packet is sent Cancelling will stop the player from opening the screen
  • Constructor Details

    • Pre

      public Pre(@Nonnull net.minecraft.server.level.ServerPlayer player, net.minecraft.world.item.ItemStack itemStack, String author, String text, boolean sealed)