Package alexiil.mc.lib.attributes.misc
-
Interface Summary Interface Description LimitedConsumer<T> A type ofConsumer
that may or may not accept a given input.NullVariant Marker interface for the various null-like implementations of item and fluid inventories.Reference<T> A reference to some object.Saveable An object that can be saved and loaded (in place, unlike fluid keys or volumes which must be loaded from a specialised static method).StackReference SpecialistReference
interface forItemStack
s. -
Class Summary Class Description AbstractItemBasedAttribute Skeleton class for use when exposing an attribute (like a fluid inventory) from an item that is contained in a reference.CallableRef<T> AReference
that delegates to aSupplier
forCallableRef.get()
,Consumer
forCallableRef.set(Object)
, and aPredicate
forCallableRef.isValid(Object)
.DestroyableRef<T> AReference
that can be modified untilDestroyableRef.destroy()
is called, after which all calls toDestroyableRef.set(Object)
andDestroyableRef.isValid(Object)
will return false.LibBlockAttributes PlayerInvUtil Ref<T> SimulatableRef<T> A variant ofCallableRef
that usesSupplier
forSimulatableRef.get()
, andLimitedConsumer
forSimulatableRef.set(Object)
andSimulatableRef.isValid(Object)
.UnmodifiableRef<T> AReference
that may be obtained throughUnmodifiableRef.get()
, but never allows the value to be changed inUnmodifiableRef.set(Object)
. -
Enum Summary Enum Description LibBlockAttributes.LbaModule