mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-25 22:44:44 +00:00
Finish walls, and ALL slabs. Made floating flowers render properly in world.
This commit is contained in:
1 parent
b36f51f6d8
commit
8cda41cdb8
153 files changed
+2393
-79
No files matched your search
@@ -24,13 +24,13 @@ public class BotaniaStateProps {
|
||||
/** Common properties to all blocks to use **/
|
||||
|
||||
// The 16 Minecraft colors
|
||||
public static final PropertyEnum COLOR = PropertyEnum.create("color", EnumDyeColor.class);
|
||||
public static final PropertyEnum<EnumDyeColor> COLOR = PropertyEnum.create("color", EnumDyeColor.class);
|
||||
|
||||
// The four cardinal directions
|
||||
public static final PropertyEnum CARDINALS = PropertyEnum.create("facing", EnumFacing.class, EnumFacing.Plane.HORIZONTAL);
|
||||
public static final PropertyEnum<EnumFacing> CARDINALS = PropertyEnum.create("facing", EnumFacing.class, EnumFacing.Plane.HORIZONTAL);
|
||||
|
||||
// All 6 directions
|
||||
public static final PropertyEnum FACING = PropertyEnum.create("facing", EnumFacing.class);
|
||||
public static final PropertyEnum<EnumFacing> FACING = PropertyEnum.create("facing", EnumFacing.class);
|
||||
|
||||
// Redstone power - boolean
|
||||
// Also for any other simple boolean "on/off" state
|
||||
@@ -42,18 +42,18 @@ public class BotaniaStateProps {
|
||||
/** Properties for certain kinds of blocks **/
|
||||
|
||||
// The axis directions (think quartz pillars and wood logs)
|
||||
public static final PropertyEnum AXIS_FACING = BlockRotatedPillar.AXIS;
|
||||
public static final PropertyEnum<EnumFacing.Axis> AXIS_FACING = BlockRotatedPillar.AXIS;
|
||||
|
||||
// Extra Quartz Blocks
|
||||
public static final PropertyEnum QUARTZ_VARIANT = PropertyEnum.create("variant", QuartzVariant.class);
|
||||
public static final PropertyEnum<QuartzVariant> QUARTZ_VARIANT = PropertyEnum.create("variant", QuartzVariant.class);
|
||||
|
||||
/** Properties for individual blocks **/
|
||||
|
||||
// Block18Stone
|
||||
public static final PropertyEnum FUTURESTONE_VARIANT = PropertyEnum.create("variant", FutureStoneVariant.class);
|
||||
public static final PropertyEnum<FutureStoneVariant> FUTURESTONE_VARIANT = PropertyEnum.create("variant", FutureStoneVariant.class);
|
||||
|
||||
// Block18StoneWall
|
||||
public static final PropertyEnum FUTURESTONEWALL_VARIANT = PropertyEnum.create("variant", FutureStoneVariant.class, new Predicate<FutureStoneVariant>() {
|
||||
public static final PropertyEnum<FutureStoneVariant> FUTURESTONEWALL_VARIANT = PropertyEnum.create("variant", FutureStoneVariant.class, new Predicate<FutureStoneVariant>() {
|
||||
@Override
|
||||
public boolean apply(FutureStoneVariant variant) {
|
||||
// Just the four kinds (no polished, chiseled, etc.)
|
||||
@@ -62,19 +62,19 @@ public class BotaniaStateProps {
|
||||
});
|
||||
|
||||
// BlockAlfPortal
|
||||
public static final PropertyEnum ALFPORTAL_STATE = PropertyEnum.create("state", AlfPortalState.class);
|
||||
public static final PropertyEnum<AlfPortalState> ALFPORTAL_STATE = PropertyEnum.create("state", AlfPortalState.class);
|
||||
|
||||
// BlockAltGrass
|
||||
public static final PropertyEnum ALTGRASS_VARIANT = PropertyEnum.create("variant", AltGrassVariant.class);
|
||||
public static final PropertyEnum<AltGrassVariant> ALTGRASS_VARIANT = PropertyEnum.create("variant", AltGrassVariant.class);
|
||||
|
||||
// BlockBiomeStoneA
|
||||
public static final PropertyEnum BIOMESTONE_VARIANT = PropertyEnum.create("variant", BiomeStoneVariant.class);
|
||||
public static final PropertyEnum<BiomeStoneVariant> BIOMESTONE_VARIANT = PropertyEnum.create("variant", BiomeStoneVariant.class);
|
||||
|
||||
// BlockBiomeStoneB
|
||||
public static final PropertyEnum BIOMEBRICK_VARIANT = PropertyEnum.create("variant", BiomeBrickVariant.class);
|
||||
public static final PropertyEnum<BiomeBrickVariant> BIOMEBRICK_VARIANT = PropertyEnum.create("variant", BiomeBrickVariant.class);
|
||||
|
||||
// BlockBiomeStoneWall
|
||||
public static final PropertyEnum BIOMESTONEWALL_VARIANT = PropertyEnum.create("variant", BiomeStoneVariant.class, new Predicate<BiomeStoneVariant>() {
|
||||
public static final PropertyEnum<BiomeStoneVariant> BIOMESTONEWALL_VARIANT = PropertyEnum.create("variant", BiomeStoneVariant.class, new Predicate<BiomeStoneVariant>() {
|
||||
@Override
|
||||
public boolean apply(BiomeStoneVariant input) {
|
||||
return input.getName().contains("cobble");
|
||||
@@ -82,28 +82,28 @@ public class BotaniaStateProps {
|
||||
});
|
||||
|
||||
// BlockCustomBrick
|
||||
public static final PropertyEnum CUSTOMBRICK_VARIANT = PropertyEnum.create("variant", CustomBrickVariant.class);
|
||||
public static final PropertyEnum<CustomBrickVariant> CUSTOMBRICK_VARIANT = PropertyEnum.create("variant", CustomBrickVariant.class);
|
||||
|
||||
// BlockDreamWood, BlockLivingWood
|
||||
public static final PropertyEnum LIVINGWOOD_VARIANT = PropertyEnum.create("variant", LivingWoodVariant.class);
|
||||
public static final PropertyEnum<LivingWoodVariant> LIVINGWOOD_VARIANT = PropertyEnum.create("variant", LivingWoodVariant.class);
|
||||
|
||||
// BlockEnchanter
|
||||
public static final PropertyEnum ENCHANTER_DIRECTION = PropertyEnum.create("facing", EnumFacing.Axis.class, Predicates.not(Predicates.equalTo(EnumFacing.Axis.Y)));
|
||||
public static final PropertyEnum<EnumFacing.Axis> ENCHANTER_DIRECTION = PropertyEnum.create("facing", EnumFacing.Axis.class, Predicates.not(Predicates.equalTo(EnumFacing.Axis.Y)));
|
||||
|
||||
// BlockEndStoneBrick
|
||||
public static final PropertyEnum ENDBRICK_VARIANT = PropertyEnum.create("variant", EndBrickVariant.class);
|
||||
public static final PropertyEnum<EndBrickVariant> ENDBRICK_VARIANT = PropertyEnum.create("variant", EndBrickVariant.class);
|
||||
|
||||
// BlockForestDrum
|
||||
public static final PropertyEnum DRUM_VARIANT = PropertyEnum.create("variant", DrumVariant.class);
|
||||
public static final PropertyEnum<DrumVariant> DRUM_VARIANT = PropertyEnum.create("variant", DrumVariant.class);
|
||||
|
||||
// BlockLightRelay
|
||||
public static final PropertyEnum LUMINIZER_VARIANT = PropertyEnum.create("variant", LuminizerVariant.class);
|
||||
public static final PropertyEnum<LuminizerVariant> LUMINIZER_VARIANT = PropertyEnum.create("variant", LuminizerVariant.class);
|
||||
|
||||
// BlockLivingRock
|
||||
public static final PropertyEnum LIVINGROCK_VARIANT = PropertyEnum.create("variant", LivingRockVariant.class);
|
||||
public static final PropertyEnum<LivingRockVariant> LIVINGROCK_VARIANT = PropertyEnum.create("variant", LivingRockVariant.class);
|
||||
|
||||
// BlockModDoubleFlower
|
||||
public static final PropertyEnum DOUBLEFLOWER_VARIANT_1 = PropertyEnum.create("variant", EnumDyeColor.class, new Predicate<EnumDyeColor>() {
|
||||
public static final PropertyEnum<EnumDyeColor> DOUBLEFLOWER_VARIANT_1 = PropertyEnum.create("variant", EnumDyeColor.class, new Predicate<EnumDyeColor>() {
|
||||
@Override
|
||||
public boolean apply(EnumDyeColor input) {
|
||||
// White to gray
|
||||
@@ -111,7 +111,7 @@ public class BotaniaStateProps {
|
||||
}
|
||||
});
|
||||
|
||||
public static final PropertyEnum DOUBLEFLOWER_VARIANT_2 = PropertyEnum.create("variant", EnumDyeColor.class, new Predicate<EnumDyeColor>() {
|
||||
public static final PropertyEnum<EnumDyeColor> DOUBLEFLOWER_VARIANT_2 = PropertyEnum.create("variant", EnumDyeColor.class, new Predicate<EnumDyeColor>() {
|
||||
@Override
|
||||
public boolean apply(EnumDyeColor input) {
|
||||
// Silver to black
|
||||
@@ -120,10 +120,10 @@ public class BotaniaStateProps {
|
||||
});
|
||||
|
||||
// BlockOpenCrate
|
||||
public static final PropertyEnum CRATE_VARIANT = PropertyEnum.create("variant", CrateVariant.class);
|
||||
public static final PropertyEnum<CrateVariant> CRATE_VARIANT = PropertyEnum.create("variant", CrateVariant.class);
|
||||
|
||||
// BlockPavement
|
||||
public static final PropertyEnum PAVEMENT_COLOR = PropertyEnum.create("color", EnumDyeColor.class, new Predicate<EnumDyeColor>() {
|
||||
public static final PropertyEnum<EnumDyeColor> PAVEMENT_COLOR = PropertyEnum.create("color", EnumDyeColor.class, new Predicate<EnumDyeColor>() {
|
||||
@Override
|
||||
public boolean apply(EnumDyeColor color) {
|
||||
return color == EnumDyeColor.WHITE || color == EnumDyeColor.BLACK
|
||||
@@ -133,25 +133,25 @@ public class BotaniaStateProps {
|
||||
});
|
||||
|
||||
// BlockPlatform
|
||||
public static final PropertyEnum PLATFORM_VARIANT = PropertyEnum.create("variant", PlatformVariant.class);
|
||||
public static final PropertyEnum<PlatformVariant> PLATFORM_VARIANT = PropertyEnum.create("variant", PlatformVariant.class);
|
||||
|
||||
// BlockPool
|
||||
public static final PropertyEnum POOL_VARIANT = PropertyEnum.create("variant", PoolVariant.class);
|
||||
public static final PropertyEnum<PoolVariant> POOL_VARIANT = PropertyEnum.create("variant", PoolVariant.class);
|
||||
|
||||
// BlockPrism
|
||||
public static final PropertyBool HAS_LENS = PropertyBool.create("has_lens");
|
||||
|
||||
// BlockPrismarine
|
||||
public static final PropertyEnum PRISMARINE_VARIANT = PropertyEnum.create("variant", PrismarineVariant.class);
|
||||
public static final PropertyEnum<PrismarineVariant> PRISMARINE_VARIANT = PropertyEnum.create("variant", PrismarineVariant.class);
|
||||
|
||||
// BlockPylon
|
||||
public static final PropertyEnum PYLON_VARIANT = PropertyEnum.create("variant", PylonVariant.class);
|
||||
public static final PropertyEnum<PylonVariant> PYLON_VARIANT = PropertyEnum.create("variant", PylonVariant.class);
|
||||
|
||||
// BlockSpreader
|
||||
public static final PropertyEnum SPREADER_VARIANT = PropertyEnum.create("variant", SpreaderVariant.class);
|
||||
public static final PropertyEnum<SpreaderVariant> SPREADER_VARIANT = PropertyEnum.create("variant", SpreaderVariant.class);
|
||||
|
||||
// BlockStorage
|
||||
public static final PropertyEnum STORAGE_VARIANT = PropertyEnum.create("variant", StorageVariant.class);
|
||||
public static final PropertyEnum<StorageVariant> STORAGE_VARIANT = PropertyEnum.create("variant", StorageVariant.class);
|
||||
|
||||
private BotaniaStateProps() {}
|
||||
}
|
||||
@@ -1,8 +1,10 @@
|
||||
package vazkii.botania.client.core.handler;
|
||||
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import com.google.common.collect.Iterables;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockFlower;
|
||||
import net.minecraft.block.BlockRailPowered;
|
||||
import net.minecraft.block.BlockSlab;
|
||||
import net.minecraft.block.BlockWall;
|
||||
import net.minecraft.client.renderer.block.statemap.StateMap;
|
||||
@@ -18,8 +20,10 @@ import net.minecraftforge.fml.common.registry.GameData;
|
||||
import vazkii.botania.api.render.SpecialFlowerModel;
|
||||
import vazkii.botania.api.state.BotaniaStateProps;
|
||||
import vazkii.botania.api.state.enums.AltGrassVariant;
|
||||
import vazkii.botania.api.state.enums.BiomeBrickVariant;
|
||||
import vazkii.botania.api.state.enums.BiomeStoneVariant;
|
||||
import vazkii.botania.api.state.enums.DrumVariant;
|
||||
import vazkii.botania.api.state.enums.EndBrickVariant;
|
||||
import vazkii.botania.api.state.enums.FutureStoneVariant;
|
||||
import vazkii.botania.api.state.enums.LivingRockVariant;
|
||||
import vazkii.botania.api.state.enums.LivingWoodVariant;
|
||||
@@ -99,9 +103,9 @@ public final class ModelHandler {
|
||||
registerStandardBlocks();
|
||||
registerMushrooms();
|
||||
registerFlowers();
|
||||
registerPavement();
|
||||
registerStairs();
|
||||
registerSlabs();
|
||||
registerFullSlabs();
|
||||
registerWalls();
|
||||
registerPanes();
|
||||
registerUnstableBeaconPetal();
|
||||
@@ -181,14 +185,21 @@ public final class ModelHandler {
|
||||
registerItemModel(ModBlocks.specialFlower);
|
||||
registerItemModel(ModBlocks.dirtPath);
|
||||
registerItemModel(ModBlocks.felPumpkin);
|
||||
registerItemModel(ModBlocks.ghostRail);
|
||||
registerItemModel(ModBlocks.shimmerrock);
|
||||
registerItemModel(ModBlocks.shimmerwoodPlanks);
|
||||
|
||||
// Blocks which share models with their item, and have only one variant to switch over
|
||||
registerVariantsDefaulted(ModBlocks.altGrass, AltGrassVariant.class, "botania:altGrass", "variant");
|
||||
registerVariantsDefaulted(ModBlocks.storage, StorageVariant.class, "botania:storage", "variant");
|
||||
registerVariantsDefaulted(ModBlocks.pylon, PylonVariant.class, "botania:pylon", "variant");
|
||||
registerVariantsDefaulted(ModBlocks.forestDrum, DrumVariant.class, "botania:forestDrum", "variant");
|
||||
registerVariantsDefaulted(ModBlocks.livingrock, LivingRockVariant.class, "botania:livingrock", "variant");
|
||||
registerVariantsDefaulted(ModBlocks.livingwood, LivingWoodVariant.class, "botania:livingwood", "variant");
|
||||
registerVariantsDefaulted(ModBlocks.altGrass, AltGrassVariant.class, "variant");
|
||||
registerVariantsDefaulted(ModBlocks.storage, StorageVariant.class, "variant");
|
||||
registerVariantsDefaulted(ModBlocks.pylon, PylonVariant.class, "variant");
|
||||
registerVariantsDefaulted(ModBlocks.forestDrum, DrumVariant.class, "variant");
|
||||
registerVariantsDefaulted(ModBlocks.livingrock, LivingRockVariant.class, "variant");
|
||||
registerVariantsDefaulted(ModBlocks.livingwood, LivingWoodVariant.class, "variant");
|
||||
registerVariantsDefaulted(ModFluffBlocks.stone, FutureStoneVariant.class, "variant");
|
||||
registerVariantsDefaulted(ModFluffBlocks.biomeStoneA, BiomeStoneVariant.class, "variant");
|
||||
registerVariantsDefaulted(ModFluffBlocks.biomeStoneB, BiomeBrickVariant.class, "variant");
|
||||
registerVariantsDefaulted(ModBlocks.endStoneBrick, EndBrickVariant.class, "variant");
|
||||
}
|
||||
|
||||
private static void registerStandardItems() {
|
||||
@@ -282,11 +293,12 @@ public final class ModelHandler {
|
||||
}
|
||||
|
||||
List<Block> otherSlabs = ImmutableList.copyOf(new Block[] {
|
||||
ModFluffBlocks.livingwoodSlab, ModFluffBlocks.livingrockSlab, ModFluffBlocks.dreamwoodSlab, ModFluffBlocks.livingrockBrickSlab,
|
||||
ModFluffBlocks.livingwoodSlab, ModFluffBlocks.livingwoodPlankSlab, ModFluffBlocks.livingrockSlab, ModFluffBlocks.dreamwoodSlab, ModFluffBlocks.livingrockBrickSlab,
|
||||
ModFluffBlocks.dreamwoodPlankSlab, ModFluffBlocks.prismarineSlab, ModFluffBlocks.prismarineBrickSlab, ModFluffBlocks.darkPrismarineSlab,
|
||||
ModFluffBlocks.reedSlab, ModFluffBlocks.thatchSlab, ModFluffBlocks.netherBrickSlab, ModFluffBlocks.soulBrickSlab, ModFluffBlocks.snowBrickSlab,
|
||||
ModFluffBlocks.tileSlab, ModFluffBlocks.darkQuartzSlab, ModFluffBlocks.manaQuartzSlab, ModFluffBlocks.blazeQuartzSlab,
|
||||
ModFluffBlocks.lavenderQuartzSlab, ModFluffBlocks.redQuartzSlab, ModFluffBlocks.elfQuartzSlab, ModFluffBlocks.sunnyQuartzSlab
|
||||
ModFluffBlocks.lavenderQuartzSlab, ModFluffBlocks.redQuartzSlab, ModFluffBlocks.elfQuartzSlab, ModFluffBlocks.sunnyQuartzSlab, ModFluffBlocks.dirtPathSlab,
|
||||
ModFluffBlocks.shimmerrockSlab, ModFluffBlocks.shimmerwoodPlankSlab, ModFluffBlocks.endStoneSlab, ModFluffBlocks.enderBrickSlab
|
||||
});
|
||||
|
||||
for (Block b : otherSlabs) {
|
||||
@@ -305,13 +317,14 @@ public final class ModelHandler {
|
||||
for (Block b : ModFluffBlocks.stoneFullSlabs) {
|
||||
ModelLoader.setCustomStateMapper(b, (new StateMap.Builder()).ignore(BlockModSlab.DUMMY, BlockSlab.HALF).build());
|
||||
}
|
||||
|
||||
|
||||
List<Block> otherFullSlabs = ImmutableList.copyOf(new Block[] {
|
||||
ModFluffBlocks.livingwoodSlabFull, ModFluffBlocks.livingrockSlabFull, ModFluffBlocks.dreamwoodSlabFull, ModFluffBlocks.livingrockBrickSlabFull,
|
||||
ModFluffBlocks.livingwoodSlabFull, ModFluffBlocks.livingwoodPlankSlabFull, ModFluffBlocks.livingrockSlabFull, ModFluffBlocks.dreamwoodSlabFull, ModFluffBlocks.livingrockBrickSlabFull,
|
||||
ModFluffBlocks.dreamwoodPlankSlabFull, ModFluffBlocks.prismarineSlabFull, ModFluffBlocks.prismarineBrickSlabFull, ModFluffBlocks.darkPrismarineSlabFull,
|
||||
ModFluffBlocks.reedSlabFull, ModFluffBlocks.thatchSlabFull, ModFluffBlocks.netherBrickSlabFull, ModFluffBlocks.soulBrickSlabFull, ModFluffBlocks.snowBrickSlabFull,
|
||||
ModFluffBlocks.tileSlabFull, ModFluffBlocks.darkQuartzSlabFull, ModFluffBlocks.manaQuartzSlabFull, ModFluffBlocks.blazeQuartzSlabFull,
|
||||
ModFluffBlocks.lavenderQuartzSlabFull, ModFluffBlocks.redQuartzSlabFull, ModFluffBlocks.elfQuartzSlabFull, ModFluffBlocks.sunnyQuartzSlabFull
|
||||
ModFluffBlocks.lavenderQuartzSlabFull, ModFluffBlocks.redQuartzSlabFull, ModFluffBlocks.elfQuartzSlabFull, ModFluffBlocks.sunnyQuartzSlabFull, ModFluffBlocks.dirtPathSlabFull,
|
||||
ModFluffBlocks.shimmerrockSlabFull, ModFluffBlocks.shimmerwoodPlankSlabFull, ModFluffBlocks.endStoneSlabFull, ModFluffBlocks.enderBrickSlabFull
|
||||
});
|
||||
|
||||
for (Block b : otherFullSlabs) {
|
||||
@@ -344,6 +357,48 @@ public final class ModelHandler {
|
||||
}
|
||||
}
|
||||
|
||||
private static void registerPavement() {
|
||||
Item item = Item.getItemFromBlock(ModFluffBlocks.pavement);
|
||||
String name = GameData.getBlockRegistry().getNameForObject(ModFluffBlocks.pavement).toString();
|
||||
|
||||
for (EnumDyeColor e : BotaniaStateProps.PAVEMENT_COLOR.getAllowedValues()) {
|
||||
String variant = "color=" + e.getName();
|
||||
switch (e) {
|
||||
case BLACK: {
|
||||
ModelLoader.registerItemVariants(item, new ModelResourceLocation(name, variant));
|
||||
ModelLoader.setCustomModelResourceLocation(item, 1, new ModelResourceLocation(name, variant));
|
||||
break;
|
||||
}
|
||||
case BLUE: {
|
||||
ModelLoader.registerItemVariants(item, new ModelResourceLocation(name, variant));
|
||||
ModelLoader.setCustomModelResourceLocation(item, 2, new ModelResourceLocation(name, variant));
|
||||
break;
|
||||
}
|
||||
case RED: {
|
||||
ModelLoader.registerItemVariants(item, new ModelResourceLocation(name, variant));
|
||||
ModelLoader.setCustomModelResourceLocation(item, 3, new ModelResourceLocation(name, variant));
|
||||
break;
|
||||
}
|
||||
case YELLOW: {
|
||||
ModelLoader.registerItemVariants(item, new ModelResourceLocation(name, variant));
|
||||
ModelLoader.setCustomModelResourceLocation(item, 4, new ModelResourceLocation(name, variant));
|
||||
break;
|
||||
}
|
||||
case GREEN: {
|
||||
ModelLoader.registerItemVariants(item, new ModelResourceLocation(name, variant));
|
||||
ModelLoader.setCustomModelResourceLocation(item, 5, new ModelResourceLocation(name, variant));
|
||||
break;
|
||||
}
|
||||
case WHITE:
|
||||
default: {
|
||||
ModelLoader.registerItemVariants(item, new ModelResourceLocation(name, variant));
|
||||
ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(name, variant));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static void registerStairs() {
|
||||
for (Block b : ModFluffBlocks.stoneStairs) {
|
||||
registerItemModel(b);
|
||||
@@ -386,27 +441,70 @@ public final class ModelHandler {
|
||||
}
|
||||
|
||||
private static void registerSlabs() {
|
||||
for (Block b : ModFluffBlocks.biomeStoneSlabs) {
|
||||
registerItemModel(b);
|
||||
}
|
||||
|
||||
}
|
||||
for (Block b : ModFluffBlocks.pavementSlabs) {
|
||||
registerItemModel(b);
|
||||
}
|
||||
|
||||
private static void registerFullSlabs() {
|
||||
for (Block b : ModFluffBlocks.stoneSlabs) {
|
||||
registerItemModel(b);
|
||||
}
|
||||
|
||||
registerItemModel(ModFluffBlocks.livingwoodSlab);
|
||||
registerItemModel(ModFluffBlocks.livingwoodPlankSlab);
|
||||
registerItemModel(ModFluffBlocks.livingrockSlab);
|
||||
registerItemModel(ModFluffBlocks.livingrockBrickSlab);
|
||||
|
||||
registerItemModel(ModFluffBlocks.blazeQuartzSlab);
|
||||
registerItemModel(ModFluffBlocks.darkQuartzSlab);
|
||||
registerItemModel(ModFluffBlocks.elfQuartzSlab);
|
||||
registerItemModel(ModFluffBlocks.lavenderQuartzSlab);
|
||||
registerItemModel(ModFluffBlocks.manaQuartzSlab);
|
||||
registerItemModel(ModFluffBlocks.redQuartzSlab);
|
||||
registerItemModel(ModFluffBlocks.sunnyQuartzSlab);
|
||||
|
||||
registerItemModel(ModFluffBlocks.dreamwoodSlab);
|
||||
registerItemModel(ModFluffBlocks.dreamwoodPlankSlab);
|
||||
registerItemModel(ModFluffBlocks.prismarineSlab);
|
||||
registerItemModel(ModFluffBlocks.prismarineBrickSlab);
|
||||
registerItemModel(ModFluffBlocks.darkPrismarineSlab);
|
||||
registerItemModel(ModFluffBlocks.dirtPathSlab);
|
||||
registerItemModel(ModFluffBlocks.shimmerrockSlab);
|
||||
registerItemModel(ModFluffBlocks.shimmerwoodPlankSlab);
|
||||
registerItemModel(ModFluffBlocks.endStoneSlab);
|
||||
registerItemModel(ModFluffBlocks.enderBrickSlab);
|
||||
registerItemModel(ModFluffBlocks.netherBrickSlab);
|
||||
registerItemModel(ModFluffBlocks.soulBrickSlab);
|
||||
registerItemModel(ModFluffBlocks.snowBrickSlab);
|
||||
registerItemModel(ModFluffBlocks.tileSlab);
|
||||
registerItemModel(ModFluffBlocks.reedSlab);
|
||||
registerItemModel(ModFluffBlocks.thatchSlab);
|
||||
|
||||
}
|
||||
|
||||
private static void registerWalls() {
|
||||
Item item = Item.getItemFromBlock(ModFluffBlocks.biomeStoneWall);
|
||||
for (BiomeStoneVariant variant : ((Collection<BiomeStoneVariant>) BotaniaStateProps.BIOMESTONEWALL_VARIANT.getAllowedValues())) {
|
||||
for (BiomeStoneVariant variant : BotaniaStateProps.BIOMESTONEWALL_VARIANT.getAllowedValues()) {
|
||||
String variantName = "inventory_" + variant.getName();
|
||||
ModelLoader.registerItemVariants(item, new ModelResourceLocation("botania:biomeStoneA0Wall", variantName));
|
||||
ModelLoader.setCustomModelResourceLocation(item, variant.ordinal() - 8, new ModelResourceLocation("botania:biomeStoneA0Wall", variantName));
|
||||
}
|
||||
|
||||
item = Item.getItemFromBlock(ModFluffBlocks.stoneWall);
|
||||
for (FutureStoneVariant variant : ((Collection<FutureStoneVariant>) BotaniaStateProps.FUTURESTONEWALL_VARIANT.getAllowedValues())) {
|
||||
for (FutureStoneVariant variant : BotaniaStateProps.FUTURESTONEWALL_VARIANT.getAllowedValues()) {
|
||||
String variantName = "inventory_" + variant.getName();
|
||||
ModelLoader.registerItemVariants(item, new ModelResourceLocation("botania:stone0Wall", variantName));
|
||||
ModelLoader.setCustomModelResourceLocation(item, variant.ordinal(), new ModelResourceLocation("botania:stone0Wall", variantName));
|
||||
}
|
||||
|
||||
registerItemModel(ModFluffBlocks.livingrockWall);
|
||||
registerItemModel(ModFluffBlocks.livingwoodWall);
|
||||
registerItemModel(ModFluffBlocks.dreamwoodWall);
|
||||
registerItemModel(ModFluffBlocks.prismarineWall);
|
||||
registerItemModel(ModFluffBlocks.reedWall);
|
||||
}
|
||||
|
||||
private static void registerPanes() {
|
||||
@@ -427,9 +525,10 @@ public final class ModelHandler {
|
||||
}
|
||||
}
|
||||
|
||||
private static <T extends Enum<T> & IStringSerializable> void registerVariantsDefaulted(Block b, Class<T> enumclazz, String baseName, String variantHeader) {
|
||||
private static <T extends Enum<T> & IStringSerializable> void registerVariantsDefaulted(Block b, Class<T> enumclazz, String variantHeader) {
|
||||
Item item = Item.getItemFromBlock(b);
|
||||
for (T e : enumclazz.getEnumConstants()) {
|
||||
String baseName = GameData.getBlockRegistry().getNameForObject(b).toString();
|
||||
String variantName = variantHeader + "=" + e.getName();
|
||||
ModelLoader.registerItemVariants(item, new ModelResourceLocation(baseName, variantName));
|
||||
ModelLoader.setCustomModelResourceLocation(item, e.ordinal(), new ModelResourceLocation(baseName, variantName));
|
||||
|
||||
@@ -16,8 +16,10 @@ import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.renderer.GlStateManager;
|
||||
import net.minecraft.client.renderer.ItemRenderer;
|
||||
import net.minecraft.client.renderer.Tessellator;
|
||||
import net.minecraft.client.renderer.block.model.ItemCameraTransforms;
|
||||
import net.minecraft.client.renderer.texture.TextureMap;
|
||||
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
|
||||
import net.minecraft.client.resources.model.IBakedModel;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
|
||||
@@ -59,17 +61,9 @@ public class RenderTileFloatingFlower extends TileEntitySpecialRenderer {
|
||||
GlStateManager.popMatrix();
|
||||
|
||||
ItemStack stack = flower.getDisplayStack();
|
||||
// Minecraft.getMinecraft().getRenderItem().renderItemModel(stack); // todo 1.8
|
||||
// IIcon icon = stack.getIconIndex();
|
||||
//
|
||||
// Minecraft.getMinecraft().renderEngine.bindTexture(TextureMap.locationBlocksTexture);
|
||||
// float f = icon.getMinU();
|
||||
// float f1 = icon.getMaxU();
|
||||
// float f2 = icon.getMinV();
|
||||
// float f3 = icon.getMaxV();
|
||||
// GlStateManager.translate(0.25F, 0.4F, 0.5F);
|
||||
// GlStateManager.scale(0.5F, 0.5F, 0.5F);
|
||||
// ItemRenderer.renderItemIn2D(Tessellator.getInstance(), f1, f2, f, f3, icon.getIconWidth(), icon.getIconHeight(), 1F / 32F);
|
||||
GlStateManager.translate(0.5F, 0.65F, 0.5F);
|
||||
GlStateManager.scale(0.5F, 0.5F, 0.5F);
|
||||
Minecraft.getMinecraft().getRenderItem().func_181564_a(stack, ItemCameraTransforms.TransformType.NONE);
|
||||
GlStateManager.color(1F, 1F, 1F);
|
||||
GlStateManager.popMatrix();
|
||||
}
|
||||
|
||||
@@ -56,11 +56,6 @@ public class Block18StoneWall extends BlockModWall {
|
||||
return getDefaultState().withProperty(BotaniaStateProps.FUTURESTONEWALL_VARIANT, FutureStoneVariant.values()[meta]);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IBlockState getActualState(IBlockState state, IBlockAccess worldIn, BlockPos pos) {
|
||||
return super.getActualState(state, worldIn, pos).withProperty(VARIANT, EnumType.NORMAL);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void register(String name) {
|
||||
GameRegistry.registerBlock(this, ItemBlockWithMetadataAndName.class, name);
|
||||
@@ -77,9 +72,4 @@ public class Block18StoneWall extends BlockModWall {
|
||||
return LexiconData.stoneAlchemy;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int damageDropped(IBlockState state) {
|
||||
return getMetaFromState(state);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -56,11 +56,6 @@ public class BlockBiomeStoneWall extends BlockModWall {
|
||||
return getDefaultState().withProperty(BotaniaStateProps.BIOMESTONEWALL_VARIANT, BiomeStoneVariant.values()[meta + 8]);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IBlockState getActualState(IBlockState state, IBlockAccess worldIn, BlockPos pos) {
|
||||
return super.getActualState(state, worldIn, pos).withProperty(VARIANT, EnumType.NORMAL);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void register(String name) {
|
||||
GameRegistry.registerBlock(this, ItemBlockWithMetadataAndName.class, name);
|
||||
@@ -77,9 +72,4 @@ public class BlockBiomeStoneWall extends BlockModWall {
|
||||
return LexiconData.marimorphosis;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int damageDropped(IBlockState state) {
|
||||
return getMetaFromState(state);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -47,6 +47,16 @@ public abstract class BlockModWall extends BlockWall implements ILexiconable {
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IBlockState getActualState(IBlockState state, IBlockAccess world, BlockPos pos) {
|
||||
return super.getActualState(state, world, pos).withProperty(VARIANT, EnumType.NORMAL);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int damageDropped(IBlockState state) {
|
||||
return getMetaFromState(state);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BlockState createBlockState() {
|
||||
return new BlockState(this, VARIANT, UP, NORTH, SOUTH, WEST, EAST);
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStome11" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:cube_all",
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"variant=forest": [{ "textures": { "all": "botania:blocks/biomeStone0" } }],
|
||||
"variant=plains": [{ "textures": { "all": "botania:blocks/biomeStone1" } }],
|
||||
"variant=mountain": [{ "textures": { "all": "botania:blocks/biomeStone2" } }],
|
||||
"variant=fungal": [{ "textures": { "all": "botania:blocks/biomeStone3" } }],
|
||||
"variant=swamp": [{ "textures": { "all": "botania:blocks/biomeStone4" } }],
|
||||
"variant=desert": [{ "textures": { "all": "botania:blocks/biomeStone5" } }],
|
||||
"variant=taiga": [{ "textures": { "all": "botania:blocks/biomeStone6" } }],
|
||||
"variant=mesa": [{ "textures": { "all": "botania:blocks/biomeStone7" } }],
|
||||
"variant=forest_cobble": [{ "textures": { "all": "botania:blocks/biomeStone8" } }],
|
||||
"variant=plains_cobble": [{ "textures": { "all": "botania:blocks/biomeStone9" } }],
|
||||
"variant=mountain_cobble": [{ "textures": { "all": "botania:blocks/biomeStone10" } }],
|
||||
"variant=fungal_cobble": [{ "textures": { "all": "botania:blocks/biomeStone11" } }],
|
||||
"variant=swamp_cobble": [{ "textures": { "all": "botania:blocks/biomeStone12" } }],
|
||||
"variant=desert_cobble": [{ "textures": { "all": "botania:blocks/biomeStone13" } }],
|
||||
"variant=taiga_cobble": [{ "textures": { "all": "botania:blocks/biomeStone14" } }],
|
||||
"variant=mesa_cobble": [{ "textures": { "all": "botania:blocks/biomeStone15" } }]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/biomeStone0",
|
||||
"top": "botania:blocks/biomeStone0",
|
||||
"side": "botania:blocks/biomeStone0"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStone0" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/biomeStone10",
|
||||
"top": "botania:blocks/biomeStone10",
|
||||
"side": "botania:blocks/biomeStone10"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStone10" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/biomeStone11",
|
||||
"top": "botania:blocks/biomeStone11",
|
||||
"side": "botania:blocks/biomeStone11"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStone11" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/biomeStone12",
|
||||
"top": "botania:blocks/biomeStone12",
|
||||
"side": "botania:blocks/biomeStone12"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStone12" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/biomeStone13",
|
||||
"top": "botania:blocks/biomeStone13",
|
||||
"side": "botania:blocks/biomeStone13"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStone13" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/biomeStone14",
|
||||
"top": "botania:blocks/biomeStone14",
|
||||
"side": "botania:blocks/biomeStone14"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStone14" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/biomeStone15",
|
||||
"top": "botania:blocks/biomeStone15",
|
||||
"side": "botania:blocks/biomeStone15"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStone15" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/biomeStone1",
|
||||
"top": "botania:blocks/biomeStone1",
|
||||
"side": "botania:blocks/biomeStone1"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStone1" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/biomeStone2",
|
||||
"top": "botania:blocks/biomeStone2",
|
||||
"side": "botania:blocks/biomeStone2"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStone2" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/biomeStone3",
|
||||
"top": "botania:blocks/biomeStone3",
|
||||
"side": "botania:blocks/biomeStone3"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStone3" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/biomeStone4",
|
||||
"top": "botania:blocks/biomeStone4",
|
||||
"side": "botania:blocks/biomeStone4"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStone4" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/biomeStone5",
|
||||
"top": "botania:blocks/biomeStone5",
|
||||
"side": "botania:blocks/biomeStone5"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStone5" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/biomeStone6",
|
||||
"top": "botania:blocks/biomeStone6",
|
||||
"side": "botania:blocks/biomeStone6"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStone6" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/biomeStone7",
|
||||
"top": "botania:blocks/biomeStone7",
|
||||
"side": "botania:blocks/biomeStone7"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStone7" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/biomeStone8",
|
||||
"top": "botania:blocks/biomeStone8",
|
||||
"side": "botania:blocks/biomeStone8"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStone8" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/biomeStone9",
|
||||
"top": "botania:blocks/biomeStone9",
|
||||
"side": "botania:blocks/biomeStone9"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStone9" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:cube_all",
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"variant=forest": [{ "textures": { "all": "botania:blocks/biomeStone16" } }],
|
||||
"variant=plains": [{ "textures": { "all": "botania:blocks/biomeStone17" } }],
|
||||
"variant=mountain": [{ "textures": { "all": "botania:blocks/biomeStone18" } }],
|
||||
"variant=fungal": [{ "textures": { "all": "botania:blocks/biomeStone19" } }],
|
||||
"variant=swamp": [{ "textures": { "all": "botania:blocks/biomeStone20" } }],
|
||||
"variant=desert": [{ "textures": { "all": "botania:blocks/biomeStone21" } }],
|
||||
"variant=taiga": [{ "textures": { "all": "botania:blocks/biomeStone22" } }],
|
||||
"variant=mesa": [{ "textures": { "all": "botania:blocks/biomeStone23" } }],
|
||||
"variant=chiseled_forest": [{ "textures": { "all": "botania:blocks/biomeStone24" } }],
|
||||
"variant=chiseled_plains": [{ "textures": { "all": "botania:blocks/biomeStone25" } }],
|
||||
"variant=chiseled_mountain": [{ "textures": { "all": "botania:blocks/biomeStone26" } }],
|
||||
"variant=chiseled_fungal": [{ "textures": { "all": "botania:blocks/biomeStone27" } }],
|
||||
"variant=chiseled_swamp": [{ "textures": { "all": "botania:blocks/biomeStone28" } }],
|
||||
"variant=chiseled_desert": [{ "textures": { "all": "botania:blocks/biomeStone29" } }],
|
||||
"variant=chiseled_taiga": [{ "textures": { "all": "botania:blocks/biomeStone30" } }],
|
||||
"variant=chiseled_mesa": [{ "textures": { "all": "botania:blocks/biomeStone31" } }]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/biomeStone16",
|
||||
"top": "botania:blocks/biomeStone16",
|
||||
"side": "botania:blocks/biomeStone16"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStone16" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/biomeStone17",
|
||||
"top": "botania:blocks/biomeStone17",
|
||||
"side": "botania:blocks/biomeStone17"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStone17" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/biomeStone18",
|
||||
"top": "botania:blocks/biomeStone18",
|
||||
"side": "botania:blocks/biomeStone18"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStone18" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/biomeStone19",
|
||||
"top": "botania:blocks/biomeStone19",
|
||||
"side": "botania:blocks/biomeStone19"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStone19" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/biomeStone20",
|
||||
"top": "botania:blocks/biomeStone20",
|
||||
"side": "botania:blocks/biomeStone20"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStone20" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/biomeStone21",
|
||||
"top": "botania:blocks/biomeStone21",
|
||||
"side": "botania:blocks/biomeStone21"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStone21" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/biomeStone22",
|
||||
"top": "botania:blocks/biomeStone22",
|
||||
"side": "botania:blocks/biomeStone22"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStone22" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/biomeStone23",
|
||||
"top": "botania:blocks/biomeStone23",
|
||||
"side": "botania:blocks/biomeStone23"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/biomeStone23" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/customBrick0",
|
||||
"top": "botania:blocks/customBrick0",
|
||||
"side": "botania:blocks/customBrick0"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/customBrick0" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/customBrick1",
|
||||
"top": "botania:blocks/customBrick1",
|
||||
"side": "botania:blocks/customBrick1"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/customBrick1" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/customBrick2",
|
||||
"top": "botania:blocks/customBrick2",
|
||||
"side": "botania:blocks/customBrick2"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/customBrick2" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/customBrick3",
|
||||
"top": "botania:blocks/customBrick3",
|
||||
"side": "botania:blocks/customBrick3"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/customBrick3" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/dirtPath",
|
||||
"top": "botania:blocks/dirtPath",
|
||||
"side": "botania:blocks/dirtPath"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/dirtPath" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/dreamwood0",
|
||||
"top": "botania:blocks/dreamwood0",
|
||||
"side": "botania:blocks/dreamwood0"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/dreamwood0" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:wall_post",
|
||||
"uvlock": true,
|
||||
"transform": "forge:default-block",
|
||||
"textures": { "wall": "botania:blocks/dreamwood0" }
|
||||
},
|
||||
"variants": {
|
||||
"east=false,north=true,south=true,up=false,west=false": { "model": null },
|
||||
"east=true,north=false,south=false,up=false,west=true": { "model": null },
|
||||
|
||||
"north": {
|
||||
"true": { "submodel": "botania:wall_connect" },
|
||||
"false": {}
|
||||
},
|
||||
"south": {
|
||||
"true": { "submodel": "botania:wall_connect", "y": 180 },
|
||||
"false": {}
|
||||
},
|
||||
"west": {
|
||||
"true": { "submodel": "botania:wall_connect", "y": 270 },
|
||||
"false": {}
|
||||
},
|
||||
"east": {
|
||||
"true": { "submodel": "botania:wall_connect", "y": 90 },
|
||||
"false": {}
|
||||
},
|
||||
"up": {
|
||||
"true": {},
|
||||
"false": {}
|
||||
},
|
||||
"inventory": [{
|
||||
"submodel": { "north": { "model": "botania:wall_connect" }, "south": { "model": "botania:wall_connect", "y": 180 }}
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/dreamwood1",
|
||||
"top": "botania:blocks/dreamwood1",
|
||||
"side": "botania:blocks/dreamwood1"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/dreamwood1" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:cube_all",
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"variant=end_stone_bricks": [{ "textures": { "all": "botania:blocks/endStoneBrick0" } }],
|
||||
"variant=chiseled_end_stone_bricks": [{ "textures": { "all": "botania:blocks/endStoneBrick1" } }],
|
||||
"variant=ender_bricks": [{ "textures": { "all": "botania:blocks/endStoneBrick2" } }],
|
||||
"variant=pillar_ender_bricks": [{ "textures": { "all": "botania:blocks/endStoneBrick3" } }]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/endStoneBrick0",
|
||||
"top": "botania:blocks/endStoneBrick0",
|
||||
"side": "botania:blocks/endStoneBrick0"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/endStoneBrick0" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/endStoneBrick2",
|
||||
"top": "botania:blocks/endStoneBrick2",
|
||||
"side": "botania:blocks/endStoneBrick2"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/endStoneBrick2" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"textures": {
|
||||
"rail": "botania:blocks/ghostRail"
|
||||
},
|
||||
"transform": "forge:default-item"
|
||||
},
|
||||
"variants": {
|
||||
"shape=north_south": { "model": "minecraft:rail_flat" },
|
||||
"shape=east_west": { "model": "minecraft:rail_flat", "y": 90 },
|
||||
"shape=ascending_east": { "model": "minecraft:rail_raised_ne", "y": 90 },
|
||||
"shape=ascending_west": { "model": "minecraft:rail_raised_sw", "y": 90 },
|
||||
"shape=ascending_north": { "model": "minecraft:rail_raised_ne" },
|
||||
"shape=ascending_south": { "model": "minecraft:rail_raised_sw" },
|
||||
"inventory": [{
|
||||
"model": "builtin/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:blocks/ghostRail"
|
||||
}
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/livingrock0",
|
||||
"top": "botania:blocks/livingrock0",
|
||||
"side": "botania:blocks/livingrock0"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/livingrock0" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:wall_post",
|
||||
"uvlock": true,
|
||||
"transform": "forge:default-block",
|
||||
"textures": { "wall": "botania:blocks/livingrock0" }
|
||||
},
|
||||
"variants": {
|
||||
"east=false,north=true,south=true,up=false,west=false": { "model": null },
|
||||
"east=true,north=false,south=false,up=false,west=true": { "model": null },
|
||||
|
||||
"north": {
|
||||
"true": { "submodel": "botania:wall_connect" },
|
||||
"false": {}
|
||||
},
|
||||
"south": {
|
||||
"true": { "submodel": "botania:wall_connect", "y": 180 },
|
||||
"false": {}
|
||||
},
|
||||
"west": {
|
||||
"true": { "submodel": "botania:wall_connect", "y": 270 },
|
||||
"false": {}
|
||||
},
|
||||
"east": {
|
||||
"true": { "submodel": "botania:wall_connect", "y": 90 },
|
||||
"false": {}
|
||||
},
|
||||
"up": {
|
||||
"true": {},
|
||||
"false": {}
|
||||
},
|
||||
"inventory": [{
|
||||
"submodel": { "north": { "model": "botania:wall_connect" }, "south": { "model": "botania:wall_connect", "y": 180 }}
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/livingrock1",
|
||||
"top": "botania:blocks/livingrock1",
|
||||
"side": "botania:blocks/livingrock1"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/livingrock1" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/livingwood0",
|
||||
"top": "botania:blocks/livingwood0",
|
||||
"side": "botania:blocks/livingwood0"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/livingwood0" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:wall_post",
|
||||
"uvlock": true,
|
||||
"transform": "forge:default-block",
|
||||
"textures": { "wall": "botania:blocks/livingwood0" }
|
||||
},
|
||||
"variants": {
|
||||
"east=false,north=true,south=true,up=false,west=false": { "model": null },
|
||||
"east=true,north=false,south=false,up=false,west=true": { "model": null },
|
||||
|
||||
"north": {
|
||||
"true": { "submodel": "botania:wall_connect" },
|
||||
"false": {}
|
||||
},
|
||||
"south": {
|
||||
"true": { "submodel": "botania:wall_connect", "y": 180 },
|
||||
"false": {}
|
||||
},
|
||||
"west": {
|
||||
"true": { "submodel": "botania:wall_connect", "y": 270 },
|
||||
"false": {}
|
||||
},
|
||||
"east": {
|
||||
"true": { "submodel": "botania:wall_connect", "y": 90 },
|
||||
"false": {}
|
||||
},
|
||||
"up": {
|
||||
"true": {},
|
||||
"false": {}
|
||||
},
|
||||
"inventory": [{
|
||||
"submodel": { "north": { "model": "botania:wall_connect" }, "south": { "model": "botania:wall_connect", "y": 180 }}
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/livingwood1",
|
||||
"top": "botania:blocks/livingwood1",
|
||||
"side": "botania:blocks/livingwood1"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/livingwood1" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:cube_all",
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"color=white": [{ "textures": { "all": "botania:blocks/pavement0" } }],
|
||||
"color=black": [{ "textures": { "all": "botania:blocks/pavement1" } }],
|
||||
"color=blue": [{ "textures": { "all": "botania:blocks/pavement2" } }],
|
||||
"color=red": [{ "textures": { "all": "botania:blocks/pavement3"} }],
|
||||
"color=yellow": [{ "textures": { "all": "botania:blocks/pavement4"} }],
|
||||
"color=green": [{ "textures": { "all": "botania:blocks/pavement5" } }]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/pavement0",
|
||||
"top": "botania:blocks/pavement0",
|
||||
"side": "botania:blocks/pavement0"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/pavement0" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/pavement1",
|
||||
"top": "botania:blocks/pavement1",
|
||||
"side": "botania:blocks/pavement1"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/pavement1" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/pavement2",
|
||||
"top": "botania:blocks/pavement2",
|
||||
"side": "botania:blocks/pavement2"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/pavement2" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/pavement3",
|
||||
"top": "botania:blocks/pavement3",
|
||||
"side": "botania:blocks/pavement3"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/pavement3" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/pavement4",
|
||||
"top": "botania:blocks/pavement4",
|
||||
"side": "botania:blocks/pavement4"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"normal": [{
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": { "all": "botania:blocks/pavement4" }
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:half_slab",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/pavement5",
|
||||
"top": "botania:blocks/pavement5",
|
||||
"side": "botania:blocks/pavement5"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"half=top": [{
|
||||
"x": 180
|
||||
}],
|
||||
"half=bottom": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
||||
Loaded 100 of 153 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user