Modifier and Type | Method and Description |
---|---|
<T> LazyOptional<T> |
LivingEntity.getCapability(Capability<T> capability,
Direction facing) |
Modifier and Type | Method and Description |
---|---|
<T> LazyOptional<T> |
ContainerMinecartEntity.getCapability(Capability<T> capability,
Direction facing) |
Modifier and Type | Method and Description |
---|---|
<T> LazyOptional<T> |
AbstractHorseEntity.getCapability(Capability<T> capability,
Direction facing) |
Modifier and Type | Method and Description |
---|---|
<T> LazyOptional<T> |
PlayerEntity.getCapability(Capability<T> capability,
Direction facing) |
Modifier and Type | Method and Description |
---|---|
<T> LazyOptional<T> |
ChestTileEntity.getCapability(Capability<T> cap,
Direction side) |
<T> LazyOptional<T> |
BrewingStandTileEntity.getCapability(Capability<T> capability,
Direction facing) |
<T> LazyOptional<T> |
AbstractFurnaceTileEntity.getCapability(Capability<T> capability,
Direction facing) |
<T> LazyOptional<T> |
LockableTileEntity.getCapability(Capability<T> cap,
Direction side) |
Modifier and Type | Field and 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 |
Modifier and Type | Method and Description |
---|---|
default <T> LazyOptional<T> |
ICapabilityProvider.getCapability(Capability<T> cap) |
<T> LazyOptional<T> |
CapabilityProvider.getCapability(Capability<T> cap,
Direction side) |
<T> LazyOptional<T> |
CapabilityDispatcher.getCapability(Capability<T> cap,
Direction side) |
<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.
|
Modifier and Type | Method and 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) |
Modifier and Type | Field and Description |
---|---|
static Capability<IAnimationStateMachine> |
CapabilityAnimation.ANIMATION_CAPABILITY |
Modifier and Type | Method and Description |
---|---|
<T> LazyOptional<T> |
CapabilityAnimation.DefaultItemAnimationCapabilityProvider.getCapability(Capability<T> capability,
Direction facing) |
Modifier and Type | Field and Description |
---|---|
static Capability<MarkDimensionForDeletionTest.DynamicDimensionCap> |
MarkDimensionForDeletionTest.CAP |
Modifier and Type | Method and Description |
---|---|
<T> LazyOptional<T> |
MarkDimensionForDeletionTest.DynamicDimensionCap.getCapability(Capability<T> cap,
Direction side) |
void |
MarkDimensionForDeletionTest.DynamicDimensionCap.Storage.readNBT(Capability<MarkDimensionForDeletionTest.DynamicDimensionCap> capability,
MarkDimensionForDeletionTest.DynamicDimensionCap instance,
Direction side,
INBT nbt) |
INBT |
MarkDimensionForDeletionTest.DynamicDimensionCap.Storage.writeNBT(Capability<MarkDimensionForDeletionTest.DynamicDimensionCap> capability,
MarkDimensionForDeletionTest.DynamicDimensionCap instance,
Direction side) |
Modifier and Type | Field and Description |
---|---|
static Capability<IEnergyStorage> |
CapabilityEnergy.ENERGY |
Modifier and Type | Field and Description |
---|---|
static Capability<IFluidHandler> |
CapabilityFluidHandler.FLUID_HANDLER_CAPABILITY |
static Capability<IFluidHandlerItem> |
CapabilityFluidHandler.FLUID_HANDLER_ITEM_CAPABILITY |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
<T> LazyOptional<T> |
FluidHandlerItemStackSimple.getCapability(Capability<T> capability,
Direction facing) |
<T> LazyOptional<T> |
FluidHandlerItemStack.getCapability(Capability<T> capability,
Direction facing) |
Modifier and Type | Method and Description |
---|---|
<T> LazyOptional<T> |
FluidBucketWrapper.getCapability(Capability<T> capability,
Direction facing) |
Modifier and Type | Field and Description |
---|---|
static Capability<IItemHandler> |
CapabilityItemHandler.ITEM_HANDLER_CAPABILITY |