Uses of Interface
alexiil.mc.lib.attributes.BlockEntityAttributeAdder
| Package | Description |
|---|---|
| alexiil.mc.lib.attributes |
-
Uses of BlockEntityAttributeAdder in alexiil.mc.lib.attributes
Classes in alexiil.mc.lib.attributes that implement BlockEntityAttributeAdder Modifier and Type Class Description static classBlockEntityAttributeAdder.BeAdderBase<AT,BE>Base class forBlockEntityAttributeAdder.BlockEntityAttributeAdderFNconversions.Methods in alexiil.mc.lib.attributes that return BlockEntityAttributeAdder Modifier and Type Method Description static <AT> BlockEntityAttributeAdder<AT,net.minecraft.block.entity.BlockEntity>BlockEntityAttributeAdder. ofBasic(BlockEntityAttributeAdder.BlockEntityAttributeAdderFN<AT,net.minecraft.block.entity.BlockEntity> fn)Creates a fullBlockEntityAttributeAdderfrom theFunctionalInterfacevariant, but only allows targetingBlockEntitydirectly.static <AT, BE> BlockEntityAttributeAdder<AT,BE>BlockEntityAttributeAdder. ofTyped(java.lang.Class<BE> clazz, BlockEntityAttributeAdder.BlockEntityAttributeAdderFN<AT,BE> fn)Creates a fullBlockEntityAttributeAdderfrom theFunctionalInterfacevariant, and aClassto target.Methods in alexiil.mc.lib.attributes with parameters of type BlockEntityAttributeAdder Modifier and Type Method Description <BE extends net.minecraft.block.entity.BlockEntity>
voidAttribute. setBlockEntityAdder(AttributeSourceType sourceType, net.minecraft.block.entity.BlockEntityType<BE> type, BlockEntityAttributeAdder<T,BE> adder)Sets theBlockEntityAttributeAdderfor the given block entity type, which is only used if the block entity in question doesn't implementAttributeProviderBlockEntity.