Uses of Class
net.minecraftforge.common.capabilities.Capability
-
-
Uses of Capability in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type Capability Modifier and Type Method Description <T> LazyOptional<T>
LivingEntity. getCapability(Capability<T> capability, Direction facing)
-
Uses of Capability in net.minecraft.entity.item.minecart
Methods in net.minecraft.entity.item.minecart with parameters of type Capability Modifier and Type Method Description <T> LazyOptional<T>
ContainerMinecartEntity. getCapability(Capability<T> capability, Direction facing)
-
Uses of Capability in net.minecraft.entity.passive.horse
Methods in net.minecraft.entity.passive.horse with parameters of type Capability Modifier and Type Method Description <T> LazyOptional<T>
AbstractHorseEntity. getCapability(Capability<T> capability, Direction facing)
-
Uses of Capability in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type Capability Modifier and Type Method Description <T> LazyOptional<T>
PlayerEntity. getCapability(Capability<T> capability, Direction facing)
-
Uses of Capability in net.minecraft.tileentity
Methods in net.minecraft.tileentity with parameters of type Capability Modifier and Type Method Description <T> LazyOptional<T>
AbstractFurnaceTileEntity. getCapability(Capability<T> capability, Direction facing)
<T> LazyOptional<T>
BrewingStandTileEntity. getCapability(Capability<T> capability, Direction facing)
<T> LazyOptional<T>
ChestTileEntity. getCapability(Capability<T> cap, Direction side)
<T> LazyOptional<T>
LockableTileEntity. getCapability(Capability<T> cap, Direction side)
-
Uses of Capability in net.minecraftforge.common.capabilities
Fields in net.minecraftforge.common.capabilities with type parameters of type Capability Modifier and Type Field Description private java.util.IdentityHashMap<java.lang.String,java.util.List<java.util.function.Function<Capability<?>,java.lang.Object>>>
CapabilityManager. callbacks
private java.util.IdentityHashMap<java.lang.String,Capability<?>>
CapabilityManager. providers
Methods in net.minecraftforge.common.capabilities with parameters of type Capability Modifier and Type Method Description <T> LazyOptional<T>
CapabilityDispatcher. getCapability(Capability<T> cap, Direction side)
<T> LazyOptional<T>
CapabilityProvider. getCapability(Capability<T> cap, Direction side)
default <T> LazyOptional<T>
ICapabilityProvider. getCapability(Capability<T> cap)
<T> LazyOptional<T>
ICapabilityProvider. getCapability(Capability<T> cap, Direction side)
Retrieves the Optional handler for the capability requested on the specific side.<R> LazyOptional<R>
Capability. orEmpty(Capability<R> toCheck, LazyOptional<T> inst)
void
Capability.IStorage. readNBT(Capability<T> capability, T instance, Direction side, INBT nbt)
Read the capability instance from a NBT tag.INBT
Capability.IStorage. writeNBT(Capability<T> capability, T instance, Direction side)
Serialize the capability instance to a NBTTag.Method parameters in net.minecraftforge.common.capabilities with type arguments of type Capability Modifier and Type Method Description private static void
CapabilityManager. attachCapabilityToMethod(java.util.Map<java.lang.String,java.util.List<java.util.function.Function<Capability<?>,java.lang.Object>>> cbs, net.minecraftforge.forgespi.language.ModFileScanData.AnnotationData entry)
-
Uses of Capability in net.minecraftforge.common.model.animation
Fields in net.minecraftforge.common.model.animation declared as Capability Modifier and Type Field Description static Capability<IAnimationStateMachine>
CapabilityAnimation. ANIMATION_CAPABILITY
Methods in net.minecraftforge.common.model.animation with parameters of type Capability Modifier and Type Method Description <T> LazyOptional<T>
CapabilityAnimation.DefaultItemAnimationCapabilityProvider. getCapability(Capability<T> capability, Direction facing)
-
Uses of Capability in net.minecraftforge.energy
Fields in net.minecraftforge.energy declared as Capability Modifier and Type Field Description static Capability<IEnergyStorage>
CapabilityEnergy. ENERGY
-
Uses of Capability in net.minecraftforge.fluids.capability
Fields in net.minecraftforge.fluids.capability declared as Capability Modifier and Type Field Description static Capability<IFluidHandler>
CapabilityFluidHandler. FLUID_HANDLER_CAPABILITY
static Capability<IFluidHandlerItem>
CapabilityFluidHandler. FLUID_HANDLER_ITEM_CAPABILITY
Methods in net.minecraftforge.fluids.capability with parameters of type Capability Modifier and Type Method Description <T> LazyOptional<T>
TileFluidHandler. getCapability(Capability<T> capability, Direction facing)
void
CapabilityFluidHandler.DefaultFluidHandlerStorage. readNBT(Capability<T> capability, T instance, Direction side, INBT nbt)
INBT
CapabilityFluidHandler.DefaultFluidHandlerStorage. writeNBT(Capability<T> capability, T instance, Direction side)
-
Uses of Capability in net.minecraftforge.fluids.capability.templates
Methods in net.minecraftforge.fluids.capability.templates with parameters of type Capability Modifier and Type Method Description <T> LazyOptional<T>
FluidHandlerItemStack. getCapability(Capability<T> capability, Direction facing)
<T> LazyOptional<T>
FluidHandlerItemStackSimple. getCapability(Capability<T> capability, Direction facing)
-
Uses of Capability in net.minecraftforge.fluids.capability.wrappers
Methods in net.minecraftforge.fluids.capability.wrappers with parameters of type Capability Modifier and Type Method Description <T> LazyOptional<T>
FluidBucketWrapper. getCapability(Capability<T> capability, Direction facing)
-
Uses of Capability in net.minecraftforge.items
Fields in net.minecraftforge.items declared as Capability Modifier and Type Field Description static Capability<IItemHandler>
CapabilityItemHandler. ITEM_HANDLER_CAPABILITY
-