Squawkers13
-
Posts
31 -
Joined
-
Last visited
Posts posted by Squawkers13
-
-
Is it supposed to extend BiomeOcean?
(It would generate land if I made it in its own class)
-
The ForgeModLoader-client_0.log?
-
I know about oop and inheritance. What I don't know is how to generate an ocean with an ice layer on top
and make my dimension always snow.
-
I'm pretty sure that has to be set in the biome .class file.
I'm having problems making a ocean biome in its own class.
(You know, the BiomeFrozenOcean2 extends BiomeGenBase?)
-
Could I have an example of this?
-
Why don't you use .ogg files?
I think they work better.
-
Use the installer- install SERVER.
-
This is the only way I was able to make a custom ocean biome, and it wasn't cold enough!
public static final BiomeGenBase biomeBlizzardOcean = (new BiomeGenOcean(10)).setColor(0xABF4F7).setBiomeName("Blizzard Ocean").setEnableSnow().setMinMaxHeight(-1.0F, 0.3F).setTemperatureRainfall(0.0F, 0.5F);
-
I've made a multi-biome dimension and added the biome FrozenOcean.
The ocean dosen't generate frozen.
I am unable to create my own ocean biome,
and I still need it to eternally snow!
Can anyone help me with this?
-
-
Taken from the Gallifrey class. I initalized the Blocks like this:
public static Block gallifreyStone;
public static void loadBlocks() { gallifreyStone = new BlockGallifreyStone(241, Material.ground); gallifreyGrass = new BlockGallifreyGrass(242, Material.grass); gallifreyDirt = new BlockGallifreyDirt(243, Material.grass); gallifreyDiamondOre = new BlockGallifreyDiamondOre(244); gallifreyPortal = new BlockGallifreyPortal(CoreConfiguration.gallifreyPortalID).setUnlocalizedName("whocraft:gallifreyPortal"); LanguageRegistry.addName(gallifreyStone, "§4Stone"); MinecraftForge.setBlockHarvestLevel(gallifreyStone, "pickaxe", 3); GameRegistry.registerBlock(gallifreyStone, "gallifreyStone"); LanguageRegistry.addName(gallifreyDirt, "§4Dirt"); MinecraftForge.setBlockHarvestLevel(gallifreyDirt, "shovel", 0); GameRegistry.registerBlock(gallifreyDirt, "gallifreyDirt"); LanguageRegistry.addName(gallifreyGrass, "§4Grass Block"); MinecraftForge.setBlockHarvestLevel(gallifreyGrass, "shovel", 0); GameRegistry.registerBlock(gallifreyGrass, "gallifreyGrass"); LanguageRegistry.addName(gallifreyDiamondOre, "§4Diamond Ore"); MinecraftForge.setBlockHarvestLevel(gallifreyDiamondOre, "pickaxe", 2); GameRegistry.registerBlock(gallifreyDiamondOre, "gallifreyDiamondOre"); GameRegistry.registerBlock(gallifreyPortal, "gallifreyPortal"); LanguageRegistry.addName(gallifreyPortal, "§4[DEV] Gallifrey Portal Block");
-
Still haven't solved it.
Please help!
-
What method is soundpoolSounds?
(ie MinecraftForge.soundPoolSounds?)
-
I initalize all my Gallifrey- related stuff in another file:
@EventHandler public void load(FMLInitializationEvent event) { // Loads Gallifrey package if (CoreConfiguration.enableGallifrey == true) { CoreGallifrey.initalize(); } else { System.out.println("[Whocraft-Core] Gallifrey is disabled, ignoring it..."); } proxy.registerRenderers(); }
Let's look at that file.
package net.pekkit.mcforge.whocraft.gallifrey; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.world.biome.BiomeGenBase; import net.minecraftforge.common.DimensionManager; import net.minecraftforge.common.MinecraftForge; import net.pekkit.mcforge.whocraft.CoreConfiguration; public class CoreGallifrey { public static Block gallifreyStone; public static Block gallifreyGrass; public static Block gallifreyDirt; public static Block gallifreyDiamondOre; public static Block gallifreyPortal; public static int gallifreyDimID = 10; public static BiomeGenBase BiomeGallifrey; public static int gallifreyBiomeID = 53; @SuppressWarnings("deprecation") public static void initalize() { System.out.println("[Whocraft-Core] Core module Gallifrey is enabled, loading it..."); loadBlocks(); registerDimension(); loadBiome(); } public static void loadBlocks() { gallifreyStone = new BlockGallifreyStone(241, Material.ground); gallifreyGrass = new BlockGallifreyGrass(242, Material.grass); gallifreyDirt = new BlockGallifreyDirt(243, Material.grass); gallifreyDiamondOre = new BlockGallifreyDiamondOre(244); gallifreyPortal = new BlockGallifreyPortal(CoreConfiguration.gallifreyPortalID).setUnlocalizedName("whocraft:gallifreyPortal"); LanguageRegistry.addName(gallifreyStone, "§4Stone"); MinecraftForge.setBlockHarvestLevel(gallifreyStone, "pickaxe", 3); GameRegistry.registerBlock(gallifreyStone, "gallifreyStone"); LanguageRegistry.addName(gallifreyDirt, "§4Dirt"); MinecraftForge.setBlockHarvestLevel(gallifreyDirt, "shovel", 0); GameRegistry.registerBlock(gallifreyDirt, "gallifreyDirt"); LanguageRegistry.addName(gallifreyGrass, "§4Grass Block"); MinecraftForge.setBlockHarvestLevel(gallifreyGrass, "shovel", 0); GameRegistry.registerBlock(gallifreyGrass, "gallifreyGrass"); LanguageRegistry.addName(gallifreyDiamondOre, "§4Diamond Ore"); MinecraftForge.setBlockHarvestLevel(gallifreyDiamondOre, "pickaxe", 2); GameRegistry.registerBlock(gallifreyDiamondOre, "gallifreyDiamondOre"); GameRegistry.registerBlock(gallifreyPortal, "gallifreyPortal"); LanguageRegistry.addName(gallifreyPortal, "§4[DEV] Gallifrey Portal Block"); System.out.println("[Whocraft-Core: Gallifrey] Loaded 5 blocks!"); } public static void registerDimension() { DimensionManager.registerProviderType(gallifreyDimID, WorldProviderGallifrey.class, false); DimensionManager.registerDimension(gallifreyDimID, gallifreyDimID); System.out.println("[Whocraft-Core: Gallifrey] Registered the dimension Gallifrey with the dimension ID " + gallifreyDimID + "!"); } public static void loadBiome() { BiomeGallifrey = new BiomeGenGallifrey(gallifreyBiomeID); System.out.println("[Whocraft-Core: Gallifrey] Registered the biome Gallifrey with the biome ID " + gallifreyBiomeID + "!"); } }
Now for the affected block file:
package net.pekkit.mcforge.whocraft.gallifrey; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; public class BlockGallifreyStone extends Block { public BlockGallifreyStone(int id, Material material) { super(id, material); setHardness(1.5F); setResistance(10.0F); setStepSound(Block.soundStoneFootstep); setUnlocalizedName("gallifreyStone"); setCreativeTab(CreativeTabs.tabBlock); // Texture func_111022_d("whocraft:gallifreyStone"); } }
I don't see a problem.
-
I have a stone block I set up.
It has the hardness and resistance of stone.
It is programmed to require a diamond pickaxe to mine it.
It's mineable with any pick, even wood.
I even mined it with my fists!
Forge 804 (Please fix this!)
-
I was looking through dimension mods one day when I found this one:
http://www.planetminecraft.com/mod/the-neptune-dimension-mod---a-new-dimension-to-minecraft-wip/
It said that the dimension had no Overworld stuff and generated with "neptune stone".
I need to find out how to generate your dimension with only custom blocks.
-
Quite simple.
Put this in The WorldProvider:
public void registerWorldChunkManager()
{
this.worldChunkMgr = new WorldChunkManagerHell(Base.yourBiome, 0.8F, 0.1F);
this.dimensionId = Dimension.yourID;
}
Dimension.yourId is your Dimension ID.
Base.yourBiome refers to your Biome that is loaded in the base mod class.
-
That is not coded with Pudlehund's Dimension API.
But that requires altering a base class. :0
-
Wait- how do you light the portal?
-
Thanks. That helps.
-
A lot of people would like to know how you made your dimension.
-
I think you want Forge code, not Minecraft code.
Otherwise it would be a jar mod.
EDIT: Where did you get your code?
-
Does anyone know how to do this?
Pudlehund's API is outdated and there seems to be no tutorials on this!
New Beta Forums
in Site News (non-forge)
Posted
Yess, Discourse!
Load time was slow though...