Package alexiil.mc.lib.attributes
-
Interface Summary Interface Description AttributeCombiner<T> AttributeProvider ABlock
that contains attributes.AttributeProviderBlockEntity ABlockEntity
that contains attributes.AttributeProviderItem AnItem
that contains attributes.BlockEntityAttributeAdder<AT,BE> Base interface to add attributes forBlockEntity
s that you haven't defined.BlockEntityAttributeAdder.BlockEntityAttributeAdderFN<AT,BE> FunctionalInterface
version ofBlockEntityAttributeAdder
.Convertible Simple interface for converting this object into anotherClass
.CustomAttributeAdder<T> ItemAttributeAdder<T> ListenerRemovalToken A token for any registered listener in LibBlockAttributes.ListenerToken A token for any registered listener in LibBlockAttributes. -
Class Summary Class Description AbstractAttributeList<T> The base class forAttributeList
andItemAttributeList
.Attribute<T> The central holding class for all attribute instances.AttributeList<T> Search result for block attributes.Attributes Static factories forAttribute
instances.AttributeUtil Misleadingly named class: this only stores the boolean checkerAttributeUtil.EXPENSIVE_DEBUG_CHECKS
, and doesn't actually have any other utility methods.BlockEntityAttributeAdder.BeAdderBase<AT,BE> Base class forBlockEntityAttributeAdder.BlockEntityAttributeAdderFN
conversions.CacheInfo Placeholder class until caches are worked out.CombinableAttribute<T> ADefaultedAttribute
that also provides a "get" method to combine every found attribute into a single one, using anAttributeCombiner
.CompatLeveledMap<Instance,Cls,V> Used primarily byAttribute
to manage the custom adder list, andFluidContainerRegistry
to manage filters for fluids.CompatLeveledMap.ValueEntry<V> DefaultedAttribute<T> ItemAttributeList<T> SearchOption<T> The base class for block search options.SearchOptionDirectional<T> SearchOptionDirectionalVoxel<T> SearchOptionInVoxel<T> SearchOptions Various methods for creatingSearchOption
instances. -
Enum Summary Enum Description AggregateFilterType AttributeSourceType Defines the priority used for custom attribute adders.Simulation Used in various places for testing [...]