This file contains hidden or 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
public void fire(ItemStack stack, World world, EntityLivingBase shooter, EnumHand hand) | |
{ | |
shooter.setActiveHand(hand); | |
Vec3d eyeVec = shooter.getPositionVector().addVector(0.0D, shooter.getEyeHeight(), 0.0D); | |
Vec3d targetVec = eyeVec.add(shooter.getLookVec().scale(maxRange)); | |
if(pierceCount > 1) //Piercing | |
{ | |
List<RayTraceResult> results = new ArrayList<>(pierceCount); | |
Helper.raytraceAll(results, world, shooter, eyeVec, targetVec); | |
if(results.isEmpty()) return; |
This file contains hidden or 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
using OpenGL_Testbed.Lib; | |
using OpenTK; | |
using OpenTK.Graphics; | |
using OpenTK.Graphics.OpenGL; | |
using System; | |
using System.IO; | |
namespace OpenGL_Testbed | |
{ | |
public class CoordinateSystems : GameWindow |
This file contains hidden or 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
namespace Leviathan.PingTool | |
{ | |
public class PingCollection | |
{ | |
public struct Ping | |
{ | |
public enum PingType : byte | |
{ | |
LOOK | |
} |
This file contains hidden or 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
java.lang.NullPointerException | |
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.<init>(ModelServiceImpl.java:122) | |
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext(E4Application.java:511) | |
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:204) | |
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:614) | |
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) | |
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594) | |
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148) | |
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151) |
This file contains hidden or 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 leviathan143.stringhashtest; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Random; | |
public class Main | |
{ | |
private static final char[] ALPHABET = "abcdefghijklmnopqrstuvwxyz".toCharArray(); | |
private static final Random rand = new Random(); |
This file contains hidden or 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 leviathan143.fantasticchainsaw.forgemaven; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.net.MalformedURLException; | |
import java.net.URL; | |
import java.net.URLConnection; | |
import java.util.Arrays; | |
import java.util.Map; |
This file contains hidden or 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
2017-07-10 14:06:52,540 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream | |
2017-07-10 14:06:52,544 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream | |
[14:06:52] [main/INFO] [GradleStart]: Extra: [] | |
[14:06:52] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/User/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, @@MCVERSION@@, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] | |
[14:06:52] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker | |
[14:06:52] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker | |
[14:06:52] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker | |
[14:06:52] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforg |
This file contains hidden or 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 ---- | |
WARNING: coremods are present: | |
SHLoadingPlugin (ScalingHealth-1.11.x-1.0.5-47.jar) | |
AppleCore (AppleCore-mc1.11.2-2.1.2.jar) | |
DynamicSurroundingsCore (DynamicSurroundings-1.11.2-3.3.3.0.jar) | |
LoadingPlugin (Quark-r1.2-90.jar) | |
ShetiPhian-ASM (shetiphiancore-1.11.0-3.4.4.jar) | |
ChiselCorePlugin (Chisel-MC1.11.2-0.0.10.14.jar) | |
CXLibraryCore (cxlibrary-1.11.2-1.4.0.jar) |
This file contains hidden or 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 leviathan143.dogwhistle.common.capability; | |
import java.util.List; | |
import net.minecraft.entity.EntityLiving; | |
import net.minecraft.nbt.NBTTagList; | |
import net.minecraftforge.common.util.INBTSerializable; | |
public interface IPack extends INBTSerializable<NBTTagList> | |
{ |
This file contains hidden or 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.einsteinsci.betterbeginnings.entity.projectile; | |
import io.netty.buffer.ByteBuf; | |
import net.einsteinsci.betterbeginnings.items.ItemKnife; | |
import net.minecraft.block.Block; | |
import net.minecraft.block.state.IBlockState; | |
import net.minecraft.entity.EntityLivingBase; | |
import net.minecraft.entity.player.EntityPlayer; | |
import net.minecraft.entity.projectile.EntityThrowable; | |
import net.minecraft.init.MobEffects; |