Energy Name | Abbreviation | Original Mod | Version |
---|---|---|---|
Anima | AM | Anima-Mundi | 1.11.2 |
Blutricity | BE (NO) | Redpower | 1.6.4 |
Charge | RP (NO)/Fz? | Factorization | 1.7.10 |
Crystal Flux | CF | Actually Additions | 1.12 |
This file contains 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
# moves all files from all directories in the current working directory to a folder | |
import os | |
import shutil | |
old_path = os.getcwd() | |
new_path = f"{old_path}/ext" | |
if not os.path.exists(new_path): | |
os.mkdir(new_path) |
This file contains 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
package org.liquidengine.legui.component; | |
import org.joml.Vector2f; | |
import org.liquidengine.legui.component.optional.align.HorizontalAlign; | |
import org.liquidengine.legui.component.optional.align.VerticalAlign; | |
import org.liquidengine.legui.event.MouseClickEvent; | |
import org.liquidengine.legui.icon.CharIcon; | |
import org.liquidengine.legui.icon.Icon; | |
import org.liquidengine.legui.listener.MouseClickEventListener; | |
import org.liquidengine.legui.style.Style; |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Index</title> | |
<script rel="script" type="text/javascript" src="switcher.js"></script> | |
</head> |
This file contains 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
class list(list): | |
def __init__(self, *args): | |
for arg in args: | |
self.append(arg) | |
def replace(self, old, new): | |
self[self.index(old)] = new | |
def replace_all(self, old, new): | |
for number, item in enumerate(self): |
This file contains 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
import tkinter as tk | |
import random | |
class Random(tk.Tk): | |
def __init__(self): | |
tk.Tk.__init__(self) | |
self.title("Random") | |
self.variable = tk.IntVar() |