Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

tminor1

Members
  • Content Count

    103
  • Joined

  • Last visited

Community Reputation

1 Neutral

About tminor1

  • Rank
    Creeper Killer

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!
  1. Well I don't care about it not being compatible with other mods this mod is for my use only I have no plans to distribute it and make money I only want it for my use only. You guys always assume that when someone asks for help developing a mod they are planning to become some big modder and make lots of money but there are others like me who don't want money they just want to make a mod for themselves because there is no other mod out there that will do what they want. For me I want to make a mod that disables endermen from picking up blocks. I know that you can change the mobGriffing gamerule
  2. well then can you tell me how to make a mod with mcp and not need minecraft forge?
  3. So this is a non forge question. I want to change up just a little bit of minecraft code to create a simple mod with out having to learn to use forge. The problem is after I create my mod I do the stuff to get the modded files. Then I go to the minecraft jar and put the modded files into the jar file. But then when I run minecraft the jar file just gets re-downloaded. I don't understand it. I renamed the the folder, jar file, jason file, and opened the jason file and changed 1.9.4 to the new name and I also deleted the META-INF folder from the jar file. If I were to create and install a mod in
  4. Hey, look at that. I got it to work by doing this. EntityItem item = new EntityItem(evt.world, evt.pos.getX(), evt.pos.getY(), evt.pos.getZ(), new ItemStack(Item.getItemFromBlock(Blocks.stained_glass),1,((EnumDyeColor) evt.state.getValue(BlockStainedGlass.COLOR)).getMetadata())); First I changed it back to ItemStack(Item.getItemFromBlock(Blocks.stained_glass),1,1)) then added the other part where that last one was. Then, I added an () to the end of getMetadata changed BlockGlass to BlockStaindGlass then if finally took COLOR Then, the .getProperty needed to be changed to .
  5. After some playing around I got this. package net.glassDrops.mod; import net.minecraft.block.BlockGlass; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.Entity; import net.minecraft.entity.item.EntityItem; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.EnumDyeColor; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraftforge.event.entity.living.LivingDeathEvent; import net.minecraftforge.ev
  6. I have tried that. It is not working, someone just show me how to add it to my code please.
  7. Am I doing this right? package net.glassDrops.mod; import net.minecraft.block.BlockGlass; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.Entity; import net.minecraft.entity.item.EntityItem; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.EnumDyeColor; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraftforge.event.entity.living.LivingDeathEvent; import net.minecraftforge.event.world.BlockEv
  8. KakesRevenge I tried your code and it didn't work for me. diesieben07, how do I add what you gave me to my code? What I meant is my plan was just to create a new event for every color glass block but like say the event for the orange one would see that you mined an orange one then drop an orange glass block and it would do that in all the events for all the glass blocks. Not saying I can't do it your way I just don't know how to add that in then drop the block with the Metadata of the one you mined.
  9. Alright now I can make it drop other colors then the white but that is only part of it I now I need to make to get what color of the glass you just mined so it knows what color to drop. package net.glassDrops.mod; import net.minecraft.block.BlockGlass; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.Entity; import net.minecraft.entity.item.EntityItem; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.
  10. But how do I do that? It wont let me add any thing before or after the Blocks.stained_glass.
  11. Yes, but how do I do that? If I try to add anything after the .stained_glass it will not accept it.
  12. Hey I am working on a better glass drop mod and I need help with the colored glass. I can get it to work with the white glass block because it is the first stained_glass block so if in my code I have stained_glass it will go for the white one but I also need it to drop the other colors to but I don't know how to add the damage value of the glass block or the color of the glass block so that when you mine a a glass block that is not white it will drop itself. package net.glassDrops.mod; import net.minecraft.block.BlockGlass; import net.minecraft.block.material.Material; import net.minecraft.b
  13. package net.testmod.mod; import net.minecraft.init.Blocks; import net.minecraft.item.ItemStack; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.common.util.EnumHelper; import net.minecraftforge.fml.common.registry.GameRegistry; @net.minecraftforge.fml.common.Mod(modid = testmod.modid, version = testmod.version, name = testmod.name) public class main { public static final String modid = "testmod"; public static final String version = "v1.0"; public static final String name = "Test Mod"; @net.minecraftforge.fml.common.Mod.EventHandler public void PreInit(net.minec
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.