Jump to content

LaughingJackalMC

Members
  • Posts

    31
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

LaughingJackalMC's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Basically, what i want is if i have a certain item in my inventory, all entities in a certain range to be damaged wherever i go. But how would i go about getting what i want? I have tried adding potion effects, but that didnt seem to work.
  2. Thank you so much, this really helped, how would i put the mcp stuff on there?
  3. Well i just don't wan't to miss 2 weeks of coding, i would not like to test it, just code and then test it back home
  4. Hey, i'm going on holiday tomorrow and I am not taking my laptop, only my ipad. Is there any way to get Eclipse working on an ipad or developing a mc forge mod on ipad? Thanks.
  5. ok, why should I never use @SideOnly? I know not for mobs I just checked my code, do you mean never for the entire mod or just the mob stuff?
  6. So I have fully created my entity, texture, AI, everything's working perfectly. However my spawn egg is in the miscellaneous tab and I cant seem to change it. Where would I put the setCreativeTab()?
  7. I'm pretty sure there should be a SIDEONLY(SIDE.CLIENT) in there somewhere, let me take a look at my code.
  8. hmm, I don't know. Try doing gradlew setupDecompWorkspace again
  9. Cool thanks, been modding for years don't know why that caught me out!
  10. Hey, eclipse deleted my original mod (of course!). So I am re-doing my mod. I always start of with a test block, however my one isn't appearing in game! here is the main code : package me.irule2222.theWWIImod; import me.irule2222.theWWIImod.blocks.Test; import net.minecraft.block.Block; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.registry.GameRegistry; @Mod(modid = WWIIMain.modid, name = WWIIMain.name, version = WWIIMain.version) public class WWIIMain { public static final String modid = "wwiimod"; public static final String name = "The World War 2 Mod"; public static final String version = "Pre Alpha 0.1.0"; public static Block test; @EventHandler public void preInit(FMLPreInitializationEvent event) { test = new Test().setBlockName("test"); GameRegistry.registerBlock(test, "test"); } } And the Test class is just: package me.irule2222.theWWIImod.blocks; import net.minecraft.block.Block; import net.minecraft.block.material.Material; public class Test extends Block{ public Test() { super(Material.iron); } } I have an en_US.lang in case that what was the problem, there are no errors in the console. Can anyone help?
×
×
  • Create New...

Important Information

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