mirror of
https://github.com/GTNewHorizons/ThaumicTinkerer.git
synced 2026-11-28 16:06:07 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d922bfbdbf | ||
|
|
7c2c6b7966 |
No files matched your search
+11
-11
@@ -1,20 +1,20 @@
|
||||
// Add your dependencies here
|
||||
|
||||
dependencies {
|
||||
api('com.github.GTNewHorizons:Baubles:1.0.1.14:dev')
|
||||
api('com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-195-GTNH:api')
|
||||
api('com.github.GTNewHorizons:Baubles:1.0.1.16:dev')
|
||||
api('com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-254-GTNH:api')
|
||||
|
||||
api('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev')
|
||||
|
||||
compileOnly('com.github.GTNewHorizons:Botania:1.9.1-GTNH:dev') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:EnderCore:0.2.6:dev') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:EnderIO:2.3.1.29:dev') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:EnderStorage:1.4.11:dev') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:waila:1.5.19:api') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:TinkersConstruct:1.9.0.13-GTNH:dev') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:ForgeMultipart:1.2.7:dev') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:CodeChickenLib:1.1.5.3:dev') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:OpenComputers:1.9.1-GTNH:api') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:Botania:1.9.24-GTNH:dev') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:EnderCore:0.2.17:dev') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:EnderIO:2.4.24:dev') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:EnderStorage:1.4.12:dev') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:waila:1.6.0:api') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:TinkersConstruct:1.10.1-GTNH:dev') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:ForgeMultipart:1.3.4:dev') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:CodeChickenLib:1.1.8:dev') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:OpenComputers:1.9.15-GTNH:api') {transitive=false}
|
||||
|
||||
compileOnly('curse.maven:computercraft-67504:2269339')
|
||||
compileOnly('curse.maven:cofh-lib-220333:2388748')
|
||||
|
||||
@@ -123,7 +123,15 @@ public abstract class BlockFireBase extends BlockFire implements ITTinkererBlock
|
||||
world.setBlock(xT, yT, zT, targetTransform, 0, 3);
|
||||
}
|
||||
}
|
||||
if (blockMeta >= 15) {
|
||||
|
||||
if (blockMeta < 15 && blockMeta > 0) {
|
||||
// Randomly increase the age of a fire
|
||||
// 0 meta is considered a source and never increases, for any other meta we have a chance to increase
|
||||
final int newMeta = Math.min(blockMeta + rand.nextInt(3) / 2, 15);
|
||||
if (newMeta > blockMeta) {
|
||||
world.setBlockMetadataWithNotify(x, y, z, newMeta, 4);
|
||||
}
|
||||
} else if (blockMeta >= 15) {
|
||||
// No spreading if we're at max meta
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user