Oh, I seem to recall there was a mod for different colored creepers back then, maybe elemental ones?
Oh yeah - that was it, I think! There are also some strange items in my hotbar from some other mods, I believe one of them was wireless redstone(?) and another was some elevator mod.
Here's the oldest one I have (Aug 2012), saved from a corrupted hard drive. Not sure exactly what mod(s) are being used here, but I do remember this world. I definitely had older screenshots, as I had been playing for at least a year at this point, but they couldn't be salvaged from the drive.
So, I am making a mod, and I added a simple custom "chicken" mob. Now, in singleplayer, it works just fine.
Now here is the strange part. When I use it on a server (For instance, I do /Summon Chicken ~ ~ ~ ), the server gives no error, and I can hear the mob on my client and I can also use /tp Codepixl @e[type=Duck], but the client (in the log) says:
java.util.concurrent.ExecutionException: java.lang.RuntimeException: Could not spawn mod entity ModID: whatevermod EntityID: 3 at ( 319.0625,8.0, 306.8125) Please contact mod author or server admin.
at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:1.8.0_45]
at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:1.8.0_45]
at net.minecraftforge.fml.common.FMLCommonHandler.callFuture(FMLCommonHandler.java:710) [FMLCommonHandler.class:?]
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1011) [bsu.class:?]
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:345) [bsu.class:?]
at net.minecraft.client.main.Main.main(SourceFile:120) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_45]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
Caused by: java.lang.RuntimeException: Could not spawn mod entity ModID: whatevermod EntityID: 3 at ( 319.0625,8.0, 306.8125) Please contact mod author or server admin.
at net.minecraftforge.fml.common.network.internal.EntitySpawnHandler.spawnEntity(EntitySpawnHandler.java:85) ~[EntitySpawnHandler.class:?]
at net.minecraftforge.fml.common.network.internal.EntitySpawnHandler.process(EntitySpawnHandler.java:56) ~[EntitySpawnHandler.class:?]
at net.minecraftforge.fml.common.network.internal.EntitySpawnHandler.access$000(EntitySpawnHandler.java:31) ~[EntitySpawnHandler.class:?]
at net.minecraftforge.fml.common.network.internal.EntitySpawnHandler$1.run(EntitySpawnHandler.java:46) ~[EntitySpawnHandler$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_45]
at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_45]
at net.minecraftforge.fml.common.FMLCommonHandler.callFuture(FMLCommonHandler.java:709) ~[FMLCommonHandler.class:?]
... 9 more
Code:
EDIT: Wow, it didn't format my code
WhateverMod.java (stripped to show important stuff relevant to the issue):
@Mod(modid = WhateverMod.MODID, version = WhateverMod.VERSION)
public class WhateverMod{
@SidedProxy(clientSide="net.codepixl.whatevermod.ClientProxy", serverSide="net.codepixl.whatevermod.CommonProxy")
public static CommonProxy proxy;
public static final String MODID = "whatevermod";
public static final String VERSION = "1.3";
@Instance(value = WhateverMod.MODID) //Tell Forge what instance to use.
public static WhateverMod instance;
@EventHandler
public void init(FMLInitializationEvent event){
//REGISTER ENTITIES AND RENDERERS
registerEntity(EntityDuck.class, "Duck", 0x704214, 0x964B00);
proxy.registerRenderers();
}
public static void registerEntity(Class entityClass, String name, int primaryColor, int secondaryColor){
int entityID = EntityRegistry.findGlobalUniqueEntityId();
EntityRegistry.registerGlobalEntityID(entityClass, name, entityID);
EntityRegistry.registerModEntity(entityClass, name, entityID, instance, 64, 1, true);
EntityList.entityEggs.put(Integer.valueOf(entityID), new EntityList.EntityEggInfo(entityID, primaryColor, secondaryColor));
}
}
ClientProxy (CommonProxy is a blank class with the registerRenderers method in it, but there is nothing in the method):
public class ClientProxy extends CommonProxy{
@Override
public void registerRenderers() {
RenderingRegistry.registerEntityRenderingHandler(EntityDuck.class, new RenderDuck(Minecraft.getMinecraft().getRenderManager(), new
ModelDuck(), 0.5F)); //RenderDuck and ModelDuck are basically the Chicken Renderer and Model. I know it works, because it works fine in SP.
//RenderingRegistry.registerEntityRenderingHandler(EntitySummoningPearl.class, new
Just putting it on pastebin because I am not re-formatting all that code xD
So, it seems like the entity is being handled just fine by the server, but my client isn't recognizing it. Even when I relog the issue still persists. What is going on here? Again, It works in SP just fine.
Actually by t he time u have that chest theres no point cheating items in...enless your useing other mods like orespawn.
You could cheat in anything, whether it be a whole chest of diamond blocks (By the time you make this chest you probably won't have that much) or spawn eggs. Besides, from a modding standpoint, it would be impossible without modifying a ton of the existing game code.
You can take anything you want here. This is not 1 mod idea. If you don't like these things... You don't like them. YES, you can use them without my permission.
Trapped ender chest: It's easy to know what it is... Even the recipe.
Emerald coins: Coins made of emeralds. Used to trade with villagers. Smelt 1 emerald to get 2 coins. Coins cannot be turned back in emeralds!
Multiple-world ender chest: A special chest which stores items between worlds (saves)! Crated with 7 ender chests, 1 dragon egg and 1 nether star.
Enderdragon spawn egg: Spawns an ender dragon. Crafted with 1 dragon egg, 4 diamond blocks and 4 nether stars.
Iron bars block: Iron bars as a block. For decoration. Crafted instead of the iron bars. Iron bars are crafted with 6 iron bars blocks (gives 16, like glass panes).
As a modder, to be honest, I feel most of these are too OP. The multiple-world ender chest could be used to cheat items, and even if it was expensive, once you had it you could cheat. The ender dragon spawn egg would be bad, just because ender dragons destroy every block they touch besides end stone, obsidian, and bedrock.
Otherwise, the rest are great!
I'm going to make a couple, and post on to this thread to show you!
EDIT:
http://imgur.com/a/Z88uo Here is the album of images! So far I have added the iron bar block, and the trapped ender chest (WIP)
Hey man! I would love to have you on I sent you a invite
I don't know if that was me you were replying to, but I didn't get the invite My IGN has a capital C in Codepixl. I didn't PM you on twitter because you can only PM someone if they're following you.
Hey! I'm Codepixl (IGN: Codepixl) and I am 13, though I honestly believe that I am more mature than my age. I am a sorta good builder, but I could probably get better! I program in Java, Lua, Swift, Obj-C and some other stuff, and make Minecraft mods. I am also good at making contraptions with redstone. Thanks!
In your custom creative tab, override displayAllReleventItems to use a Comparator:
@Override
@SideOnly(Side.CLIENT)
public void displayAllReleventItems(List itemstacks) {
super.displayAllReleventItems(itemstacks); // populates list of itemstacks
Collections.sort(itemstacks, yourItemstackComparator); // sort list however you want
}
The problem is most likely not in either of these classes, but in your container (inventory) class. If you look at the class ContainerFurnace there are three functions, addCraftingToCrafters(), detectAndSendChanges(), and updateProgressBar(), which are needed to send info and update the GUI.
Okay, I checked those methods, and even copied them from the ContainerFurnace Class, but it's still not working. I also edited my post to include the Container code.
EDIT: My detectAndSendChanges method was accidentally called detectAndSaveChanges. Now it works!
0
Wow, have you had the same world going since Alpha? Impressive.
0
Oh yeah - that was it, I think! There are also some strange items in my hotbar from some other mods, I believe one of them was wireless redstone(?) and another was some elevator mod.
0
Here's the oldest one I have (Aug 2012), saved from a corrupted hard drive. Not sure exactly what mod(s) are being used here, but I do remember this world. I definitely had older screenshots, as I had been playing for at least a year at this point, but they couldn't be salvaged from the drive.
0
What you need to do is look at this tutorial.
Items:
http://www.wuppy29.com/minecraft/1-8-tutorial/updating-1-7-to-1-8-part-2-basic-items/#sthash.vneMqgBp.dpbs
Blocks:
http://www.wuppy29.com/minecraft/1-8-tutorial/updating-1-7-to-1-8-part-3-basic-blocks/
(Textures have changed a lot, especially with the new models in 1.8.) setTextureName does not exist anymore.
In the tutorial, when it shows you all the JSON files you need to make, there's a program that does that for you:
http://www.wuppy29.com/minecraft/json-generator/#sthash.czFUihXo.dpbs
Huh, looks like all the links are from wuppy29.com xD
0
So, I am making a mod, and I added a simple custom "chicken" mob. Now, in singleplayer, it works just fine.
Now here is the strange part. When I use it on a server (For instance, I do /Summon Chicken ~ ~ ~ ), the server gives no error, and I can hear the mob on my client and I can also use /tp Codepixl @e[type=Duck], but the client (in the log) says:
Code:
EDIT: Wow, it didn't format my code
WhateverMod.java (stripped to show important stuff relevant to the issue):
public class WhateverMod{
@SidedProxy(clientSide="net.codepixl.whatevermod.ClientProxy", serverSide="net.codepixl.whatevermod.CommonProxy")
public static CommonProxy proxy;
public static final String MODID = "whatevermod";
public static final String VERSION = "1.3";
@Instance(value = WhateverMod.MODID) //Tell Forge what instance to use.
public static WhateverMod instance;
@EventHandler
public void init(FMLInitializationEvent event){
//REGISTER ENTITIES AND RENDERERS
registerEntity(EntityDuck.class, "Duck", 0x704214, 0x964B00);
proxy.registerRenderers();
}
public static void registerEntity(Class entityClass, String name, int primaryColor, int secondaryColor){
int entityID = EntityRegistry.findGlobalUniqueEntityId();
EntityRegistry.registerGlobalEntityID(entityClass, name, entityID);
EntityRegistry.registerModEntity(entityClass, name, entityID, instance, 64, 1, true);
EntityList.entityEggs.put(Integer.valueOf(entityID), new EntityList.EntityEggInfo(entityID, primaryColor, secondaryColor));
}
}
ClientProxy (CommonProxy is a blank class with the registerRenderers method in it, but there is nothing in the method):
public class ClientProxy extends CommonProxy{
@Override
public void registerRenderers() {
RenderingRegistry.registerEntityRenderingHandler(EntityDuck.class, new RenderDuck(Minecraft.getMinecraft().getRenderManager(), new
ModelDuck(), 0.5F)); //RenderDuck and ModelDuck are basically the Chicken Renderer and Model. I know it works, because it works fine in SP.
//RenderingRegistry.registerEntityRenderingHandler(EntitySummoningPearl.class, new
RenderSnowball(Minecraft.getMinecraft().getRenderManager(), WhateverMod.SummoningPearl, Minecraft.getMinecraft().getRenderItem()));
}
}
EntityDuck (Although I don't think this is causing the problem:
http://pastebin.com/c0AjDJA1
Just putting it on pastebin because I am not re-formatting all that code xD
So, it seems like the entity is being handled just fine by the server, but my client isn't recognizing it. Even when I relog the issue still persists. What is going on here? Again, It works in SP just fine.
0
You could cheat in anything, whether it be a whole chest of diamond blocks (By the time you make this chest you probably won't have that much) or spawn eggs. Besides, from a modding standpoint, it would be impossible without modifying a ton of the existing game code.
0
[quote=medsal15;../../../../members/medsal15;2365921-random-ideas?comment=1]
You can take anything you want here. This is not 1 mod idea. If you don't like these things... You don't like them. YES, you can use them without my permission.
Trapped ender chest: It's easy to know what it is... Even the recipe.
Emerald coins: Coins made of emeralds. Used to trade with villagers. Smelt 1 emerald to get 2 coins. Coins cannot be turned back in emeralds!
Multiple-world ender chest: A special chest which stores items between worlds (saves)! Crated with 7 ender chests, 1 dragon egg and 1 nether star.
Enderdragon spawn egg: Spawns an ender dragon. Crafted with 1 dragon egg, 4 diamond blocks and 4 nether stars.
Iron bars block: Iron bars as a block. For decoration. Crafted instead of the iron bars. Iron bars are crafted with 6 iron bars blocks (gives 16, like glass panes).
As a modder, to be honest, I feel most of these are too OP. The multiple-world ender chest could be used to cheat items, and even if it was expensive, once you had it you could cheat. The ender dragon spawn egg would be bad, just because ender dragons destroy every block they touch besides end stone, obsidian, and bedrock.
Otherwise, the rest are great!
I'm going to make a couple, and post on to this thread to show you!
EDIT:
http://imgur.com/a/Z88uo Here is the album of images! So far I have added the iron bar block, and the trapped ender chest (WIP)
0
I don't know if that was me you were replying to, but I didn't get the invite My IGN has a capital C in Codepixl. I didn't PM you on twitter because you can only PM someone if they're following you.
EDIT: Nvm, I got it. Thanks!
0
0
IGN: Codepixl
What do you want us to call you? (Real name, nickname, just your IGN, whatever :P): Call me Codepixl, Code, or whatever else you can think of
Age: 12 (Almost 13 :D)
Favorite color of wool: Red
Favorite animal: Dragon!
How long have you been playing minecraft?: 3 years
EDIT: Just noticed the thing saying no more applications, sorry.
0
Okay, Thanks!
0
0
Okay, I checked those methods, and even copied them from the ContainerFurnace Class, but it's still not working. I also edited my post to include the Container code.
EDIT: My detectAndSendChanges method was accidentally called detectAndSaveChanges. Now it works!
0
GUI
TileEntity
Container
0
Here's my code:
TileEntity
Gui
Why is this happening?