Uses of Class
alexiil.mc.lib.attributes.AttributeList
Packages that use AttributeList
Package
Description
The base package for
fluid management.-
Uses of AttributeList in alexiil.mc.lib.attributes
Methods in alexiil.mc.lib.attributes that return AttributeListModifier and TypeMethodDescriptionfinal AttributeList<T>Attribute.getAll(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos) final AttributeList<T>Attribute.getAll(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, SearchOption<? super T> searchParam) final AttributeList<T>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));Methods in alexiil.mc.lib.attributes with parameters of type AttributeListModifier and TypeMethodDescriptionvoidBlockEntityAttributeAdder.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.final voidBlockEntityAttributeAdder.BeAdderBase.addAll(BE blockEntity, AttributeList<AT> to) voidBlockEntityAttributeAdder.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.voidCustomAttributeAdder.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.voidAttributeProvider.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.voidAttributeProviderBlockEntity.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
Methods in alexiil.mc.lib.attributes.fluid with parameters of type AttributeListModifier and TypeMethodDescriptiondefault voidFixedFluidInvView.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
Methods in alexiil.mc.lib.attributes.item with parameters of type AttributeListModifier and TypeMethodDescriptiondefault voidFixedItemInvView.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 byConvertibleand it's usage inAttributeList, so you can always just offer this object directly to the attribute list.
Convertibleand it's usage inAttributeList.