mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-16 21:13:11 +01:00
ca3cc00b85
Block reg refactor, part 1
20 lines
551 B
Java
20 lines
551 B
Java
package de.ellpeck.actuallyadditions.mod.blocks;
|
|
|
|
import net.minecraft.item.Item;
|
|
|
|
public interface IActuallyBlock {
|
|
/**
|
|
* Defaults to the default class for mc. Don't run this other than on setup
|
|
*
|
|
* @return this blocks item pair
|
|
*/
|
|
AABlockItem createBlockItem();
|
|
|
|
/**
|
|
* Defines the Block Item properties for all non-custom block items.
|
|
*
|
|
* @return block item properties for default block item.
|
|
* @see for implementation {@link #createBlockItem()}
|
|
*/
|
|
Item.Properties getItemProperties();
|
|
}
|