com.mojang.datafixers.types.templates

public final class Const

implements TypeTemplate

com.mojang.datafixers.types.templates.Const

Field summary

Modifier and TypeField
private final Type<?>
type

Constructor summary

ModifierConstructor
public (Type<?> arg0)

Method summary

Modifier and TypeMethod
public int
size()
public TypeFamily
apply(TypeFamily arg0)
public <A, B> FamilyOptic<A, B>
applyO(FamilyOptic<A, B> arg0, Type<A> arg1, Type<B> arg2)
private <T, A, B> TypedOptic<T, T, A, B>
makeIgnoreOptic(Type<T> arg0, Type<A> arg1, Type<B> arg2)
public <FT, FR> Either<TypeTemplate, Type$FieldNotFoundException>
findFieldOrType(int arg0, String arg1, Type<FT> arg2, Type<FR> arg3)
public IntFunction<RewriteResult<?, ?>>
hmap(TypeFamily arg0, IntFunction<RewriteResult<?, ?>> arg1)
public Type<?>
type()