Skip to content

Instantly share code, notes, and snippets.

View sokratis12GR's full-sized avatar

Sokratis Fotkatzikis sokratis12GR

View GitHub Profile
"promos": {
"1.8-latest" : "1.6",
"1.8-recomended" : "1.6",
"1.9-latest" : "1.7b",
"1.9-recomended" : "1.7b",
},
"1.8." : {
"1.6" : "Added a version checker, New Armor Textures, Creative Tab, New 3D Armor Models, Balanced a bit the armors, changed some crafting recipes",
},
"1.9" : {
require 'term/ansicolor'
class Color
extend Term::ANSIColor
end
print Color.red, Color.bold,"########################################", Color.clear, "\n"
print Color.red, Color.bold,"# #", Color.clear, "\n"
print Color.red, Color.bold,"# This Program is made by sokratis12GR #", Color.clear, "\n"
print Color.red, Color.bold,"# #", Color.clear, "\n"

#How to send log

##Short Version We need to see what is in your log. Start by opening game output tab. First copy all of the text (right click on any empty space press Copy All Text). Then go to http://paste.feed-the-beast.com and paste it. Click Paste! then share with us the link (the URL) that it takes you to. (Other logs might be asked later)

class String
def underscore
self.gsub(/::/, '/').
gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2').
gsub(/([a-z\d])([A-Z])/,'\1_\2').
tr("-", "_").
downcase
end
end

Tier 1

  • oreCoal
  • oreAmber
  • oreTanzanite
  • oreMalachite
  • orePeridot

Tier 2

Microsoft Windows [Version 10.0.15063]
(c) 2017 Microsoft Corporation. All rights reserved.
C:\Users\Socrates\Desktop\sokratis12GR\1.11\ArmorPlus - Kotlin>gradlew setupDecompWorkspace idea
This mapping 'snapshot_20170608' was designed for MC 1.11! Use at your own peril.
#################################################
ForgeGradle 2.2-SNAPSHOT-eb2e450
https://github.com/MinecraftForge/ForgeGradle
#################################################
Powered by MCP unknown
Microsoft Windows [Version 10.0.15063]
(c) 2017 Microsoft Corporation. All rights reserved.
C:\Users\Socrates\Desktop\sokratis12GR\1.12\ArmorPlus - 1.12>gradlew build curseforge
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html.
This mapping 'snapshot_20170610' was designed for MC 1.11! Use at your own peril.
#################################################
ForgeGradle 2.3-SNAPSHOT-578df10
https://github.com/MinecraftForge/ForgeGradle
#################################################
"C:\Program Files\Java\jdk1.8.0_152\bin\java" "-javaagent:C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2017.1\lib\idea_rt.jar=64845:C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2017.1\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_152\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Ja
@sokratis12GR
sokratis12GR / 0 divided by 0.md
Last active October 1, 2017 18:31
Answer to the 0/0 problem

0/0’s value it self equals to ? or “Any”, You may find 0/0 to be an error or undefined in programming or wikis. But thats actually very wrong, because 0/0 is actually everything we use… hence we use numbers and symbols we define in equatations, problems etc… lets take for example: x^2 + x - 2 = 0 this would be (0/0) ^ (0/0) + (0/0) = (0/0 or well 0, almost always when we use it this way to find x, once again because we defined them to replace $0/0$ by our own value that we choosen) Or lets take for example a coffee machine, it has 2 buttons… A (lets say id=1) to make a short one and B (lets say id=552) to make a long one. When those buttons are pressed the machine will choose one of the 2 buttons’s id (the pressed one) and will trigger its event. but the value of the buttons before we made it such is 0/0 or well ?/ANY/UNDEFINED once we add the button ID, the machine can finally recognize the number choosen and procceed with the event, if the number isn’t defined it ofc will throw an error or if t

@sokratis12GR
sokratis12GR / armorplus.md
Last active July 25, 2022 12:34
ArmorPlus 1.12.2 CraftTweaker Integration Samples
#Name: armorplus.zs
#Author: sokratis12GR

print("Initializing 'armorplus.zs'...");

val dPickaxe = <minecraft:diamond_pickaxe>;
val stick = <ore:stickWood>;
val diamond = <ore:gemDiamond>;