Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Zaawansowane Tworzenie Modów


karol202

Rekomendowane odpowiedzi

Opublikowano

Poradnik spoko ale jak już chce np żeby z mojego bloku pustka jak się go przepala otrzymać żelazo to nie działa ingotIron POMOCY!

 

 

 

 

 

== MCP 7.2 (data: 7.2, client: 1.3.2, server: 1.3.2) ==
# found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, ast
yle, astyle config
== Recompiling client ==
> Cleaning bin
> Recompiling
'"C:\Program Files\Java\jdk1.7.0_06\bin\javac" -Xlint:-options -deprecation -g -
source 1.6 -target 1....' failed : 1

== ERRORS FOUND ==

src\minecraft\net\minecraft\src\mod_pustka.java:17: error: cannot find symbol
                                                               ModLoader.addSme
lting(Pustka.blockID, new ItemStack(ingotIron, 2), 0.2F);

                                   ^

 symbol:   variable ingotIron
 location: class mod_pustka
1 error
==================

!! Can not find server sources, try decompiling !!
Aby kontynuować, naciśnij dowolny klawisz . . .

Hę , o co chodzi?

  • Odpowiedzi 1,2 tys.
  • Dodano
  • Ostatniej odpowiedzi
Opublikowano

Up zamiast "ingotIron" musisz wpisać "Item.ingotIron" ;). A teraz wytłumaczę dlaczego. Jeżeli przedmiot w craftingu/piecu jest z twojej modyfikacji to po prostu wpisujesz "nazwaprzedmiotu", a jeżeli jest z Oryginalnego Minecraft'a to "Item.nazwaprzedmiotu", jeśli Blok to "Block.nazwabloku", a jeżeli jedzenie to "ItemFood.nazwajedzenia" ;). Jakby coś to pisz.

 

 

 

 

@KAROL

 

Dodaj może do tutu efekty:

 

gunpowderEffect - możliwość rzucania miksturą.

regeneration - regeneracja.

redstoneEffect - odczynnik, Redstone.

glowstoneEffect - odczynnik, Glowstone.

sugarEffect - odczynnik, Sugar.

hunger - wywołuje głod, jak po zjedzeniu surowego mięsa.

ghastTearEffect - odczynnik, Ghast Tear.

poison - trucizna.

spiderEyeEffect - odczynnik, Eye of Spider.

fermentedSpiderEyeEffect - odczynnik, Fermented Spider Eye.

blazePowderEffect- odczynnik, Blaze Powder.

magmaCreamEffect - odczynnik, Magma Cream.

speckledMelonEffect - odczynnik, Speckled Melon.

 

 

Jak coś znajdę i się dowiem to napiszę, jeżeli nie wiecie co dają poszczególne odczynniki to zapraszam do mojego tematu:

http://www.mpcforum.pl/topic/563620-tut-alchemia-receptury/

Opublikowano

Wielkie dzięki ! Wreszcie zrobię to co chcę inne umiem robić i te czary całe ale nie napisano że ....w orginale to Item. Jeszcze raz wielkie dzięki!

 

 

Jesteś Nero? :D Bo chyba cię znam

 

 

Wszystko fajnie: (już zamieniłem na .class wklejam i oto ten ....błąd) <--- Przy włączaniu MC

 

 

---- Minecraft Crash Report ----
// I let you down. Sorry 

Time: 18.08.12 19:19
Description: ModLoader has failed to initialize.

java.lang.ArrayIndexOutOfBoundsException: 500
at ModLoader.initStats(ModLoader.java:987)
at ModLoader.init(ModLoader.java:960)
at ModLoader.addAllRenderers(ModLoader.java:185)
at avy.<init>(RenderManager.java:87)
at avy.<clinit>(RenderManager.java:14)
at net.minecraft.client.Minecraft.a(SourceFile:260)
at net.minecraft.client.Minecraft.run(SourceFile:516)
at java.lang.Thread.run(Unknown Source)

Relevant Details:
- Minecraft Version: 1.3.2
- Operating System: Windows 7 (x86) version 6.1
- Java Version: 1.7.0_06, Oracle Corporation
- Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
- Memory: 413251264 bytes (394 MB) / 518979584 bytes (494 MB) up to 1037959168 bytes (989 MB)
- JVM Flags: 2 total; -Xms512m -Xmx1024m
- ModLoader: Mods loaded: 5
ModLoader 1.3.2
mod_TooManyItems 1.3.2 2012-08-16
mod_iter 1.3.2
mod_pustka 1.3.2
mod_rglass 1.3.2

Hę , o co chodzi?

Opublikowano

Czy ty zrobiłeś te mody: mod_iter, mod_pustka, mod_rglass ? Jeżeli nie ty zrobiłeś jakiegoś moda, może po prostu ID się gryzą. Obstawiam, że ty zrobiłeś po prostu każdy blok jako oddzielny mod, więc daj Kod wszystkiego a jakoś ci to połączymy :).

Opublikowano

Możecie też dodać do tuta jak zrobić strukturę

P.S. Możecie się ze mnie śmiać bo właśnie podczas recompile wyleciało 100 błędów (Chyba pobiłem rekord)

Opublikowano

Możecie też dodać do tuta jak zrobić strukturę

P.S. Możecie się ze mnie śmiać bo właśnie podczas recompile wyleciało 100 błędów (Chyba pobiłem rekord)

Nie !. Też tak miałem, u mnie przyczyną było, że zrobiłem 1 błąd i przez to mu się stworzyło 100 Errors.Najlepiej poszukaj tam błędu tam gdzie ostatnio coś edytowałeś.
Opublikowano

@karol202: dodasz do tutka jak robić blok który z każdej strony ma inną teksturę?

 

 

@edit:

 

przy rekompilacji wyskakuje mi błąd

 

post-655105-0-93712000-1345400689.jpg

 

Opublikowano

Witam 3 drobne problemy " return mod_NAZWAMODA.NAZWA.blockID; a NAZWA nazwą bloku/itemu który ma wypaść z bloku po zniszczeniu" u mnie dziala tylko NAZWABLOKU i to wyłacznie tego samego dalej "ModLoader.addSmelting(ID, new ItemStack(WYNIK, ILOSC), EXP);" w miejscu ID dzialają tylko bloki ? a odnosnie itemów dodają się poprawnie natomioast nie wystepują w eq kreatywnym i nie da sie ich stworzyc za pomoca /give player id ilosc pojawia sie komunikat ze id nie istnieje mimo to wystepuja w grze np po przetopieniu lub craftowaniu.

Opublikowano

gdy napisałem

ModLoader.addBiome(BiomeGenCandyLand.class);

wyskakuje coś takiego

 

post-655105-0-75130000-1345473521.jpg

 

dam jeszce kod moich plików

 

 

mod_CandyMod

 

package net.minecraft.src;

import java.util.Map;

public class mod_CandyMod extends BaseMod
{

public static Block CandyBlock = new BlockCandyBlock(100, 0).setBlockName("CandyBlock").setHardness(2F).setResistance(5F);
public static Block CandyOre = new BlockCandyOre(101, 0).setBlockName("CandyOre").setHardness(2F).setResistance(5F);
public static Block CandyGrass = new BlockCandyGrass(102, 0).setBlockName("CandyGrass").setHardness(0.6F);
public static Block CandyDirt = new BlockCandyDirt(103, 0).setHardness(0.5F).setBlockName("CandyDirt");
public static Item Candy = new ItemFood(10000, 1, false).setItemName("Candy");
public static Item DiamondCandy = new ItemFood(10002, 10, false).setItemName("DiamondCandy");

public String getVersion()
{

return "mod CandyMod created by Loroark. Version 1.0";

}

public void load()
{

ModLoader.registerEntityID(EntityCandyMonster.class, "CandyMonster", 75);
ModLoader.addSpawn(EntityCandyMonster.class, 1, 0, 5, EnumCreatureType.monster);
ModLoader.addBiome(BiomeGenCandyLand.class);


}

public void mod_candyMod()
{

CandyBlock.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/CandyMod/CandyBlock.png");
CandyOre.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/CandyMod/CandyOre.png");
CandyGrass.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/CandyMod/CandyGrass.png");
CandyDirt.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/CandyMod/CandyDirt.png");

Candy.iconIndex = ModLoader.addOverride("/gui/items.png", "/CandyMod/Candy.png");
DiamondCandy.iconIndex = ModLoader.addOverride("/gui/items.png", "/CandyMod/DiamondCandy.png");

ModLoader.registerBlock(CandyBlock);
ModLoader.registerBlock(CandyOre);
ModLoader.registerBlock(CandyGrass);
ModLoader.registerBlock(CandyDirt);

ModLoader.addName(CandyBlock, "Candy Block");
ModLoader.addName(CandyOre, "Candy Ore");
ModLoader.addName(CandyGrass, "Candy Grass");
ModLoader.addName(CandyDirt, "Candy Dirt");

ModLoader.addName(Candy, "Candy");
ModLoader.addName(DiamondCandy, "Diamond Candy");

ModLoader.addRecipe(new ItemStack(CandyBlock, 1), new Object[]
{
"###", "###", "###", '#', Candy
});
ModLoader.addRecipe(new ItemStack(DiamondCandy, 1), new Object[]
{
"###", "#$#", "###", '#', Candy, '$', Item.diamond
});

ModLoader.addSmelting(101, new ItemStack(Candy, 1), 0.2F);

}

public void addRenderer(Map map)
{

map.put(EntityCandyMonster.class, new RenderBiped(new ModelBiped(), 0.5F));
}


}

 

 

 

BiomeGenBase

 

 

package net.minecraft.src;

import java.awt.Color;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public abstract class BiomeGenBase
{
/** An array of all the biomes, indexed by biome id. */
public static final BiomeGenBase[] biomeList = new BiomeGenBase[256];
public static final BiomeGenBase ocean = (new BiomeGenOcean(0)).setColor(112).setBiomeName("Ocean").setMinMaxHeight(-1.0F, 0.4F);
public static final BiomeGenBase plains = (new BiomeGenPlains(1)).setColor(9286496).setBiomeName("Plains").setTemperatureRainfall(0.8F, 0.4F);
public static final BiomeGenBase desert = (new BiomeGenDesert(2)).setColor(16421912).setBiomeName("Desert").setDisableRain().setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.1F, 0.2F);
public static final BiomeGenBase extremeHills = (new BiomeGenHills(3)).setColor(6316128).setBiomeName("Extreme Hills").setMinMaxHeight(0.3F, 1.5F).setTemperatureRainfall(0.2F, 0.3F);
public static final BiomeGenBase forest = (new BiomeGenForest(4)).setColor(353825).setBiomeName("Forest").func_76733_a(5159473).setTemperatureRainfall(0.7F, 0.8F);
public static final BiomeGenBase taiga = (new BiomeGenTaiga(5)).setColor(747097).setBiomeName("Taiga").func_76733_a(5159473).setEnableSnow().setTemperatureRainfall(0.05F, 0.8F).setMinMaxHeight(0.1F, 0.4F);
public static final BiomeGenBase swampland = (new BiomeGenSwamp(6)).setColor(522674).setBiomeName("Swampland").func_76733_a(9154376).setMinMaxHeight(-0.2F, 0.1F).setTemperatureRainfall(0.8F, 0.9F);
public static final BiomeGenBase river = (new BiomeGenRiver(7)).setColor(255).setBiomeName("River").setMinMaxHeight(-0.5F, 0.0F);
public static final BiomeGenBase hell = (new BiomeGenHell(8)).setColor(16711680).setBiomeName("Hell").setDisableRain().setTemperatureRainfall(2.0F, 0.0F);

/** Is the biome used for sky world. */
public static final BiomeGenBase sky = (new BiomeGenEnd(9)).setColor(8421631).setBiomeName("Sky").setDisableRain();
public static final BiomeGenBase frozenOcean = (new BiomeGenOcean(10)).setColor(9474208).setBiomeName("FrozenOcean").setEnableSnow().setMinMaxHeight(-1.0F, 0.5F).setTemperatureRainfall(0.0F, 0.5F);
public static final BiomeGenBase frozenRiver = (new BiomeGenRiver(11)).setColor(10526975).setBiomeName("FrozenRiver").setEnableSnow().setMinMaxHeight(-0.5F, 0.0F).setTemperatureRainfall(0.0F, 0.5F);
public static final BiomeGenBase icePlains = (new BiomeGenSnow(12)).setColor(16777215).setBiomeName("Ice Plains").setEnableSnow().setTemperatureRainfall(0.0F, 0.5F);
public static final BiomeGenBase iceMountains = (new BiomeGenSnow(13)).setColor(10526880).setBiomeName("Ice Mountains").setEnableSnow().setMinMaxHeight(0.3F, 1.3F).setTemperatureRainfall(0.0F, 0.5F);
public static final BiomeGenBase mushroomIsland = (new BiomeGenMushroomIsland(14)).setColor(16711935).setBiomeName("MushroomIsland").setTemperatureRainfall(0.9F, 1.0F).setMinMaxHeight(0.2F, 1.0F);
public static final BiomeGenBase mushroomIslandShore = (new BiomeGenMushroomIsland(15)).setColor(10486015).setBiomeName("MushroomIslandShore").setTemperatureRainfall(0.9F, 1.0F).setMinMaxHeight(-1.0F, 0.1F);

/** Beach biome. */
public static final BiomeGenBase beach = (new BiomeGenBeach(16)).setColor(16440917).setBiomeName("Beach").setTemperatureRainfall(0.8F, 0.4F).setMinMaxHeight(0.0F, 0.1F);

/** Desert Hills biome. */
public static final BiomeGenBase desertHills = (new BiomeGenDesert(17)).setColor(13786898).setBiomeName("DesertHills").setDisableRain().setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.3F, 0.8F);

/** Forest Hills biome. */
public static final BiomeGenBase forestHills = (new BiomeGenForest(18)).setColor(2250012).setBiomeName("ForestHills").func_76733_a(5159473).setTemperatureRainfall(0.7F, 0.8F).setMinMaxHeight(0.3F, 0.7F);

/** Taiga Hills biome. */
public static final BiomeGenBase taigaHills = (new BiomeGenTaiga(19)).setColor(1456435).setBiomeName("TaigaHills").setEnableSnow().func_76733_a(5159473).setTemperatureRainfall(0.05F, 0.8F).setMinMaxHeight(0.3F, 0.8F);

/** Extreme Hills Edge biome. */
public static final BiomeGenBase extremeHillsEdge = (new BiomeGenHills(20)).setColor(7501978).setBiomeName("Extreme Hills Edge").setMinMaxHeight(0.2F, 0.8F).setTemperatureRainfall(0.2F, 0.3F);

/** Jungle biome identifier */
public static final BiomeGenBase jungle = (new BiomeGenJungle(21)).setColor(5470985).setBiomeName("Jungle").func_76733_a(5470985).setTemperatureRainfall(1.2F, 0.9F).setMinMaxHeight(0.2F, 0.4F);
public static final BiomeGenBase jungleHills = (new BiomeGenJungle(22)).setColor(2900485).setBiomeName("JungleHills").func_76733_a(5470985).setTemperatureRainfall(1.2F, 0.9F).setMinMaxHeight(1.8F, 0.5F);
public static final BiomeGenBase CandyLand = (new BiomeGenCandyLand(23)).setBiomeName("CandyLand").func_76733_a(5470985);
public String biomeName;
public int color;

/** The block expected to be on the top of this biome */
public byte topBlock;

/** The block to fill spots in when not on the top */
public byte fillerBlock;
public int field_76754_C;

/** The minimum height of this biome. Default 0.1. */
public float minHeight;

/** The maximum height of this biome. Default 0.3. */
public float maxHeight;

/** The temperature of this biome. */
public float temperature;

/** The rainfall in this biome. */
public float rainfall;

/** Color tint applied to water depending on biome */
public int waterColorMultiplier;

/** The biome decorator. */
public BiomeDecorator theBiomeDecorator;

/**
* Holds the classes of IMobs (hostile mobs) that can be spawned in the biome.
*/
protected List spawnableMonsterList;

/**
* Holds the classes of any creature that can be spawned in the biome as friendly creature.
*/
protected List spawnableCreatureList;

/**
* Holds the classes of any aquatic creature that can be spawned in the water of the biome.
*/
protected List spawnableWaterCreatureList;

/** Set to true if snow is enabled for this biome. */
private boolean enableSnow;

/**
* Is true (default) if the biome support rain (desert and nether can't have rain)
*/
private boolean enableRain;

/** The id number to this biome, and its index in the biomeList array. */
public final int biomeID;
protected WorldGenTrees worldGeneratorTrees;

/** The big tree generator. */
protected WorldGenBigTree worldGeneratorBigTree;
protected WorldGenForest worldGeneratorForest;
protected WorldGenSwamp worldGeneratorSwamp;

protected BiomeGenBase(int par1)
{
this.topBlock = (byte)Block.grass.blockID;
this.fillerBlock = (byte)Block.dirt.blockID;
this.field_76754_C = 5169201;
this.minHeight = 0.1F;
this.maxHeight = 0.3F;
this.temperature = 0.5F;
this.rainfall = 0.5F;
this.waterColorMultiplier = 16777215;
this.spawnableMonsterList = new ArrayList();
this.spawnableCreatureList = new ArrayList();
this.spawnableWaterCreatureList = new ArrayList();
this.enableRain = true;
this.worldGeneratorTrees = new WorldGenTrees(false);
this.worldGeneratorBigTree = new WorldGenBigTree(false);
this.worldGeneratorForest = new WorldGenForest(false);
this.worldGeneratorSwamp = new WorldGenSwamp();
this.biomeID = par1;
biomeList[par1] = this;
this.theBiomeDecorator = this.createBiomeDecorator();
this.spawnableCreatureList.add(new SpawnListEntry(EntitySheep.class, 12, 4, 4));
this.spawnableCreatureList.add(new SpawnListEntry(EntityPig.class, 10, 4, 4));
this.spawnableCreatureList.add(new SpawnListEntry(EntityChicken.class, 10, 4, 4));
this.spawnableCreatureList.add(new SpawnListEntry(EntityCow.class, 8, 4, 4));
this.spawnableMonsterList.add(new SpawnListEntry(EntitySpider.class, 10, 4, 4));
this.spawnableMonsterList.add(new SpawnListEntry(EntityZombie.class, 10, 4, 4));
this.spawnableMonsterList.add(new SpawnListEntry(EntitySkeleton.class, 10, 4, 4));
this.spawnableMonsterList.add(new SpawnListEntry(EntityCreeper.class, 10, 4, 4));
this.spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 10, 4, 4));
this.spawnableMonsterList.add(new SpawnListEntry(EntityEnderman.class, 1, 1, 4));
this.spawnableWaterCreatureList.add(new SpawnListEntry(EntitySquid.class, 10, 4, 4));
}

/**
* Allocate a new BiomeDecorator for this BiomeGenBase
*/
protected BiomeDecorator createBiomeDecorator()
{
return new BiomeDecorator(this);
}

/**
* Sets the temperature and rainfall of this biome.
*/
private BiomeGenBase setTemperatureRainfall(float par1, float par2)
{
if (par1 > 0.1F && par1 < 0.2F)
{
throw new IllegalArgumentException("Please avoid temperatures in the range 0.1 - 0.2 because of snow");
}
else
{
this.temperature = par1;
this.rainfall = par2;
return this;
}
}

/**
* Sets the minimum and maximum height of this biome. Seems to go from -2.0 to 2.0.
*/
private BiomeGenBase setMinMaxHeight(float par1, float par2)
{
this.minHeight = par1;
this.maxHeight = par2;
return this;
}

/**
* Disable the rain for the biome.
*/
private BiomeGenBase setDisableRain()
{
this.enableRain = false;
return this;
}

/**
* Gets a WorldGen appropriate for this biome.
*/
public WorldGenerator getRandomWorldGenForTrees(Random par1Random)
{
return (WorldGenerator)(par1Random.nextInt(10) == 0 ? this.worldGeneratorBigTree : this.worldGeneratorTrees);
}

/**
* Gets a WorldGen appropriate for this biome.
*/
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return new WorldGenTallGrass(Block.tallGrass.blockID, 1);
}

/**
* sets enableSnow to true during biome initialization. returns BiomeGenBase.
*/
protected BiomeGenBase setEnableSnow()
{
this.enableSnow = true;
return this;
}

protected BiomeGenBase setBiomeName(String par1Str)
{
this.biomeName = par1Str;
return this;
}

protected BiomeGenBase func_76733_a(int par1)
{
this.field_76754_C = par1;
return this;
}

protected BiomeGenBase setColor(int par1)
{
this.color = par1;
return this;
}

/**
* takes temperature, returns color
*/
public int getSkyColorByTemp(float par1)
{
par1 /= 3.0F;

if (par1 < -1.0F)
{
par1 = -1.0F;
}

if (par1 > 1.0F)
{
par1 = 1.0F;
}

return Color.getHSBColor(0.62222224F - par1 * 0.05F, 0.5F + par1 * 0.1F, 1.0F).getRGB();
}

/**
* Returns the correspondent list of the EnumCreatureType informed.
*/
public List getSpawnableList(EnumCreatureType par1EnumCreatureType)
{
return par1EnumCreatureType == EnumCreatureType.monster ? this.spawnableMonsterList : (par1EnumCreatureType == EnumCreatureType.creature ? this.spawnableCreatureList : (par1EnumCreatureType == EnumCreatureType.waterCreature ? this.spawnableWaterCreatureList : null));
}

/**
* Returns true if the biome have snowfall instead a normal rain.
*/
public boolean getEnableSnow()
{
return this.enableSnow;
}

/**
* Return true if the biome supports lightning bolt spawn, either by have the bolts enabled and have rain enabled.
*/
public boolean canSpawnLightningBolt()
{
return this.enableSnow ? false : this.enableRain;
}

/**
* Checks to see if the rainfall level of the biome is extremely high
*/
public boolean isHighHumidity()
{
return this.rainfall > 0.85F;
}

/**
* returns the chance a creature has to spawn.
*/
public float getSpawningChance()
{
return 0.1F;
}

/**
* Gets an integer representation of this biome's rainfall
*/
public final int getIntRainfall()
{
return (int)(this.rainfall * 65536.0F);
}

/**
* Gets an integer representation of this biome's temperature
*/
public final int getIntTemperature()
{
return (int)(this.temperature * 65536.0F);
}

/**
* Gets a floating point representation of this biome's rainfall
*/
public final float getFloatRainfall()
{
return this.rainfall;
}

/**
* Gets a floating point representation of this biome's temperature
*/
public final float getFloatTemperature()
{
return this.temperature;
}

public void decorate(World par1World, Random par2Random, int par3, int par4)
{
this.theBiomeDecorator.decorate(par1World, par2Random, par3, par4);
}

/**
* Provides the basic grass color based on the biome temperature and rainfall
*/
public int getBiomeGrassColor()
{
double var1 = (double)MathHelper.clamp_float(this.getFloatTemperature(), 0.0F, 1.0F);
double var3 = (double)MathHelper.clamp_float(this.getFloatRainfall(), 0.0F, 1.0F);
return ColorizerGrass.getGrassColor(var1, var3);
}

/**
* Provides the basic foliage color based on the biome temperature and rainfall
*/
public int getBiomeFoliageColor()
{
double var1 = (double)MathHelper.clamp_float(this.getFloatTemperature(), 0.0F, 1.0F);
double var3 = (double)MathHelper.clamp_float(this.getFloatRainfall(), 0.0F, 1.0F);
return ColorizerFoliage.getFoliageColor(var1, var3);
}
}

 

 

 

 

BiomeGenCandyLand

 

 

package net.minecraft.src;

public class BiomeGenCandyLand extends BiomeGenBase
{
public BiomeGenCandyLand(int par1)
{
super(par1);
this.topBlock = (byte) mod_CandyMod.CandyGrass.blockID;
this.fillerBlock = (byte) mod_CandyMod.CandyDirt.blockID;
spawnableCreatureList.clear();
spawnableWaterCreatureList.clear();
spawnableMonsterList.clear();
spawnableMonsterList.add(new SpawnListEntry(EntityCandyMonster.class, 15, 10, 20));
this.theBiomeDecorator.mushroomsPerChunk = 0;
this.theBiomeDecorator.bigMushroomsPerChunk = 0;
this.theBiomeDecorator.sandPerChunk = 0;
this.theBiomeDecorator.sandPerChunk2 = 0;
this.theBiomeDecorator.clayPerChunk = 0;
this.theBiomeDecorator.flowersPerChunk = 256;
this.theBiomeDecorator.grassPerChunk = 0;

}
}

 

 

 

 

Opublikowano

thx teraz już wszystko działa.

 

mam 2 pytania i 1 uwagę:

1.Gdzie się daje plusy?

2.W materiałach wybuchowych w pliku bomby mam czymś zastąpić "ER" bo nic o tym nie napisałeś a mi się w recompilacji tego czepiało

 

1.W materiałach wybuchowych w pliku z renderowaniem bomby nie dałeś jednego "}" kończącego "public class RenderNAZWA extends Render"

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...