public static class MarkDimensionForDeletionTest.DynamicDimensionCap extends java.lang.Object implements ICapabilitySerializable<CompoundNBT>
Modifier and Type | Class and Description |
---|---|
(package private) static class |
MarkDimensionForDeletionTest.DynamicDimensionCap.Storage |
Modifier and Type | Field and Description |
---|---|
DimensionType |
dimension |
private LazyOptional<MarkDimensionForDeletionTest.DynamicDimensionCap> |
instance |
Constructor and Description |
---|
DynamicDimensionCap() |
Modifier and Type | Method and Description |
---|---|
void |
deserializeNBT(CompoundNBT nbt) |
<T> LazyOptional<T> |
getCapability(Capability<T> cap,
Direction side)
Retrieves the Optional handler for the capability requested on the specific side.
|
CompoundNBT |
serializeNBT() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCapability
public DimensionType dimension
private final LazyOptional<MarkDimensionForDeletionTest.DynamicDimensionCap> instance
@Nonnull public <T> LazyOptional<T> getCapability(@Nonnull Capability<T> cap, @Nullable Direction side)
ICapabilityProvider
getCapability
in interface ICapabilityProvider
public CompoundNBT serializeNBT()
serializeNBT
in interface INBTSerializable<CompoundNBT>
public void deserializeNBT(CompoundNBT nbt)
deserializeNBT
in interface INBTSerializable<CompoundNBT>