MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002143Industrial-Craft²crossmod-compatibility / submodules / APIpublic2017-04-08 15:162017-04-08 18:50
ReporterHellFirePvP 
Assigned ToChocohead 
PrioritynormalSeveritytrivialReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed 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
Attached Files

- Relationships

-  Notes
(0005119)
Chocohead (developer)
2017-04-08 18:50

Added in IC2 2.6.194

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


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker