Uses of Class
alexiil.mc.lib.attributes.AttributeList
| Package | Description |
|---|---|
| alexiil.mc.lib.attributes | |
| alexiil.mc.lib.attributes.fluid |
The base package for
fluid management. |
| alexiil.mc.lib.attributes.item |
-
Uses of AttributeList in alexiil.mc.lib.attributes
Methods in alexiil.mc.lib.attributes that return AttributeList Modifier and Type Method Description AttributeList<T>Attribute. getAll(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos)AttributeList<T>Attribute. getAll(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, SearchOption<? super T> searchParam)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 AttributeList Modifier and Type Method Description voidBlockEntityAttributeAdder. 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.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.TAttributeList. combine(AttributeList<T> after, CombinableAttribute<T> combinable)TItemAttributeList. 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 AttributeList Modifier and Type Method Description default voidFixedFluidInvView. offerSelfAsAttribute(AttributeList<?> list, CacheInfo cacheInfo, net.minecraft.util.shape.VoxelShape shape)Deprecated.Because this functionality has been fully replaced byConvertibleand it's usage inAttributeList. -
Uses of AttributeList in alexiil.mc.lib.attributes.item
Methods in alexiil.mc.lib.attributes.item with parameters of type AttributeList Modifier and Type Method Description default voidFixedItemInvView. offerSelfAsAttribute(AttributeList<?> list, CacheInfo cacheInfo, net.minecraft.util.shape.VoxelShape shape)Deprecated.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.