类 PotionBrewEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.brewing.PotionBrewEvent
直接已知子类:
PotionBrewEvent.Post, PotionBrewEvent.Pre

public class PotionBrewEvent extends net.minecraftforge.eventbus.api.Event
  • 嵌套类概要

    嵌套类
    修饰符和类型
    说明
    static class 
    PotionBrewEvent.Post is fired when a potion is brewed in the brewing stand.
    static class 
    PotionBrewEvent.Pre is fired before vanilla brewing takes place.

    从类继承的嵌套类/接口 net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
     
  • 构造器概要

    构造器
    限定符
    构造器
    说明
    protected
     
  • 方法概要

    修饰符和类型
    方法
    说明
    @NotNull ItemStack
    getItem(int index)
     
    int
     
    void
    setItem(int index, @NotNull ItemStack stack)
     

    从类继承的方法 net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

  • 构造器详细资料

  • 方法详细资料

    • getItem

      @NotNull public @NotNull ItemStack getItem(int index)
    • setItem

      public void setItem(int index, @NotNull @NotNull ItemStack stack)
    • getLength

      public int getLength()