Uses of Class
net.minecraftforge.common.capabilities.Capability
Package
Description
-
Uses of Capability in net.minecraft.entity
Modifier and TypeMethodDescription<T> LazyOptional<T>
LivingEntity.getCapability
(Capability<T> capability, Direction facing) -
Uses of Capability in net.minecraft.entity.item.minecart
Modifier and TypeMethodDescription<T> LazyOptional<T>
ContainerMinecartEntity.getCapability
(Capability<T> capability, Direction facing) -
Uses of Capability in net.minecraft.entity.passive.horse
Modifier and TypeMethodDescription<T> LazyOptional<T>
AbstractHorseEntity.getCapability
(Capability<T> capability, Direction facing) -
Uses of Capability in net.minecraft.entity.player
Modifier and TypeMethodDescription<T> LazyOptional<T>
PlayerEntity.getCapability
(Capability<T> capability, Direction facing) -
Uses of Capability in net.minecraft.tileentity
Modifier and TypeMethodDescription<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
Modifier and TypeFieldDescriptionprivate IdentityHashMap<String,
List<Function<Capability<?>, Object>>> CapabilityManager.callbacks
private final IdentityHashMap<String,
Capability<?>> CapabilityManager.providers
Modifier and TypeMethodDescription<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
Read the capability instance from a NBT tag.Capability.IStorage.writeNBT
(Capability<T> capability, T instance, Direction side) Serialize the capability instance to a NBTTag.Modifier and TypeMethodDescriptionprivate static void
CapabilityManager.attachCapabilityToMethod
(Map<String, List<Function<Capability<?>, Object>>> cbs, net.minecraftforge.forgespi.language.ModFileScanData.AnnotationData entry) -
Uses of Capability in net.minecraftforge.common.model.animation
Modifier and TypeFieldDescriptionstatic Capability<IAnimationStateMachine>
CapabilityAnimation.ANIMATION_CAPABILITY
Modifier and TypeMethodDescription<T> LazyOptional<T>
CapabilityAnimation.DefaultItemAnimationCapabilityProvider.getCapability
(Capability<T> capability, Direction facing) -
Uses of Capability in net.minecraftforge.energy
-
Uses of Capability in net.minecraftforge.fluids.capability
Modifier and TypeFieldDescriptionstatic Capability<IFluidHandler>
CapabilityFluidHandler.FLUID_HANDLER_CAPABILITY
static Capability<IFluidHandlerItem>
CapabilityFluidHandler.FLUID_HANDLER_ITEM_CAPABILITY
Modifier and TypeMethodDescription<T> LazyOptional<T>
TileFluidHandler.getCapability
(Capability<T> capability, Direction facing) void
CapabilityFluidHandler.DefaultFluidHandlerStorage.readNBT
(Capability<T> capability, T instance, Direction side, INBT nbt) CapabilityFluidHandler.DefaultFluidHandlerStorage.writeNBT
(Capability<T> capability, T instance, Direction side) -
Uses of Capability in net.minecraftforge.fluids.capability.templates
Modifier and TypeMethodDescription<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
Modifier and TypeMethodDescription<T> LazyOptional<T>
FluidBucketWrapper.getCapability
(Capability<T> capability, Direction facing) -
Uses of Capability in net.minecraftforge.items
Modifier and TypeFieldDescriptionstatic Capability<IItemHandler>
CapabilityItemHandler.ITEM_HANDLER_CAPABILITY