Advertisement
Guest User

Untitled

a guest
Dec 28th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. package proxys;
  2.  
  3. import static erik.mod.Amethyst.*;
  4.  
  5. import erik.mod.Amethyst;
  6. import net.minecraft.client.renderer.block.model.ModelResourceLocation;
  7. import net.minecraft.item.Item;
  8. import net.minecraft.item.ItemBlock;
  9. import net.minecraft.util.ResourceLocation;
  10. import net.minecraftforge.client.model.ModelLoader;
  11. import net.minecraftforge.fml.common.registry.ForgeRegistries;
  12.  
  13. public class ClientProxy extends ServerProxy {
  14.  
  15.  
  16.  
  17. @Override
  18. public void registerRenderThings() {
  19. ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(Amethyst.amethyst_ore), 0, new ModelResourceLocation(new ResourceLocation("amethyst:amethyst_ore"), "inventory"));
  20.  
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement