Compare commits
8 Commits
1.15.2-For
...
kotlin-1.1
| Author | SHA1 | Date | |
|---|---|---|---|
| 5aa33d7c70 | |||
| 64146a0f98 | |||
|
|
47c134049c | ||
|
|
b1ad58c089 | ||
|
|
85e63b9161 | ||
|
|
59ddaa0335 | ||
|
|
ae84741622 | ||
|
|
369348f6aa |
@@ -2,3 +2,6 @@ BetterFoliage
|
|||||||
=============
|
=============
|
||||||
|
|
||||||
Minecraft mod that alters the appearance of leaves & grass
|
Minecraft mod that alters the appearance of leaves & grass
|
||||||
|
|
||||||
|
fixed by @CatmanGames for StateMC<br>
|
||||||
|
(don't render certain textures when there is a block from another mod above)
|
||||||
@@ -8,4 +8,6 @@ forge_version = 14.23.5.2847
|
|||||||
mcp_mappings = stable_39
|
mcp_mappings = stable_39
|
||||||
|
|
||||||
kotlin_version = 1.3.40
|
kotlin_version = 1.3.40
|
||||||
forgelin_version = 1.8.4
|
forgelin_version = 1.8.4
|
||||||
|
|
||||||
|
org.gradle.java.home=C:\\Users\\catma\\.jdks\\corretto-1.8.0_482
|
||||||
@@ -118,7 +118,7 @@ interface IBlockUpdateListener : IWorldEventListener {
|
|||||||
override fun notifyLightSet(pos: BlockPos) {}
|
override fun notifyLightSet(pos: BlockPos) {}
|
||||||
override fun spawnParticle(particleID: Int, ignoreRange: Boolean, xCoord: Double, yCoord: Double, zCoord: Double, xSpeed: Double, ySpeed: Double, zSpeed: Double, vararg parameters: Int) {}
|
override fun spawnParticle(particleID: Int, ignoreRange: Boolean, xCoord: Double, yCoord: Double, zCoord: Double, xSpeed: Double, ySpeed: Double, zSpeed: Double, vararg parameters: Int) {}
|
||||||
override fun spawnParticle(id: Int, ignoreRange: Boolean, minimiseParticleLevel: Boolean, x: Double, y: Double, z: Double, xSpeed: Double, ySpeed: Double, zSpeed: Double, vararg parameters: Int) {}
|
override fun spawnParticle(id: Int, ignoreRange: Boolean, minimiseParticleLevel: Boolean, x: Double, y: Double, z: Double, xSpeed: Double, ySpeed: Double, zSpeed: Double, vararg parameters: Int) {}
|
||||||
override fun playRecord(soundIn: SoundEvent, pos: BlockPos) {}
|
override fun playRecord(soundIn: SoundEvent?, pos: BlockPos) {}
|
||||||
override fun sendBlockBreakProgress(breakerId: Int, pos: BlockPos, progress: Int) {}
|
override fun sendBlockBreakProgress(breakerId: Int, pos: BlockPos, progress: Int) {}
|
||||||
override fun markBlockRangeForRenderUpdate(x1: Int, y1: Int, z1: Int, x2: Int, y2: Int, z2: Int) {}
|
override fun markBlockRangeForRenderUpdate(x1: Int, y1: Int, z1: Int, x2: Int, y2: Int, z2: Int) {}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -102,6 +102,10 @@ class RenderGrass : AbstractBlockRenderingHandler(BetterFoliageMod.MOD_ID) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!Config.shortGrass.grassEnabled) return true
|
if (!Config.shortGrass.grassEnabled) return true
|
||||||
|
|
||||||
|
val stateAbove = ctx.blockState(up1)
|
||||||
|
if (!stateAbove.block.isAir(stateAbove, ctx.world!!, ctx.pos.up())) return true
|
||||||
|
|
||||||
if (isSnowed && !Config.shortGrass.snowEnabled) return true
|
if (isSnowed && !Config.shortGrass.snowEnabled) return true
|
||||||
if (ctx.blockState(up1).isOpaqueCube) return true
|
if (ctx.blockState(up1).isOpaqueCube) return true
|
||||||
if (Config.shortGrass.population < 64 && noise[ctx.pos] >= Config.shortGrass.population) return true
|
if (Config.shortGrass.population < 64 && noise[ctx.pos] >= Config.shortGrass.population) return true
|
||||||
|
|||||||
@@ -34,3 +34,10 @@ com.pam.harvestcraft.BlockPamCrop
|
|||||||
com.pam.harvestcraft.BlockPamDesertGarden
|
com.pam.harvestcraft.BlockPamDesertGarden
|
||||||
com.pam.harvestcraft.BlockPamNormalGarden
|
com.pam.harvestcraft.BlockPamNormalGarden
|
||||||
com.pam.harvestcraft.BlockPamWaterGarden
|
com.pam.harvestcraft.BlockPamWaterGarden
|
||||||
|
|
||||||
|
// Plants
|
||||||
|
shadows.plants2.block.BlockEnumCrop
|
||||||
|
|
||||||
|
// Cuisine
|
||||||
|
snownee.cuisine.blocks.BlockCuisineCrops
|
||||||
|
-snownee.cuisine.blocks.BlockDoubleCrops
|
||||||
|
|||||||
@@ -6,3 +6,11 @@ biomesoplenty.common.block.BlockBOPLeaves
|
|||||||
|
|
||||||
// Aether II
|
// Aether II
|
||||||
com.gildedgames.aether.common.blocks.natural.BlockAetherLeaves
|
com.gildedgames.aether.common.blocks.natural.BlockAetherLeaves
|
||||||
|
|
||||||
|
// Plants
|
||||||
|
shadows.plants2.block.BlockEnumLeaves
|
||||||
|
shadows.plants2.block.BlockEnumNetherLeaves
|
||||||
|
|
||||||
|
// Cuisine
|
||||||
|
snownee.cuisine.blocks.BlockModLeaves
|
||||||
|
snownee.cuisine.blocks.BlockShearedLeaves
|
||||||
|
|||||||
@@ -31,5 +31,9 @@ ic2.core.block.BlockRubWood
|
|||||||
// TechReborn
|
// TechReborn
|
||||||
techreborn.blocks.BlockRubberLog
|
techreborn.blocks.BlockRubberLog
|
||||||
|
|
||||||
//Better With Mods
|
// Better With Mods
|
||||||
betterwithmods.blocks.BlockStump
|
betterwithmods.blocks.BlockStump
|
||||||
|
|
||||||
|
// Plants
|
||||||
|
shadows.plants2.block.BlockEnumLog
|
||||||
|
shadows.plants2.block.BlockEnumNetherLog
|
||||||
|
|||||||
Reference in New Issue
Block a user