View build.gradle
// For those who want the bleeding edge
buildscript {
repositories {
jcenter()
maven {
name = "forge"
url = "http://files.minecraftforge.net/maven"
}
}
View MappingAgnosticReflectionHelper.java
package leviathan143.armourmodelreplacer.common;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import javax.annotation.Nonnull;
import net.minecraft.launchwrapper.Launch;
import net.minecraftforge.fml.common.asm.transformers.deobf.FMLDeobfuscatingRemapper;
import net.minecraftforge.fml.relauncher.ReflectionHelper;
View results.txt
Benchmark Mode Cnt Score Error Units
MicroBenchmark.testEmptyMethod avgt 5 0.910 ± 0.403 ns/op
MicroBenchmark.testEmptyMethod:·gc.alloc.rate avgt 5 ≈ 0 MB/sec
MicroBenchmark.testEmptyMethod:·gc.alloc.rate.norm avgt 5 ≈ 0 B/op
MicroBenchmark.testEmptyMethod:·gc.churn.PS_Eden_Space avgt 5 0.400 ± 3.444 MB/sec
MicroBenchmark.testEmptyMethod:·gc.churn.PS_Eden_Space.norm avgt 5 ≈ 10⁻³ B/op
MicroBenchmark.testEmptyMethod:·gc.count avgt 5 1.000 counts
MicroBenchmark.testEmptyMethod:·gc.time avgt 5 5.000 ms
MicroBenchmark.testEmptyMethod:·stack avgt NaN ---
MicroBenchmark.testNastyAPI avgt 5 14.195 ±
View Colours.cs
using OpenTK;
using OpenTK.Graphics;
using OpenTK.Graphics.OpenGL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tangerine;
namespace OpenGL_Testbed.Lighting
View AATransforms.java
package com.domochevsky.quiverbow.armsassistant;
import java.io.IOException;
import java.io.InputStreamReader;
import java.lang.reflect.Type;
import java.util.*;
import java.util.Map.Entry;
import javax.vecmath.Matrix4f;
import javax.vecmath.Vector3f;
View Aaaah.txt
java.lang.NullPointerException: Unexpected error
at daomephsta.buildersdrawers.common.tileentities.MaterialNetwork.merge(MaterialNetwork.java:89)
at daomephsta.buildersdrawers.common.tileentities.MaterialNetwork.connect(MaterialNetwork.java:79)
at daomephsta.buildersdrawers.common.tileentities.TileEntityBuildersDrawers.connectTo(TileEntityBuildersDrawers.java:41)
at daomephsta.buildersdrawers.common.tileentities.MaterialNetwork.merge(MaterialNetwork.java:92)
at daomephsta.buildersdrawers.common.tileentities.MaterialNetwork.connect(MaterialNetwork.java:79)
at daomephsta.buildersdrawers.common.tileentities.TileEntityBuildersDrawers.connectTo(TileEntityBuildersDrawers.java:41)
at daomephsta.buildersdrawers.common.tileentities.TileEntityBuildersDrawers.findNetwork(TileEntityBuildersDrawers.java:67)
at daomephsta.buildersdrawers.common.tileentities.TileEntityBuildersDrawers.onBlockPlaced(TileEntityBuildersDrawers.java:46)
at daomephsta.buildersdrawers.common.blocks.BlockBuildersDrawers.onBlockPlacedBy(Blo
View :(.txt
2018-05-11 21:22:54,348 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2018-05-11 21:22:54,355 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[21:22:54] [main/INFO] [GradleStart]: Extra: []
[21:22:54] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/User/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[21:22:54] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[21:22:54] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[21:22:54] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[21:22:54] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.c
View gist:05daf584c54c5ff970721008a30c9e78
[13:20:22] [main/ERROR] [FML]: Unable to read a class file correctly
java.lang.RuntimeException: null
at org.objectweb.asm.ClassVisitor.visitModule(ClassVisitor.java:148) ~[asm-debug-all-6.0_BETA.jar:6.0_BETA]
at org.objectweb.asm.ClassReader.readModule(ClassReader.java:760) ~[asm-debug-all-6.0_BETA.jar:6.0_BETA]
at org.objectweb.asm.ClassReader.accept(ClassReader.java:661) ~[asm-debug-all-6.0_BETA.jar:6.0_BETA]
at org.objectweb.asm.ClassReader.accept(ClassReader.java:525) ~[asm-debug-all-6.0_BETA.jar:6.0_BETA]
at net.minecraftforge.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:58) [ASMModParser.class:?]
at net.minecraftforge.fml.common.discovery.JarDiscoverer.discover(JarDiscoverer.java:80) [JarDiscoverer.class:?]
at net.minecraftforge.fml.common.discovery.ContainerType.findMods(ContainerType.java:47) [ContainerType.class:?]
at net.minecraftforge.fml.common.discovery.ModCandidate.explore(ModCandidate.java:74) [ModCandidate.class:?]
View ServerRaytrace.java
public static RayTraceResult raytraceClosestObject(World world, @Nullable Entity exclude, Vec3d startVec, Vec3d endVec)
{
RayTraceResult result = world.rayTraceBlocks(startVec, endVec);
double blockHitDistance = 0.0D; // The distance to the block that was
// hit
if (result != null) blockHitDistance = result.hitVec.distanceTo(startVec);
// Encloses the entire area where entities that could collide with this
// ray exist
AxisAlignedBB entitySearchArea = new AxisAlignedBB(startVec.x, startVec.y, startVec.z, endVec.x, endVec.y,
View CapabilityPack.java
package leviathan143.dogwhistle.common.capability;
import java.util.concurrent.Callable;
import leviathan143.dogwhistle.common.capability.PackHandler.Pack;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.nbt.NBTBase;
import net.minecraft.util.EnumFacing;
import net.minecraftforge.common.capabilities.*;