mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
FUCK
This commit is contained in:
parent
7be71dfb99
commit
71cdc4c788
@ -42,7 +42,7 @@ public class ItemPoolsSatellite {
|
|||||||
weighted(ModItems.crystal_plutonium, 0, 1, 1, 3),
|
weighted(ModItems.crystal_plutonium, 0, 1, 1, 3),
|
||||||
weighted(ModItems.crystal_trixite, 0, 1, 1, 1),
|
weighted(ModItems.crystal_trixite, 0, 1, 1, 1),
|
||||||
weighted(ModItems.crystal_starmetal, 0, 1, 1, 1),
|
weighted(ModItems.crystal_starmetal, 0, 1, 1, 1),
|
||||||
weighted(ModItems.crystal_lithium, 0, 2,1, 4)
|
weighted(ModItems.crystal_lithium, 0, 2 ,2, 4)
|
||||||
};
|
};
|
||||||
}};
|
}};
|
||||||
|
|
||||||
|
|||||||
@ -11,9 +11,9 @@ import net.minecraft.util.WeightedRandomChestContent;
|
|||||||
|
|
||||||
public class HbmChestContents {
|
public class HbmChestContents {
|
||||||
|
|
||||||
public static WeightedRandomChestContent weighted(Item item, int meta, int min, int max, int weight) { return new WeightedRandomChestContent(item, meta, min, max, weight); }
|
public static WeightedRandomChestContent weighted(Item item, int meta, int min, int max, int weight) { return new WeightedRandomChestContent(item, meta, Math.min(min, max), Math.max(min, max), weight); }
|
||||||
public static WeightedRandomChestContent weighted(Block block, int meta, int min, int max, int weight) { return new WeightedRandomChestContent(Item.getItemFromBlock(block), meta, min, max, weight); }
|
public static WeightedRandomChestContent weighted(Block block, int meta, int min, int max, int weight) { return new WeightedRandomChestContent(Item.getItemFromBlock(block), meta, Math.min(min, max), Math.max(min, max), weight); }
|
||||||
public static WeightedRandomChestContent weighted(ItemStack item, int min, int max, int weight) { return new WeightedRandomChestContent(item, min, max, weight); }
|
public static WeightedRandomChestContent weighted(ItemStack item, int min, int max, int weight) { return new WeightedRandomChestContent(item, Math.min(min, max), Math.max(min, max), weight); }
|
||||||
|
|
||||||
/** ITEMBOOKLORE SHIT */
|
/** ITEMBOOKLORE SHIT */
|
||||||
//one downside of all this huge flexibility, make a wrapper if it's too annoying
|
//one downside of all this huge flexibility, make a wrapper if it's too annoying
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user