Ejemplo n.º 1
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'break_tools', {
            'title': '敗家子',
            'desc': '用壞工具的數量',
            'unit': 'int',
        },
        mcstats.StatSumMatchReader(['minecraft:broken'], [
            'minecraft:.+_axe',
            'minecraft:.+_hoe',
            'minecraft:.+_pickaxe',
            'minecraft:.+_shovel',
            'minecraft:fishing_rod',
            'minecraft:flint_and_steel',
            'minecraft:shears',
        ])))
Ejemplo n.º 2
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'craft_bookshelf',
        {
            'title': 'Libraire',
            'desc': 'Bibliothèques craftées',
            'unit': 'int',
        },
        mcstats.StatReader(['minecraft:crafted','minecraft:bookshelf'])
    ))
Ejemplo n.º 3
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'use_ender_eye', {
            'title': 'Stronghold Seeker',
            'desc': 'Ender eyes thrown',
            'unit': 'int',
        }, mcstats.StatReader(['minecraft:used', 'minecraft:ender_eye'])))
Ejemplo n.º 4
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'ring_bell',
        {
            'title': 'Ding Dong Ditch!',
            'desc': 'Bells rung',
            'unit': 'int',
        },
        mcstats.StatReader(['minecraft:custom', 'minecraft:bell_ring']),
        1907  # bells added in 18w44a
    ))
Ejemplo n.º 5
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'eat_junkfood',
        {
            'title': 'Pica',
            'desc': 'Junkfood items eaten',
            'unit': 'int',
        },
        mcstats.StatSumReader([
            mcstats.StatReader(['minecraft:used','minecraft:rotten_flesh']),
            mcstats.StatReader(['minecraft:used','minecraft:spider_eye']),
            mcstats.StatReader(['minecraft:used','minecraft:poisonous_potato']),
        ])
    ))
Ejemplo n.º 6
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'mine_kelp',
        {
            'title': 'Algoculture',
            'desc': 'Algues coupées',
            'unit': 'int',
        },
        mcstats.StatSumReader([
            mcstats.StatReader(['minecraft:mined','minecraft:kelp']),
            mcstats.StatReader(['minecraft:mined','minecraft:kelp_plant']),
        ])
    ))
Ejemplo n.º 7
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'craft_ender_chest',
        {
            'title': 'Ender Crafter',
            'desc': 'Ender chests crafted',
            'unit': 'int',
        },
        mcstats.StatReader(['minecraft:crafted','minecraft:ender_chest']),
    ))
Ejemplo n.º 8
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'tame', {
            'title': 'Zoologue',
            'desc': 'Animaux apprivoisés',
            'unit': 'int',
        }, mcstats.StatReader(['minecraft:custom', 'minecraft:tame_entity'])))
Ejemplo n.º 9
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'place_bars',
        {
            'title': '獄卒',
            'desc': '鐵欄杆的放置數量',
            'unit': 'int',
        },
        mcstats.StatReader(['minecraft:used','minecraft:iron_bars'])
    ))
Ejemplo n.º 10
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'craft_armor', {
            'title': 'Armurier',
            'desc': 'Armures craftées',
            'unit': 'int',
        },
        mcstats.StatSumMatchReader(['minecraft:crafted'], [
            'minecraft:.+_helmet',
            'minecraft:.+_leggings',
            'minecraft:.+_boots',
            'minecraft:.+_chestplate',
            'minecraft:shield',
        ])))
Ejemplo n.º 11
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'interact_smoker',
        {
            'unit': 'int',
        },
        mcstats.StatReader(['minecraft:custom','minecraft:interact_with_smoker']),
        1919 # smokers usable since 18w50a
    ))
Ejemplo n.º 12
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'biomes', {
            'title': 'Explorateur',
            'desc': 'Biomes découverts',
            'unit': 'int',
        },
        mcstats.StatListLengthReader([
            'advancements', 'minecraft:adventure/adventuring_time', 'criteria'
        ])))
Ejemplo n.º 13
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'harvest_bamboo',
        {
            'title': 'Bamboozled',
            'desc': 'Bamboo harvested',
            'unit': 'int',
        },
        mcstats.StatReader(['minecraft:picked_up', 'minecraft:bamboo']),
        1901  # bamboo added in 18w43a
    ))
Ejemplo n.º 14
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'mine_ice', {
            'title': '冰塊破壞者',
            'desc': '破壞的冰塊總量',
            'unit': 'int',
        },
        mcstats.StatSumReader([
            mcstats.StatReader(['minecraft:mined', 'minecraft:ice']),
            mcstats.StatReader(['minecraft:mined', 'minecraft:packed_ice']),
            mcstats.StatReader(['minecraft:mined', 'minecraft:blue_ice']),
            mcstats.StatReader(['minecraft:mined', 'minecraft:frosted_ice']),
        ])))
Ejemplo n.º 15
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'mine_sea_pickles', {
            'title': 'Légume sous-marin',
            'desc': 'Cornichons de mer récoltés',
            'unit': 'int',
        }, mcstats.StatReader(['minecraft:mined', 'minecraft:sea_pickle'])))
Ejemplo n.º 16
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'craft_wood',
        {
            'title': 'Bois complet',
            'desc': 'Bois craftés',
            'unit': 'int',
        },
        mcstats.StatSumMatchReader(
            ['minecraft:crafted'],
            ['minecraft:.+_wood'])
    ))
Ejemplo n.º 17
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'win_raid',
        {
            'title': 'Hero',
            'desc': 'Raids won',
            'unit': 'int',
        },
        mcstats.StatReader(['minecraft:custom','minecraft:raid_win']),
        1912 # raids added in 18w47a
    ))
Ejemplo n.º 18
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'craft_cauldron',
        {
            'title': 'Apprenti sorcier',
            'desc': 'Chaudrons craftés',
            'unit': 'int',
        },
        mcstats.StatReader(['minecraft:crafted', 'minecraft:cauldron']),
    ))
Ejemplo n.º 19
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'place_piston',
        {
            'unit': 'int',
        },
        mcstats.StatSumMatchReader(
            ['minecraft:used'],
            ['minecraft:.*piston'])
    ))
Ejemplo n.º 20
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'craft_paper', {
            'unit': 'int',
        }, mcstats.StatReader(['minecraft:crafted', 'minecraft:paper'])))
Ejemplo n.º 21
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'xp_received',
        {
            'title': 'Expérience sociale',
            'desc': 'Points d\'expérience ramassés',
            'unit': 'int',
        },
        mcstats.StatReader(['minecraft:custom','minecraft:xp_received'])
    ))
Ejemplo n.º 22
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'use_lava_bucket', {
            'title': '汽油彈',
            'desc': '傾倒岩漿次數',
            'unit': 'int',
        }, mcstats.StatReader(['minecraft:used', 'minecraft:lava_bucket'])))
Ejemplo n.º 23
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'mine_wood', {
            'title': 'Woodcutter',
            'desc': 'Wood blocks cut',
            'unit': 'int',
        },
        mcstats.StatSumMatchReader(['minecraft:mined'],
                                   ['minecraft:.+_log', 'minecraft:.+_stem'])))
Ejemplo n.º 24
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'mine_leaves', {
            'title': 'Druide',
            'desc': 'Nombre de feuilles cassés',
            'unit': 'int',
        },
        mcstats.StatSumMatchReader(['minecraft:mined'],
                                   ['minecraft:.+_leaves'])))
Ejemplo n.º 25
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'use_egg', {
            'title': '抓到了!',
            'desc': '丟擲雞蛋次數',
            'unit': 'int',
        }, mcstats.StatReader(['minecraft:used', 'minecraft:egg'])))
Ejemplo n.º 26
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'craft_turtle_helmet',
        {
            'unit': 'int',
        },
        mcstats.StatSumReader([
            mcstats.StatReader(
                ['minecraft:crafted', 'minecraft:turtle_helmet']),
        ]),
        1467  # turtle helmets introduced in 18w07a
    ))
Ejemplo n.º 27
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'harvest_bamboo',
        {
            'unit': 'int',
        },
        mcstats.StatReader(['minecraft:picked_up', 'minecraft:bamboo']),
        1901  # bamboo added in 18w43a
    ))
Ejemplo n.º 28
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'place_glass',
        {
            'title': 'Glassworker',
            'desc': 'Glass placed',
            'unit': 'int',
        },
        mcstats.StatSumMatchReader(
            ['minecraft:used'], ['minecraft:glass', 'minecraft:.*glass_pane']),
    ))
Ejemplo n.º 29
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'place_lantern', {
            'title': 'Fear Of The Dark',
            'desc': 'Lanterns placed',
            'unit': 'int',
        },
        mcstats.StatDiffReader(
            mcstats.StatReader(['minecraft:used', 'minecraft:lantern']),
            mcstats.StatReader(['minecraft:mined', 'minecraft:lantern']),
        )))
Ejemplo n.º 30
0
from mcstats import mcstats

mcstats.registry.append(
    mcstats.MinecraftStat(
        'jump',
        {
            'unit': 'int',
        },
        mcstats.StatReader(['minecraft:custom','minecraft:jump'])
    ))