Jump to content

OmgImAlexis

Members
  • Posts

    12
  • Joined

  • Last visited

Converted

  • Gender
    Female
  • Location
    0.0.0.0
  • Personal Text
    I made AllTheThings

OmgImAlexis's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Well that explains the 5 hours of not finding anything, thanks.
  2. I've been looking for some way to drop a block item with my block's nbt tag but I can't seem to find anything on the wiki or in any tutorials, could someone please point me in the right direction?
  3. Could you point me to where I could find an answer to this like a part of the wiki that explains it or something because I can't seem to find anything at all on using the IProxy class and none of the youtube videos for 1.7.2 or 1.7.10 seem to say you need them even though they're doing stuff with tile entities. The only reason I even have a class that implements it is because a single tutorial I found said that you needed it at the start.
  4. Okay, I know where to look now. I'm going to go make some changes and I'll let to know if I get it to work.
  5. So, I've been following a tutorial on how to add power and pipes into the game and once I get to adding the tile entities the block works but the textures won't appear on the blocks. I have a feeling it's got something to do with the registerProxies method not being run inside of the ClientProxy but if I try and run it in the init method in the main file I get a null pointer exception and I'm not sure why it's returning that. Here's the code.
  6. With your git ignore file I still get this meaning eclipse actually gets added to the repo with all my project settings, etc. which I really don't think it meant to be added. I'm running git init in the main folder btw. .classpath .gitingore .gradle/ .project .settings/ CREDITS-fml.txt LICENSE-fml.txt MinecraftForge-Credits.txt MinecraftForge-License.txt README.txt bin/ build.gradle eclipse/ forge-1.7.10-10.13.0.1180-changelog.txt gradle/ gradlew gradlew.bat src/
  7. You sure about that? Sounds a bit weird to be adding more than just the src. Would I also exclude the eclipse directory from it too?
  8. I have 2 questions. 1. What folder/files should I be committing to a git repo I'm guessing everything in src should be fine? 2. Are we allowed to release our mods under any license we want? The one I want to use is the wtfpl but I'm not sure if that's against what Forge/Minecraft allows.
  9. I'm just wondering if there's an site which lists which mods use which naming conventions, etc. for their blocks, items, machines, etc. when registering to the Ore Dictionary or is there just a standard naming convention to which most big mods stick to.
  10. Alright, thank you. I was going off of tutorials from 1.6 as I couldn't find anything up to date.
  11. I'm fairly new to modding so I'd just like some clarification, am I right to assume that instead of using super(id) to set the item's ID we now use this? itemRegistry.addObject(5000, "transmutationStone", this); If I try using super(id) I get an error saying "The constructor Item(int) is undefined" and it doesn't show up in game. This is my AllTheThings.java package omgimalexis.allthethings; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; @Mod(modid="AllTheThings", name="All The Things", version="0.0.0") public class AllTheThings { private final static Item transmutationStone = new TransmutationStone(5000); // The instance of your mod that Forge uses. @Instance(value = "AllTheThings") public static AllTheThings instance; // Says where the client and server 'proxy' code is loaded. @SidedProxy(clientSide="omgimalexis.allthethings.client.ClientProxy", serverSide="omgimalexis.allthethings.CommonProxy") public static CommonProxy proxy; @EventHandler public void preInit(FMLPreInitializationEvent event) { // Stub Method } @EventHandler public void load(FMLInitializationEvent event) { proxy.registerRenderers(); AllTheThingsCrafting.loadRecipes(); } @EventHandler public void postInit(FMLPostInitializationEvent event) { // Stub Method } } This is my TransmutationStone.java package omgimalexis.allthethings; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; public class TransmutationStone extends Item { public TransmutationStone(int id) { itemRegistry.addObject(5000, "transmutationStone", this); setMaxStackSize(64); setCreativeTab(CreativeTabs.tabMisc); setUnlocalizedName("transmutationStone"); } }
×
×
  • Create New...

Important Information

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