View Issue Details

IDProjectCategoryView StatusLast Update
0002143Industrial-Craft²crossmod-compatibility / submodules / APIpublic2017-04-08 16:50
ReporterHellFirePvP Assigned ToChocohead  
Status resolvedResolutionfixed 
Fixed in VersionBuilds for MC 1.10.x 
Summary0002143: Rubber Sapling not firing SaplingGrow Event
DescriptionAs the summary line says, the Ic2Sapling doesn't fire the TerrainGen Event that would inform mods that a sapling just grows and is therefore not cancellable.

Proposed fix: Just add

if (!net.minecraftforge.event.terraingen.TerrainGen.saplingGrowTree(worldIn, rand, pos)) return;

right before the worldGenerator to allow for mods to see, check & potentially deny tree spawning if it's "unfitting" for the given position or whatever.

Thanks in advance.
TagsNo tags attached.
Minecraft Version1.10.2



2017-04-08 16:50

developer   ~0005119

Added in IC2 2.6.194

Issue History

Date Modified Username Field Change
2017-04-08 13:16 HellFirePvP New Issue
2017-04-08 16:50 Chocohead Note Added: 0005119
2017-04-08 16:50 Chocohead Status new => resolved
2017-04-08 16:50 Chocohead Fixed in Version => Builds for MC 1.10.x
2017-04-08 16:50 Chocohead Resolution open => fixed
2017-04-08 16:50 Chocohead Assigned To => Chocohead