Uses of Class
alexiil.mc.lib.attributes.AttributeList
Package
Description
The base package for
fluid
management.-
Uses of AttributeList in alexiil.mc.lib.attributes
Modifier and TypeMethodDescriptionAttribute.getAll(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos)
Attribute.getAll(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, SearchOption<? super T> searchParam)
Attribute.getAllFromNeighbour(net.minecraft.block.entity.BlockEntity be, net.minecraft.util.math.Direction dir)
Shorter method call for the common case of: BlockEntity be = ...; Direction dir = ...; Attribute<T> attr = ...; AttributeList<T> list = attr.getAll
(be.getWorld(), be.getPos().offset(dir),SearchOptions.inDirection
(dir));Modifier and TypeMethodDescriptionvoid
BlockEntityAttributeAdder.addAll(BE blockEntity, AttributeList<AT> to)
Adds every attribute instance to the given list that the block entity itself cannot be expected to add support for.void
BlockEntityAttributeAdder.BeAdderBase.addAll(BE blockEntity, AttributeList<AT> to)
void
BlockEntityAttributeAdder.BlockEntityAttributeAdderFN.addAll(BE blockEntity, AttributeList<AT> to)
Adds every attribute instance to the given list that the block entity itself cannot be expected to add support for.void
CustomAttributeAdder.addAll(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.BlockState state, AttributeList<T> to)
Adds every attribute instance to the given list that the block itself cannot be expected to add support for.void
AttributeProvider.addAllAttributes(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.BlockState state, AttributeList<?> to)
Adds every instance of the given attribute in this block to the resulting list.void
AttributeProviderBlockEntity.addAllAttributes(AttributeList<?> to)
Adds every instance of the given attribute in this block entity to the resulting list.AttributeList.combine(AttributeList<T> after, CombinableAttribute<T> combinable)
ItemAttributeList.combine(AttributeList<T> after, CombinableAttribute<T> combinable)
-
Uses of AttributeList in alexiil.mc.lib.attributes.fluid
Modifier and TypeMethodDescriptiondefault void
FixedFluidInvView.offerSelfAsAttribute(AttributeList<?> list, CacheInfo cacheInfo, net.minecraft.util.shape.VoxelShape shape)
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of AttributeList in alexiil.mc.lib.attributes.item
Modifier and TypeMethodDescriptiondefault void
FixedItemInvView.offerSelfAsAttribute(AttributeList<?> list, CacheInfo cacheInfo, net.minecraft.util.shape.VoxelShape shape)
Deprecated, for removal: This API element is subject to removal in a future version.Because this functionality has been fully replaced byConvertible
and it's usage inAttributeList
, so you can always just offer this object directly to the attribute list.
Convertible
and it's usage inAttributeList
.