Jump to content

WARDOGSK93

Forge Modder
  • Posts

    81
  • Joined

  • Last visited

Posts posted by WARDOGSK93

  1. From wiki:

    "As of June 25, 2014, (...) over 15 million copies on PC have been sold."

     

    You do realise that EVEN if that would be possible (it ain't) the total weight of all nicks would be easily more than 0.5GB.

     

    What you can is to generate array of Strings corresponding to all users that ever logged on particular (your) server.

     

    Last option would be writing totally new program and send about 977 septilion (977 480 813 971 145 474 830 595 007) http-requests to mojang servers that would confirm if given user name exists. And that is considering small/big letters and numbers in nick with max 15 chars.

    width=410 height=296http://d3dsacqprgcsqh.cloudfront.net/photo/aOqggDN_460sa_v1.gif[/img]

     

    thanks for the reply i just thought with it just being strings it would be a small text file or something, but now that you mention it it could just hard code some names as easter eggs and get players that have played on the server / sp world

  2. in my mod im making a new entity.

    I have the skin working so that if give it a custom name tag, it gets the skin for the given user name(name of the name tag)

    so is there away i can download / get a list of user names and pick a random one then get the skin

     

    i know that to get a skin the website is

     

    http://skins.minecraft.net/MinecraftSkins/YOUR_USERNAME_HERE.png
    

     

    so as i said above is there away to get a list and just replace the "YOUR_USERNAME_HERE" bit with the chosen user name

     

    note that at the moment i am doing this in my EntityHelper class and just calling

    EntityHelper.getRandomUsername();

    on spawn

     

    public static String getRandomUsername()
    {
    	String[] usernames = new String[] {"Notch", "Dinnerbone", "iprosyndicte", "SynHD", "AntVenom", "Soaryn", "Wyld", "Wolv21", "Direwolf20"};
    	return usernames[new Random().nextInt(usernames.length)];
    }
    

  3. here is the solution

     

    note i am using a proxy and i have registerd in the FMLCommonHandler

     

    EventHandler

    public class PlayerEventHandler
    {
    @SubscribeEvent
    public void onPlayerLog(PlayerEvent.PlayerLoggedInEvent event)
    {
    	event.player.addChatMessage(I18n.format("msg.message_ocelot.txt", newObject[0]));
    }
    }
    

     

    LangFile

    #Chat Localizations
    msg.message_ocelot.txt=Kill ocelot for its tooth
    

     

    ClientProxy

    public class ClientProxy extends CommonProxy
    {
    @Override public void registerEventHandlers()
    {
    	FMLCommonHandler.instance().bus().register(new PlayerEventHandler());
    }
    }
    

     

    ServerProxy

    public class ServerProxy extends CommonProxy
    {
    public void registerEventHandlers() {} //Does nothing server side
    }
    

     

    CommonProxy

    public abstract class CommonProxy implements IProxy
            @Override public void init()
    {
    	registerEventHandlers();
    }
    
    public void preInit() {}
    public void postInit() {}
    }
    

     

    IProxy

    public interface IProxy
    {
    public abstract void init();
    public abstract void preInit();
    public abstract void postInit();
    
    public abstract void registerEventHandlers();
    }
    

     

    Main Mod File

    @Mod(modid = "modId", version = "modVersion")
    public class PlayersMod
    {
    @SidedProxy(serverSide = "modPackage.ServerProxy", modId = "modId", clientSide = "modPackage.ClientProxy")
    public static IProxy proxy;;
        
        @Mod.EventHandler
        public void init(FMLInitializationEvent event)
        {
    	proxy.init();
        }
    
    @Mod.EventHandler
    public void postInit(FMLPostInitializationEvent event)
    {
    	proxy.postInit();
    }
    
    @Mod.EventHandler
    public void preInit(FMLPreInitializationEvent event)
    {
    	proxy.preInit();
    }
    }
    

     

    screenshot in game: https://www.dropbox.com/s/kmc2xl3a47rioeb/2014-10-23_07.05.51.png?dl=0

  4. the class I18n is mojangs official formatter to translate the given string to the text in the lang file for the currently selected language

     

    as of the second semicolon i spotted that and updated right before you posted

     

    O ok never knew that was how mojang runs that, and after trying it out that way it still did not work, I will keep it as is for now and I'll continue seeing if I can figure it out.

     

    by seeing it do you mean untranslated text

  5. Okay hi again, I am having another problem but this time I am trying to send a chat message to a player who joins a world with my mod in it.

    I have looked around and found what I thought was the solution but its not working and everything else I find explains the same thing.

     

    Code:ChatHandler

    public class ChatHandler
    {
        @SubscribeEvent
        public void onPlayerLog(PlayerEvent.PlayerLoggedOutEvent event)
        {
    
            event.player.addChatMessage(new ChatComponentTranslation("msg.message_ocelot.txt"));
        }
    }

    Code:Main Class code note just the regester

    @Mod.EventHandler
        public void init(FMLInitializationEvent event)
        {
            MinecraftForge.EVENT_BUS.register(new DropHandler());
            MinecraftForge.EVENT_BUS.register(new ChatHandler());
            LogHelper.info("Init Complete!");
    
    
        }
    

    Code: en_US.lang

    #Chat Localizations
    msg.message_ocelot.txt=Kill ocelot for its tooth

     

    I think it might be were I'm registering it but I'm not sure

     

    Thanks in advanced

    ~SureShotM/Leo~

     

    im fairly new modder but the event handler is a PlayerLoggedOutEvent if you want it for when the player logs it should be PlayerLoggedInEvent or something like that

  6. so i have made a mob that picks up items and stores them in an ItemStack array called equipment

    but when the mob picks up a block it does not render it in the mobs hand can somebody help me

    the same happens for armor when it picks up armor the mob has the armor and its health is scaled up depending on what the armor is and how much it protects you but it doesn't render and when the mob dies the items in the array are dropped so they are being stored but not rendered any help

     

    note that the Itemstack array is the default equipment array in EntityLiving

     

    My mobs code

    package com.dogz.mods.Players.Entity;
    
    import com.dogz.mods.Players.Helper.EntityHelper;
    import net.minecraft.entity.Entity;
    import net.minecraft.entity.EntityLiving;
    import net.minecraft.entity.effect.EntityLightningBolt;
    import net.minecraft.entity.item.EntityItem;
    import net.minecraft.entity.monster.EntityZombie;
    import net.minecraft.init.Items;
    import net.minecraft.item.ItemArmor;
    import net.minecraft.item.ItemStack;
    import net.minecraft.world.World;
    
    public class EntityPlayerExtendable extends EntityLiving
    {
    public EntityPlayerExtendable(World world)
    {
    	super(world);
    
    	setCanPickUpLoot(true); //makes it so the mob can pick up items
    }
    
            //called when the mob picks up a item
    @Override public void onItemPickup(Entity entity, int stackSize) 
    {
    	super.onItemPickup(entity, stackSize);
    
    	if(!(worldObj.isRemote))
    	{
    		if(entity instanceof EntityItem) //makes sure it is item (fixes crashes)
    		{
    			EntityItem entityItem = (EntityItem) entity;
    			ItemStack stack = entityItem.getEntityItem();
                                    
                                    //make our mob wear skulls
    			if(stack.getItem() == Items.skull) setCurrentItemOrArmor(1, stack);
                                    //make our mob wear armor
    			else if(stack.getItem() instanceof ItemArmor)
    			{
    				ItemArmor armor = (ItemArmor) stack.getItem();
    				setCurrentItemOrArmor(armor.armorType + 1, stack);
    			}
                                    //make our mob wield the item
    			else setCurrentItemOrArmor(0, stack);
    		}
    	}
    }
    }
    

     

    SOLUTION: made my custom renderer extend RenderBiped not RenderLiving

  7. i need help on players or entities to do the same as a player

     

    i am trying to make a mod that adds mobs that will wander round mine blocks and just you know survive

     

    so far i have created the mob and it spawns but its not what i wanted as all the stuff i need it to do all come under players not mobs (i mean the EntityPlayer class)

     

    i would use the FakePlayer class but i don't know how to use it

     

    any help will be much appreciated

  8. A few notes:

    • You might want to explain that a ModID should be all lowercase to avoid problems with asset-loading (textures, etc.)
    • Coding the mcmod.info into your Mod-File is kinda a bad idea, because then Launchers like MultiMC will not be able to show that information about your mod

     

    or you could do what i do

     

    public static final String modId = modName.toLowerCase();
    

  9. is it possible to give the player a player head with a skin of given player

     

    like the command

    /give @p skull 1 3 {SkullOwner:"PLAYER_NAME"}
    

     

    i have tried the following

    ItemStack skull = new ItemStack(Blocks.skull, 1, 3);
    String playerName = "Notch";
    
    if(skull.stackTagCompound == null) skull.stackTagCompound = new NBTTagCompound();
    
    skull.stackTagCompound.setString("SkullOwner", playerName);
    

     

    i got it working

    //The players skin the skull will be
    String playerName = "Notch";
    
    //Create a ItemStack object of a playerHead
    ItemStack itemstack = new ItemStack(Items.skull, 1, 3);
    
    //Give the ItemStack a blank NBTTagCompound
    itemstack.setTagCompound(new NBTTagCompound());
    
    //Give the blank tag compund the "SkullOwner" tag with the value of a new NBTTagString of the players name
    itemstack.getTagCompound().setTag("SkullOwner", new NBTTagString(playerName));
    

    • Like 1
  10. hi i have been trying to get my pipes to work

     

    i have them rendering and connecting fine but when it comes to moving 1 item from one inventory to another i cant get it to work

     

    i have tried just getting an a instance of the inventory connected on the pipe system and just replacing a empty slot in another inventory connected to the same pipe system but for some reason  it crashes if you want to view my code i will link you to the github page

     

    pics:

     

    https://www.dropbox.com/s/g2fd89fc0a7ce2a/2014-08-31_20.49.44.png?dl=0

    https://www.dropbox.com/s/oqn290mdai686re/2014-08-31_20.50.04.png?dl=0

    https://www.dropbox.com/s/ioztgttw3zufzuo/2014-08-31_20.50.15.png?dl=0

     

    src code for transporting items:

     

    https://github.com/TeamDogz/WAR-Craft/blob/master/src/main/java/com/dogz/mods/WARCraft/Blocks/BlockPipe.java#L38

     

    full github: https://github.com/TeamDogz/WAR-Craft/tree/master/src/main/java/com/dogz/mods/WARCraft

     

    error log (if needed):

     

    ---- Minecraft Crash Report ----
    // Ouch. That hurt 
    
    Time: 31/08/14 21:03
    Description: Rendering item
    
    java.lang.NullPointerException: Rendering item
    at net.minecraft.item.ItemStack.getItemDamage(ItemStack.java:267)
    at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:419)
    at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:585)
    at net.minecraft.client.gui.inventory.GuiContainer.func_146977_a(GuiContainer.java:291)
    at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:118)
    at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1145)
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1066)
    at net.minecraft.client.Minecraft.run(Minecraft.java:961)
    at net.minecraft.client.main.Main.main(Main.java:164)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at GradleStart.bounce(GradleStart.java:107)
    at GradleStart.startClient(GradleStart.java:100)
    at GradleStart.main(GradleStart.java:65)
    
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- Head --
    Stacktrace:
    at net.minecraft.item.ItemStack.getItemDamage(ItemStack.java:267)
    at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:419)
    
    -- Item being rendered --
    Details:
    Item Type: null
    Item Aux: ~~ERROR~~ NullPointerException: null
    Item NBT: null
    Item Foil: ~~ERROR~~ NullPointerException: null
    Stacktrace:
    at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:585)
    at net.minecraft.client.gui.inventory.GuiContainer.func_146977_a(GuiContainer.java:291)
    at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:118)
    
    -- Screen render details --
    Details:
    Screen name: net.minecraft.client.gui.inventory.GuiChest
    Mouse location: Scaled: (213, 119). Absolute: (427, 240)
    Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2
    
    -- Affected level --
    Details:
    Level name: MpServer
    All players: 1 total; [EntityClientPlayerMP['iprosyndicte'/186, l='MpServer', x=-552.60, y=76.62, z=-59.96]]
    Chunk stats: MultiplayerChunkCache: 25, 25
    Level seed: 0
    Level generator: ID 00 - default, ver 1. Features enabled: false
    Level generator options: 
    Level spawn location: World: (-208,64,256), Chunk: (at 0,4,0 in -13,16; contains blocks -208,0,256 to -193,255,271), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
    Level time: 209260 game time, 209260 day time
    Level dimension: 0
    Level storage version: 0x00000 - Unknown?
    Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
    Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
    Forced entities: 30 total; [EntityPig['Pig'/205, l='MpServer', x=-555.16, y=80.81, z=-106.97], EntityPig['Pig'/204, l='MpServer', x=-544.69, y=77.81, z=-105.53], EntityPig['Pig'/207, l='MpServer', x=-553.75, y=65.81, z=-3.63], EntityMinecartChest['entity.MinecartChest.name'/206, l='MpServer', x=-503.50, y=24.50, z=-58.50], EntityPig['Pig'/201, l='MpServer', x=-537.53, y=65.00, z=-27.75], EntityMinecartChest['entity.MinecartChest.name'/200, l='MpServer', x=-575.50, y=24.50, z=-80.50], EntityPig['Pig'/203, l='MpServer', x=-580.50, y=74.00, z=-85.69], EntityPig['Pig'/197, l='MpServer', x=-572.81, y=74.00, z=-23.19], EntityMinecartChest['entity.MinecartChest.name'/193, l='MpServer', x=-537.50, y=25.50, z=-40.50], EntityHorse['Donkey'/192, l='MpServer', x=-538.50, y=74.00, z=-70.50], EntityPig['Pig'/195, l='MpServer', x=-590.97, y=78.00, z=-58.97], EntityMinecartChest['entity.MinecartChest.name'/194, l='MpServer', x=-542.50, y=29.50, z=-40.88], EntityPig['Pig'/217, l='MpServer', x=-508.81, y=74.81, z=-101.63], EntityPig['Pig'/218, l='MpServer', x=-510.06, y=74.81, z=-100.84], EntityPig['Pig'/212, l='MpServer', x=-604.94, y=78.81, z=-68.81], EntityMinecartChest['entity.MinecartChest.name'/213, l='MpServer', x=-589.50, y=28.50, z=-4.50], EntityBat['Bat'/214, l='MpServer', x=-594.27, y=29.67, z=-34.48], EntityPig['Pig'/215, l='MpServer', x=-507.78, y=73.81, z=-86.63], EntityPig['Pig'/208, l='MpServer', x=-546.47, y=64.81, z=-7.34], EntityPig['Pig'/209, l='MpServer', x=-550.25, y=69.81, z=-3.50], EntityBat['Bat'/569, l='MpServer', x=-564.22, y=31.94, z=-10.84], EntityPig['Pig'/210, l='MpServer', x=-560.38, y=68.81, z=-12.81], EntityMinecartChest['entity.MinecartChest.name'/211, l='MpServer', x=-607.50, y=32.50, z=-35.50], EntityClientPlayerMP['iprosyndicte'/186, l='MpServer', x=-552.60, y=76.62, z=-59.96], EntityMinecartChest['entity.MinecartChest.name'/187, l='MpServer', x=-572.50, y=34.50, z=-35.50], EntityBat['Bat'/352, l='MpServer', x=-560.25, y=60.10, z=-44.25], EntityHorse['Horse'/190, l='MpServer', x=-536.66, y=74.00, z=-72.63], EntityHorse['Horse'/191, l='MpServer', x=-536.66, y=74.00, z=-70.66], EntityBat['Bat'/188, l='MpServer', x=-560.25, y=60.10, z=-44.25], EntityVillager['Villager'/189, l='MpServer', x=-538.50, y=74.00, z=-72.50]]
    Retry entities: 0 total; []
    Server brand: fml,forge
    Server type: Integrated singleplayer server
    Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:417)
    at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2567)
    at net.minecraft.client.Minecraft.run(Minecraft.java:983)
    at net.minecraft.client.main.Main.main(Main.java:164)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at GradleStart.bounce(GradleStart.java:107)
    at GradleStart.startClient(GradleStart.java:100)
    at GradleStart.main(GradleStart.java:65)
    
    -- System Details --
    Details:
    Minecraft Version: 1.7.10
    Operating System: Windows 8 (x86) version 6.2
    Java Version: 1.7.0_67, Oracle Corporation
    Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
    Memory: 69002848 bytes (65 MB) / 232497152 bytes (221 MB) up to 259522560 bytes (247 MB)
    JVM Flags: 0 total; 
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
    FML: MCP v9.05 FML v7.10.25.1208 Minecraft Forge 10.13.0.1208 5 mods loaded, 5 mods active
    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    FML{7.10.25.1208} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.0.1208.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    Forge{10.13.0.1208} [Minecraft Forge] (forgeSrc-1.7.10-10.13.0.1208.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    dogz{1.7.10-1.0} [DogzCore] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    WARCraft{1.7.10-1.0} [WAR-Craft] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    Launched Version: 1.7.10
    LWJGL: 2.9.1
    OpenGL: Intel(R) HD Graphics GL version 4.0.0 - Build 9.17.10.2963, Intel
    GL Caps: Using GL 1.3 multitexturing.
    Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
    Anisotropic filtering is supported and maximum anisotropy is 16.
    Shaders are available because OpenGL 2.1 is supported.
    
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: []
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Anisotropic Filtering: Off (1)

  11. i dont know why but when i launch minecraft in debug mode or in non-debug mode in eclipse it gives me this error

     

    [10:06:56] [main/INFO] [GradleStart]: username: "YOUR_USERNAME_HERE"
    [10:06:56] [main/INFO] [GradleStart]: Extra: []
    [10:06:56] [main/INFO] [GradleStart]: Password found, attempting login
    [10:06:56] [main/INFO]: Logging in with username & password
    [10:06:58] [main/INFO] [GradleStart]: Login Succesful!
    [10:06:58] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {twitch_access_token=[com.mojang.authlib.properties.Property@6fb365ed]}, --assetsDir, C:/Users/wayne_000/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --uuid, "SOME_UUID", --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --username, "YOUR_USERNAME_HERE"]
    [10:06:58] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
    [10:06:58] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
    [10:06:58] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
    [10:06:58] [main/INFO] [FML]: Forge Mod Loader version 7.10.25.1208 for Minecraft 1.7.10 loading
    [10:06:58] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_20, running on Windows 8:amd64:6.2, installed at C:\Program Files\Java\jre1.8.0_20
    [10:06:58] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
    [10:06:58] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
    [10:06:58] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
    [10:06:58] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
    [10:06:58] [main/ERROR] [LaunchWrapper]: Unable to launch
    java.util.ConcurrentModificationException
    at java.util.ArrayList$Itr.checkForComodification(Unknown Source) ~[?:1.8.0_20]
    at java.util.ArrayList$Itr.remove(Unknown Source) ~[?:1.8.0_20]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:117) [launchwrapper-1.9.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_20]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_20]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_20]
    at GradleStart.bounce(GradleStart.java:107) [start/:?]
    at GradleStart.startClient(GradleStart.java:100) [start/:?]
    at GradleStart.main(GradleStart.java:65) [start/:?]
    

    and i have removed details to my account from the error log above like my uuid and username for security reasons but i have renamed them to "YOUR_USERNAME_HERE" for the username and "SOME_UUID" for the uuid

     

    the minecraft version i get this on is 1.7.2 but i updated to 1.7.10 see if it was already fixed but its not so im posting this

     

    here are some screen shots and i have blurred the usernames and passwords:

     

    https://www.dropbox.com/s/dees52e3c3maro4/Error2.png?dl=0

    https://www.dropbox.com/s/ot5cf0rr4ttjqm2/Error1.png?dl=0

  12. can someone link me to a FMP tutorial i have CCC, NEI, TL, ES and FMP in my build path and i can use them in game all i need is to know how to get started

     

    FMP = ForgeMulitPart

    NEI = NotEnouthItems

    CCC = CodeChickenCore

    TL = Translocator

    ES = EnderStorage

  13. Solution:

     

    in the configuration gui class where you have:

     

    super(screen, new ConfigElement(ConfigurationHandler.configuration.getCategory("(category)")).getChildElements(), Reference.MODID, false, false, GuiConfig.getAbridgedConfigPath(ConfigurationHandler.configuration.toString()));

     

    change the second false to true

     

    super(screen, new ConfigElement(ConfigurationHandler.configuration.getCategory("(category)")).getChildElements(), Reference.MODID, false, true, GuiConfig.getAbridgedConfigPath(ConfigurationHandler.configuration.toString()));

  14. hi this is a bit of a noob question to some of you guys, but its I would say its also a bit in the advanced side of modding.

     

    how would I make it so when you change a config option (in the new config guis,) it would pop up a message or something saying "the change CONFIG_CHANGE requires a MC restart" or something like that

  15. hi im making a mod which will have fake players just wandering around but i need help with fake players how do i use the FakePlayer class and the FakePlayerFactory class someone please help thanks

     

    Diesieben07 has told me that fake playerd are not for making entity's

    That is not what the FakePlayer class from forge is used for.

    Make your own Entity.

  16. when i run gradle with the arguments setupDecompWorkspace i get this error any help

     

    F:\Minecraft Modding Development\MC 1.7.10\OpenPipes>gradle setupDecompWorkspace

     

    ****************************

    Powered By MCP:

    http://mcp.ocean-labs.de/

    Searge, ProfMobius, Fesh0r,

    R4wk, ZeuX, IngisKahn

    MCP Data version : unknown

    ****************************

     

    FAILURE: Build failed with an exception.

     

    * What went wrong:

    A problem occurred configuring root project 'OpenPipes'.

    > com.google.gson.stream.MalformedJsonException: Unterminated string at line 528

    column 33

     

    * Try:

    Run with --stacktrace option to get the stack trace. Run with --info or --debug

    option to get more log output.

     

    BUILD FAILED

     

    Total time: 35.761 secs

     

    F:\Minecraft Modding Development\MC 1.7.10\OpenPipes>

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.