• 0

    posted a message on Which biome will you choose in Minecon LIVE?

    I'm pretty set on voting for swamps, but they have yet to reveal the mountain features. I'm probably going to stick with swamps though, they're kinda bland as right now. I wish they'd add cat tails though.

    Posted in: Discussion
  • 0

    posted a message on Is possible to make Mods with Python ?

    I've only ever modded with java, and i'm 99% sure that you can't use python for java edition modding. its probably not possible in forge's modding environment.

    Posted in: Discussion
  • 0

    posted a message on A Heavily WIP Yet to be Named Map

    I made it maybe 2/3 building everything, but i wasn't even close to finishing all the command block stuff because i originally started the map on xbox 360 (which had no command blocks). Another thing that made this map take even longer to make was that i redid alot of the areas i first worked on because they weren't up to standard compared to the later areas in the map.


    Can't wait to see how the castle turns out.

    Posted in: WIP Maps
  • 0

    posted a message on A Heavily WIP Yet to be Named Map

    Looks great man, I hope you finish your map... I know i couldn't finish mine. Maybe i'll recycle it into a game in unity, I don't know. It would just be a shame to see another map with potential bite the dust.

    Posted in: WIP Maps
  • 0

    posted a message on "Minecraft is Dying" posts NEED TO STOP.

    The community has changed, and some parts of the community have died out a bit, such as the adventure map and xbox360 community. I remember being in both of those, even working on my own huge adventure map for 4+ years, I think i still have something about in my flair (too lazy to change it). I lost motivation after seeing the adventure map community become less active. It's sad that the adventure map community isn't as active as it once was, i have similar feelings to silveroug2. Adventure maps were like a way of making a story based game in minecraft, they were the best. Oh well, maybe i could recycle the idea of my old adventure map into a unity game.


    Minigame servers seem to be more popular than ever though, make of that what you will. The modded community has always been stable. Public vanilla SMP servers seem to be dying though, I feel that nowadays more people just buy private servers and realms and just play with their friends. I'm sad that the adventure map community isn't as active as it once was, i have similar feelings to silveroug2.


    I wouldn't say minecraft is dying, but rather that certain communities within it have been dying, while others have been growing.

    Posted in: Discussion
  • 0

    posted a message on M-Ore 8.1

    Should be on the first page

    Posted in: Minecraft Mods
  • 0

    posted a message on Xray Ultimate 1.12 compatible

    yeah i was wondering how to add blocks to show up in the xray

    Posted in: Resource Packs
  • 0

    posted a message on soup/bowl food item functions properly, but doesn't restore hunger or saturation

    YES thank you it worked. I had a feeling it had to do with that method.

    Posted in: Modification Development
  • 0

    posted a message on soup/bowl food item functions properly, but doesn't restore hunger or saturation

    I made a bowl food item called fruit_salad, but when eat it, it doesn't restore any hunger or saturation.


    I have a class that i created to add food items to my mod called FoodBase.java (code for that file below)


    package com.citrine.testmod.items.food;
    
    import com.citrine.testmod.Main;
    import com.citrine.testmod.init.ModItems;
    import com.citrine.testmod.util.IHasModel;
    
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.ItemFood;
    
    public class FoodBase extends ItemFood implements IHasModel
    {
    	public FoodBase(String name, int amount, float saturation, boolean isAnimalFood) 
    	/*
    	 * amount is shanks filled
    	 * saturation is saturation
    	 * isAnimalFood determines whether or not you can feed it to dogs
    	 * */
    	{
    		super(amount, saturation, isAnimalFood);
    		setUnlocalizedName(name);
    		setRegistryName(name);
    		setCreativeTab(CreativeTabs.FOOD);
    		
    		ModItems.ITEMS.add(this);
    	}
    
    	@Override
    	public void registerModels() 
    	{
    		Main.proxy.registerItemRenderer(this, 0, "inventory");
    	}
    }



    I use this class for adding normal food in my ModItems.java class in the init package. I wanted to add bowl items, that can only stack to one, and return a bowl to the player's inventory when eaten, so i made a new class that extends FoodBase called SoupBase.java (code below)

    package com.citrine.testmod.items.food;
    
    import net.minecraft.entity.EntityLivingBase;
    import net.minecraft.entity.player.EntityPlayer;
    import net.minecraft.init.Items;
    import net.minecraft.item.Item;
    import net.minecraft.item.ItemStack;
    import net.minecraft.world.World;
    import net.minecraftforge.items.ItemHandlerHelper;
    
    public class SoupBase extends FoodBase
    {
     private Item ReturnStack;
     
     public SoupBase(String name, int amount, float saturation, boolean isAnimalFood, Item item) 
     {
     super(name, amount, saturation, isAnimalFood);
     this.setMaxStackSize(1);
     this.ReturnStack = item;
     }
     
     public ItemStack onItemUseFinish(ItemStack stack, World world, EntityLivingBase living) 
     {
     super.onFoodEaten(stack, world, (EntityPlayer)living);
     return new ItemStack(ReturnStack);
     }
    }

    Now that i did that, i added a new SoupBase item called fruit_salad in ModItems.java


    public static final Item FRUIT_SALAD = new SoupBase("fruit_salad", 11, 6.6f, false, Items.BOWL);


    Heres the full ModItems.java class:

    package com.citrine.testmod.init;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import com.citrine.testmod.items.ItemBase;
    import com.citrine.testmod.items.armor.ArmorBase;
    import com.citrine.testmod.items.food.FoodBase;
    import com.citrine.testmod.items.food.FoodEffectBase;
    import com.citrine.testmod.items.food.SoupBase;
    import com.citrine.testmod.items.tools.ToolAxe;
    import com.citrine.testmod.items.tools.ToolHoe;
    import com.citrine.testmod.items.tools.ToolPickaxe;
    import com.citrine.testmod.items.tools.ToolSpade;
    import com.citrine.testmod.items.tools.ToolSword;
    import com.citrine.testmod.util.Reference;
    
    import net.minecraft.entity.player.EntityPlayer;
    import net.minecraft.init.Items;
    import net.minecraft.init.MobEffects;
    import net.minecraft.init.SoundEvents;
    import net.minecraft.inventory.EntityEquipmentSlot;
    import net.minecraft.item.Item;
    import net.minecraft.item.Item.ToolMaterial;
    import net.minecraft.item.ItemArmor.ArmorMaterial;
    import net.minecraft.item.ItemAxe;
    import net.minecraft.item.ItemHoe;
    import net.minecraft.item.ItemPickaxe;
    import net.minecraft.item.ItemSpade;
    import net.minecraft.item.ItemStack;
    import net.minecraft.item.ItemSword;
    import net.minecraft.potion.PotionEffect;
    import net.minecraft.world.World;
    import net.minecraftforge.common.util.EnumHelper;
    
    public class ModItems 
    {
     
     public static final List<Item> ITEMS = new ArrayList<Item>();
     
     //Materials
     public static final ToolMaterial MATERIAL_AQUAMARINE = EnumHelper.addToolMaterial("material_aquamarine", 3, 2124, 9.0f, 4.0f, 25);
     public static final ArmorMaterial ARMOR_MATERIAL_SUGILITE = EnumHelper.addArmorMaterial("armo r_material_sugilite", Reference.MOD_ID + ":sugilite", 15, new int[] {3, 7, 9, 4} , 10, SoundEvents.ITEM_ARMOR_EQUIP_DIAMOND, 0.0f);
     
     //add items
     public static final Item SUGILITE = new ItemBase("sugilite");
     public static final Item URANIUM = new ItemBase("uranium");
     public static final Item URANIUM_SUGILITE_FUSION = new ItemBase("uranium_sugilite_fusion");
     public static final Item AQUAMARINE = new ItemBase("aquamarine");
     
     //food
     //public static final Item BLUEBERRY = new FoodBase("blueberry", 3, 4.0f, false); (60*20 is one minute of ppotion effect)
     public static final Item BLUEBERRY = new FoodEffectBase ("blueberry", 3, 2.0f, false, new PotionEffect(MobEffects.SPEED, /*how long its lasts(3 seconds)*/(3*20),/*potion effect lvl*/ 2, /*whether or not it comes from a beacon*/false, /*shows whether or not particles are shown*/false));
     public static final Item POO = new FoodEffectBase ("poo", 3, 0.0f, false, new PotionEffect(MobEffects.HUNGER, (12*20), 100, false, true));
     public static final Item FISH_AND_CHIPS = new FoodBase("fish_and_chips", 10, 12.8f, false);
     public static final Item FRIED_EGG = new FoodBase("fried_egg", 5, 6, false);
     //public static final Item FRUIT_SALAD = new SoupBase("fruit_salad", 11, 6.6f, false), onFoodEaten(ItemStack stack, World worldIn, EntityPlayer player);
     public static final Item FRUIT_SALAD = new SoupBase("fruit_salad", 11, 6.6f, false, Items.BOWL);
     
     //Tools
     public static final ItemSword AQUAMARINE_SWORD = new ToolSword("aquamarine_sword", MATERIAL_AQUAMARINE);
     public static final ItemSpade AQUAMARINE_SHOVEL = new ToolSpade("aquamarine_shovel", MATERIAL_AQUAMARINE);
     public static final ItemPickaxe AQUAMARINE_PICKAXE = new ToolPickaxe("aquamarine_pickaxe", MATERIAL_AQUAMARINE);
     public static final ItemAxe AQUAMARINE_AXE = new ToolAxe("aquamarine_axe", MATERIAL_AQUAMARINE);
     public static final ItemHoe AQUAMARINE_HOE = new ToolHoe("aquamarine_hoe", MATERIAL_AQUAMARINE);
     
     //armor
     public static final Item SUGILITE_HELMET = new ArmorBase("sugilite_helmet", ARMOR_MATERIAL_SUGILITE, 1, EntityEquipmentSlot.HEAD);
     public static final Item SUGILITE_CHESTPLATE = new ArmorBase("sugilite_chestplate", ARMOR_MATERIAL_SUGILITE, 1, EntityEquipmentSlot.CHEST);
     public static final Item SUGILITE_LEGGINGS = new ArmorBase("sugilite_leggings", ARMOR_MATERIAL_SUGILITE, 2, EntityEquipmentSlot.LEGS);
     public static final Item SUGILITE_BOOTS = new ArmorBase("sugilite_boots", ARMOR_MATERIAL_SUGILITE, 1, EntityEquipmentSlot.FEET);
    }


    When I run client and test out the mod, I can eat the fruit salad, it stacks to 1 like i wanted, and it returns a bowl when its eaten. The only problem is that no hunger or saturation is restored when i eat it, for some reason. I'm quite sure what i did wrong, but I think it has something to do with SoupBase.java, as I don't have this problem with the normal class that it extends from.

    Does anyone know how to fix this?

    Posted in: Modification Development
  • 0

    posted a message on [1.6.x-1.7.2][FORGE] The Soup Mod

    i'm thinking of re-creating and updating this mod for 1.12.2, the original poster hasn't logged onto his account in more than 4 years, i'm sure he wouldn't mind.

    Posted in: Minecraft Mods
  • 0

    posted a message on (New! 24/7!) POUNDCRAFT: Putting the "free" back in "freebuild". [WHITELIST]

    is this server dead?

    Posted in: PC Servers
  • 0

    posted a message on Looking for another anarchy server.

    I made an anarchy server for 1.12


    The IP address: 69.175.40.98:25588

    Posted in: Server Recruitment
  • 0

    posted a message on StarGuts 1.12 anarchy

    StarGuts is an new anarchy server for 1.12. The world is nearly untouched as of now, so get in quick before others manage to get all the resources at spawn. 60 players can be on at one time.


    Server IP and port: 69.175.40.98:25588


    This server is a bit of an experiment for me, lets see how this goes.

    Posted in: PC Servers
  • 0

    posted a message on In Control!

    Looks like a good mod, perfect for the mod pack im making with mocreatures and biomesoplenty and more.

    Posted in: Minecraft Mods
  • 0

    posted a message on M-Ore 8.1

    Ive been making my own sprite for this mod, as the pixel art isnt as good as it could be (in my opinion). Ill post some here later. Maybe i could help do some of the sprite for m-ore?

    Posted in: Minecraft Mods
  • To post a comment, please .