Modifier and Type | Method and Description |
---|---|
<T> T |
Entity.getCapability(Capability<T> capability,
EnumFacing facing) |
<T> T |
EntityLivingBase.getCapability(Capability<T> capability,
EnumFacing facing) |
boolean |
Entity.hasCapability(Capability<?> capability,
EnumFacing facing) |
boolean |
EntityLivingBase.hasCapability(Capability<?> capability,
EnumFacing facing) |
Modifier and Type | Method and Description |
---|---|
<T> T |
EntityMinecartContainer.getCapability(Capability<T> capability,
EnumFacing facing) |
boolean |
EntityMinecartContainer.hasCapability(Capability<?> capability,
EnumFacing facing) |
Modifier and Type | Method and Description |
---|---|
<T> T |
AbstractHorse.getCapability(Capability<T> capability,
EnumFacing facing) |
boolean |
AbstractHorse.hasCapability(Capability<?> capability,
EnumFacing facing) |
Modifier and Type | Method and Description |
---|---|
<T> T |
EntityPlayer.getCapability(Capability<T> capability,
EnumFacing facing) |
boolean |
EntityPlayer.hasCapability(Capability<?> capability,
EnumFacing facing) |
Modifier and Type | Method and Description |
---|---|
<T> T |
ItemStack.getCapability(Capability<T> capability,
EnumFacing facing) |
boolean |
ItemStack.hasCapability(Capability<?> capability,
EnumFacing facing) |
Modifier and Type | Method and Description |
---|---|
<T> T |
TileEntity.getCapability(Capability<T> capability,
EnumFacing facing) |
<T> T |
TileEntityFurnace.getCapability(Capability<T> capability,
EnumFacing facing) |
<T> T |
TileEntityLockable.getCapability(Capability<T> capability,
EnumFacing facing) |
<T> T |
TileEntityChest.getCapability(Capability<T> capability,
EnumFacing facing) |
<T> T |
TileEntityBrewingStand.getCapability(Capability<T> capability,
EnumFacing facing) |
boolean |
TileEntity.hasCapability(Capability<?> capability,
EnumFacing facing) |
boolean |
TileEntityLockable.hasCapability(Capability<?> capability,
EnumFacing facing) |
Modifier and Type | Method and Description |
---|---|
<T> T |
Village.getCapability(Capability<T> capability,
EnumFacing facing) |
boolean |
Village.hasCapability(Capability<?> capability,
EnumFacing facing) |
Modifier and Type | Method and Description |
---|---|
<T> T |
World.getCapability(Capability<T> capability,
EnumFacing facing) |
boolean |
World.hasCapability(Capability<?> capability,
EnumFacing facing) |
Modifier and Type | Method and Description |
---|---|
<T> T |
Chunk.getCapability(Capability<T> capability,
EnumFacing facing) |
boolean |
Chunk.hasCapability(Capability<?> capability,
EnumFacing facing) |
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 |
---|---|
<T> T |
CapabilityDispatcher.getCapability(Capability<T> capability,
EnumFacing facing) |
<T> T |
ICapabilityProvider.getCapability(Capability<T> capability,
EnumFacing facing)
Retrieves the handler for the capability requested on the specific side.
|
boolean |
CapabilityDispatcher.hasCapability(Capability<?> capability,
EnumFacing facing) |
boolean |
ICapabilityProvider.hasCapability(Capability<?> capability,
EnumFacing facing)
Determines if this object has support for the capability in question on the specific side.
|
void |
Capability.IStorage.readNBT(Capability<T> capability,
T instance,
EnumFacing side,
NBTBase nbt)
Read the capability instance from a NBT tag.
|
NBTBase |
Capability.IStorage.writeNBT(Capability<T> capability,
T instance,
EnumFacing side)
Serialize the capability instance to a NBTTag.
|
Modifier and Type | Field and Description |
---|---|
static Capability<IAnimationStateMachine> |
CapabilityAnimation.ANIMATION_CAPABILITY |
Modifier and Type | Method and Description |
---|---|
<T> T |
CapabilityAnimation.DefaultItemAnimationCapabilityProvider.getCapability(Capability<T> capability,
EnumFacing facing) |
boolean |
CapabilityAnimation.DefaultItemAnimationCapabilityProvider.hasCapability(Capability<?> capability,
EnumFacing facing) |
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> T |
TileFluidHandler.getCapability(Capability<T> capability,
EnumFacing facing) |
boolean |
TileFluidHandler.hasCapability(Capability<?> capability,
EnumFacing facing) |
void |
CapabilityFluidHandler.DefaultFluidHandlerStorage.readNBT(Capability<T> capability,
T instance,
EnumFacing side,
NBTBase nbt) |
NBTBase |
CapabilityFluidHandler.DefaultFluidHandlerStorage.writeNBT(Capability<T> capability,
T instance,
EnumFacing side) |
Modifier and Type | Method and Description |
---|---|
<T> T |
FluidHandlerItemStack.getCapability(Capability<T> capability,
EnumFacing facing) |
<T> T |
FluidHandlerItemStackSimple.getCapability(Capability<T> capability,
EnumFacing facing) |
boolean |
FluidHandlerItemStack.hasCapability(Capability<?> capability,
EnumFacing facing) |
boolean |
FluidHandlerItemStackSimple.hasCapability(Capability<?> capability,
EnumFacing facing) |
Modifier and Type | Method and Description |
---|---|
<T> T |
FluidBucketWrapper.getCapability(Capability<T> capability,
EnumFacing facing) |
boolean |
FluidBucketWrapper.hasCapability(Capability<?> capability,
EnumFacing facing) |
Modifier and Type | Field and Description |
---|---|
static Capability<IItemHandler> |
CapabilityItemHandler.ITEM_HANDLER_CAPABILITY |