Can't cast custom materials
See original GitHub issueI’m trying to re-implement my 1.7.10 TC toolparts in 1.10.2, and everything is working EXCEPT I can’t cast anything. My code for adding a tool material is as follows:
Material mat = new Material("mc3_phazon", TextFormatting.DARK_AQUA);
mat.setRepresentativeItem(new ItemStack(MC3Blocks.phazon));
mat.addTrait(new TraitPhazon());
mat.setFluid(MC3Fluids.liquidPhazon);
mat.setCastable(true);
if (FMLCommonHandler.instance().getSide().isClient()) mat.setRenderInfo(new MaterialRenderInfo.BlockTexture("mc3:blocks/blockphazonore"));
TinkerRegistry.addMaterialStats(mat, new HandleMaterialStats(1f, 100));
TinkerRegistry.addMaterialStats(mat, new HeadMaterialStats(750, 6f, 8f, 4));
TinkerRegistry.addMaterialStats(mat, new ExtraMaterialStats(60));
TinkerRegistry.addMaterial(mat);
I don’t think it’s an issue as much as it is something I’m missing
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
How to Set Up Custom Materials in Cricut Design Space
Your browser can't play this video. Learn more. Switch camera.
Read more >How do I use or create a Custom material setting? - Cricut - Help
Using a Custom material setting · Select Browse All Materials. Browse_all_materials_2.png · Scroll to browse the list, use the All Categories drop-down, or...
Read more >How to Make a Custom Material Setting in Cricut Design Space
There are actually two ways to get to the materials screen. The first is right on the home page. Just click on the...
Read more >Why can't I use third-party or custom materials on the Form 3 ...
Formlabs cannot vouch for the success of parts when printing using our hardware with third-party resins.
Read more >Upload Custom Materials in the New Material Service Beta
Note that “MaterialVariants” are not new, custom base materials but rather a ... This is an entire game changer, I cannot wait to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
nevermind found the issue again.
I do still have a bug: the manual doesn’t show an item/block for the material