
Millennium3
Forge Modder-
Posts
28 -
Joined
-
Last visited
Everything posted by Millennium3
-
[1.7.2] Shapeless Crafting not working for me?
Millennium3 replied to Budboy33's topic in Modder Support
You put registries in: public void load(FMLInitializationEvent event){ -
log2, is birch or what other wood type.
-
One set of Armor overwrites the rest...
Millennium3 replied to Bobblacksmith's topic in Modder Support
As coolAlias said, your item IDs are conflicting with vanilla items, As I saw in the console error. You might want to move the IDs up to around 1500 to start off, so then the vanilla items won't override them. (Also, this might just be in legacy, but I didn't see a public static in front of those item statements.) //Try defining the ItemID in this statement public static Item ExampleHelmet = new ArmourSetExample(1500, ArmourSetExample, 0,0, "Example").setUnlocalizedName("ExampleHelmet"); Also use public static Item, or block in front. -
Oh, and to make it run on sunlight, you might wanna take a look at the light detector thingy, or whatever its called.
-
Weapon has durability but doesn't break when used up.
Millennium3 replied to Deadlyapples's topic in Modder Support
Take a quick look at some tutorials or at the wiki! -
To have a custom top/filler block: this.topBlock = (byte)YouModName.ExampleBlock.blockID; this.fillerBlock = (byte)YourModName.ExampleBlock.blockID; So you want a flower only to be allowed to get placed on an obsidian block? Hmm... I have done flowers and found that I cannot define one block it can spawn on. (Sorry.) If still confused: this.topBlock = (byte)MainModClassName.(It should come up with a list after you type the MainModClassName., there scroll through and chose you block name.).blockID; Your custom block's ID has to be under 256 for it to generate. (Experience) IT WILL NOT CONFLICT WITH VANILLA ITEMS(I think)
-
You might be missing a section in the code.
-
You don't need to remove the biomes, but you can. I would recommend this: Biome Class: (Replace YOURMODCLASS with your mod class name, and it will have an error at the package, just click "change to: your package name") package com.example.biome; import (Your Main Mod File), EX: import com.example.BaseModClassFile; import net.minecraft.block.Block; import net.minecraft.world.biome.BiomeGenBase; public class YOURMODCLASS extends BiomeGenBase{ public YOURMODCLASS(int id) { super(id); this.topBlock = (byte)ThomasMod.Rubble.blockID; this.fillerBlock = (byte)Block.cobblestoneMossy.blockID; this.theBiomeDecorator.deadBushPerChunk = 5; this.setDisableRain(); } } That disables rain and puts 1 deadbush per chunk. (You can remove it.) Try and play around with this.theBiomeDecorator. Also, If you want to use custom blocks, do: this.topBlock = (byte)YouModName.ExampleBlock.blockID; this.fillerBlock = (byte)YourModName.ExampleBlock.blockID; The top block for example is grass, and the filler is for example dirt. Replace YourModName.ExampleBlock with you mod name and the block you want to use. Otherwise, if you want to use vanilla blocks: replace it with: Block.(It should bring up a list here, just delete this and the dot after "Block", then replace the dot.).blockID; For your main mod class file, You would register it like so: (BIOMECLASSFILENAMEis the class file for the biome. BiomeName is the alias.) (DO IT UNDER YOUR BLOCKS) (for .setMinMaxHeight, 0.1 = 10 blocks high.) public static BiomeGenBase BiomeName = new BIOMECLASSFILENAME(BiomeID here, has to be above 22 and below 256, EX: 50.).setBiomeName("What you would want it to say in F3").setMinMaxHeight(-0.5F, 0.1F); To Register It: (Also in main mod file.) GameRegistry.addBiome(BiomeName); Find The WorldChunkManager Class File. near the top there should be this: public static ArrayList<BiomeGenBase> allowedBiomes = new ArrayList<BiomeGenBase>(Arrays.asList(beach, desert, forest, jungle, ocean, plains, river, taiga, (other biomes)); Edit it like so: public static ArrayList<BiomeGenBase> allowedBiomes = new ArrayList<BiomeGenBase>(YouMainClassFile.BiomeAlias)); Hope I helped! If confused:
-
NVM... fixed it. I did not have to zip the file, I layer it out as the same as another mod, it worked.
-
Bump This.
-
Thanks! I just messed around with blender but its so confusing. Thanks!
-
Thanks to all who helped!
-
[1.7.2] Making an ore why do i get an error?
Millennium3 replied to jellefly12's topic in Modder Support
Did you import it? is "mod" your main class file name? Remove the .itemID? -
Does anybody know a good modeler for mac? I would like to create a boss or a new textured item/block. Thanks!
-
Alright, thanks for the help guys. I am copying the code for the arrow, but how might I get to the reference called "arrow"? Would you recommend a tutorial?
-
You have to get a modler like Techne. (If you are on a mac, tough luck. there is no modlers for mac.)
-
[1.7.2] - No damage when spawning lightning
Millennium3 replied to AppliedOnce's topic in Modder Support
Hmm... @Override public ItemStack onItemRightClick(ItemStack itemStack, World world, EntityPlayer Entityplayer) { Vec3 look = Entityplayer.getLookVec(); MovingObjectPosition Coord = Entityplayer.rayTrace(300, 1); if(Coord != null && Coord.typeOfHit == EnumMovingObjectType.TILE){ EntityLightningBolt Lightning = new EntityLightningBolt(world, 1, 1, 1); Lightning.setPosition(Coord.blockX,Coord.blockY,Coord.blockZ); world.spawnEntityInWorld(Lightning); } return itemStack; -
And how might I do that?
-
Hello, I am making a heal staff for my mod, and I need like, a 60-second cool down, Help?
-
[1.7.2] - No damage when spawning lightning
Millennium3 replied to AppliedOnce's topic in Modder Support
this.setMaxDamage(64); put this somewhere. (Under the public class method) -
Ok, I am going to see if this works.. God, nothing freaking works. EDIT: Ok, if I don't have it like I stated before, then minecraft crashes. Jeez.
-
Yeah, Is there any way I could give it to you, you zip it and just give it back? Because nothings working on my side.... Not even modlers, such as Techne or MCModler. Its a horrid modding experience
-
Ok thank you. Will try now. EDIT: 7-zip does not work for mac, Zipeg doesn't work either... I have just begun downloading WinZip...(For Mac) Yep, nothing works.
-
Try: @Override public ItemStack onItemRightClick(ItemStack itemStack, World world, EntityPlayer Entityplayer) { Vec3 look = Entityplayer.getLookVec(); MovingObjectPosition Coord = Entityplayer.rayTrace(300, 1); if(Coord != null && Coord.typeOfHit == EnumMovingObjectType.TILE){ EntityLightningBolt Lightning = new EntityLightningBolt(world, 1, 1, 1); Lightning.setPosition(Coord.blockX,Coord.blockY,Coord.blockZ); world.spawnEntityInWorld(Lightning); } return itemStack; } It works for me...
-
Ok, I have been modding and made a short blade, which I would like for people to be able to throw. I got it working, but it won't show it being thrown(In the air) Help?