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
ConstructorDescriptionIngredientComponentCapabilityAttacherAdapter
(net.minecraft.resources.ResourceLocation targetName, net.minecraft.resources.ResourceLocation capabilityProviderName) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocation
net.minecraft.resources.ResourceLocation
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.cyclops.commoncapabilities.api.ingredient.capability.IIngredientComponentCapabilityAttacher
createCapabilityProvider
-
Constructor Details
-
IngredientComponentCapabilityAttacherAdapter
public IngredientComponentCapabilityAttacherAdapter(net.minecraft.resources.ResourceLocation targetName, net.minecraft.resources.ResourceLocation capabilityProviderName)
-
-
Method Details
-
getTargetName
public net.minecraft.resources.ResourceLocation getTargetName()- Specified by:
getTargetName
in interfaceIIngredientComponentCapabilityAttacher<T,
M> - Returns:
- The unique name of the capability to attach to.
-
getCapabilityProviderName
public net.minecraft.resources.ResourceLocation getCapabilityProviderName()- Specified by:
getCapabilityProviderName
in interfaceIIngredientComponentCapabilityAttacher<T,
M> - Returns:
- An internally unique name for the capability provider that will be attached.
-