mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-23 13:40:11 +00:00
Removed native Multipart support.
This commit is contained in:
1 parent
b6d3e6aced
commit
825dff364b
4 files changed
+2
-47
No files matched your search
@@ -108,7 +108,6 @@ public final class ModBlocks {
|
||||
OreDictionary.registerOre(LibOreDict.LIVING_WOOD, livingwood);
|
||||
|
||||
initTileEntities();
|
||||
registerMultiparts();
|
||||
}
|
||||
|
||||
private static void initTileEntities() {
|
||||
@@ -151,15 +150,4 @@ public final class ModBlocks {
|
||||
BotaniaAPI.registerSubTile(LibBlockNames.SUBTILE_RANNUNCARPUS, SubTileRannuncarpus.class);
|
||||
}
|
||||
|
||||
private static void registerMultiparts() {
|
||||
if(Loader.isModLoaded("ForgeMultipart")) {
|
||||
try {
|
||||
Class clazz = Class.forName("vazkii.botania.common.block.multipart.MultipartHandler");
|
||||
clazz.newInstance();
|
||||
} catch(Throwable e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
/**
|
||||
* This class was created by <Vazkii>. It's distributed as
|
||||
* part of the Botania Mod. Get the Source Code in github:
|
||||
* https://github.com/Vazkii/Botania
|
||||
*
|
||||
* Botania is Open Source and distributed under a
|
||||
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
|
||||
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
|
||||
*
|
||||
* File Created @ [Mar 3, 2014, 4:37:28 PM (GMT)]
|
||||
*/
|
||||
package vazkii.botania.common.block.multipart;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import vazkii.botania.common.block.ModBlocks;
|
||||
|
||||
public final class MultipartHandler {
|
||||
|
||||
public MultipartHandler() {
|
||||
registerMultipartMetadataLine(ModBlocks.livingrock, 4);
|
||||
registerMultipartMetadataLine(ModBlocks.livingwood, 5);
|
||||
}
|
||||
|
||||
private static void registerMultipartMetadataLine(Block block, int maxMeta) {
|
||||
for(int i = 0; i < maxMeta; i++)
|
||||
registerMultipart(block, i);
|
||||
}
|
||||
|
||||
private static void registerMultipart(Block block, int meta) {
|
||||
// MicroMaterialRegistry.registerMaterial(new BlockMicroMaterial(block, meta), block.getUnlocalizedName() + (meta == 0 ? "" : "_" + meta));
|
||||
}
|
||||
|
||||
}
|
||||
+1
-1
@@ -28,7 +28,7 @@ minecraft {
|
||||
|
||||
dependencies {
|
||||
compile files (
|
||||
'Baubles-deobf.jar',
|
||||
'libs/Baubles-deobf.jar'
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -804,7 +804,7 @@ botania.page.unstableBlocks7=Shoot in case of titan
|
||||
|
||||
# -- DECORATIVE BLOCKS
|
||||
botania.entry.decorativeBlocks=Decorative Blocks
|
||||
botania.page.decorativeBlocks0=It's possible to turn blocks of &1Livingrock&0 and &1Livingwood&0 into decorative blocks. Each of them features 4 different decorative variations.<br>If &4ForgeMultipart&0 is enabled, these will work as &4Microblocks&0.
|
||||
botania.page.decorativeBlocks0=It's possible to turn blocks of &1Livingrock&0 and &1Livingwood&0 into decorative blocks. Each of them features 4 different decorative variations.
|
||||
botania.page.decorativeBlocks1=Livingrock bricks.
|
||||
botania.page.decorativeBlocks2=Mossing the bricks
|
||||
botania.page.decorativeBlocks3=Cracking the bricks
|
||||
|
||||
Reference in new issue
Block a user