Class Const<C,T>

java.lang.Object
com.mojang.datafixers.kinds.Const<C,T>
All Implemented Interfaces:
App<Const.Mu<C>, T>

public final class Const<C,T> extends Object implements App<Const.Mu<C>, T>
  • Field Details

    • value

      private final C value
  • Constructor Details

    • Const

      Const(C value)
  • Method Details

    • unbox

      public static <C,T> C unbox(App<Const.Mu<C>, T> box)
    • create

      public static <C,T> Const<C,T> create(C value)