Class KubeRecipeEventOps<T>

java.lang.Object
net.minecraft.resources.DelegatingOps<T>
net.minecraft.resources.RegistryOps<T>
net.neoforged.neoforge.common.conditions.ConditionalOps<T>
dev.latvian.mods.kubejs.recipe.KubeRecipeEventOps<T>
All Implemented Interfaces:
com.mojang.serialization.DynamicOps<T>

public class KubeRecipeEventOps<T> extends net.neoforged.neoforge.common.conditions.ConditionalOps<T>
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.resources.RegistryOps

    net.minecraft.resources.RegistryOps.HolderLookupAdapter, net.minecraft.resources.RegistryOps.RegistryInfo<T>, net.minecraft.resources.RegistryOps.RegistryInfoLookup
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.Codec<KubeRecipe>
     
     
    static final com.mojang.serialization.Codec<KubeRecipe>
     

    Fields inherited from class net.neoforged.neoforge.common.conditions.ConditionalOps

    CONDITIONAL_VALUE_KEY, DEFAULT_CONDITIONS_KEY

    Fields inherited from class net.minecraft.resources.RegistryOps

    lookupProvider

    Fields inherited from class net.minecraft.resources.DelegatingOps

    delegate
  • Constructor Summary

    Constructors
    Constructor
    Description
    KubeRecipeEventOps(RecipesKubeEvent event, net.minecraft.resources.RegistryOps<T> ops)
     
  • Method Summary

    Methods inherited from class net.neoforged.neoforge.common.conditions.ConditionalOps

    createConditionalCodec, createConditionalCodec, createConditionalCodecWithConditions, createConditionalCodecWithConditions, decodeListWithElementConditions, retrieveContext

    Methods inherited from class net.minecraft.resources.RegistryOps

    create, create, equals, getter, hashCode, injectRegistryContext, owner, retrieveElement, retrieveGetter, retrieveRegistryLookup, withParent

    Methods inherited from class net.minecraft.resources.DelegatingOps

    compressMaps, convertTo, createBoolean, createByte, createByteList, createDouble, createFloat, createInt, createIntList, createList, createLong, createLongList, createMap, createMap, createNumeric, createShort, createString, empty, emptyList, emptyMap, getBooleanValue, getByteBuffer, getIntStream, getList, getLongStream, getMap, getMapEntries, getMapValues, getNumberValue, getStream, getStringValue, listBuilder, mapBuilder, mergeToList, mergeToList, mergeToMap, mergeToMap, mergeToMap, mergeToPrimitive, remove

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.mojang.serialization.DynamicOps

    convertList, convertMap, get, getGeneric, getNumberValue, set, update, updateGeneric, withDecoder, withEncoder, withParser
  • Field Details

    • KUBE_RECIPE_CODEC

      public static final com.mojang.serialization.Codec<KubeRecipe> KUBE_RECIPE_CODEC
    • MARK_SYNTHETIC

      public static final Function<KubeRecipe,KubeRecipe> MARK_SYNTHETIC
    • SYNTHETIC_CODEC

      public static final com.mojang.serialization.Codec<KubeRecipe> SYNTHETIC_CODEC
  • Constructor Details

    • KubeRecipeEventOps

      public KubeRecipeEventOps(RecipesKubeEvent event, net.minecraft.resources.RegistryOps<T> ops)