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
JSON(Assuming all keys are required to be present): | |
{ | |
"recipes": | |
[ | |
{ | |
"input": {"itemName": "ingotIron", "isOreDictionary": true, "isWildcard": false,"damage": 2} | |
,"output": {"itemName": "minecraft:stick", "isOreDictionary": false, "isWildcard": false, "damage": 16, "stackSize": 5} | |
,"experience": 0.5 | |
} | |
] |
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
float h = 5.0F; | |
float radius = 50.0F; | |
int segments = 4; | |
int subsegments = 8; | |
float subsegmentAngle; | |
Tessellator tess = Tessellator.getInstance(); | |
VertexBuffer vtxBuf = tess.getBuffer(); | |
GlStateManager.pushMatrix(); | |
GlStateManager.pushAttrib(); |
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 com.leviathan143.dogwhistle.client.handlers; | |
import java.util.List; | |
import java.util.Map; | |
import org.lwjgl.input.Mouse; | |
import org.lwjgl.opengl.GL11; | |
import com.google.common.collect.Maps; | |
import com.leviathan143.dogwhistle.api.whistle.Whistle; |
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 com.leviathan143.dogwhistle.api.whistle; | |
import java.util.concurrent.Callable; | |
import net.minecraft.nbt.NBTBase; | |
import net.minecraft.util.EnumFacing; | |
import net.minecraftforge.common.capabilities.Capability; | |
import net.minecraftforge.common.capabilities.CapabilityInject; | |
import net.minecraftforge.common.capabilities.CapabilityManager; |
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 class ItemTimer extends Item | |
{ | |
//This is the identifier for the NBT tag that will store the time | |
private static String TIMER_TAG = "Timer"; | |
//This is the delay we want to have between actions. It is in game ticks, 1 game tick is equal to 1/20 of asecond. | |
private static int DELAY = 5; | |
//Standard item init stuff | |
public ItemTimer() | |
{ |
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
Notepad++ REQUIRED | |
Purpose: Items/Blocks/Material.lowercase to Items/Blocks/Material.UPPERCASE | |
Notes: Match case MUST be checked | |
Find: (\W)(Items|Blocks|Material).([a-z_]+) | |
Replace: $1$2.\U$3 |
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.wildblueyonder.common; | |
import leviathan143.wildblueyonder.common.blocks.ModBlocks; | |
import leviathan143.wildblueyonder.common.entities.ModEntities; | |
import leviathan143.wildblueyonder.common.entities.seacraft.components.VanillaComponents; | |
import leviathan143.wildblueyonder.common.items.ModItems; | |
import leviathan143.wildblueyonder.common.world.biomes.ModBiomes; | |
import net.minecraftforge.fml.common.event.FMLInitializationEvent; | |
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; | |
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; |
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 class EntityRainbowShield extends Entity | |
{ | |
private static final AxisAlignedBB SHIELD_BB = new AxisAlignedBB(0.0D, 0.0D, 0.0D, 3.0D, 2.0D, 0.2D); | |
public EntityRainbowShield(World worldIn) | |
{ | |
super(worldIn); | |
this.setSize(3.0F, 2.0F); | |
System.out.println("HAI"); | |
} |
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.wildblueyonder.common.watercraft.entities; | |
import net.minecraft.entity.player.EntityPlayer; | |
import net.minecraft.util.EnumHand; | |
import net.minecraft.world.World; | |
public class EntitySeat extends EntityWatercraftPart | |
{ | |
public EntitySeat(World world) | |
{ |
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.tileentity; | |
import java.util.*; | |
import javax.annotation.Nullable; | |
import com.google.common.collect.Lists; | |
import net.einsteinsci.betterbeginnings.config.BBConfig; | |
import net.einsteinsci.betterbeginnings.inventory.ItemHandlerInfusionRepair; |
OlderNewer