2024-03-20 16:46:05 +01:00

44 lines
1.5 KiB
Java

package com.hbm.itempool;
import static com.hbm.lib.HbmChestContents.weighted;
import com.hbm.blocks.ModBlocks;
import com.hbm.items.ModItems;
import net.minecraft.util.WeightedRandomChestContent;
public class ItemPoolsRedRoom {
public static final String POOL_RED_PEDESTAL = "POOL_RED_PEDESTAL";
public static void init() {
//pedestal items
new ItemPool(POOL_RED_PEDESTAL) {{
this.pool = new WeightedRandomChestContent[] {
weighted(ModItems.ballistic_gauntlet, 0, 1, 1, 10),
weighted(ModItems.armor_polish, 0, 1, 1, 10),
weighted(ModItems.bandaid, 0, 1, 1, 10),
weighted(ModItems.serum, 0, 1, 1, 10),
weighted(ModItems.quartz_plutonium, 0, 1, 1, 10),
weighted(ModItems.morning_glory, 0, 1, 1, 10),
weighted(ModItems.spider_milk, 0, 1, 1, 10),
weighted(ModItems.ink, 0, 1, 1, 10),
weighted(ModItems.heart_container, 0, 1, 1, 10),
weighted(ModItems.black_diamond, 0, 1, 1, 10),
weighted(ModItems.scrumpy, 0, 1, 1, 10),
weighted(ModItems.wild_p, 0, 1, 1, 5),
weighted(ModItems.card_aos, 0, 1, 1, 5),
weighted(ModItems.card_qos, 0, 1, 1, 5),
weighted(ModItems.starmetal_sword, 0, 1, 1, 5),
weighted(ModItems.gem_alexandrite, 0, 1, 1, 5),
weighted(ModItems.crackpipe, 0, 1, 1, 5),
weighted(ModItems.flask_infusion, 0, 1, 1, 5),
weighted(ModBlocks.boxcar, 0, 1, 1, 5),
weighted(ModItems.book_of_, 0, 1, 1, 5),
weighted(ModItems.gun_revolver_pip, 0, 1, 1, 5)
};
}};
}
}