Interface Reference<T>

All Known Subinterfaces:
StackReference
All Known Implementing Classes:
CallableRef, DestroyableRef, Ref, SimulatableRef, SingleCopyingItemSlot, SingleFluidTank, SingleItemSlot, UnmodifiableRef

public interface Reference<T>
A reference to some object. The object can either be obtained from (get()), or changed with (set(Object)). Note that changing the object isn't always permitted, and so it may return false if no change happened.

Most users will only need to construct Ref instances to create a Reference, which is a simple reference that stores the object in a public modifiable field. However there are also 4 other basic implementations: