Dat rename tho!
|
@ -18,8 +18,8 @@ buildscript {
|
|||
apply plugin: 'forge'
|
||||
|
||||
version = "1.7.10-0.0.1"
|
||||
group = "ellpeck.someprettytechystuff"
|
||||
archivesBaseName = "SomePrettyTechyStuff"
|
||||
group = "ellpeck.someprettyrandomstuff"
|
||||
archivesBaseName = "SomePrettyRandomStuff"
|
||||
|
||||
minecraft {
|
||||
version = "1.7.10-10.13.2.1277"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package ellpeck.someprettytechystuff;
|
||||
package ellpeck.someprettyrandomstuff;
|
||||
|
||||
import cpw.mods.fml.common.Mod;
|
||||
import cpw.mods.fml.common.Mod.EventHandler;
|
||||
|
@ -7,15 +7,15 @@ import cpw.mods.fml.common.SidedProxy;
|
|||
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||
import ellpeck.someprettytechystuff.blocks.InitBlocks;
|
||||
import ellpeck.someprettytechystuff.crafting.InitCrafting;
|
||||
import ellpeck.someprettytechystuff.event.UpdateEvent;
|
||||
import ellpeck.someprettytechystuff.gen.OreGen;
|
||||
import ellpeck.someprettytechystuff.inventory.GuiHandler;
|
||||
import ellpeck.someprettytechystuff.items.InitItems;
|
||||
import ellpeck.someprettytechystuff.proxy.IProxy;
|
||||
import ellpeck.someprettytechystuff.tile.TileEntityBase;
|
||||
import ellpeck.someprettytechystuff.util.Util;
|
||||
import ellpeck.someprettyrandomstuff.blocks.InitBlocks;
|
||||
import ellpeck.someprettyrandomstuff.crafting.InitCrafting;
|
||||
import ellpeck.someprettyrandomstuff.event.UpdateEvent;
|
||||
import ellpeck.someprettyrandomstuff.gen.OreGen;
|
||||
import ellpeck.someprettyrandomstuff.inventory.GuiHandler;
|
||||
import ellpeck.someprettyrandomstuff.items.InitItems;
|
||||
import ellpeck.someprettyrandomstuff.proxy.IProxy;
|
||||
import ellpeck.someprettyrandomstuff.tile.TileEntityBase;
|
||||
import ellpeck.someprettyrandomstuff.util.Util;
|
||||
|
||||
@Mod(modid = Util.MOD_ID, name = Util.NAME, version = Util.VERSION)
|
||||
public class SPTS{
|
||||
|
@ -23,7 +23,7 @@ public class SPTS{
|
|||
@Instance(Util.MOD_ID)
|
||||
public static SPTS instance;
|
||||
|
||||
@SidedProxy(clientSide = "ellpeck.someprettytechystuff.proxy.ClientProxy", serverSide = "ellpeck.someprettytechystuff.proxy.ServerProxy")
|
||||
@SidedProxy(clientSide = "ellpeck.someprettyrandomstuff.proxy.ClientProxy", serverSide = "ellpeck.someprettyrandomstuff.proxy.ServerProxy")
|
||||
public static IProxy proxy;
|
||||
|
||||
@SuppressWarnings("unused")
|
|
@ -1,6 +1,6 @@
|
|||
package ellpeck.someprettytechystuff.blocks;
|
||||
package ellpeck.someprettyrandomstuff.blocks;
|
||||
|
||||
import ellpeck.someprettytechystuff.tile.TileEntityInventoryBase;
|
||||
import ellpeck.someprettyrandomstuff.tile.TileEntityInventoryBase;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockContainer;
|
||||
import net.minecraft.block.material.Material;
|
|
@ -1,8 +1,8 @@
|
|||
package ellpeck.someprettytechystuff.blocks;
|
||||
package ellpeck.someprettyrandomstuff.blocks;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import ellpeck.someprettytechystuff.util.Util;
|
||||
import ellpeck.someprettyrandomstuff.util.Util;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemBlock;
|
|
@ -1,4 +1,4 @@
|
|||
package ellpeck.someprettytechystuff.blocks;
|
||||
package ellpeck.someprettyrandomstuff.blocks;
|
||||
|
||||
public class InitBlocks{
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package ellpeck.someprettytechystuff.blocks.models;
|
||||
package ellpeck.someprettyrandomstuff.blocks.models;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package ellpeck.someprettytechystuff.blocks.renderer;
|
||||
package ellpeck.someprettyrandomstuff.blocks.renderer;
|
||||
|
||||
import ellpeck.someprettytechystuff.blocks.models.ModelBaseSPTS;
|
||||
import ellpeck.someprettyrandomstuff.blocks.models.ModelBaseSPTS;
|
||||
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.ResourceLocation;
|
|
@ -1,6 +1,6 @@
|
|||
package ellpeck.someprettytechystuff.blocks.renderer;
|
||||
package ellpeck.someprettyrandomstuff.blocks.renderer;
|
||||
|
||||
import ellpeck.someprettytechystuff.blocks.models.ModelBaseSPTS;
|
||||
import ellpeck.someprettyrandomstuff.blocks.models.ModelBaseSPTS;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.ResourceLocation;
|
|
@ -1,4 +1,4 @@
|
|||
package ellpeck.someprettytechystuff.blocks.renderer;
|
||||
package ellpeck.someprettyrandomstuff.blocks.renderer;
|
||||
|
||||
public class RenderRegistry{
|
||||
|
|
@ -0,0 +1,51 @@
|
|||
package ellpeck.someprettyrandomstuff.crafting;
|
||||
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import ellpeck.someprettyrandomstuff.items.InitItems;
|
||||
import ellpeck.someprettyrandomstuff.items.metalists.TheFoods;
|
||||
import ellpeck.someprettyrandomstuff.items.metalists.TheMiscItems;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public class InitCrafting {
|
||||
|
||||
public static void init(){
|
||||
|
||||
GameRegistry.addSmelting(new ItemStack(InitItems.itemMisc, 1,
|
||||
TheMiscItems.DOUGH.ordinal()), new ItemStack(InitItems.itemFoods, 1, TheFoods.BAGUETTE.ordinal()), 1F);
|
||||
|
||||
GameRegistry.addShapelessRecipe(new ItemStack(InitItems.itemMisc, 2, TheMiscItems.DOUGH.ordinal()),
|
||||
new ItemStack(Items.wheat), new ItemStack(Items.wheat));
|
||||
|
||||
GameRegistry.addRecipe(new ItemStack(InitItems.itemFoods, 1, TheFoods.PIZZA.ordinal()),
|
||||
"HHH", "MCF", " D ",
|
||||
'D', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.DOUGH.ordinal()),
|
||||
'M', new ItemStack(Blocks.brown_mushroom),
|
||||
'C', new ItemStack(Items.carrot),
|
||||
'F', new ItemStack(Items.fish),
|
||||
'H', new ItemStack(InitItems.itemFoods, 1, TheFoods.CHEESE.ordinal()));
|
||||
|
||||
GameRegistry.addRecipe(new ItemStack(InitItems.itemFoods, 1, TheFoods.HAMBURGER.ordinal()),
|
||||
" T ", "CBS", " T ",
|
||||
'T', new ItemStack(InitItems.itemFoods, 1, TheFoods.TOAST.ordinal()),
|
||||
'C', new ItemStack(InitItems.itemFoods, 1, TheFoods.CHEESE.ordinal()),
|
||||
'S', new ItemStack(Blocks.leaves),
|
||||
'B', new ItemStack(Items.cooked_beef));
|
||||
|
||||
GameRegistry.addRecipe(new ItemStack(InitItems.itemFoods, 1, TheFoods.BIG_COOKIE.ordinal()),
|
||||
"DCD", "CDC", "DCD",
|
||||
'D', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.DOUGH.ordinal()),
|
||||
'C', new ItemStack(Items.dye, 1, 3));
|
||||
|
||||
GameRegistry.addRecipe(new ItemStack(InitItems.itemFoods, 1, TheFoods.SUBMARINE_SANDWICH.ordinal()),
|
||||
"PCP", "FBS", "PCP",
|
||||
'P', new ItemStack(Items.paper),
|
||||
'C', new ItemStack(InitItems.itemFoods, 1, TheFoods.CHEESE.ordinal()),
|
||||
'F', new ItemStack(Items.fish),
|
||||
'B', new ItemStack(InitItems.itemFoods, 1, TheFoods.BAGUETTE.ordinal()),
|
||||
'S', new ItemStack(Blocks.leaves));
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
package ellpeck.someprettyrandomstuff.creative;
|
||||
|
||||
import ellpeck.someprettyrandomstuff.items.InitItems;
|
||||
import ellpeck.someprettyrandomstuff.items.metalists.TheFoods;
|
||||
import ellpeck.someprettyrandomstuff.util.Util;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public class CreativeTab extends CreativeTabs{
|
||||
|
||||
public static CreativeTab instance = new CreativeTab();
|
||||
|
||||
public CreativeTab(){
|
||||
super(Util.MOD_ID);
|
||||
}
|
||||
|
||||
public Item getTabIconItem(){
|
||||
return InitItems.itemFoods;
|
||||
}
|
||||
|
||||
public ItemStack getIconItemStack(){
|
||||
return new ItemStack(this.getTabIconItem(), 1, TheFoods.CHOCOLATE.ordinal());
|
||||
}
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
package ellpeck.someprettytechystuff.event;
|
||||
package ellpeck.someprettyrandomstuff.event;
|
||||
|
||||
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
|
@ -1,4 +1,4 @@
|
|||
package ellpeck.someprettytechystuff.gen;
|
||||
package ellpeck.someprettyrandomstuff.gen;
|
||||
|
||||
import cpw.mods.fml.common.IWorldGenerator;
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
|
@ -1,9 +1,9 @@
|
|||
package ellpeck.someprettytechystuff.inventory;
|
||||
package ellpeck.someprettyrandomstuff.inventory;
|
||||
|
||||
import cpw.mods.fml.common.network.IGuiHandler;
|
||||
import cpw.mods.fml.common.network.NetworkRegistry;
|
||||
import ellpeck.someprettytechystuff.SPTS;
|
||||
import ellpeck.someprettytechystuff.tile.TileEntityBase;
|
||||
import ellpeck.someprettyrandomstuff.SPTS;
|
||||
import ellpeck.someprettyrandomstuff.tile.TileEntityBase;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.world.World;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package ellpeck.someprettytechystuff.items;
|
||||
package ellpeck.someprettyrandomstuff.items;
|
||||
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import net.minecraft.item.Item;
|
||||
|
@ -7,7 +7,7 @@ public class InitItems{
|
|||
|
||||
public static Item itemFertilizer;
|
||||
public static Item itemMisc;
|
||||
public static Item itemCombinedFood;
|
||||
public static Item itemFoods;
|
||||
|
||||
public static void init(){
|
||||
|
||||
|
@ -17,7 +17,7 @@ public class InitItems{
|
|||
itemMisc = new ItemMisc();
|
||||
GameRegistry.registerItem(itemMisc, itemMisc.getUnlocalizedName().substring(5));
|
||||
|
||||
itemCombinedFood = new ItemFoods();
|
||||
GameRegistry.registerItem(itemCombinedFood, itemCombinedFood.getUnlocalizedName().substring(5));
|
||||
itemFoods = new ItemFoods();
|
||||
GameRegistry.registerItem(itemFoods, itemFoods.getUnlocalizedName().substring(5));
|
||||
}
|
||||
}
|
|
@ -1,9 +1,9 @@
|
|||
package ellpeck.someprettytechystuff.items;
|
||||
package ellpeck.someprettyrandomstuff.items;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import ellpeck.someprettytechystuff.creative.CreativeTab;
|
||||
import ellpeck.someprettytechystuff.util.Util;
|
||||
import ellpeck.someprettyrandomstuff.creative.CreativeTab;
|
||||
import ellpeck.someprettyrandomstuff.util.Util;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
|
@ -1,11 +1,13 @@
|
|||
package ellpeck.someprettytechystuff.items;
|
||||
package ellpeck.someprettyrandomstuff.items;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import ellpeck.someprettytechystuff.creative.CreativeTab;
|
||||
import ellpeck.someprettytechystuff.util.Util;
|
||||
import ellpeck.someprettyrandomstuff.creative.CreativeTab;
|
||||
import ellpeck.someprettyrandomstuff.items.metalists.TheFoods;
|
||||
import ellpeck.someprettyrandomstuff.util.Util;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.entity.item.EntityItem;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.EnumAction;
|
||||
import net.minecraft.item.Item;
|
||||
|
@ -13,50 +15,12 @@ import net.minecraft.item.ItemFood;
|
|||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraft.util.StatCollector;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class ItemFoods extends ItemFood{
|
||||
|
||||
public enum TheFoods{
|
||||
|
||||
/*Name of every single one:
|
||||
* "itemFoodNAMEHERE
|
||||
* Every food in a 16x16 .png file with that name
|
||||
* v this is said name*/
|
||||
PUMPKIN_STEW("PumpkinStew", 10, 0.4F, true, 30),
|
||||
CARROT_JUICE("CarrotJuice", 6, 0.2F, true, 20),
|
||||
FISH_N_CHIPS("FishNChips", 20, 1F, false, 40),
|
||||
FRENCH_FRIES("FrenchFries", 16, 0.7F, false, 32),
|
||||
FRENCH_FRY("FrenchFry", 1, 0.01F, false, 3),
|
||||
SPAGHETTI("Spaghetti", 18, 0.8F, false, 38),
|
||||
NOODLE("Noodle", 1, 0.01F, false, 3),
|
||||
CHOCOLATE_CAKE("ChocolateCake", 16, 0.45F, false, 45),
|
||||
CHOCOLATE("Chocolate", 5, 0.05F, false, 15),
|
||||
TOAST("Toast", 7, 0.4F, false, 25),
|
||||
SUBMARINE_SANDWICH("SubmarineSandwich", 10, 0.7F, false, 40),
|
||||
BIG_COOKIE("BigCookie", 6, 0.1F, false, 20),
|
||||
HAMBURGER("Hamburger", 14, 0.9F, false, 40),
|
||||
PIZZA("Pizza", 20, 1F, false, 45),
|
||||
BAGUETTE("Baguette", 7, 0.2F, false, 25);
|
||||
|
||||
public final String name;
|
||||
public final int healAmount;
|
||||
public final float saturation;
|
||||
public final boolean getsDrunken;
|
||||
public final int useDuration;
|
||||
@SideOnly(Side.CLIENT)
|
||||
private IIcon theIcon;
|
||||
|
||||
private TheFoods(String name, int healAmount, float saturation, boolean getsDrunken, int useDuration){
|
||||
this.name = name;
|
||||
this.getsDrunken = getsDrunken;
|
||||
this.healAmount = healAmount;
|
||||
this.saturation = saturation;
|
||||
this.useDuration = useDuration;
|
||||
}
|
||||
}
|
||||
|
||||
private final TheFoods[] allFoods = TheFoods.values();
|
||||
|
||||
public ItemFoods(){
|
||||
|
@ -107,6 +71,21 @@ public class ItemFoods extends ItemFood{
|
|||
return this.getUnlocalizedName() + allFoods[stack.getItemDamage()].name;
|
||||
}
|
||||
|
||||
public ItemStack onEaten(ItemStack stack, World world, EntityPlayer player){
|
||||
ItemStack stackToReturn = super.onEaten(stack, world, player);
|
||||
ItemStack returnItem = allFoods[stack.getItemDamage()].returnItem;
|
||||
if (returnItem != null){
|
||||
if(!player.inventory.addItemStackToInventory(returnItem.copy())){
|
||||
if(!world.isRemote){
|
||||
EntityItem entityItem = new EntityItem(player.worldObj, player.posX, player.posY, player.posZ, returnItem.copy());
|
||||
entityItem.delayBeforeCanPickup = 0;
|
||||
player.worldObj.spawnEntityInWorld(entityItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
return stackToReturn;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean isHeld){
|
|
@ -1,9 +1,10 @@
|
|||
package ellpeck.someprettytechystuff.items;
|
||||
package ellpeck.someprettyrandomstuff.items;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import ellpeck.someprettytechystuff.creative.CreativeTab;
|
||||
import ellpeck.someprettytechystuff.util.Util;
|
||||
import ellpeck.someprettyrandomstuff.creative.CreativeTab;
|
||||
import ellpeck.someprettyrandomstuff.items.metalists.TheMiscItems;
|
||||
import ellpeck.someprettyrandomstuff.util.Util;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
|
@ -16,39 +17,38 @@ import java.util.List;
|
|||
|
||||
public class ItemMisc extends Item{
|
||||
|
||||
private final String[] items = new String[]{"MashedFood", "RefinedIron", "RefinedRedstone", "CompressedIron", "Steel"};
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
private IIcon[] icons = new IIcon[items.length];
|
||||
private final TheMiscItems[] allMiscItems = TheMiscItems.values();
|
||||
|
||||
public ItemMisc(){
|
||||
this.setHasSubtypes(true);
|
||||
this.setUnlocalizedName("itemMisc");
|
||||
this.setHasSubtypes(true);
|
||||
this.setCreativeTab(CreativeTab.instance);
|
||||
}
|
||||
|
||||
public String getUnlocalizedName(ItemStack stack){
|
||||
return this.getUnlocalizedName() + items[stack.getItemDamage()];
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(IIconRegister iconReg){
|
||||
for(int i = 0; i < items.length; i++){
|
||||
icons[i] = iconReg.registerIcon(Util.MOD_ID + ":" + this.getUnlocalizedName().substring(5) + this.items[i]);
|
||||
for(TheMiscItems theMisc : allMiscItems){
|
||||
theMisc.theIcon = iconReg.registerIcon(Util.MOD_ID + ":" + this.getUnlocalizedName().substring(5) + theMisc.name);
|
||||
}
|
||||
}
|
||||
|
||||
public IIcon getIconFromDamage(int i){
|
||||
return icons[i];
|
||||
@SideOnly(Side.CLIENT)
|
||||
public IIcon getIconFromDamage(int par1){
|
||||
return allMiscItems[par1].theIcon;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public void getSubItems(Item item, CreativeTabs tabs, List list) {
|
||||
for (int i = 0; i < items.length; i++){
|
||||
list.add(new ItemStack(this, 1, i));
|
||||
@SuppressWarnings("all")
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void getSubItems(Item item, CreativeTabs tab, List list){
|
||||
for (int j = 0; j < allMiscItems.length; j++){
|
||||
list.add(new ItemStack(this, 1, j));
|
||||
}
|
||||
}
|
||||
|
||||
public String getUnlocalizedName(ItemStack stack){
|
||||
return this.getUnlocalizedName() + allMiscItems[stack.getItemDamage()].name;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean isHeld){
|
|
@ -0,0 +1,46 @@
|
|||
package ellpeck.someprettyrandomstuff.items.metalists;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import ellpeck.someprettyrandomstuff.items.InitItems;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.IIcon;
|
||||
|
||||
public enum TheFoods{
|
||||
|
||||
CHEESE("Cheese", 1, 0.1F, false, 3, null),
|
||||
PUMPKIN_STEW("PumpkinStew", 10, 0.4F, true, 30, new ItemStack(Items.bowl)),
|
||||
CARROT_JUICE("CarrotJuice", 6, 0.2F, true, 20, new ItemStack(Items.glass_bottle)),
|
||||
FISH_N_CHIPS("FishNChips", 20, 1F, false, 40, new ItemStack(InitItems.itemMisc, 1, TheMiscItems.PAPER_CONE.ordinal())),
|
||||
FRENCH_FRIES("FrenchFries", 16, 0.7F, false, 32, new ItemStack(InitItems.itemMisc, 1, TheMiscItems.PAPER_CONE.ordinal())),
|
||||
FRENCH_FRY("FrenchFry", 1, 0.01F, false, 3, null),
|
||||
SPAGHETTI("Spaghetti", 18, 0.8F, false, 38, new ItemStack(Items.bowl)),
|
||||
NOODLE("Noodle", 1, 0.01F, false, 3, null),
|
||||
CHOCOLATE_CAKE("ChocolateCake", 16, 0.45F, false, 45, null),
|
||||
CHOCOLATE("Chocolate", 5, 0.05F, false, 15, null),
|
||||
TOAST("Toast", 7, 0.4F, false, 25, null),
|
||||
SUBMARINE_SANDWICH("SubmarineSandwich", 10, 0.7F, false, 40, null),
|
||||
BIG_COOKIE("BigCookie", 6, 0.1F, false, 20, null),
|
||||
HAMBURGER("Hamburger", 14, 0.9F, false, 40, null),
|
||||
PIZZA("Pizza", 20, 1F, false, 45, null),
|
||||
BAGUETTE("Baguette", 7, 0.2F, false, 25, null);
|
||||
|
||||
public final String name;
|
||||
public final int healAmount;
|
||||
public final float saturation;
|
||||
public final boolean getsDrunken;
|
||||
public final int useDuration;
|
||||
public final ItemStack returnItem;
|
||||
@SideOnly(Side.CLIENT)
|
||||
public IIcon theIcon;
|
||||
|
||||
private TheFoods(String name, int healAmount, float saturation, boolean getsDrunken, int useDuration, ItemStack returnItem){
|
||||
this.name = name;
|
||||
this.getsDrunken = getsDrunken;
|
||||
this.healAmount = healAmount;
|
||||
this.saturation = saturation;
|
||||
this.useDuration = useDuration;
|
||||
this.returnItem = returnItem;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
package ellpeck.someprettyrandomstuff.items.metalists;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.util.IIcon;
|
||||
|
||||
public enum TheMiscItems{
|
||||
|
||||
PAPER_CONE("PaperCone"),
|
||||
MASHED_FOOD("MashedFood"),
|
||||
REFINED_IRON("RefinedIron"),
|
||||
REFINED_REDSTONE("RefinedRedstone"),
|
||||
COMPRESSED_IRON("CompressedIron"),
|
||||
STEEL("Steel"),
|
||||
DOUGH("Dough");
|
||||
|
||||
public final String name;
|
||||
@SideOnly(Side.CLIENT)
|
||||
public IIcon theIcon;
|
||||
|
||||
private TheMiscItems(String name){
|
||||
this.name = name;
|
||||
}
|
||||
}
|
|
@ -1,9 +1,9 @@
|
|||
package ellpeck.someprettytechystuff.items.tools;
|
||||
package ellpeck.someprettyrandomstuff.items.tools;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import ellpeck.someprettytechystuff.creative.CreativeTab;
|
||||
import ellpeck.someprettytechystuff.util.Util;
|
||||
import ellpeck.someprettyrandomstuff.creative.CreativeTab;
|
||||
import ellpeck.someprettyrandomstuff.util.Util;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemAxe;
|
|
@ -1,9 +1,9 @@
|
|||
package ellpeck.someprettytechystuff.items.tools;
|
||||
package ellpeck.someprettyrandomstuff.items.tools;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import ellpeck.someprettytechystuff.creative.CreativeTab;
|
||||
import ellpeck.someprettytechystuff.util.Util;
|
||||
import ellpeck.someprettyrandomstuff.creative.CreativeTab;
|
||||
import ellpeck.someprettyrandomstuff.util.Util;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemHoe;
|
|
@ -1,9 +1,9 @@
|
|||
package ellpeck.someprettytechystuff.items.tools;
|
||||
package ellpeck.someprettyrandomstuff.items.tools;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import ellpeck.someprettytechystuff.creative.CreativeTab;
|
||||
import ellpeck.someprettytechystuff.util.Util;
|
||||
import ellpeck.someprettyrandomstuff.creative.CreativeTab;
|
||||
import ellpeck.someprettyrandomstuff.util.Util;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemPickaxe;
|
|
@ -1,9 +1,9 @@
|
|||
package ellpeck.someprettytechystuff.items.tools;
|
||||
package ellpeck.someprettyrandomstuff.items.tools;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import ellpeck.someprettytechystuff.creative.CreativeTab;
|
||||
import ellpeck.someprettytechystuff.util.Util;
|
||||
import ellpeck.someprettyrandomstuff.creative.CreativeTab;
|
||||
import ellpeck.someprettyrandomstuff.util.Util;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemSpade;
|
|
@ -1,9 +1,9 @@
|
|||
package ellpeck.someprettytechystuff.items.tools;
|
||||
package ellpeck.someprettyrandomstuff.items.tools;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import ellpeck.someprettytechystuff.creative.CreativeTab;
|
||||
import ellpeck.someprettytechystuff.util.Util;
|
||||
import ellpeck.someprettyrandomstuff.creative.CreativeTab;
|
||||
import ellpeck.someprettyrandomstuff.util.Util;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
|
@ -1,7 +1,7 @@
|
|||
package ellpeck.someprettytechystuff.proxy;
|
||||
package ellpeck.someprettyrandomstuff.proxy;
|
||||
|
||||
|
||||
import ellpeck.someprettytechystuff.blocks.renderer.RenderRegistry;
|
||||
import ellpeck.someprettyrandomstuff.blocks.renderer.RenderRegistry;
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
public class ClientProxy implements IProxy{
|
|
@ -1,4 +1,4 @@
|
|||
package ellpeck.someprettytechystuff.proxy;
|
||||
package ellpeck.someprettyrandomstuff.proxy;
|
||||
|
||||
public interface IProxy {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package ellpeck.someprettytechystuff.proxy;
|
||||
package ellpeck.someprettyrandomstuff.proxy;
|
||||
|
||||
public class ServerProxy implements IProxy{
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package ellpeck.someprettytechystuff.tile;
|
||||
package ellpeck.someprettyrandomstuff.tile;
|
||||
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.network.NetworkManager;
|
|
@ -1,4 +1,4 @@
|
|||
package ellpeck.someprettytechystuff.tile;
|
||||
package ellpeck.someprettyrandomstuff.tile;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.inventory.ISidedInventory;
|
|
@ -1,4 +1,4 @@
|
|||
package ellpeck.someprettytechystuff.util;
|
||||
package ellpeck.someprettyrandomstuff.util;
|
||||
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.util.StatCollector;
|
||||
|
@ -7,8 +7,8 @@ import org.lwjgl.input.Keyboard;
|
|||
@SuppressWarnings("unused")
|
||||
public class Util{
|
||||
|
||||
public static final String MOD_ID = "someprettytechystuff";
|
||||
public static final String NAME = "SomePrettyTechyStuff";
|
||||
public static final String MOD_ID = "someprettyrandomstuff";
|
||||
public static final String NAME = "SomePrettyRandomStuff";
|
||||
public static final String VERSION = "1.7.10-0.0.1";
|
||||
|
||||
public static boolean isShiftPressed(){
|
|
@ -1,9 +0,0 @@
|
|||
package ellpeck.someprettytechystuff.crafting;
|
||||
|
||||
public class InitCrafting {
|
||||
|
||||
public static void init(){
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
package ellpeck.someprettytechystuff.creative;
|
||||
|
||||
import ellpeck.someprettytechystuff.util.Util;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.Item;
|
||||
|
||||
public class CreativeTab extends CreativeTabs{
|
||||
|
||||
public static CreativeTab instance = new CreativeTab();
|
||||
|
||||
public CreativeTab(){
|
||||
super(Util.MOD_ID);
|
||||
}
|
||||
|
||||
public Item getTabIconItem() {
|
||||
return Items.command_block_minecart;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,57 @@
|
|||
itemGroup.someprettytechystuff=SomePrettyTechyStuff
|
||||
|
||||
item.itemMiscMashedFood.name=Mashed Food
|
||||
item.itemMiscRefinedIron.name=Refined Iron
|
||||
item.itemMiscRefinedRedstone.name=Refined Redstone
|
||||
item.itemMiscCompressedIron.name=Compressed Iron
|
||||
item.itemMiscSteel.name=Steel
|
||||
item.itemFertilizer.name=Fertilizer
|
||||
item.itemMiscDough.name=Dough
|
||||
item.itemMiscPaperCone.name=Paper Cone
|
||||
|
||||
item.itemFoodBaguette.name=Baguette
|
||||
item.itemFoodPizza.name=Pizza
|
||||
item.itemFoodHamburger.name=Hamburger
|
||||
item.itemFoodBigCookie.name=Big Cookie
|
||||
item.itemFoodSubmarineSandwich.name=Submarine Sandwich
|
||||
item.itemFoodToast.name=Toast
|
||||
item.itemFoodChocolate.name=Chocolate
|
||||
item.itemFoodChocolateCake.name=Chocolate Cake
|
||||
item.itemFoodNoodle.name=Noodle
|
||||
item.itemFoodSpaghetti.name=Spaghetti
|
||||
item.itemFoodFrenchFry.name=French Fry
|
||||
item.itemFoodFrenchFries.name=French Fries
|
||||
item.itemFoodFishNChips.name=Fish 'N' Chips
|
||||
item.itemFoodCarrotJuice.name=Carrot Juice
|
||||
item.itemFoodPumpkinStew.name=Pumpkin Stew
|
||||
item.itemFoodCheese.name=Cheese
|
||||
|
||||
tooltip.shiftForInfo.desc=Press Shift for Info
|
||||
tooltip.hunger.desc=Fills
|
||||
tooltip.saturation.desc=Saturation
|
||||
|
||||
tooltip.itemMiscMashedFood.desc=Used to make Fertilizer
|
||||
tooltip.itemMiscRefinedIron.desc=Iron, but better
|
||||
tooltip.itemMiscRefinedRedstone.desc=Redstone, but better
|
||||
tooltip.itemMiscCompressedIron.desc=Iron, but compressed
|
||||
tooltip.itemMiscSteel.desc=Like Iron, but stronger. Much stronger.
|
||||
tooltip.itemFertilizer.desc=Om nom nom. Don't eat it.
|
||||
tooltip.itemMiscDough.desc=Used to make things that involve dough.
|
||||
tooltip.itemMiscPaperCone.desc=Used to store foodstuffs!
|
||||
|
||||
tooltip.itemFoodBaguette.desc=It's french. It's noms.
|
||||
tooltip.itemFoodPizza.desc=Who doesn't like it?
|
||||
tooltip.itemFoodHamburger.desc=It's from a german city!
|
||||
tooltip.itemFoodBigCookie.desc=Do you know? The Subway Thing?
|
||||
tooltip.itemFoodSubmarineSandwich.desc=Do you know? The Subway and everything else Thing?
|
||||
tooltip.itemFoodToast.desc="GHOSTS! GHOSTS! TOAST!"
|
||||
tooltip.itemFoodChocolate.desc=Lari likes.
|
||||
tooltip.itemFoodChocolateCake.desc=Looks delicious. With redberries. Or something.
|
||||
tooltip.itemFoodNoodle.desc=Just one. Like... that's not much.
|
||||
tooltip.itemFoodSpaghetti.desc=The most generic food ever. So clichée.
|
||||
tooltip.itemFoodFrenchFry.desc=French. Fry.
|
||||
tooltip.itemFoodFrenchFries.desc=Much like French Fires, but actually taste good.
|
||||
tooltip.itemFoodFishNChips.desc=It's Fish. It's Chips. Or French Fries. Whatevs.
|
||||
tooltip.itemFoodCarrotJuice.desc=Carrots, but pressed!
|
||||
tooltip.itemFoodPumpkinStew.desc=Like Mushroom Stew or Rabbit Stew, but pumpykinny.
|
||||
tooltip.itemFoodCheese.desc=Cheese.
|
Before Width: | Height: | Size: 274 B After Width: | Height: | Size: 274 B |
After Width: | Height: | Size: 277 B |
After Width: | Height: | Size: 313 B |
After Width: | Height: | Size: 264 B |
After Width: | Height: | Size: 276 B |
After Width: | Height: | Size: 646 B |
After Width: | Height: | Size: 295 B |
After Width: | Height: | Size: 563 B |
After Width: | Height: | Size: 569 B |
After Width: | Height: | Size: 287 B |
After Width: | Height: | Size: 288 B |
After Width: | Height: | Size: 282 B |
After Width: | Height: | Size: 645 B |
After Width: | Height: | Size: 259 B |
After Width: | Height: | Size: 348 B |
After Width: | Height: | Size: 359 B |
After Width: | Height: | Size: 304 B |
Before Width: | Height: | Size: 270 B After Width: | Height: | Size: 270 B |
After Width: | Height: | Size: 324 B |
Before Width: | Height: | Size: 469 B After Width: | Height: | Size: 469 B |
After Width: | Height: | Size: 537 B |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 277 B |
Before Width: | Height: | Size: 275 B After Width: | Height: | Size: 275 B |
Before Width: | Height: | Size: 282 B After Width: | Height: | Size: 282 B |
|
@ -1,43 +0,0 @@
|
|||
itemGroup.someprettytechystuff=SomePrettyTechyStuff
|
||||
|
||||
item.itemMiscMashedFood.name=Mashed Food
|
||||
item.itemMiscMatterAccellerator.name=Matter Accellerator
|
||||
item.itemMiscRefinedIron.name=Refined Iron
|
||||
item.itemMiscRefinedRedstone.name=Refined Redstone
|
||||
item.itemMiscCompressedIron.name=Compressed Iron
|
||||
item.itemMiscSteel.name=Steel
|
||||
item.itemFertilizer.name=Fertilizer
|
||||
|
||||
tile.blockOreCopper.name=Copper Ore
|
||||
tile.blockOreTin.name=Tin Ore
|
||||
tile.blockOreLead.name=Lead Ore
|
||||
tile.blockOreSilver.name=Silver Ore
|
||||
tile.blockOreTungsten.name=Tungsten Ore
|
||||
tile.blockOreQuartz.name=Quartz Ore
|
||||
tile.blockOrePlatinum.name=Platinum Ore
|
||||
tile.blockOreAluminum.name=Aluminum Ore
|
||||
tile.blockOreZinc.name=Zinc Ore
|
||||
tile.blockOreCobalt.name=Cobalt Ore
|
||||
|
||||
tooltip.shiftForInfo.desc=Press Shift for Info
|
||||
tooltip.hunger.desc=Fills
|
||||
tooltip.saturation.desc=Saturation
|
||||
|
||||
tooltip.blockOreCopper.desc=Used for ...something.
|
||||
tooltip.blockOreTin.desc=Used for ...something.
|
||||
tooltip.blockOreLead.desc=Used for ...something.
|
||||
tooltip.blockOreSilver.desc=Used for ...something.
|
||||
tooltip.blockOreTungsten.desc=Used for ...something.
|
||||
tooltip.blockOreQuartz.desc=Used for ...something.
|
||||
tooltip.blockOrePlatinum.desc=Used for ...something.
|
||||
tooltip.blockOreAluminum.desc=Used for ...something.
|
||||
tooltip.blockOreZinc.desc=Used for ...something.
|
||||
tooltip.blockOreCobalt.desc=Used for ...something.
|
||||
|
||||
tooltip.itemMiscMashedFood.desc=Used to make Fertilizer
|
||||
tooltip.itemMiscMatterAccellerator.desc=Accellerates Matter. What did you expect?
|
||||
tooltip.itemMiscRefinedIron.desc=Iron, but better
|
||||
tooltip.itemMiscRefinedRedstone.desc=Redstone, but better
|
||||
tooltip.itemMiscCompressedIron.desc=Iron, but compressed
|
||||
tooltip.itemMiscSteel.desc=Like Iron, but stronger. Much stronger.
|
||||
tooltip.itemFertilizer.desc=Om nom nom. Don't eat it.
|
Before Width: | Height: | Size: 327 B |
Before Width: | Height: | Size: 325 B |
Before Width: | Height: | Size: 342 B |
Before Width: | Height: | Size: 327 B |
Before Width: | Height: | Size: 241 B |
Before Width: | Height: | Size: 260 B |
Before Width: | Height: | Size: 305 B |
Before Width: | Height: | Size: 258 B |
Before Width: | Height: | Size: 286 B |
Before Width: | Height: | Size: 284 B |
Before Width: | Height: | Size: 286 B |
Before Width: | Height: | Size: 280 B |
Before Width: | Height: | Size: 270 B |
Before Width: | Height: | Size: 269 B |
Before Width: | Height: | Size: 290 B |
Before Width: | Height: | Size: 275 B |