If i enter the package location on the package creation screen, eclipse will say it doesnt exist.
All you gotta do is right click on your common package, select New > Package and then once the package creation screen comes up press the right arrow once and add your new package info...
Rollback Post to RevisionRollBack
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
All you gotta do is right click on your common package, select New > Package and then once the package creation screen comes up press the right arrow once and add your new package info...
should I make it only resources or "yourname.yourmodname.resources"? And also should I make the art package directly in the src folder? and should the art folder be "yourname.yourmodname.resources.art"?
EDIT: And can you make the mobs tutorial come faster please?
should I make it only resources or "yourname.yourmodname.resources"? And also should I make the art package directly in the src folder? and should the art folder be "yourname.yourmodname.resources.art"?
EDIT: And can you make the mobs tutorial come faster please?
The mob tutorial ain't coming out any time soon as I'm having issues with other stuff. And the resources package is yourname.yourmodname.resources, and the art package goes IN the resources package.
Rollback Post to RevisionRollBack
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
I have three request for you my good sir! 1. Wire/Cables that don't link up to lever/pressure plates but they are powered by other things e.g. THE MOON or A POWERED FURNACE!!! 2. A new skylands dimension using nothing but forge, one that doesn't lag your game to hell of course :P! 3. Custom Block Models, using TECHNE! Please! Thanks for reading!
I have three request for you my good sir! 1. Wire/Cables that don't link up to lever/pressure plates but they are powered by other things e.g. THE MOON or A POWERED FURNACE!!! 2. A new skylands dimension using nothing but forge, one that doesn't lag your game to hell of course ! 3. Custom Block Models, using TECHNE! Please! Thanks for reading!
- TheCallunxz
I will be posting a custom block model tutorial as it's VERY easy, the dimension one cannot be done as I have not messed around with pure Forge dimensions yet.
Rollback Post to RevisionRollBack
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
The mob tutorial ain't coming out any time soon as I'm having issues with other stuff. And the resources package is yourname.yourmodname.resources, and the art package goes IN the resources package.
EDIT: You didnt answer these questions from my other post:
Is it possible to force the portal to spawn in a specific place when you enter a new dimension? And can you make biomes in dimensions? And force minecraft to spawn them in a specific order?
EDIT 2: I deleted the main body of the post as I already fixed the problem.
I will be posting a custom block model tutorial as it's VERY easy, the dimension one cannot be done as I have not messed around with pure Forge dimensions yet.
i can give you my dimension src its only minecraftforge
When I try to run the install.sh or py I get errors. Here is the python error:
[Terminal Snippet]
./install.py
./install.py: line 5: from: command not found
./install.py: line 7: syntax error near unexpected token `('
./install.py: line 7: `forge_dir = os.path.dirname(os.path.abspath(__file__))'
[End of Terminal Snippet]
Note: I am using arch linux, I realised this is using python 2(.7? can't remember) so I forward ~/bin_py to /usr/bin/python each time I need to use python 2 and this works fine (I also build android, which is why I quickly realised this)
What do you think the matter is?
Also, awesome tutorial
I don't use Linux so I wouldn't even know where to start, Asyncronous recently swapped her Windows for Linux so you could try asking her.
EDIT: You didnt answer these questions from my other post:
Is it possible to force the portal to spawn in a specific place when you enter a new dimension? And can you make biomes in dimensions? And force minecraft to spawn them in a specific order?
EDIT 2: I deleted the main body of the post as I already fixed the problem.
You can make biomes in dimensions, however as I said in a previous post I have yet to create an all-Forge dimension,
So I added some blocks, 1 item and (Doesn't load it) 1 ore generation (I don't know if I did that right)
When I run client on Eclipse minecraft chrashes. (It chrashed after I added world gen.)
Here's the code
Unclestevesmods.java
package unclestevesmods;
import unclestevesmods.common.*;
import unclestevesmods.common.world.gen.OreGeneration;
import unclestevesmods.items.*;
import unclestevesmods.client.*;
import unclestevesmods.blocks.*;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.item.Item;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.Init;
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.network.NetworkMod;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;
@Mod(modid = "multistar444_Unclestevesmods", name = "Uncle Steve's mods", version = "1.0")
@NetworkMod(clientSideRequired = true, serverSideRequired = false)
public class Unclestevesmods {
@Instance("multistar444_Unclestevesmods")
public static Unclestevesmods instance;
public static Block uraniumOre;
public static Block leadOre;
public static Block leadBlock;
public static Block nuke;
public static Item uraniumRod;
@SidedProxy(clientSide = "unclestevesmods.client.ClientProxyUnclestevesmods", serverSide = "unclestevesmods.common.CommonProxyUnclestevesmods")
public static CommonProxyUnclestevesmods proxy;
@Init
public void load(FMLInitializationEvent event) {
proxy.registerRenderThings();
uraniumOre = new BlockUraniumOre(150, 0, Material.rock).setHardness(60F).setLightValue(0.5F).setStepSound(Block.soundStoneFootstep).setBlockName("uraniumOre");
GameRegistry.registerBlock(uraniumOre);
LanguageRegistry.addName(uraniumOre, "Uranium ore");
leadOre= new BlockLeadOre(151, 1, Material.rock).setHardness(40F).setStepSound(Block.soundStoneFootstep).setBlockName("leadOre");
GameRegistry.registerBlock(leadOre);
LanguageRegistry.addName(leadOre, "Lead ore");
leadBlock = new BlockLeadBlock(152, 2, Material.rock).setHardness(3F).setStepSound(Block.soundStoneFootstep).setBlockName("leadBlock");
GameRegistry.registerBlock(leadBlock);
LanguageRegistry.addName(leadBlock, "Lead block");
nuke = new BlockLeadBlock(153, 3, Material.tnt).setHardness(20F).setStepSound(Block.soundStoneFootstep).setBlockName("nuke");
GameRegistry.registerBlock(nuke);
LanguageRegistry.addName(nuke, "Nuke");
GameRegistry.registerWorldGenerator(new OreGeneration());
uraniumRod = new ItemUraniumRod(600).setIconIndex(0).setItemName("uraniumRod");
LanguageRegistry.addName(uraniumRod , "Uranium rod");
}
public void addOreGen(150, 7, 6, 240, 16, 16, world, rand);
}
CommonProxyUnclestevesmods.java
package unclestevesmods.common;
public class CommonProxyUnclestevesmods {
public void registerRenderThings() {
}
}
ClientProxyUnclestevesmods.java
package unclestevesmods.client;
import net.minecraftforge.client.MinecraftForgeClient;
import unclestevesmods.common.CommonProxyUnclestevesmods;
import unclestevesmods.client.ClientProxyUnclestevesmods;
public class ClientProxyUnclestevesmods extends CommonProxyUnclestevesmods {
@Override
public void registerRenderThings() {
MinecraftForgeClient.preloadTexture("/multistar444/mod_terrain.png");
}
}
Block code is working, except nuke
BlockNuke.java
On Creative, Nuke is in Block tab instead of Redstone tab.
package unclestevesmods.blocks;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
public class BlockNuke extends Block {
public BlockNuke(int i, int j, Material material) {
super(i, j, material);
this.setCreativeTab(CreativeTabs.tabRedstone);
}
public String getTextureFile(){
return "/multistar444/mod_terrain.png";
}
}
ModItem.java
package unclestevesmods.common;
import net.minecraft.item.Item;
public class ModItem extends Item {
public ModItem(int id) {
super(id);
this.setTextureFile("multistar444/mod_items");
}
}
ItemUraniumRod.java
package unclestevesmods.items;
import unclestevesmods.common.ModItem;
public class ItemUraniumRod extends ModItem {
public ItemUraniumRod(int id) {
super(id);
}
}
OreGeneration.java
package unclestevesmods.common.world.gen;
import java.util.Random;
import net.minecraft.world.World;
import net.minecraft.world.chunk.IChunkProvider;
import cpw.mods.fml.common.IWorldGenerator;
public class OreGeneration implements IWorldGenerator {
@Override
public void generate(Random rand, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider) {
switch (world.provider.dimensionId) {
case -1 : generateNether(world, rand, chunkX * 16, chunkZ * 16);
case 0 : generateSurface(world, rand, chunkX * 16, chunkZ * 16);
}
}
public void generateSurface(World world, Random rand, int blockX, int blockZ) {}
public void generateNether(World world, Random rand, int blockX, int blockZ) {}
public void addOreGen(int blockID, int veinSize, int rarity, int maxYLevel, int blockX, int blockZ, World world, Random rand) {
for (int i = 0; i < 6; i++) {
int x = blockX + rand.nextInt(16);
int y = rand.nextInt(maxYLevel);
int z = blockZ + rand.nextInt(16);
(new WorldGenMineable(blockID, veinSize)).generate(world, rand, x, y, z);
}
}
}
Two things, one, your supposed to call addOreGen IN the generateSurface method. Two, it's best to get the blockID by ClassName.blockName.blockID.
Rollback Post to RevisionRollBack
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
The Meaning of Life, the Universe, and Everything.
Join Date:
12/1/2012
Posts:
208
Member Details
Can you add a rideable mobs tutorial and a vehicle tutorial? And also a kind of item that when right-clicked, will create a structure? Also GUI tutorials?
Can you add a rideable mobs tutorial and a vehicle tutorial? And also a kind of item that when right-clicked, will create a structure? Also GUI tutorials?
Rideable mobs: Not until I find the cause of my mob issue.
Vehicle: Coming later on.
Item spawning structure on right click: May need to do a bit of work to see whether this works.
Gui tutorials: Coming soon.
Rollback Post to RevisionRollBack
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
You can. And the resources package goes inside your yourname.yourmodname.common package.
How isn't it working? Crashes? Just does't work?
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
My Github page.
The entire Minecraft shader development community now has its own Discord server! Feel free to join and chat with all the developers!
Are you in creative?
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
My Github page.
The entire Minecraft shader development community now has its own Discord server! Feel free to join and chat with all the developers!
If i enter the package location on the package creation screen, eclipse will say it doesnt exist.
DEATH TO THE GREENBLOODS(Creepers)!!!
All you gotta do is right click on your common package, select New > Package and then once the package creation screen comes up press the right arrow once and add your new package info...
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
My Github page.
The entire Minecraft shader development community now has its own Discord server! Feel free to join and chat with all the developers!
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
My Github page.
The entire Minecraft shader development community now has its own Discord server! Feel free to join and chat with all the developers!
should I make it only resources or "yourname.yourmodname.resources"? And also should I make the art package directly in the src folder? and should the art folder be "yourname.yourmodname.resources.art"?
EDIT: And can you make the mobs tutorial come faster please?
DEATH TO THE GREENBLOODS(Creepers)!!!
The mob tutorial ain't coming out any time soon as I'm having issues with other stuff. And the resources package is yourname.yourmodname.resources, and the art package goes IN the resources package.
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
My Github page.
The entire Minecraft shader development community now has its own Discord server! Feel free to join and chat with all the developers!
- TheCallunxz
I will be posting a custom block model tutorial as it's VERY easy, the dimension one cannot be done as I have not messed around with pure Forge dimensions yet.
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
My Github page.
The entire Minecraft shader development community now has its own Discord server! Feel free to join and chat with all the developers!
EDIT: You didnt answer these questions from my other post:
Is it possible to force the portal to spawn in a specific place when you enter a new dimension? And can you make biomes in dimensions? And force minecraft to spawn them in a specific order?
EDIT 2: I deleted the main body of the post as I already fixed the problem.
DEATH TO THE GREENBLOODS(Creepers)!!!
i can give you my dimension src its only minecraftforge
I don't use Linux so I wouldn't even know where to start, Asyncronous recently swapped her Windows for Linux so you could try asking her.
I'll take a look.
You can make biomes in dimensions, however as I said in a previous post I have yet to create an all-Forge dimension,
The cables I get what you mean but I have to do a little experimenting.
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
My Github page.
The entire Minecraft shader development community now has its own Discord server! Feel free to join and chat with all the developers!
DEATH TO THE GREENBLOODS(Creepers)!!!
I don't know, I haven't used GIMP before (only Photoshop and Paint.NET, but soon to be only Photoshop) so you may have to view an online tutorial.
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
My Github page.
The entire Minecraft shader development community now has its own Discord server! Feel free to join and chat with all the developers!
Two things, one, your supposed to call addOreGen IN the generateSurface method. Two, it's best to get the blockID by ClassName.blockName.blockID.
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
My Github page.
The entire Minecraft shader development community now has its own Discord server! Feel free to join and chat with all the developers!
I need to get used to using MCEdit to create schematic files first.
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
My Github page.
The entire Minecraft shader development community now has its own Discord server! Feel free to join and chat with all the developers!
DEATH TO THE GREENBLOODS(Creepers)!!!
Crash log and code please.
Rideable mobs: Not until I find the cause of my mob issue.
Vehicle: Coming later on.
Item spawning structure on right click: May need to do a bit of work to see whether this works.
Gui tutorials: Coming soon.
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
My Github page.
The entire Minecraft shader development community now has its own Discord server! Feel free to join and chat with all the developers!