registerIotaHolderProvider

abstract fun registerIotaHolderProvider(@NotNull id: @NotNull ResourceLocation, @NotNull provider: @NotNull IotaHolderProvider): Boolean(source)

Registers an iota holder provider for a block to be used with IoticBlocks' read/write block patterns.

NOTE: you should implement IotaHolderProvider on the block or ADIotaHolder on the block entity if possible. This method should only be used in cases where that's not feasible, such as an optional hex dependency or adding a provider to another mod's block.

Return

if the holder was successfully registered

Parameters

id

the resloc/id for the block (eg minecraft:stone)

See also