void |
Attribute.addBlockEntityPredicateAdder(AttributeSourceType sourceType,
boolean specific,
java.util.function.Predicate<net.minecraft.block.entity.BlockEntityType<?>> filter,
BlockEntityAttributeAdder.BlockEntityAttributeAdderFN<T,net.minecraft.block.entity.BlockEntity> adder) |
Predicate -based block entity attribute adder.
|
static <AT> BlockEntityAttributeAdder<AT,net.minecraft.block.entity.BlockEntity> |
BlockEntityAttributeAdder.ofBasic(BlockEntityAttributeAdder.BlockEntityAttributeAdderFN<AT,net.minecraft.block.entity.BlockEntity> fn) |
Creates a full BlockEntityAttributeAdder from the FunctionalInterface variant, but only allows
targeting BlockEntity directly.
|
static <AT,
BE> BlockEntityAttributeAdder<AT,BE> |
BlockEntityAttributeAdder.ofTyped(java.lang.Class<BE> clazz,
BlockEntityAttributeAdder.BlockEntityAttributeAdderFN<AT,BE> fn) |
|
<BE> void |
Attribute.putBlockEntityClassAdder(AttributeSourceType sourceType,
java.lang.Class<BE> clazz,
boolean matchSubclasses,
BlockEntityAttributeAdder.BlockEntityAttributeAdderFN<T,BE> adder) |
Class -based block entity attribute adder.
|
<BE extends net.minecraft.block.entity.BlockEntity> void |
Attribute.setBlockEntityAdder(AttributeSourceType sourceType,
net.minecraft.block.entity.BlockEntityType<BE> type,
java.lang.Class<BE> clazz,
BlockEntityAttributeAdder.BlockEntityAttributeAdderFN<T,BE> adder) |
|
void |
Attribute.setBlockEntityAdderFN(AttributeSourceType sourceType,
net.minecraft.block.entity.BlockEntityType<?> type,
BlockEntityAttributeAdder.BlockEntityAttributeAdderFN<T,net.minecraft.block.entity.BlockEntity> adder) |
|