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 java.util.Random; | |
public class Scratchpad { | |
public static void main(String[] args) { | |
// set up our variables | |
Random rng = new Random(); | |
double pEvent1 = 0.1308; // P(success) of event 1 | |
double pEvent2 = 0.1623; // P(success) of event 2 | |
double pEvent3 = 0.1436 ; // P(success) of event 3 | |
int experiments = 10000; |
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 java.util.Random; | |
public class Scratchpad { | |
public static void main(String[] args) { | |
// set up our variables | |
Random rng = new Random(); | |
int tries = 100000; | |
int successes = 0; | |
int me, myFriend, sibling1, sibling2; | |
int alone = 0, unwanted = 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
{ | |
"enchantment.piseks_tinkers_enchantments.autosmelt": "Autosmelt", | |
"enchantment.piseks_tinkers_enchantments.autosmelt.desc": "Automatically smelts item and adds 3 XP. Incompatible w/ Fortune, Silk Touch, Mending, Petramor", | |
"enchantment.piseks_tinkers_enchantments.well_established": "Well-Established", | |
"enchantment.piseks_tinkers_enchantments.well_established.desc": "25% bonus experience. 3% chance for 1 XP from blocks that normally give none. Incompatible w/ Mending, Looting, Fortune", | |
"enchantment.piseks_tinkers_enchantments.amphibious": "Amphibious", | |
"enchantment.piseks_tinkers_enchantments.amphibious.desc": "Gives Water Breathing for 3 minutes if the entity is underwater. Incompatible w/ Superhot", |
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
l_english: | |
# Corvette hulls | |
mss_scout: "Scout" | |
mss_scout_desc: "Small unarmed corvette for scouting and surveillance" | |
mss_fighter_wing: "Fighter Support Tanker" | |
mss_fighter_wing_desc: "Long range refueling and resupply tanker for a fighter wing" |
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
---- Minecraft Crash Report ---- | |
// I let you down. Sorry :( | |
Time: 10/4/22, 4:22 PM | |
Description: Rendering overlay | |
java.lang.RuntimeException: could not reload shaders | |
at net.minecraft.client.renderer.GameRenderer.m_172767_(GameRenderer.java:554) ~[client-1.18.2-20220404.173914-srg.jar%23302!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A} | |
at net.minecraft.client.renderer.GameRenderer.m_6213_(GameRenderer.java:335) ~[client-1.18.2-20220404.173914-srg.jar%23302!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A} | |
at net.minecraft.server.packs.resources.ResourceManagerReloadListener.m_10759_(ResourceManagerReloadListener.java:15) ~[client-1.18.2-20220404.173914-srg.jar%23302!/:?] {re:classloading,re:mixin} |
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
---- Minecraft Crash Report ---- | |
// My bad. | |
Time: 9/22/22, 3:30 AM | |
Description: Initializing game | |
org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered | |
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} | |
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} | |
at org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} |
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
/** | |
* Given tries & confidence (1-risk), calculate success (1-failure) | |
* failure = risk^(1/tries) | |
* success = 1 - (1-confidence)^(1/tries) | |
* @param tries before it's confidence% certain the loot has dropped | |
*/ | |
double calcDropChance(int tries){ | |
return 1.0 - Math.pow(1.0 - confidence, 1.0 / tries); | |
} |
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
<?xml version="1.0" encoding="utf-8"?> | |
<ModList> | |
<Name>100</Name> | |
<modIds> | |
<li>brrainz.harmony</li> | |
<li>me.samboycoding.betterloading</li> | |
<li>ludeon.rimworld</li> | |
<li>ludeon.rimworld.royalty</li> | |
<li>unlimitedhugs.hugslib</li> | |
<li>jecrell.jecstools</li> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<ModList> | |
<Name>current</Name> | |
<modIds> | |
<li>brrainz.harmony</li> | |
<li>me.samboycoding.betterloading</li> | |
<li>ludeon.rimworld</li> | |
<li>ludeon.rimworld.royalty</li> | |
<li>ludeon.rimworld.ideology</li> | |
<li>fluffy.modmanager</li> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<ModList> | |
<Name>Current mods for 1.3</Name> | |
<modIds> | |
<li>brrainz.harmony</li> | |
<li>me.samboycoding.betterloading</li> | |
<li>ludeon.rimworld</li> | |
<li>ludeon.rimworld.royalty</li> | |
<li>fluffy.modmanager</li> | |
<li>unlimitedhugs.hugslib</li> |
NewerOlder