Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.wither.withermod.blocks.crops;
- import com.wither.withermod.items.ItemRegistry;
- import net.minecraft.block.BlockCrops;
- import net.minecraft.creativetab.CreativeTabs;
- import net.minecraft.item.Item;
- public class Corn extends BlockCrops{
- public Corn(String name){
- this.setUnlocalizedName(name);
- }
- public Item getSeed(){
- return ItemRegistry.cornSeeds;
- }
- public Item getCrop(){
- return ItemRegistry.cornFood;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement