Fossils and Archeology: Revival

Fossils and Archeology: Revival

6M Downloads

Crafttweaker for addAnalyzerOutput doesn't respect weight param

tyon2006 opened this issue ยท 0 comments

commented

Hey! I've got a problem with adding an output to the analyzer. When i added a weight of "10" (see below) for an item, its JEI indicates it has a 10% chance of giving you the item from the output. My testing indicates a 100% outcome, even when i set the weight as low as 0.5. I attempted to add minecraft:air and null as other outputs with a weight of 90 (to attempt a 10% chance of getting the non-air) and it fails to load and tells me null isnt a valid input. Seems like the weight calculation is a little screwy.

example:
mods.fossils.recipes.addAnalyzerOutput(thaumcraft:brain, contenttweaker:dna_bodypart_eyes, 10);