Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Jershy

  • Rank
    Tree Puncher


  • Gender
  1. where is it implemented? I've been through the code the villager class and IMerchant, and haven't found any reference to it.
  2. Here is the Entity Class; ackage com.ageofempires.enitity.living; import java.util.ArrayList; import java.util.List; import java.util.Random; import javax.annotation.Nullable; import com.ageofempires.mod.AOE; import com.ageofempires.mod.event.gui.GuiHandler; import com.ageofempires.mod.gui.entity.IWorker; import net.minecraft.client.main.Main; import net.minecraft.entity.IMerchant; import net.minecraft.entity.INpc; import net.minecraft.entity.passive.EntityVillager; import net.minecraft.entity.passive.EntityVillager.ITradeList; import net.minecraft.entity.player.EntityPlayer; import ne
  3. The interface works similar to IMerchant which helps communicate between an entity and the Gui.
  4. The normal way to call on a GUI seem to be by referring to an ID, which opens an instance of that Gui that has already been declared in the handler. However, my Gui needs an Interface to be passed through the constructor of that Gui. Is there any alternate method to call the Gui so that I can get a chance to pass in my variables?
  5. Ok, thanks. The problem was when I ran the game and looked at the console when I place the block the "Level" follows the value set in the "setDefaultState" method but my other values dont.
  6. I'm working on a water block that acts sort of like flood water so I decided to use BlockFluidFinite for the parent class because it has just what I want. The problem is that I want to add custom properties such as "FLOWSPEED" and "FLOWDIRECTION" along with "LEVEL" in the Parent class. However, the "setDefaultBlockState" method is final. the only thing that I thought I could do at this point was to copy all the code and paste it into my class. That just seemed much to silly and fraut with problems. Any suggestions? Class; package src.IVWeather.block; import java.util.ArrayList; impo
  7. it seems that a lot has changed since 1.8.0, before updating my mod had no error however, now many registries, some variables and other things are missing such as textureName, and even "world" object does not seem to work. Am I doing anything wrong with my environment or is my mod outdated?
  8. In my mod i need to be able to load an unload these Chunks of Chunks essentially. The 'chunk-chunks' contain 4096 objects that hold the variables that represent different surface temperatures and such for each minecraft chunk. So that when a function need say the percentage of the surface of a certain chunk covered in water block, surface temperature (which is defined by time of year and light level) it will be able to call on one of the "chunks". The problem is i don't know how to load and unload each of the chunk-chunks at any given time. Holding them all in the computers memory is completel
  9. Microsoft may have some pressure to not demolish the modding community, most people who play minecraft have used mods and like them. Without mods mc would have lost its momentum much faster and died out already. They may do away with java mine-craft witch would suck. (although there might be a way to update through java independent of the original updates maybe?)
  10. What I want to know is why Mojang/Microsoft bothered to make a completely new branch of Minecraft for just one of a long string of windows versions. Although Microsoft probably did this for win10 promo, how will this affect modding, and vanilla?
  11. I have a mod where for each chunk there are a set of variables that go with it, i.e surfaceTemp, absolute humidity, water exposed to sun ect. It would be silly and inefficient to add these to the chunk class itself through a core-mod so i made my own class that is very small and just hold those vars for a particular coordinates. package src.IVWeather.util; import java.util.ArrayList; import java.util.List; import net.minecraft.block.Block; import net.minecraft.entity.Entity; import net.minecraft.init.Blocks; import net.minecraft.util.MathHelper; import net.minecraft.world.World; import
  12. I want to keep track of the days-for the purpose of weather cycles and such. I cant do a tickHandler because that would be loop-holey and going to bed at night would make the mod think it's night and Minecraft know it's day. Thank you in advance
  13. i looked in the tutorials and tried to find how to save Lists and Objects to NBTs but i could not find how to do that.
  14. What i'm trying to do is create a List of the loaded biomes in that world as well as a list of all the loaded biomes inside the player(s) render distance. So what did was create an event class that uses the Chunk.Load event and find new biomes. CLASS; package src.IVWeather.sideWorldHandlers; import java.util.ArrayList; import java.util.List; import src.IVWeather.biome.BiomeTemperatureIndex; import src.IVWeather.entity.EntityWeatherAirmass; import cpw.mods.fml.common.eventhandler.SubscribeEvent; import net.minecraft.entity.passive.EntityChicken; import net.minecraft.entity.player.En
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.