Jump to content

DeeKay

Members
  • Posts

    28
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

DeeKay's Achievements

Tree Puncher

Tree Puncher (2/8)

4

Reputation

  1. I'm writing a RealWeather mod and want add support for that mod: http://www.minecraftforum.net/topic/2150779-enviromine-a-little-bit-of-realism-164-109/ So then its cold at my door, its cold in minecraft too ^^ I think that mod is perfectly with my together ^^
  2. and now i have to override that with asm or is there a another way ... have to learn that first ...
  3. sry, i did wrote it a bit bad, the BiomeGenSwamp havent that calc: public int getBiomeGrassColor() { double d0 = (double)this.getFloatTemperature(); double d1 = (double)this.getFloatRainfall(); return ((ColorizerGrass.getGrassColor(d1, d0) & 16711422) + 5115470) / 2; } @SideOnly(Side.CLIENT) /** * Provides the basic foliage color based on the biome temperature and rainfall */ public int getBiomeFoliageColor() { double d0 = (double)this.getFloatTemperature(); double d1 = (double)this.getFloatRainfall(); return ((ColorizerFoliage.getFoliageColor(d0, d1) & 16711422) + 5115470) / 2; }
  4. nice! it was the BiomeGenSwamp!! Thx wow, thats well. but the last question ... I need to Override that with ASM or ... ?
  5. lol sry ... dident know humidity is the rainfall, my english isent so perfect. did try biom.setTemperatureRainfall(2.0f, 0.0f); biom.setTemperatureRainfall(2.0f, 0.5f); biom.setTemperatureRainfall(2.0f, 1.0f); Thats the list for the Bioms (Original): 2013-12-11 20:54:26 [iNFO] [cherry_realweather] Ocean - Temp:0.5- Rainfall:0.5 2013-12-11 20:54:26 [iNFO] [cherry_realweather] Plains - Temp:0.8- Rainfall:0.4 2013-12-11 20:54:26 [iNFO] [cherry_realweather] Desert - Temp:2.0- Rainfall:0.0 2013-12-11 20:54:26 [iNFO] [cherry_realweather] Extreme Hills - Temp:0.2- Rainfall:0.3 2013-12-11 20:54:26 [iNFO] [cherry_realweather] Forest - Temp:0.7- Rainfall:0.8 2013-12-11 20:54:26 [iNFO] [cherry_realweather] Taiga - Temp:0.05- Rainfall:0.8 2013-12-11 20:54:26 [iNFO] [cherry_realweather] Swampland - Temp:0.8- Rainfall:0.9 2013-12-11 20:54:26 [iNFO] [cherry_realweather] River - Temp:0.5- Rainfall:0.5 2013-12-11 20:54:26 [iNFO] [cherry_realweather] Hell - Temp:2.0- Rainfall:0.0 2013-12-11 20:54:26 [iNFO] [cherry_realweather] Sky - Temp:0.5- Rainfall:0.5 2013-12-11 20:54:26 [iNFO] [cherry_realweather] FrozenOcean - Temp:0.0- Rainfall:0.5 2013-12-11 20:54:26 [iNFO] [cherry_realweather] FrozenRiver - Temp:0.0- Rainfall:0.5 2013-12-11 20:54:26 [iNFO] [cherry_realweather] Ice Plains - Temp:0.0- Rainfall:0.5 2013-12-11 20:54:26 [iNFO] [cherry_realweather] Ice Mountains - Temp:0.0- Rainfall:0.5 2013-12-11 20:54:26 [iNFO] [cherry_realweather] MushroomIsland - Temp:0.9- Rainfall:1.0 2013-12-11 20:54:26 [iNFO] [cherry_realweather] MushroomIslandShore - Temp:0.9- Rainfall:1.0 2013-12-11 20:54:26 [iNFO] [cherry_realweather] Beach - Temp:0.8- Rainfall:0.4 2013-12-11 20:54:26 [iNFO] [cherry_realweather] DesertHills - Temp:2.0- Rainfall:0.0 2013-12-11 20:54:26 [iNFO] [cherry_realweather] ForestHills - Temp:0.7- Rainfall:0.8 2013-12-11 20:54:26 [iNFO] [cherry_realweather] TaigaHills - Temp:0.05- Rainfall:0.8 2013-12-11 20:54:26 [iNFO] [cherry_realweather] Extreme Hills Edge - Temp:0.2- Rainfall:0.3 2013-12-11 20:54:26 [iNFO] [cherry_realweather] Jungle - Temp:1.2- Rainfall:0.9 2013-12-11 20:54:26 [iNFO] [cherry_realweather] JungleHills - Temp:1.2- Rainfall:0.9 DesertHills have 2.0f, 0.0f ... but that will dont work for some bioms and with a try n catch block, i cant get the Bioms what give me that exception, couse its a render method at client side
  6. dessert have normal 2.0 with temp >= 1.1 its crashs
  7. Hey, in my RealWeather mod I have a problem, the maximum Temperature in minecraft is 2.0f but then i wana set ALL biomes to that value, its crash with: java.lang.ArrayIndexOutOfBoundsException: -255 at net.minecraft.world.ColorizerGrass.getGrassColor(ColorizerGrass.java:25) I need to set the Temperature so high for support the EnviroMine Mod, its check the Temperature.
  8. I need to call a external API, I parse it at the moment manual, but that isent rly conform... So I can just add the libs and compile my work normally? Nothing special to do?
  9. IMO is forge a bit confused ... I did need help for changing the weather ... in Bukkit was this rly easy, but here its sometimes ... sure that compatibility to server-client and mods with another mods are fine. But to code with the forge API ... that is sometimes a bit stressful
  10. Hey, how can I load a XML File correctly without a library? Or can i use in forge external library's, like JDOM?
  11. Thx! But one question .. how can you know that? I did search in the internet and here in the forum ~ 30 min ....
  12. Forge is confused ... I have a Class with ITickHandler and Register that in my load: public void load(FMLInitializationEvent event) throws Exception { proxy.registerRenderers(); TickRegistry.registerTickHandler(new TickHandler(), Side.SERVER); } public class TickHandler implements ITickHandler { @Override public void tickStart(EnumSet<TickType> type, Object... tickData) { Base.logger.info("tick"); } } But nothing happen ... I did program for 2 years with bukkit ... and this was easier ... must I say ...
  13. there can i search well in the javadoc? i did download it, but on that html site, i am rly lost ....
  14. God ... the base funktions from my RealWeather is to 90% finish and i cant find the setWeather method .... (for set it rain, sun, storm) Did look at MinecraftServer, World, WorldManager, WorldServer, WorldServerMulti, WorldSettings ... but i find only the weatherEffects method ... So a simple Command ... and so hard to find? ...
  15. open your eyes http://www.minecraftforge.net/forum/index.php/topic,11001.0.html
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.