Class ActionResult<T>

java.lang.Object
net.minecraft.util.ActionResult<T>

public class ActionResult<T> extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getResult

      public ActionResultType getResult()
    • getObject

      public T getObject()
    • success

      public static <T> ActionResult<T> success(T p_226248_0_)
    • consume

      public static <T> ActionResult<T> consume(T p_226249_0_)
    • pass

      public static <T> ActionResult<T> pass(T p_226250_0_)
    • fail

      public static <T> ActionResult<T> fail(T p_226251_0_)
    • sidedSuccess

      public static <T> ActionResult<T> sidedSuccess(T p_233538_0_, boolean p_233538_1_)