Package alexiil.mc.lib.attributes.misc
package alexiil.mc.lib.attributes.misc
-
InterfaceDescriptionAn
Object
that combines several sub objects of one type into a single object of the same type.A type ofConsumer
that may or may not accept a given input.Marker interface for the various null-like implementations of item and fluid inventories.AnObject
that wraps an object of a different type into some other type.Reference<T>A reference to some object.An object that can be saved and loaded (in place, unlike fluid keys or volumes which must be loaded from a specialised static method).SpecialistReference
interface forItemStack
s. -
ClassDescriptionImplementation helper class for LBA
Combined
.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)
.AReference
that can be modified untilDestroyableRef.destroy()
is called, after which all calls toDestroyableRef.set(Object)
andDestroyableRef.isValid(Object)
will return false.Ref<T>A variant ofCallableRef
that usesSupplier
forSimulatableRef.get()
, andLimitedConsumer
forSimulatableRef.set(Object)
andSimulatableRef.isValid(Object)
.AReference
that may be obtained throughUnmodifiableRef.get()
, but never allows the value to be changed inUnmodifiableRef.set(Object)
.