Skip to content

AConditionsPlatform

actual object AConditionsPlatform

Types

NeoForgeCondition

class NeoForgeCondition(val condition: IACondition) : ICondition

NeoForgeConditionalRecipeOutput

class NeoForgeConditionalRecipeOutput(inner: RecipeOutput, condition: ICondition) : RecipeOutput

NeoForgeConditionCodec

Properties

archie

val ICondition.archie: IACondition

neoforge

Functions

codec

actual fun codec(): Codec<IACondition>

fabricRecipeProvider

actual fun fabricRecipeProvider(child: ARecipeProvider, registries: CompletableFuture<HolderLookup.Provider>): RecipeProvider?

register

actual fun register(identifier: ResourceLocation, codec: MapCodec<out IACondition>)

withCondition

actual fun withCondition(output: RecipeOutput, condition: IACondition): RecipeOutput