- Step by step debugging for Circuits
- Pause
- Step by Step
- Change the speed
- Select, Copy, Paste, Fill of selections for the CAD
- Cleanup for the CAD, multiple tabs instead of everything in one place
- Tunnels, way of connection two wires in a circuit without a direct connection
- Ability to add Labels to circuit blueprints, for documentation
- Huge refactor needed (7-seg, gate rendering)
- Portable Gates, it will be devided into socket, gate, and a soldering tool
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 norswap.autumn.Grammar | |
import norswap.autumn.Parser | |
import norswap.autumn.parsers.* | |
interface Expression | |
data class Number(val value: Int): Expression | |
data class Add(val left: Expression, val right: Expression): Expression | |
data class Sub(val left: Expression, val right: Expression): Expression | |
/* |
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
# sai_converter.py by VicNightfall - https://twitter.com/VicNightfall | |
# | |
# ---------------------------------- README: -------------------------------------------- | |
# First you need to install python, if you haven't done that already. | |
# You can get it from here: https://www.python.org/downloads/ (Just get the newest release) | |
# | |
# You also need to install pywinauto: | |
# pip install pywinauto | |
# | |
# (inside a command prompt, see steps below) |
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
{ | |
"rolls": { | |
"min": 2, | |
"max": 6 | |
}, | |
"items": { | |
"minecraft:diamond" : { | |
"weight": 5, | |
"count" : [2, 7] | |
}, |
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
Gui testGUI = new Gui("testgui").setPreferredSize(300, 200) | |
.add(new Button("testbutton2", "I'm EAST") | |
.setMaximumSize(Integer.MAX_VALUE, 120) | |
.onEvent((event, component) -> { | |
System.out.println("Test button pressed! " + Side.get()); | |
}, ActionEvent.class, Side.BOTH), Anchor.EAST) | |
.add(new Container("centerContainer").setLayout(new FixedLayout()) | |
.add(new Button("notherbutton", "It's all relative..."), "north: 50% west: 20") |
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
Prompt.show("Want to cheat yourself diamonds?", Prompt.YES, Prompt.NO).on(Prompt.YES, Side.SERVER, (player) -> player.getInventory().add(diamonds)); |
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
Gui gui = GuiBuilderXML.of( | |
"<div width = 200, height = 150, align = 'center'>" + | |
"<p align = 'left:10%'>I'm a paragraph!</p>" + | |
"<button align = 'center' id = 'button1', text = 'I\'m some text on a button!'/>" + | |
"</div>" | |
); | |
gui.getElement("button1").addEventListener((e) -> { | |
doStuffOnTheServerSide(); | |
}, ActionEvent.class, Side.SERVER); |
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
Vic's innovative track format: | |
1. A track can contain the following characters: A-Z,0-9,[]#?: and blank space. Any other character will be rejected and throws a parse exception. Note that the letters have to be uppercase or else they will be rejected. Why? Because I can. | |
2. Blank spaces will be ignored, they are just to make the format more readable. (If you really what to do that). | |
3. The delay is 5 ticks, ~ 4 notes per second maximum. | |
4. A note looks like this: "A12" | |
- The character defines the pitch, A is 0.0 and Z is 1.0. |
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 vic.bot.test; | |
import vic.mod.chat.api.bot.IBotHandler; | |
import vic.mod.chat.api.bot.IChannelBase; | |
import vic.mod.chat.api.bot.IChatBot; | |
import vic.mod.chat.api.bot.IChatEntity; | |
public class TestBot implements IChatBot | |
{ | |
public IBotHandler botHandler; |