Skip to content

Commit

Permalink
fixed g.playMinutes
Browse files Browse the repository at this point in the history
  • Loading branch information
tylastrog authored Apr 30, 2022
1 parent 2a798a7 commit 872e8c5
Show file tree
Hide file tree
Showing 2 changed files with 124 additions and 5 deletions.
123 changes: 121 additions & 2 deletions Record Every Statistic/data/record_stats/functions/init.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -2372,6 +2372,121 @@ scoreboard objectives add d.zombieHorse minecraft.killed_by:minecraft.zombie_hor
scoreboard objectives add d.zombieVillager minecraft.killed_by:minecraft.zombie_villager "Killed by Zombie Villager"
scoreboard objectives add d.zombifiedPiglin minecraft.killed_by:minecraft.zombified_piglin "Killed by Zombified Piglin"

#Deaths
scoreboard objectives add k.areaEffectCloud minecraft.killed:minecraft.area_effect_cloud "Area Effect Cloud Killed"
scoreboard objectives add k.armorStand minecraft.killed:minecraft.armor_stand "Armor Stand Killed"
scoreboard objectives add k.arrow minecraft.killed:minecraft.arrow "Arrow Killed"
scoreboard objectives add k.axolotl minecraft.killed:minecraft.axolotl "Axolotl Killed"
scoreboard objectives add k.bat minecraft.killed:minecraft.bat "Bat Killed"
scoreboard objectives add k.bee minecraft.killed:minecraft.bee "Bee Killed"
scoreboard objectives add k.blaze minecraft.killed:minecraft.blaze "Blaze Killed"
scoreboard objectives add k.boat minecraft.killed:minecraft.boat "Boat Killed"
scoreboard objectives add k.cat minecraft.killed:minecraft.cat "Cat Killed"
scoreboard objectives add k.caveSpider minecraft.killed:minecraft.cave_spider "Cave Spider Killed"
scoreboard objectives add k.chestMinecart minecraft.killed:minecraft.chest_minecart "Chest Minecart Killed"
scoreboard objectives add k.chicken minecraft.killed:minecraft.chicken "Chicken Killed"
scoreboard objectives add k.cod minecraft.killed:minecraft.cod "Cod Killed"
scoreboard objectives add k.commandBlockMinecart minecraft.killed:minecraft.command_block_minecart "Command Block Minecart Killed"
scoreboard objectives add k.cow minecraft.killed:minecraft.cow "Cow Killed"
scoreboard objectives add k.creeper minecraft.killed:minecraft.creeper "Creeper Killed"
scoreboard objectives add k.dolphin minecraft.killed:minecraft.dolphin "Dolphin Killed"
scoreboard objectives add k.donkey minecraft.killed:minecraft.donkey "Donkey Killed"
scoreboard objectives add k.dragonFireball minecraft.killed:minecraft.dragon_fireball "Dragon Fireball Killed"
scoreboard objectives add k.drowned minecraft.killed:minecraft.drowned "Drowned Killed"
scoreboard objectives add k.egg minecraft.killed:minecraft.egg "Egg Killed"
scoreboard objectives add k.elderGuardian minecraft.killed:minecraft.elder_guardian "Elder Guardian Killed"
scoreboard objectives add k.endCrystal minecraft.killed:minecraft.end_crystal "End Crystal Killed"
scoreboard objectives add k.enderDragon minecraft.killed:minecraft.ender_dragon "Ender Dragon Killed"
scoreboard objectives add k.enderPearl minecraft.killed:minecraft.ender_pearl "Ender Pearl Killed"
scoreboard objectives add k.enderman minecraft.killed:minecraft.enderman "Enderman Killed"
scoreboard objectives add k.endermite minecraft.killed:minecraft.endermite "Endermite Killed"
scoreboard objectives add k.evoker minecraft.killed:minecraft.evoker "Evoker Killed"
scoreboard objectives add k.evokerFangs minecraft.killed:minecraft.evoker_fangs "Evoker Fangs Killed"
scoreboard objectives add k.experienceBottle minecraft.killed:minecraft.experience_bottle "Experience Bottle Killed"
scoreboard objectives add k.experienceOrb minecraft.killed:minecraft.experience_orb "Experience Orb Killed"
scoreboard objectives add k.eyeOfEnder minecraft.killed:minecraft.eye_of_ender "Eye Of Ender Killed"
scoreboard objectives add k.fallingBlock minecraft.killed:minecraft.falling_block "Falling Block Killed"
scoreboard objectives add k.fireball minecraft.killed:minecraft.fireball "Fireball Killed"
scoreboard objectives add k.fireworkRocket minecraft.killed:minecraft.firework_rocket "Firework Rocket Killed"
scoreboard objectives add k.fishingBobber minecraft.killed:minecraft.fishing_bobber "Fishing Bobber Killed"
scoreboard objectives add k.fox minecraft.killed:minecraft.fox "Fox Killed"
scoreboard objectives add k.furnaceMinecart minecraft.killed:minecraft.furnace_minecart "Furnace Minecart Killed"
scoreboard objectives add k.ghast minecraft.killed:minecraft.ghast "Ghast Killed"
scoreboard objectives add k.giant minecraft.killed:minecraft.giant "Giant Killed"
scoreboard objectives add k.glowItemFrame minecraft.killed:minecraft.glow_item_frame "Glow Item Frame Killed"
scoreboard objectives add k.glowSquid minecraft.killed:minecraft.glow_squid "Glow Squid"
scoreboard objectives add k.goat minecraft.killed:minecraft.goat "Goat"
scoreboard objectives add k.guardian minecraft.killed:minecraft.guardian "Guardian"
scoreboard objectives add k.hoglin minecraft.killed:minecraft.hoglin "Hoglin"
scoreboard objectives add k.hopperMinecart minecraft.killed:minecraft.hopper_minecart "Hopper Minecart"
scoreboard objectives add k.horse minecraft.killed:minecraft.horse "Horse Killed"
scoreboard objectives add k.husk minecraft.killed:minecraft.husk "Husk Killed"
scoreboard objectives add k.illusioner minecraft.killed:minecraft.illusioner "Illusioner Killed"
scoreboard objectives add k.ironGolem minecraft.killed:minecraft.iron_golem "Iron Golem Killed"
scoreboard objectives add k.item minecraft.killed:minecraft.item "Item Killed"
scoreboard objectives add k.itemFrame minecraft.killed:minecraft.item_frame "Item Frame Killed"
scoreboard objectives add k.leashKnot minecraft.killed:minecraft.leash_knot "Leash Knot Killed"
scoreboard objectives add k.lightningBolt minecraft.killed:minecraft.lightning_bolt "Lightning Bolt Killed (how?)"
scoreboard objectives add k.llama minecraft.killed:minecraft.llama "Llama Killed"
scoreboard objectives add k.llamaSpit minecraft.killed:minecraft.llama_spit "Llama Spit Killed"
scoreboard objectives add k.magmaCube minecraft.killed:minecraft.magma_cube "Magma Cube Killed"
scoreboard objectives add k.marker minecraft.killed:minecraft.marker "Marker Killed"
scoreboard objectives add k.minecart minecraft.killed:minecraft.minecart "Minecart Killed"
scoreboard objectives add k.mooshroom minecraft.killed:minecraft.mooshroom "Mooshroom Killed"
scoreboard objectives add k.mule minecraft.killed:minecraft.mule "Mule Killed"
scoreboard objectives add k.ocelot minecraft.killed:minecraft.ocelot "Ocelot Killed"
scoreboard objectives add k.painting minecraft.killed:minecraft.painting "Painting Killed"
scoreboard objectives add k.panda minecraft.killed:minecraft.panda "Panda Killed"
scoreboard objectives add k.parrot minecraft.killed:minecraft.parrot "Parrot Killed"
scoreboard objectives add k.phantom minecraft.killed:minecraft.phantom "Phantom Killed"
scoreboard objectives add k.pig minecraft.killed:minecraft.pig "Pig Killed"
scoreboard objectives add k.piglin minecraft.killed:minecraft.piglin "Piglin Killed"
scoreboard objectives add k.piglinBrute minecraft.killed:minecraft.piglin_brute "Piglin Brute Killed"
scoreboard objectives add k.pillager minecraft.killed:minecraft.pillager "Pillager Killed"
scoreboard objectives add k.player minecraft.killed:minecraft.player "Player Killed"
scoreboard objectives add k.polarBear minecraft.killed:minecraft.polar_bear "Polar Bear Killed"
scoreboard objectives add k.potion minecraft.killed:minecraft.potion "Potion Killed"
scoreboard objectives add k.pufferfish minecraft.killed:minecraft.pufferfish "Pufferfish Killed"
scoreboard objectives add k.rabbit minecraft.killed:minecraft.rabbit "Rabbit Killed"
scoreboard objectives add k.ravager minecraft.killed:minecraft.ravager "Ravager Killed"
scoreboard objectives add k.salmon minecraft.killed:minecraft.salmon "Salmon Killed"
scoreboard objectives add k.sheep minecraft.killed:minecraft.sheep "Sheep Killed"
scoreboard objectives add k.shulker minecraft.killed:minecraft.shulker "Shulker Killed"
scoreboard objectives add k.shulkerBullet minecraft.killed:minecraft.shulker_bullet "Shulker Bullet Killed"
scoreboard objectives add k.silverfish minecraft.killed:minecraft.silverfish "Silverfish Killed"
scoreboard objectives add k.skeleton minecraft.killed:minecraft.skeleton "Skeleton Killed"
scoreboard objectives add k.skeletonHorse minecraft.killed:minecraft.skeleton_horse "Skeleton Horse Killed"
scoreboard objectives add k.slime minecraft.killed:minecraft.slime "Slime Killed"
scoreboard objectives add k.smallFireball minecraft.killed:minecraft.small_fireball "Small Fireball Killed"
scoreboard objectives add k.snowGolem minecraft.killed:minecraft.snow_golem "Snow Golem Killed"
scoreboard objectives add k.snowball minecraft.killed:minecraft.snowball "Snowball Killed"
scoreboard objectives add k.spawnerMinecart minecraft.killed:minecraft.spawner_minecart "Spawner Minecart Killed"
scoreboard objectives add k.spectralArrow minecraft.killed:minecraft.spectral_arrow "Spectral Arrow Killed"
scoreboard objectives add k.spider minecraft.killed:minecraft.spider "Spider Killed"
scoreboard objectives add k.squid minecraft.killed:minecraft.squid "Squid Killed"
scoreboard objectives add k.stray minecraft.killed:minecraft.stray "Stray Killed"
scoreboard objectives add k.strider minecraft.killed:minecraft.strider "Strider Killed"
scoreboard objectives add k.tnt minecraft.killed:minecraft.tnt "TNT Killed"
scoreboard objectives add k.tntMinecart minecraft.killed:minecraft.tnt_minecart "Tnt Minecart Killed"
scoreboard objectives add k.traderLlama minecraft.killed:minecraft.trader_llama "Trader Llama Killed"
scoreboard objectives add k.trident minecraft.killed:minecraft.trident "Trident Killed"
scoreboard objectives add k.tropicalFish minecraft.killed:minecraft.tropical_fish "Tropical Fish Killed"
scoreboard objectives add k.turtle minecraft.killed:minecraft.turtle "Turtle Killed"
scoreboard objectives add k.vex minecraft.killed:minecraft.vex "Vex Killed"
scoreboard objectives add k.villager minecraft.killed:minecraft.villager "Villager Killed"
scoreboard objectives add k.vindicator minecraft.killed:minecraft.vindicator "Vindicator Killed"
scoreboard objectives add k.wanderingTrader minecraft.killed:minecraft.wandering_trader "Wandering Trader Killed"
scoreboard objectives add k.witch minecraft.killed:minecraft.witch "Witch Killed"
scoreboard objectives add k.wither minecraft.killed:minecraft.wither "Wither Killed"
scoreboard objectives add k.witherSkeleton minecraft.killed:minecraft.wither_skeleton "Wither Skeleton Killed"
scoreboard objectives add k.witherSkull minecraft.killed:minecraft.wither_skull "Wither Skull Killed"
scoreboard objectives add k.wolf minecraft.killed:minecraft.wolf "Wolf Killed"
scoreboard objectives add k.zoglin minecraft.killed:minecraft.zoglin "Zoglin Killed"
scoreboard objectives add k.zombie minecraft.killed:minecraft.zombie "Zombie Killed"
scoreboard objectives add k.zombieHorse minecraft.killed:minecraft.zombie_horse "Zombie Horse Killed"
scoreboard objectives add k.zombieVillager minecraft.killed:minecraft.zombie_villager "Zombie Villager Killed"
scoreboard objectives add k.zombifiedPiglin minecraft.killed:minecraft.zombified_piglin "Zombified Piglin Killed"

#Generic
scoreboard objectives add g.air air "Air"
scoreboard objectives add g.animalsBred minecraft.custom:minecraft.animals_bred "Animals Bred"
Expand Down Expand Up @@ -2425,9 +2540,9 @@ scoreboard objectives add g.openShulkerBox minecraft.custom:minecraft.open_shulk
scoreboard objectives add g.play dummy "Play"
scoreboard objectives add g.playNoteblock minecraft.custom:minecraft.play_noteblock "Play Noteblock"
scoreboard objectives add g.playRecord minecraft.custom:minecraft.play_record "Play Record"
scoreboard objectives add g.playTimeShow dummy "Minutes Online"
scoreboard objectives add g.playMinutes dummy "Minutes Online"
scoreboard objectives add g.playerKills minecraft.custom:minecraft.player_kills "Player Kills"
scoreboard objectives add g.playtime minecraft.custom:minecraft.play_time "Play Time"
scoreboard objectives add g.playTime minecraft.custom:minecraft.play_time "Play Time"
scoreboard objectives add g.potFlowers minecraft.custom:minecraft.pot_flower "Pot Flowers"
scoreboard objectives add g.raidTrigger minecraft.custom:minecraft.raid_trigger "Raid Trigger"
scoreboard objectives add g.raidWin minecraft.custom:minecraft.raid_win "Raid Win"
Expand All @@ -2443,6 +2558,10 @@ scoreboard objectives add g.trigger trigger "Trigger :D"
scoreboard objectives add g.triggerTrappedChest minecraft.custom:minecraft.trigger_trapped_chest "Trigger Trapped Chest"
scoreboard objectives add g.tuneNoteblock minecraft.custom:minecraft.tune_noteblock "Tune Noteblock"
scoreboard objectives add g.useCauldron minecraft.custom:minecraft.use_cauldron "Use Cauldron"
scoreboard objectives add g.constant dummy
scoreboard players set 1200 g.constant 1200
scoreboard players set 100000 g.constant 100000
scoreboard players set 100 g.constant 100

#Mined
scoreboard objectives add m.acaciaButton minecraft.mined:minecraft.acacia_button "Acacia Button Mined"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
scoreboard players operation @s g.play = @s rs_g.playTime
scoreboard players operation @s g.play /= 1200 rs_g.constant
scoreboard players operation @s g.playMinutes = @s rs_g.play
scoreboard players operation @s g.play = @s g.playTime
scoreboard players operation @s g.play /= 1200 g.constant
scoreboard players operation @s g.playMinutes = @s g.play

0 comments on commit 872e8c5

Please sign in to comment.