Class ConditionalOps<T>

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

public class ConditionalOps<T> extends RegistryOps<T>
Extension of RegistryOps that also encapsulates a ICondition.IContext. This allows getting the ICondition.IContext while decoding an entry from within a codec.