update modded block support

This commit is contained in:
octarine-noise
2016-07-28 12:15:56 +02:00
parent 5efc974133
commit 8bdb5ca8fd
4 changed files with 23 additions and 11 deletions

View File

@@ -48,6 +48,7 @@ object LeafRegistry : BlockTextureInspector<TextureAtlasSprite>() {
init { init {
matchClassAndModel(Config.blocks.leaves, "minecraft:block/leaves", listOf("all")) matchClassAndModel(Config.blocks.leaves, "minecraft:block/leaves", listOf("all"))
matchClassAndModel(Config.blocks.leaves, "minecraft:block/cube_all", listOf("all")) matchClassAndModel(Config.blocks.leaves, "minecraft:block/cube_all", listOf("all"))
matchClassAndModel(Config.blocks.leaves, "biomesoplenty:block/leaves_overlay", listOf("under"))
} }
operator fun get(state: IBlockState, world: IBlockAccess, pos: BlockPos, face: EnumFacing): LeafInfo? { operator fun get(state: IBlockState, world: IBlockAccess, pos: BlockPos, face: EnumFacing): LeafInfo? {

View File

@@ -12,3 +12,7 @@ com.bioxx.tfc.Blocks.Terrain.BlockDirt
// Aether // Aether
net.aetherteam.aether.blocks.natural.BlockAetherDirt net.aetherteam.aether.blocks.natural.BlockAetherDirt
com.gildedgames.aether.common.blocks.natural.BlockAetherDirt
// Tinker's Construct
slimeknights.tconstruct.world.block.BlockSlimeDirt

View File

@@ -2,12 +2,7 @@
net.minecraft.block.BlockGrass net.minecraft.block.BlockGrass
// Biomes O'Plenty // Biomes O'Plenty
biomesoplenty.common.blocks.BlockOriginGrass biomesoplenty.common.block.BlockBOPGrass
biomesoplenty.common.blocks.BlockLongGrass
biomesoplenty.common.blocks.BlockNewGrass
// Tinker's Construct
tconstruct.blocks.slime.SlimeGrass
// Enhanced Biomes // Enhanced Biomes
enhancedbiomes.blocks.BlockGrassEB enhancedbiomes.blocks.BlockGrassEB
@@ -15,5 +10,5 @@ enhancedbiomes.blocks.BlockGrassEB
// TerraFirmaCraft // TerraFirmaCraft
com.bioxx.tfc.Blocks.Terrain.BlockGrass com.bioxx.tfc.Blocks.Terrain.BlockGrass
// Aether // Random Things
net.aetherteam.aether.blocks.natural.BlockAetherGrass lumien.randomthings.block.BlockColoredGrass

View File

@@ -1,8 +1,20 @@
// Vanilla // Vanilla
net.minecraft.block.BlockLeaves net.minecraft.block.BlockLeaves
// Biomes O'Plenty
biomesoplenty.common.block.BlockBOPLeaves
// Forestry // Forestry
forestry.arboriculture.gadgets.BlockLeaves forestry.arboriculture.blocks.BlockForestryLeaves
// Tinker's Construct
slimeknights.tconstruct.world.block.BlockSlimeLeaves
// Thaumcraft // Thaumcraft
thaumcraft.common.blocks.BlockMagicalLeaves thaumcraft.common.blocks.world.plants.BlockLeavesTC
// TechReborn
//techreborn.blocks.BlockRubberLeaves
// Random Things
lumien.randomthings.block.spectretree.BlockSpectreLeaf