Last active
July 9, 2025 17:51
-
-
Save lolo45654/9b5adb2e04c6578d9879ae96e21c7802 to your computer and use it in GitHub Desktop.
we love optimizers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/env py | |
| from requests import get | |
| import random | |
| import json | |
| lang = json.loads(get('https://raw.githubusercontent.com/InventivetalentDev/minecraft-assets/refs/heads/1.21.7/assets/minecraft/lang/en_us.json').content) | |
| optimizers = [] | |
| for key in lang: | |
| if (key.startswith("entity.minecraft") or key.startswith("item.minecraft")) and key.count(".") == 2: | |
| optimizers.append(f"{lang[key]} Optimizer") | |
| random.shuffle(optimizers) | |
| for optimizer in optimizers[:4]: | |
| print(optimizer) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # funny output | |
| Water Bucket Optimizer | |
| Recovery Compass Optimizer | |
| Falling %s Optimizer | |
| Villager Optimizer | |
| Cauldron Optimizer | |
| Splash Potion of Slow Falling Optimizer | |
| Smithing Template Optimizer | |
| Smithing Template Optimizer | |
| Debug Stick Optimizer | |
| Interaction Optimizer | |
| Minecart with TNT Optimizer | |
| Arrow Optimizer | |
| Written Book Optimizer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment