mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 13:09:53 +00:00
clean up formatting, tweak build.xml more
This commit is contained in:
1 parent
d791b11c7b
commit
2bc58d41b2
3 files changed
+33
-22
No files matched your search
@@ -4,22 +4,24 @@ import net.minecraft.block.Block;
|
||||
import codechicken.microblock.BlockMicroMaterial;
|
||||
import codechicken.microblock.MicroMaterialRegistry;
|
||||
|
||||
public class RegisterWithFMP {
|
||||
public static void registerBlock (Block block,int meta)
|
||||
public class RegisterWithFMP
|
||||
{
|
||||
public static void registerBlock (Block block, int meta)
|
||||
{
|
||||
// meta = number 0->15
|
||||
String identifier = new String( block.getUnlocalizedName());
|
||||
String identifier = new String(block.getUnlocalizedName());
|
||||
MicroMaterialRegistry.registerMaterial(new BlockMicroMaterial(block, meta), identifier + meta);
|
||||
// BlockMicroMaterial.createAndRegister(block);
|
||||
// BlockMicroMaterial.createAndRegister(block);
|
||||
|
||||
//MicroMaterialRegistry.registerMaterial((IMicroMaterial) block.blockMaterial, "tinkers:" + identifier + meta);
|
||||
}
|
||||
public static void registerBlock (Block block )
|
||||
|
||||
public static void registerBlock (Block block)
|
||||
{
|
||||
//s = string identifier for meta ex: brick...
|
||||
//MicroMaterialRegistry.registerMaterial(material, s + meta);
|
||||
String identifier = new String( block.getUnlocalizedName());
|
||||
|
||||
String identifier = new String(block.getUnlocalizedName());
|
||||
|
||||
//MicroMaterialRegistry.registerMaterial(new BlockMicroMaterial(block, 0), identifier );
|
||||
|
||||
//MicroMaterialRegistry.registerMaterial((IMicroMaterial) block.blockMaterial,"tinkers:" + identifier);
|
||||
|
||||
Reference in new issue
Block a user