Advertisement
Guest User

CardImages.java

a guest
Apr 2nd, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.79 KB | None | 0 0
  1. package com.mekelaina.duelcraft.card;
  2.  
  3. import java.util.HashMap;
  4.  
  5. import net.minecraft.client.renderer.block.model.ModelResourceLocation;
  6.  
  7. public class CardImages
  8. {
  9.     public static HashMap<String, ModelResourceLocation> CARD_MODELS
  10.         = new HashMap<String, ModelResourceLocation>(10100);
  11.    
  12.     /*public static final ModelResourceLocation model0 = new CardModelResourceLocation("duelcraft:0", "inventory");
  13.     public static final ModelResourceLocation model27551 = new CardModelResourceLocation("duelcraft:27551", "inventory");
  14.     public static final ModelResourceLocation model32864 = new CardModelResourceLocation("duelcraft:32864", "inventory");
  15.     public static final ModelResourceLocation model41546 = new CardModelResourceLocation("duelcraft:41546", "inventory");
  16.     public static final ModelResourceLocation model41777 = new CardModelResourceLocation("duelcraft:41777", "inventory");
  17.     public static final ModelResourceLocation model50755 = new CardModelResourceLocation("duelcraft:50755", "inventory");
  18.     public static final ModelResourceLocation model62121 = new CardModelResourceLocation("duelcraft:62121", "inventory");
  19.     public static final ModelResourceLocation model98905 = new CardModelResourceLocation("duelcraft:98905", "inventory");
  20.     public static final ModelResourceLocation model102380 = new CardModelResourceLocation("duelcraft:102380", "inventory");
  21.     public static final ModelResourceLocation model111280 = new CardModelResourceLocation("duelcraft:111280", "inventory");
  22.     public static final ModelResourceLocation model114932 = new CardModelResourceLocation("duelcraft:114932", "inventory");*/
  23.    
  24.     public static void init()
  25.     {
  26.         for(String cardID : CardCollection.CARD_LIST.keySet())
  27.         {
  28.             CARD_MODELS.put(cardID, new ModelResourceLocation("duelcraft:item/"+cardID,"inventory"));
  29.         }
  30.     }
  31.    
  32.    
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement