OtherDrops

226k Downloads

ANY_SWORD/5, etc drops 5 of same sword

Zarius opened this issue ยท 0 comments

commented

ANY_SWORD/5/80% gives:

{WOOD_SWORD/5/80.0%, STONE_SWORD/5/80.0%, GOLD_SWORD/5/80.0%, IRON_SWORD/5/80.0%, DIAMOND_SWORD/5/80.0%}

So there's a random chance of getting a different type of sword but you always get the same 5 swords.

Need to rework the code to allow for this to generate true random items each time (ie. could be 5 different swords.

Where this is most apparent is if anyone uses ANY/5 (the list this generates would be huge).

ANY_ITEM gives:

{IRON_SPADE/5/80.0%, IRON_PICKAXE/5/80.0%, IRON_AXE/5/80.0%, FLINT_AND_STEEL/5/80.0%, APPLE/5/80.0%, BOW/5/80.0%, ARROW/5/80.0%, COAL@COAL/5/80.0%, DIAMOND/5/80.0%, IRON_INGOT/5/80.0%, GOLD_INGOT/5/80.0%, IRON_SWORD/5/80.0%, WOOD_SWORD/5/80.0%, WOOD_SPADE/5/80.0%, WOOD_PICKAXE/5/80.0%, WOOD_AXE/5/80.0%, STONE_SWORD/5/80.0%, STONE_SPADE/5/80.0%, STONE_PICKAXE/5/80.0%, STONE_AXE/5/80.0%, DIAMOND_SWORD/5/80.0%, DIAMOND_SPADE/5/80.0%, DIAMOND_PICKAXE/5/80.0%, DIAMOND_AXE/5/80.0%, STICK/5/80.0%, BOWL/5/80.0%, MUSHROOM_SOUP/5/80.0%, GOLD_SWORD/5/80.0%, GOLD_SPADE/5/80.0%, GOLD_PICKAXE/5/80.0%, GOLD_AXE/5/80.0%, STRING/5/80.0%, FEATHER/5/80.0%, SULPHUR/5/80.0%, WOOD_HOE/5/80.0%, STONE_HOE/5/80.0%, IRON_HOE/5/80.0%, DIAMOND_HOE/5/80.0%, GOLD_HOE/5/80.0%, SEEDS/5/80.0%, WHEAT/5/80.0%, BREAD/5/80.0%, LEATHER_HELMET/5/80.0%, LEATHER_CHESTPLATE/5/80.0%, LEATHER_LEGGINGS/5/80.0%, LEATHER_BOOTS/5/80.0%, CHAINMAIL_HELMET/5/80.0%, CHAINMAIL_CHESTPLATE/5/80.0%, CHAINMAIL_LEGGINGS/5/80.0%, CHAINMAIL_BOOTS/5/80.0%, IRON_HELMET/5/80.0%, IRON_CHESTPLATE/5/80.0%, IRON_LEGGINGS/5/80.0%, IRON_BOOTS/5/80.0%, DIAMOND_HELMET/5/80.0%, DIAMOND_CHESTPLATE/5/80.0%, DIAMOND_LEGGINGS/5/80.0%, DIAMOND_BOOTS/5/80.0%, GOLD_HELMET/5/80.0%, GOLD_CHESTPLATE/5/80.0%, GOLD_LEGGINGS/5/80.0%, GOLD_BOOTS/5/80.0%, FLINT/5/80.0%, PORK/5/80.0%, GRILLED_PORK/5/80.0%, PAINTING/5/80.0%, GOLDEN_APPLE/5/80.0%, SIGN/5/80.0%, WOOD_DOOR/5/80.0%, BUCKET/5/80.0%, WATER_BUCKET/5/80.0%, LAVA_BUCKET/5/80.0%, MINECART/5/80.0%, SADDLE/5/80.0%, IRON_DOOR/5/80.0%, REDSTONE/5/80.0%, SNOW_BALL/5/80.0%, BOAT/5/80.0%, LEATHER/5/80.0%, MILK_BUCKET/5/80.0%, CLAY_BRICK/5/80.0%, CLAY_BALL/5/80.0%, SUGAR_CANE/5/80.0%, PAPER/5/80.0%, BOOK/5/80.0%, SLIME_BALL/5/80.0%, STORAGE_MINECART/5/80.0%, POWERED_MINECART/5/80.0%, EGG/5/80.0%, COMPASS/5/80.0%, FISHING_ROD/5/80.0%, WATCH/5/80.0%, GLOWSTONE_DUST/5/80.0%, RAW_FISH/5/80.0%, COOKED_FISH/5/80.0%, INK_SACK@BLACK/5/80.0%, BONE/5/80.0%, SUGAR/5/80.0%, CAKE/5/80.0%, BED/5/80.0%, DIODE/5/80.0%, COOKIE/5/80.0%, MAP/5/80.0%, SHEARS/5/80.0%, MELON/5/80.0%, PUMPKIN_SEEDS/5/80.0%, MELON_SEEDS/5/80.0%, RAW_BEEF/5/80.0%, COOKED_BEEF/5/80.0%, RAW_CHICKEN/5/80.0%, COOKED_CHICKEN/5/80.0%, ROTTEN_FLESH/5/80.0%, ENDER_PEARL/5/80.0%, BLAZE_ROD/5/80.0%, GHAST_TEAR/5/80.0%, GOLD_NUGGET/5/80.0%, NETHER_STALK/5/80.0%, POTION/5/80.0%, GLASS_BOTTLE/5/80.0%, SPIDER_EYE/5/80.0%, FERMENTED_SPIDER_EYE/5/80.0%, BLAZE_POWDER/5/80.0%, MAGMA_CREAM/5/80.0%, BREWING_STAND_ITEM/5/80.0%, CAULDRON_ITEM/5/80.0%, EYE_OF_ENDER/5/80.0%, SPECKLED_MELON/5/80.0%, MONSTER_EGG/5/80.0%, EXP_BOTTLE/5/80.0%, FIREBALL/5/80.0%, BOOK_AND_QUILL/5/80.0%, WRITTEN_BOOK/5/80.0%, EMERALD/5/80.0%, ITEM_FRAME/5/80.0%, FLOWER_POT_ITEM/5/80.0%, CARROT_ITEM/5/80.0%, POTATO_ITEM/5/80.0%, BAKED_POTATO/5/80.0%, POISONOUS_POTATO/5/80.0%, EMPTY_MAP/5/80.0%, GOLDEN_CARROT/5/80.0%, SKULL_ITEM/5/80.0%, CARROT_STICK/5/80.0%, NETHER_STAR/5/80.0%, PUMPKIN_PIE/5/80.0%, FIREWORK/5/80.0%, FIREWORK_CHARGE/5/80.0%, ENCHANTED_BOOK/5/80.0%, GOLD_RECORD/5/80.0%, GREEN_RECORD/5/80.0%, RECORD_3/5/80.0%, RECORD_4/5/80.0%, RECORD_5/5/80.0%, RECORD_6/5/80.0%, RECORD_7/5/80.0%, RECORD_8/5/80.0%, RECORD_9/5/80.0%, RECORD_10/5/80.0%, RECORD_11/5/80.0%, RECORD_12/5/80.0%}