inline item registry blocks
This commit is contained in:
parent
34a3f52b50
commit
9ee7f5483b
73 changed files with 453 additions and 243 deletions
|
@ -11,8 +11,10 @@ import common.init.Blocks;
|
|||
import common.init.ItemRegistry;
|
||||
import common.init.Items;
|
||||
import common.item.Item;
|
||||
import common.item.ItemDoublePlant;
|
||||
import common.item.ItemShears;
|
||||
import common.item.ItemStack;
|
||||
import common.item.ItemTNT;
|
||||
import common.model.Model;
|
||||
import common.model.ModelProvider;
|
||||
import common.properties.Property;
|
||||
|
@ -299,6 +301,10 @@ public class BlockDoublePlant extends BlockBush implements Rotatable, IGrowable
|
|||
public Property<?>[] getIgnoredProperties() {
|
||||
return new Property[] {FACING};
|
||||
}
|
||||
|
||||
public Item getItemToRegister() {
|
||||
return new ItemDoublePlant(this);
|
||||
}
|
||||
|
||||
public static enum EnumBlockHalf implements Identifyable
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue