Class IngredientComponentCapability<T,C>
java.lang.Object
net.neoforged.neoforge.capabilities.BaseCapability<T,C>
org.cyclops.commoncapabilities.api.ingredient.capability.IngredientComponentCapability<T,C>
public class IngredientComponentCapability<T,C>
extends net.neoforged.neoforge.capabilities.BaseCapability<T,C>
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T,
C> IngredientComponentCapability <T, C> static <T> IngredientComponentCapability
<T, Void> createVoid
(net.minecraft.resources.ResourceLocation name, Class<T> typeClass) static List
<IngredientComponentCapability<?, ?>> getAll()
getCapability
(IngredientComponent<?, ?> ingredientComponent, C context) Methods inherited from class net.neoforged.neoforge.capabilities.BaseCapability
contextClass, name, typeClass
-
Method Details
-
create
public static <T,C> IngredientComponentCapability<T,C> create(net.minecraft.resources.ResourceLocation name, Class<T> typeClass, Class<C> contextClass) -
createVoid
public static <T> IngredientComponentCapability<T,Void> createVoid(net.minecraft.resources.ResourceLocation name, Class<T> typeClass) -
getAll
-
getCapability
-