chasingfire_hpps
-
Posts
99 -
Joined
-
Last visited
Posts posted by chasingfire_hpps
-
-
I'm not offended but, I'm trying to learn to understand it by doing this which is something I enjoy.
-
if an entity throwable renders without a texture it should be a purple and black cube, shouldn't it?
-
I am getting an error here:
par2World.spawnEntityInWorld(new entityplasmabolt(par2World, par3EntityPlayer));
The constructor entityplasmabolt(World, EntityPlayer) is undefined
Code:https://github.com/chasingfirehpps/Future-weapons-mod
Any help is appreciated!
-
I've been trying to render my entity throwable(again), now in 1.7.2 now Minecraft is crashing any thoughts? Thanks for any help.
code:
https://github.com/chasingfirehpps/Future-weapons-mod
crash report:
---- Minecraft Crash Report ----
// There are four lights!
Time: 5/21/14 6:04 PM
Description: There was a severe problem during mod loading that has caused the game to fail
cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: FutureWeaponsMain.ClientProxy
at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:76)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:492)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:209)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:188)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:489)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:202)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:520)
at net.minecraft.client.Minecraft.run(Minecraft.java:890)
at net.minecraft.client.main.Main.main(Main.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Caused by: java.lang.ClassNotFoundException: FutureWeaponsMain.ClientProxy
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:58)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:270)
at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:59)
... 33 more
Caused by: java.lang.NullPointerException
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:180)
... 39 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.7.2
Operating System: Windows 8 (amd64) version 6.2
Java Version: 1.7.0_45, Oracle Corporation
Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 899861352 bytes (858 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.01-pre FML v7.2.156.1060 Minecraft Forge 10.12.1.1060 4 mods loaded, 4 mods active
mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed
FML{7.2.156.1060} [Forge Mod Loader] (forgeSrc-1.7.2-10.12.1.1060.jar) Unloaded->Constructed
Forge{10.12.1.1060} [Minecraft Forge] (forgeSrc-1.7.2-10.12.1.1060.jar) Unloaded->Constructed
futureweapons{1.0} [futureweapons] (bin) Unloaded->Errored
-
Does anyone know a video tutorial for entity rendering for 1.7.2
-
setupDevWorkspace
-
When I try to open a class such as ItemBow.class it says source not found. Did I install forge wrong?
I am on forge 10.12.1.1060. Thanks for any help.
-
Fixed!
-
thoughts?
-
still isn't working. I made the modID futureweapons
changed code:
package FutureWeapons;
import Items.ItemPlasmaRifle;
import net.minecraft.item.Item;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
/**
* This @Mod annotation tells forge that we are creating a new mod. Without this, forge wont
* find your mod. This takes 2 values, a modid, which is a "name" for your mod. This cant be the
* same for ANY mod. So find a name which is new. Version is the current mod version.
*/
@Mod(modid = Reference.MODID, version = Reference.VERSION)
public class FutureWeaponsMain
{
public static Item Plasma_Rifle;
@EventHandler
public void preInit(FMLPreInitializationEvent event)
{
//Block handlers, handles all blocks
//Item handlers, handles all items
Plasma_Rifle = new ItemPlasmaRifle();
RegisterHelper.registerItem(Plasma_Rifle);
Plasma_Rifle = new ItemPlasmaRifle().setUnlocalizedName("ItemPlasmaRifle").setTextureName(Reference.MODID + ":plasmarifle");
//Register handler, adds all the recipes
}
}
-
That didn't work
code:
package FutureWeapons;
import Items.ItemPlasmaRifle;
import net.minecraft.item.Item;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
/**
* This @Mod annotation tells forge that we are creating a new mod. Without this, forge wont
* find your mod. This takes 2 values, a modid, which is a "name" for your mod. This cant be the
* same for ANY mod. So find a name which is new. Version is the current mod version.
*/
@Mod(modid = Reference.MODID, version = Reference.VERSION)
public class FutureWeaponsMain
{
public static Item Plasma_Rifle;
@EventHandler
public void preInit(FMLPreInitializationEvent event)
{
//Block handlers, handles all blocks
//Item handlers, handles all items
Plasma_Rifle = new ItemPlasmaRifle();
RegisterHelper.registerItem(Plasma_Rifle);
Plasma_Rifle = new ItemPlasmaRifle().setUnlocalizedName("ItemPlasmaRifle").setTextureName("Future Weapons:plasmarifle");
//Register handler, adds all the recipes
}
}
folder setup:
C:\Users\ijhpp_000\Desktop\forge 1.7.2\src\main\resources\assets\Future Weapons\textures\items
-
how would I add textures to an item in 1.7.2?
Folder setup:
\forge 1.7.2\src\main\resources\assets\futureweapons\textures\items
-
Umm... anything?
-
I have done what everyone suggested. But I've made no progress ( It's EntityPlasmaBolt isn't rendering). I would be great if someone could look at my code and see what is wrong. It may be obvious but I am struggling. Thanks for any help.
Here's the code
-
What do you mean? like this?
Item Plasma_Rifle = new Plasma_Rifle(0).setUnlocalizedName("Plasma_Rifle");
int modEntityID = 0;
-
Will anyone help me. I've been trying to render this throwable entity for 2 weeks. I've fixed errors and crashes and now I'm back where I started, the entity not rendering.
-
I've fixed errors and crashes now I just can't get my entity to render. Any ideas why? Thanks for any help.
-
I really have no clue.
-
anything
-
I have no clue
-
Ok the crash is gone... now it just doesn't render
-
Ok I made some changes. now Minecraft is crashing.
-
what do I put into the quotation marks
@SidedProxy( clientSide = "", serverSide = "" )
-
I have been having an error on this line of code.
proxy.registerRenderers();
in the FutureWeaponsMain class
proxy cannot be resolved
I have tried a few things and read some things on methods and classes, but I haven't fixed it. I may be being dumb... I probably am... but thanks for any help. I can't figure it out.
Here's the code
Shooter item error
in Modder Support
Posted
I understand why you say modding is not the best way to learn java. I do look at java tutorials however some are not the easiest to learn from and I admit I should have looked at more. But, I enjoy modding and I have learned from it.