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 net.dugged.nessie; | |
import net.jafama.FastMath; | |
import org.lwjgl.BufferUtils; | |
import org.openjdk.jmh.annotations.Benchmark; | |
import org.openjdk.jmh.annotations.BenchmarkMode; | |
import org.openjdk.jmh.annotations.Mode; | |
import org.openjdk.jmh.annotations.OutputTimeUnit; | |
import org.openjdk.jmh.annotations.Param; | |
import org.openjdk.jmh.annotations.Scope; |
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
buildscript { | |
repositories { | |
jcenter() | |
maven { url = "https://files.minecraftforge.net/maven" } | |
maven { url = "https://repo.spongepowered.org/repository/maven-public" } | |
maven { url = "https://plugins.gradle.org/m2" } | |
} | |
dependencies { | |
classpath "net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT" |
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
[18:02:25] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker | |
[18:02:25] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker | |
[18:02:25] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker | |
[18:02:25] [main/DEBUG] [FML]: Injecting tracing printstreams for STDOUT/STDERR. | |
[18:02:25] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2847 for Minecraft 1.12.2 loading | |
[18:02:25] [main/INFO] [FML]: Java is OpenJDK 64-Bit Server VM, version 1.8.0_252, running on Windows 10:amd64:10.0, installed at C:\Program Files\AdoptOpenJDK\jdk-8.0.252.09-hotspot\jre | |
[18:02:25] [main/DEBUG] [FML]: Java classpath at launch is: | |
[18:02:25] [main/DEBUG] [FML]: C:\Users\Nessi\AppData\Roaming\.minecraft\libraries\net\minecraftforge\forge\1.12.2-14.23.5.2847\forge-1.12.2-14.23.5.2847.jar | |
[18:02:25] [main/DEBUG] [FML]: C:\Users\Nessi\AppData\Roaming\.minecraft\libraries\net\ |
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
// https://bitbucket.org/ekabanov/mat/ | |
public class Main { | |
@SuppressWarnings("DuplicatedCode") | |
public static void main(String[] args) throws Exception { | |
if (args.length < 1) { | |
System.out.println("Please supply heap dump file"); | |
System.exit(1); | |
} |
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
buildscript { | |
ext.kotlin_version = '1.3.70' | |
repositories { | |
jcenter() | |
maven { url = "https://files.minecraftforge.net/maven" } | |
maven { url = "https://repo.spongepowered.org/maven" } | |
maven { url = "https://plugins.gradle.org/m2" } | |
} | |
dependencies { | |
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" |
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 si.bismuth.mixins; | |
import net.minecraft.entity.player.EntityPlayer; | |
import net.minecraft.inventory.ClickType; | |
import net.minecraft.inventory.Container; | |
import net.minecraft.inventory.InventoryCrafting; | |
import net.minecraft.inventory.Slot; | |
import net.minecraft.inventory.SlotCrafting; | |
import net.minecraft.item.ItemStack; | |
import net.minecraft.item.crafting.CraftingManager; |
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
{ | |
"mappings": { | |
"si/bismuth/mixins/MinecraftServerMixin": { | |
"loadAllWorlds": "Lnet/minecraft/server/MinecraftServer;func_71247_a(Ljava/lang/String;Ljava/lang/String;JLnet/minecraft/world/WorldType;Ljava/lang/String;)V", | |
"Lnet/minecraft/profiler/Profiler;startSection(Ljava/lang/String;)V": "Lnet/minecraft/profiler/Profiler;func_76320_a(Ljava/lang/String;)V", | |
"Lnet/minecraft/server/MinecraftServer;tickCounter:I": "Lnet/minecraft/server/MinecraftServer;field_71315_w:I", | |
"Lnet/minecraft/profiler/Profiler;endSection()V": "Lnet/minecraft/profiler/Profiler;func_76319_b()V", | |
"Lnet/minecraft/profiler/Profiler;endStartSection(Ljava/lang/String;)V": "Lnet/minecraft/profiler/Profiler;func_76318_c(Ljava/lang/String;)V", | |
"run": "Lnet/minecraft/server/MinecraftServer;run()V", | |
"tick": "Lnet/minecraft/server/MinecraftServer;func_71217_p()V", |
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
// ================nessiesson/usefulmod/config/Config.class ================= | |
// class version 50.0 (50) | |
// access flags 0x31 | |
public final class nessiesson/usefulmod/config/Config implements com/mumfrey/liteloader/modconfig/Exposable { | |
@Lcom/mumfrey/liteloader/modconfig/ExposableOptions;(strategy=Lcom/mumfrey/liteloader/modconfig/ConfigStrategy;.Unversioned, filename="usefulmod") | |
// access flags 0xA | |
private static Z isShulkerBoxDisplayEnabled |
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 glob | |
import os | |
from nbt.region import RegionFile | |
world_name = '144_76_72_236' | |
entity_list = [] | |
def main(): |
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 matplotlib.pyplot as plt | |
import numpy as np | |
def p(t, alpha=1.0, beta=1.0, p0=1.0): | |
return beta ** t * p0 + sum([alpha * beta ** (t - m) for m in range(1, t + 1)]) | |
vec_p = np.vectorize(p) | |
times = np.arange(10) |
NewerOlder