Interface ResourceConditionType<T extends ResourceCondition>

Type Parameters:
T - the type of ResourceCondition

public interface ResourceConditionType<T extends ResourceCondition>
A type of resource conditions.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.Codec<ResourceConditionType<?>>
    A codec used to serialize the condition type.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.serialization.MapCodec<T>
     
    create(Identifier id, com.mojang.serialization.MapCodec<T> codec)
    Creates a resource condition type.
    id()