Guest User

Class the adds the item to the fishing loot

a guest
Feb 7th, 2016
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.48 KB | None | 0 0
  1. package com.xiv.lib;
  2.  
  3. import net.minecraft.item.ItemStack;
  4. import net.minecraft.util.WeightedRandomFishable;
  5. import net.minecraftforge.common.FishingHooks;
  6. import com.xiv.lib.FFXIVMaterials;
  7.  
  8. public class FFXIVFish {
  9.    
  10.     public static void mainRegistry() {
  11.         addFish();
  12.     }
  13.         private static void addFish() {
  14.             WeightedRandomFishable CoralButter = new WeightedRandomFishable(new ItemStack(FFXIVMaterials.CoralButterfly), 80);
  15.             FishingHooks.addFish(CoralButter);
  16.        
  17.     }
  18.        
  19. }
Advertisement
Add Comment
Please, Sign In to add comment