Package alexiil.mc.lib.attributes.misc
-
Interface Summary Interface Description Combined AnObjectthat combines several sub objects of one type into a single object of the same type.LimitedConsumer<T> A type ofConsumerthat may or may not accept a given input.NullVariant Marker interface for the various null-like implementations of item and fluid inventories.OpenWrapper AnObjectthat wraps an object of a different type into some other type.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 SpecialistReferenceinterface forItemStacks. -
Class Summary Class Description AbstractCombined<T> Implementation helper class for LBACombined.AbstractItemBasedAttribute Skeleton class for use when exposing an attribute (like a fluid inventory) from an item that is contained in a reference.CallableRef<T> AReferencethat delegates to aSupplierforCallableRef.get(),ConsumerforCallableRef.set(Object), and aPredicateforCallableRef.isValid(Object).DestroyableRef<T> AReferencethat 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 ofCallableRefthat usesSupplierforSimulatableRef.get(), andLimitedConsumerforSimulatableRef.set(Object)andSimulatableRef.isValid(Object).UnmodifiableRef<T> AReferencethat may be obtained throughUnmodifiableRef.get(), but never allows the value to be changed inUnmodifiableRef.set(Object). -
Enum Summary Enum Description LibBlockAttributes.LbaModule