I have made my very first mod!
It is called Swordpicks.
This adds items called Swordpicks.
Swordpicks are half-sword half-pickaxe
This mod requires Forge
Although, my mod is 1.4.7 and 1.4.6 in one thing, Forge has different versions for both 1.4.6 and 1.4.7
Notes:
Only has the Diamond Sword Pick since this is the first version
I added a little secret
Secret:
Diamond Sword Picks have 20 efficiency
Crafting recipe:
[ ]
[ ]
How to install:
1.Install Forge And Swordpicks
2.Delete Meta-inf from the minecraft.jar (not Forge!)
3.Drag and drop the contents of Forge into the minecraft.jar
4.Drag and drop the contents of Swordpicks into the minecraft.jar
5.Make sure there is nothing in the mods folder that is outdated
6.Play Minecraft and have fun!
Time: 1/8/13 9:09 PM
Description: Failed to start game
java.lang.NullPointerException
at net.minecraft.src.mod_swordpicks.<init>(mod_swordpicks.java:12)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at cpw.mods.fml.common.modloader.ModLoaderModContainer.constructMod(ModLoaderModContainer.java:501)
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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
at com.google.common.eventbus.EventBus.post(EventBus.java:268)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140)
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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
at com.google.common.eventbus.EventBus.post(EventBus.java:268)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:478)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:161)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:410)
at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)
at net.minecraft.client.Minecraft.run(Minecraft.java:744)
at java.lang.Thread.run(Unknown Source)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.4.6
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_10, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 799176112 bytes (762 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v7.25 FML v4.6.12.511 Minecraft Forge 6.5.0.467 4 mods loaded, 4 mods active
mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed
FML [Forge Mod Loader] (coremods) Unloaded->Constructed
Forge [Minecraft Forge] (coremods) Unloaded->Constructed
mod_swordpicks [mod_swordpicks] (bin) Unloaded->Errored
LWJGL: 2.4.2
OpenGL: GeForce GT 240M/PCI/SSE2 GL version 3.3.0, NVIDIA Corporation
Is Modded: Definitely; Client brand changed to 'forge,fml'
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
Did you even read the error message? If your using modloader u cant change the package it has to stay in the net.minecraft.src package. so move the file to the correct package then try again.
Did you even read the error message? If your using modloader u cant change the package it has to stay in the net.minecraft.src package. so move the file to the correct package then try again.
private Item newItemPickaxe(int i, EnumToolMaterial toolDiamonds2) {
// TODO Auto-generated method stub
return null;
}
@Override
public String getVersion() {
// TODO Auto-generated method stub
return null;
}
@Override
public void load() {
// TODO Auto-generated method stub
}
}
Crash report:
---- Minecraft Crash Report ----
// On the bright side, I bought you a teddy bear!
Time: 1/7/13 4:35 PM
Description: Exception occured in ModLoader
java.lang.Error: Unresolved compilation problem:
The declared package "RektarFamilyFriendly.swordpicksmod.mmod" does not match the expected package "net.minecraft.src"
at net.minecraft.src.mod_swordpicks.<init>(mod_swordpicks.java:1)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at net.minecraft.src.ModLoader.addMod(ModLoader.java:395)
at net.minecraft.src.ModLoader.readFromClassPath(ModLoader.java:1406)
at net.minecraft.src.ModLoader.init(ModLoader.java:952)
at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:190)
at net.minecraft.src.RenderManager.<init>(RenderManager.java:93)
at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:14)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:421)
at net.minecraft.src.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:41)
at net.minecraft.client.Minecraft.run(Minecraft.java:741)
at java.lang.Thread.run(Unknown Source)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.4.6
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_10, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 955305752 bytes (911 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: Start[net.minecraft.src.IPlayerUsage, MinecraftFakeLauncher, ThreadShutdown, ...]
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
ModLoader: Mods loaded: 1
ModLoader 1.4.6
0
What is ultrafireknight doing in there?
0
0
Every chunk 1 rainbow ore will spawn. Rainbow ore can be smelted to Rainbow Essence. Rainbow Essence can make swag stuff
Post in the comments if you know what this means: The Rainbow Sword is a lie (Hint: Decompile the code ;D)
Crafting:
Rainbow Sword
(E = Rainbow Essence, S = Stick, X = Nothing)
X E X
X E X
X S X
Installation:
Get forge
Put this is mods folder
Video:
EDIT:
http://tinyurl.com/REKTARAINBOWDownload link, may need that lol.EDIT2: http://www.mediafire.com/download/t8hteejp23drlly/(WIP)RAINBOWS(Mod(Alpha1.0)MC(Full1.7.10)).rar fixed download link, (older went to my bridge builder) may need that lol.
0
It is called Swordpicks.
This adds items called Swordpicks.
Swordpicks are half-sword half-pickaxe
This mod requires Forge
Although, my mod is 1.4.7 and 1.4.6 in one thing, Forge has different versions for both 1.4.6 and 1.4.7
Notes:
Only has the Diamond Sword Pick since this is the first version
I added a little secret
Secret:
Diamond Sword Picks have 20 efficiency
Crafting recipe:
[ ]
[ ]
How to install:
1.Install Forge And Swordpicks
2.Delete Meta-inf from the minecraft.jar (not Forge!)
3.Drag and drop the contents of Forge into the minecraft.jar
4.Drag and drop the contents of Swordpicks into the minecraft.jar
5.Make sure there is nothing in the mods folder that is outdated
6.Play Minecraft and have fun!
v.0.1 Added the Diamond Sword Pick
Download:
http://www.mediafire...insyd7hr1k5gqmi
Picture:
0
I'm making a pickaxe...
0
Crash Report:
// I'm sorry, Dave.
Time: 1/8/13 9:09 PM
Description: Failed to start game
java.lang.NullPointerException
at net.minecraft.src.mod_swordpicks.<init>(mod_swordpicks.java:12)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at cpw.mods.fml.common.modloader.ModLoaderModContainer.constructMod(ModLoaderModContainer.java:501)
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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
at com.google.common.eventbus.EventBus.post(EventBus.java:268)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140)
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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
at com.google.common.eventbus.EventBus.post(EventBus.java:268)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:478)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:161)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:410)
at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)
at net.minecraft.client.Minecraft.run(Minecraft.java:744)
at java.lang.Thread.run(Unknown Source)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.4.6
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_10, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 799176112 bytes (762 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v7.25 FML v4.6.12.511 Minecraft Forge 6.5.0.467 4 mods loaded, 4 mods active
mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed
FML [Forge Mod Loader] (coremods) Unloaded->Constructed
Forge [Minecraft Forge] (coremods) Unloaded->Constructed
mod_swordpicks [mod_swordpicks] (bin) Unloaded->Errored
LWJGL: 2.4.2
OpenGL: GeForce GT 240M/PCI/SSE2 GL version 3.3.0, NVIDIA Corporation
Is Modded: Definitely; Client brand changed to 'forge,fml'
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
Code:
import net.minecraft.item.EnumToolMaterial;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
public class mod_swordpicks extends BaseMod {
public static EnumToolMaterial toolDiamonds = net.minecraftforge.common.EnumHelper.addToolMaterial("DIAMONDS", 3, 1025, 20f, 7, 30);
public mod_swordpicks(){
Item DiamondSwordpick = newItemPickaxe(1001, toolDiamonds).setItemName("DiamondSwordpick");
ModLoader.addShapelessRecipe(new ItemStack(DiamondSwordpick, 1), new Object [] {
"#X", '#', Item.swordDiamond, 'X', Item.pickaxeDiamond
});
ModLoader.addShapelessRecipe(new ItemStack(DiamondSwordpick, 1), new Object [] {
"X#", '#', Item.swordDiamond, 'X', Item.pickaxeDiamond
});
ModLoader.addName(DiamondSwordpick, "Diamond Sword Pick");
}
private Item newItemPickaxe(int i, EnumToolMaterial toolDiamonds2) {
return null;
}
@Override
public String getVersion() {
return null;
}
@Override
public void load() {
}}
0
Thanks so much!
0
0
But whenever I try to do it a crash appears!
name of code: mod_swordpicks
Code:
import net.minecraft.item.EnumToolMaterial;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.src.BaseMod;
import net.minecraft.src.ModLoader;
public class mod_swordpicks extends BaseMod{
public static EnumToolMaterial toolDiamonds = net.minecraftforge.common.EnumHelper.addToolMaterial("DIAMONDS", 3, 1025, 20f, 7, 30);
public mod_swordpicks(){
Item DiamondSwordpick = newItemPickaxe(1001, toolDiamonds).setItemName("DiamondSwordpick");
ModLoader.addShapelessRecipe(new ItemStack(DiamondSwordpick, 1), new Object [] {
"#X", '#', Item.swordDiamond, 'X', Item.pickaxeDiamond
});
ModLoader.addShapelessRecipe(new ItemStack(DiamondSwordpick, 1), new Object [] {
"X#", '#', Item.swordDiamond, 'X', Item.pickaxeDiamond
});
ModLoader.addName(DiamondSwordpick, "Diamond Sword Pick");
}
private Item newItemPickaxe(int i, EnumToolMaterial toolDiamonds2) {
// TODO Auto-generated method stub
return null;
}
@Override
public String getVersion() {
// TODO Auto-generated method stub
return null;
}
@Override
public void load() {
// TODO Auto-generated method stub
}
}
// On the bright side, I bought you a teddy bear!
Time: 1/7/13 4:35 PM
Description: Exception occured in ModLoader
java.lang.Error: Unresolved compilation problem:
The declared package "RektarFamilyFriendly.swordpicksmod.mmod" does not match the expected package "net.minecraft.src"
at net.minecraft.src.mod_swordpicks.<init>(mod_swordpicks.java:1)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at net.minecraft.src.ModLoader.addMod(ModLoader.java:395)
at net.minecraft.src.ModLoader.readFromClassPath(ModLoader.java:1406)
at net.minecraft.src.ModLoader.init(ModLoader.java:952)
at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:190)
at net.minecraft.src.RenderManager.<init>(RenderManager.java:93)
at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:14)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:421)
at net.minecraft.src.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:41)
at net.minecraft.client.Minecraft.run(Minecraft.java:741)
at java.lang.Thread.run(Unknown Source)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.4.6
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_10, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 955305752 bytes (911 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: Start[net.minecraft.src.IPlayerUsage, MinecraftFakeLauncher, ThreadShutdown, ...]
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
ModLoader: Mods loaded: 1
ModLoader 1.4.6
Can someone tell me whats messed up?
0
Next person gets his tape that got messed up from the water.
0
0
I leave a MP3 destroyer.
0
I send my jigglypuff to a pet shop, so the next user gets it!
0
Bwut I wuv meh mommeh!
I throw my god sword at the ground.
0
I drop my hacking device in the process.