Uses of Class
net.minecraftforge.common.capabilities.Capability
Package
Description
-
Uses of Capability in net.minecraft.world.entity
Modifier and TypeMethodDescription<T> LazyOptional<T>
LivingEntity.getCapability(Capability<T> capability, Direction facing)
-
Uses of Capability in net.minecraft.world.entity.animal.horse
Modifier and TypeMethodDescription<T> LazyOptional<T>
AbstractHorse.getCapability(Capability<T> capability, Direction facing)
-
Uses of Capability in net.minecraft.world.entity.player
Modifier and TypeMethodDescription<T> LazyOptional<T>
Player.getCapability(Capability<T> capability, Direction facing)
-
Uses of Capability in net.minecraft.world.entity.vehicle
Modifier and TypeMethodDescription<T> LazyOptional<T>
AbstractMinecartContainer.getCapability(Capability<T> capability, Direction facing)
-
Uses of Capability in net.minecraft.world.level.block.entity
Modifier and TypeMethodDescription<T> LazyOptional<T>
AbstractFurnaceBlockEntity.getCapability(Capability<T> capability, Direction facing)
<T> LazyOptional<T>
BaseContainerBlockEntity.getCapability(Capability<T> cap, Direction side)
<T> LazyOptional<T>
BrewingStandBlockEntity.getCapability(Capability<T> capability, Direction facing)
<T> LazyOptional<T>
ChestBlockEntity.getCapability(Capability<T> cap, Direction side)
-
Uses of Capability in net.minecraftforge.common.capabilities
Modifier and TypeFieldDescription(package private) List<Consumer<Capability<T>>>
Capability.listeners
private IdentityHashMap<String,Capability<?>>
CapabilityManager.providers
Modifier and TypeMethodDescriptionCapability.addListener(Consumer<Capability<T>> listener)
Adds a listener to be called when someone registers this capability.(package private) <T> Capability<T>
static <T> Capability<T>
CapabilityManager.get(CapabilityToken<T> type)
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)
Modifier and TypeMethodDescriptionCapability.addListener(Consumer<Capability<T>> listener)
Adds a listener to be called when someone registers this capability.private void
CapabilityManager.gatherCallbacks(Map<String,List<Function<Capability<?>,Object>>> callbacks, net.minecraftforge.forgespi.language.ModFileScanData.AnnotationData annotationData)
-
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)
-
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