Class IngredientComponentCapabilityAttacherAdapter<T,M>
java.lang.Object
org.cyclops.commoncapabilities.api.ingredient.capability.IngredientComponentCapabilityAttacherAdapter<T,M>
- All Implemented Interfaces:
IIngredientComponentCapabilityAttacher<T,M>
public abstract class IngredientComponentCapabilityAttacherAdapter<T,M>
extends Object
implements IIngredientComponentCapabilityAttacher<T,M>
A base implementation of
IIngredientComponentCapabilityAttacher.-
Constructor Summary
ConstructorsConstructorDescriptionIngredientComponentCapabilityAttacherAdapter(net.minecraft.resources.ResourceLocation targetName, IngredientComponentCapability<?, ?> capability) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cyclops.commoncapabilities.api.ingredient.capability.IIngredientComponentCapabilityAttacher
createCapabilityProvider
-
Constructor Details
-
IngredientComponentCapabilityAttacherAdapter
public IngredientComponentCapabilityAttacherAdapter(net.minecraft.resources.ResourceLocation targetName, IngredientComponentCapability<?, ?> capability)
-
-
Method Details
-
getTargetName
public net.minecraft.resources.ResourceLocation getTargetName()- Specified by:
getTargetNamein interfaceIIngredientComponentCapabilityAttacher<T,M> - Returns:
- The unique name of the capability to attach to.
-
getCapability
- Specified by:
getCapabilityin interfaceIIngredientComponentCapabilityAttacher<T,M> - Returns:
- The capability to attach for.
-