Uses of Interface
alexiil.mc.lib.attributes.BlockEntityAttributeAdder
Packages that use BlockEntityAttributeAdder
-
Uses of BlockEntityAttributeAdder in alexiil.mc.lib.attributes
Classes in alexiil.mc.lib.attributes that implement BlockEntityAttributeAdderModifier and TypeClassDescriptionstatic class
Base class forBlockEntityAttributeAdder.BlockEntityAttributeAdderFN
conversions.Methods in alexiil.mc.lib.attributes that return BlockEntityAttributeAdderModifier and TypeMethodDescriptionstatic <AT> BlockEntityAttributeAdder<AT,
net.minecraft.block.entity.BlockEntity> BlockEntityAttributeAdder.ofBasic
(BlockEntityAttributeAdder.BlockEntityAttributeAdderFN<AT, net.minecraft.block.entity.BlockEntity> fn) Creates a fullBlockEntityAttributeAdder
from theFunctionalInterface
variant, but only allows targetingBlockEntity
directly.static <AT,
BE> BlockEntityAttributeAdder<AT, BE> BlockEntityAttributeAdder.ofTyped
(Class<BE> clazz, BlockEntityAttributeAdder.BlockEntityAttributeAdderFN<AT, BE> fn) Creates a fullBlockEntityAttributeAdder
from theFunctionalInterface
variant, and aClass
to target.Methods in alexiil.mc.lib.attributes with parameters of type BlockEntityAttributeAdderModifier and TypeMethodDescriptionfinal <BE extends net.minecraft.block.entity.BlockEntity>
voidAttribute.setBlockEntityAdder
(AttributeSourceType sourceType, net.minecraft.block.entity.BlockEntityType<BE> type, BlockEntityAttributeAdder<T, BE> adder) Sets theBlockEntityAttributeAdder
for the given block entity type, which is only used if the block entity in question doesn't implementAttributeProviderBlockEntity
.