Don't punish this much for half researched patterns
This commit is contained in:
parent
accb0b526c
commit
05a3b4a1d2
@ -133,7 +133,7 @@ class BlockEntityMatterReplicator(p_155229_: BlockPos, p_155230_: BlockState) :
|
|||||||
if (allocation.pattern != null)
|
if (allocation.pattern != null)
|
||||||
it["pattern"] = allocation.pattern.serializeNBT()
|
it["pattern"] = allocation.pattern.serializeNBT()
|
||||||
|
|
||||||
if ((level?.random?.nextDouble() ?: 1.0) > (allocation.pattern?.research ?: 2.0).pow(2.0))
|
if ((level?.random?.nextDouble() ?: 1.0) > (allocation.pattern?.research ?: 2.0))
|
||||||
it["as_dust"] = true
|
it["as_dust"] = true
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user