Skip to content

Instantly share code, notes, and snippets.

View SanAndreaP's full-sized avatar
💃

SanAndreaP SanAndreaP

💃
View GitHub Profile
DYBP:0,637844533741829774,0.9.24.11286,1,90"H4sIAAAAAAAAC2ydBZQUR9eGYXF3h8Hd3X0Xd4J70AQJ7sHdJTjBIbi7BNuFBAsS3DVAIMESNPDXrXnfu/3NX5zDYbjPPH27e7qrqqtn+kaIYP5EjhDhZVAE+yei/7/2X/+fiy8jhhzf+m7f44vJK/nM/3OYv5H+5x0RIgTBCtLIuv5Hgh+vHhGcZlAKa2WHFeSxIsGKpJFoaYOs1SJPKmtlc+SK7Pnr/5OjkG+/rGGEcqmtlRVWJI8VBUYUjYxbMyJUrNvt/LmyOHJFhRVVI5UHHAmVNUyJ7crs2K5osKJp5Ps76cLEap4iqbUyOXJFhxU9PJKxfJisYan5ia2V0bFdMWDF0Miy4DU213/1gqyVwZErJqyYGumffLK1PvSOaa30ju2KBSuWRooWGWLX8PiBuNZK58gVG1ZsjUTdtMtaRc59ChErrWO74sCKo5HVKc9Zq0PJx9byOXLFhRVXIzePXLfb1fvIdWulcWxXPFjxNFJj7EtrzZl11FqpHbniw4qvkSnnPtk1nLRxl7VSObYrAawEGkldN9oxsTaVXWitlI5cCWElDLf6xDwma/gq2WRrpXBsVyJYiTSyJ2ECa0U61NJayR25EsNKrJH68xPbNXyavry1kjm2KwmsJBp5fTG5tT69iGitpI5cSWEl1UjmQSnsGr7veyTYh+UFblcyWMk00jpPKmvNSRVkrcSOXMlhJQ8PlUtt13DLuBEHfNhPgduVAlYKjVxtl8pa5deNCBUroSNXSlgpNZIA2/Vh4BFrJXBsVypYqTRSK0VSa9W9my5MrPiOXKlhpdZITnxe1037IVY8x3algZVGI1sOxLVWUNEh1orryOWD5dPI3d7+4/CqaT8kGsexXWlhpdXI7XpB1vpi2iqxYjtypYOVTiP/nvWfX61M+yFWLMd2pYeVPnz/lHxsrY+m/RArpiNXBlgZNJIF7UbOo9etFcOxXRlhZdRIuVlHrTXDtB9i

horses:

/summon claysoldiers:mounthorse ~ ~ ~ {horseType:0, textureId:1}

horse types are defined here: EnumClayHorseType.java

The horseType number in the config is the index of the type, beginning at 0 (DIRT = 0, SAND = 1, GRAVEL = 2, etc.) The example above will spawn a dirt horse

[12:06:04] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with java.util.Random x1Tsd: 36.949
[12:06:04] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with XorShiftRandom x1Tsd: 180.641
[12:06:04] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with java.util.Random x1Tsd: 36.129
[12:06:04] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with XorShiftRandom x1Tsd: 114.543
[12:06:04] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with java.util.Random x1Tsd: 45.161
[12:06:04] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with XorShiftRandom x1Tsd: 49.676
[12:06:04] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with java.util.Random x1Tsd: 34.897
[12:06:04] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with XorShiftRandom x1Tsd: 32.843
[12:06:04] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with java.util.Random x1Tsd: 34.486
[12:06:04] [Server thread/INFO]
[12:02:10] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with java.util.Random x1Mil: 26.383.800
[12:02:10] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with XorShiftRandom x1Mil: 9.837.526
[12:02:10] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with java.util.Random x1Mil: 27.707.404
[12:02:10] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with XorShiftRandom x1Mil: 8.265.542
[12:02:10] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with java.util.Random x1Mil: 22.601.430
[12:02:10] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with XorShiftRandom x1Mil: 1.865.114
[12:02:10] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with java.util.Random x1Mil: 22.702.425
[12:02:10] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with XorShiftRandom x1Mil: 1.849.925
[12:02:10] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with java.util.Random x1Mil: 22.217.980
[1
[10:24:19] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with java.util.Random x1Bil: 22.471.724.605
[10:24:21] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with XorShiftRandom x1Bil: 2.125.365.438
[10:24:43] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with java.util.Random x1Bil: 22.386.620.685
[10:24:45] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with XorShiftRandom x1Bil: 1.965.374.470
[10:25:08] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with java.util.Random x1Bil: 22.664.725.601
[10:25:10] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with XorShiftRandom x1Bil: 2.021.465.858
[10:25:33] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with java.util.Random x1Bil: 22.698.994.776
[10:25:35] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with XorShiftRandom x1Bil: 2.032.248.052
[10:25:57] [Server thread/INFO] [sanlib]: Nanoseconds used for generating with java
{
"cubes": [
{
"boxName": "head",
"sizeX": 7,
"sizeY": 7,
"sizeZ": 7,
"textureX": 28,
"textureY": 0,
"textureWidth": 64,
[20:37:17.660] [Info] Root: Preparing Root...
[20:37:17.664] [Info] Root: Done preparing Root.
[20:37:17.664] [Info] Client Version 1.1.0 (windows x86_64) Source ID: eb229dcd10aad142c4b79af6c5b8dc8d39e7d792 Protocol: 724
[20:37:17.664] [Info] Root: Scanning for asset sources in directory '..\assets\'
[20:37:17.664] [Info] Root: Skipping hidden '_unpacked' in asset directory
[20:37:18.123] [Info] Root: Scanning for asset sources in directory '..\mods\'
[20:37:18.123] [Warn] Root: Unrecognized file in asset directory 'mods_go_here', skipping
[20:37:18.123] [Info] Root: Detected asset source named 'base' at '..\assets\packed.pak'
[20:37:18.123] [Info] Root: Detected unnamed asset source at '..\assets\user'
[20:37:18.123] [Info] Loading assets from: '..\assets\packed.pak'
@SanAndreaP
SanAndreaP / TurretIdeas.txt
Last active August 29, 2015 14:19
Possible Turret Upgrade Ideas
#1 Mana (name not decided yet; req. Botania)
consumes a specific amount of mana per HP healed from nearby mana pools to act
as "ammo" instead of glistering melons
@SanAndreaP
SanAndreaP / RenderCubeISBRH.java
Created March 18, 2015 13:49
A method to render a rotate-able cube (w/o texture) in an ISBRH. It uses vectors to calculate the cube corner coords, which makes the rotation possible.
public void renderCubeVec(double x, double y, double z, double sizeX, double sizeY, double sizeZ, float rotX, float rotY, float rotZ, RenderBlocks renderer) {
Tessellator tess = Tessellator.instance;
rotX = (float) ((rotX / 180.0F) * Math.PI);
rotY = (float) ((rotY / 180.0F) * Math.PI);
rotZ = (float) ((rotZ / 180.0F) * Math.PI);
Vec3 vec1 = Vec3.createVectorHelper(sizeX, 0.0D, 0.0D);
Vec3 vec2 = Vec3.createVectorHelper(0.0D, sizeY, 0.0D);
Vec3 vec3 = Vec3.createVectorHelper(0.0D, 0.0D, -sizeZ);
@SanAndreaP
SanAndreaP / IslandManager.java
Last active August 29, 2015 14:12
IslandManager.java
/*******************************************************************************************************************
* Authors: SanAndreasP
* Copyright: SanAndreasP
* License: Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
* http://creativecommons.org/licenses/by-nc-sa/4.0/
*******************************************************************************************************************/
package de.sanandrew.mods.enderstuffp.util.manager;
import cpw.mods.fml.common.FMLLog;
import de.sanandrew.mods.enderstuffp.util.EnderStuffPlus;