Advertisement
Guest User

Untitled

a guest
Mar 10th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.92 KB | None | 0 0
  1. package net.theviolentsquirrels.questsystem.block;
  2.  
  3. import net.minecraft.block.Block;
  4. import net.minecraftforge.fml.common.registry.GameRegistry;
  5. import net.theviolentsquirrels.questsystem.Reference;
  6.  
  7. @GameRegistry.ObjectHolder(Reference.MODID)
  8. public final class              BlockHandler {
  9.     public static final Block   blockBarrel = new BlockBarrel(Reference.BlockNames.BLOCK_BARREL);
  10.     public static final Block   blockSieve = new BlockSieve(Reference.BlockNames.BLOCK_SIEVE);
  11.  
  12.  
  13.     /**                         Harvest blocks **/
  14.     public static final Block   blockBarleyCrop = new BlockBarleyCrop();
  15.  
  16.     public static void          initialize() {
  17.         GameRegistry.registerBlock(blockBarrel, Reference.BlockNames.BLOCK_BARREL);
  18.         GameRegistry.registerBlock(blockSieve, Reference.BlockNames.BLOCK_SIEVE);
  19.  
  20.         GameRegistry.registerBlock(blockBarleyCrop, Reference.BlockNames.BLOCK_BARLEY_CROP);
  21.     }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement