Everything posted by SanAndreaP
- 
	
		
		[Solved]bindTexture("") Doesn't work with GUI Overlay[1.7.2]
		
		Do not instanciate a ResourceLocation every time! Instead, declare a static field somewhere holding your ResLoc instance and use it. Also I suggest you do this as path: your_mod_id:textures/gui/your_image.png
 - 
	
		
		forge fake player problem [Partially Solved]
		
		Override addPotionEffect() in your fake player class and leave an empty method body (not even call the super method)
 - 
	
		
		[1.7.10] Lightsource that isn't a block
		
		You can either recode the lighning system to support lightsources other than blocks (like DynamicLights by AtomicStryker did it) or set down an invisible block which gives off light.
 - 
	
		
		Some things behind semi-transparent model render strangely [1.7] [UNSOLVED]
		
		This is a TileEntity, right? Try to override shouldRenderInPass(int pass) in your TileEntity class and return [if pass equals 1]. It fixed the rendering issues of my semi-transparent tileentity. I actually took it a step further and saved the pass which the method was called in and rendered solid parts on pass 0 and the transparent parts on pass 1: https://github.com/SanAndreasP/EnderStuffPlus/blob/master/java/de/sanandrew/mods/enderstuffplus/tileentity/TileEntityBiomeChanger.java#L584-L589 https://github.com/SanAndreasP/EnderStuffPlus/blob/master/java/de/sanandrew/mods/enderstuffplus/client/render/tileentity/RenderTileEntityBiomeChanger.java#L103-L132
 - 
	
		
		Biome Dictionary, inconsistency in default registrations
		
		Goto https://github.com/MinecraftForge/MinecraftForge and read the For Contributors part of the readme.txt
 - 
	
		
		cauldron is gone, but I was wondering if someone can help me
		
		I don't know what link you have, here is the correct one: http://cauldron.minecraftforge.net/forums/ And it works for me.
 - 
	
		
		Can I get help with this crash?
		
		We need the fml-client-latest.log. It's in .minecraft/logs
 - 
	
		
		Minecraft Forge closes automatically
		
		Either fix your PATH variable to point towards the correct java.exe or define a custom path to the correct java.exe in the profile settings.
 - 
	
		
		[Solved] Entity not rendering properly. Help???
		
		Where do you call "registerRenderers"? Where do you register your entity to the EntityRegistry?
 - 
	
		
		Minecraft Forge closes automatically
		
		Open command line Type " java -version " (w/o quotes)
 - 
	
		
		Forge not working AT ALL
		
		Your FML log is from 1.6.4. The log for 1.7.x is in /logs/fml-client-latest.log
 - 
	
		
		[BUG] doRender Bug w/ Forge and offline mode [1.7.10]
		
		That is most likely not a Forge bug. I have entities owned by players, too, and they render properly, so it must be a Pixelmon bug. Also how is Forge supposed to know if an entity is owned by the player? Anyways, I suggest checking what changes when an entity is owned and maybe comment those things out until it works. You can also create a dummy entity from scratch with the code which controls the ownership.
 - 
	
		
		Forge Gradle Error: Java_Home Directorty [Fixed]
		
		remove the semicolon ( ; ) in your JAVA_HOME variable. (preferably also in your CLASSPATH variable)
 - 
	
		
		Re: A CRASH - NOT ON EAQ
		
		System.getProperty('java.version') == '1.8.0_20' well, you use Java 8 u 20, which is currently not supported.
 - 
	
		
		Forge won't launch
		
		Logs or it didn't happen.
 - 
	
		
		Severe Mod Loading Issue
		
		NotEnoughCodecs seems to have a problem. Remove it and talk to the mod author about this.
 - 
	
		
		[Solved][1.7.10]File location of custom asset
		
		Does this work on a dev AND productive environment?
 - 
	
		
		[1.7.10] TileEntity change tickRate
		
		This is just for entities, not for tileentities. Add a variable ticksExisted , increment it every time onUpdate gets called, then check if ticksExisted % 100 is 0 and if yes, then execute your code.
 - 
	
		
		Allocating more ram
		
		floating points are not allowed there, so you need to use a smaller unit, like in your first. Also, as I've said previously, it is recommended to set Xms the same value as Xmx, so in your case also 3G And what I've forgot: be careful that you don't allocate too much memory, or it'll crash Minecraft after a while!
 - 
	
		
		Question to custom dimension biomes
		
		This is weird, I only have one float parameter, and it determines the rainfall value. (I use MC 1.7.10; Forge 1180) Nevertheless, just look at the class constructor itself, it shows which values are set by the parameters.
 - 
	
		
		Allocating more ram
		
		Easy, Xmx is for the max. possible ram allocateable. In your case set it to 3G (the G stands for Giga(byte), M would be Mega(byte) and so on) Xms is the min. possible memory allocated, recommended is that you set it to the same value as your Xmx argument. Xmn is the heap space, if you have problems with heap space, increase its value. I normally use 512M on my 8Gig PC, but AFAIK 256M should be enough.
 - 
	
		
		[1.7.10] How to getItemEnchantability() from ItemStack's NBTTags
		
		The problem is there's no hook for it currently. You can always make a PR on the forge github for this. What needs to be done is following: Add a new method like getItemEnchantability with an ItemStack parameter inside the Item class which calls the vanilla one by default. In the EnchantmentHelper class, within the buildEnchantmentList method, you then need to change the line with getItemEnchantability and add the itemstack as parameter. If that's done, you need to override the getItemEnchantability method in your item with the ItemStack parameter.
 - 
	
		
		[1.7.10] Rendering triangles into a gui
		
		As I've noticed, you don't draw an actual triangle, also the coordinates you give makes it draw an infinitely thin line. Remove the last 3 addVertex' and try again.
 - 
	
		
		Custom furnace: error with the final output.
		
		one element inside the slots[] array seems to be null, thus crashing with an NPE when trying to call slots.stackSize Use the debug mode to find out which one, or just check if the element is not null before the other checks.
 - 
	
		
		How to zoom in?
		
		Ugh, please don't. Use the FOVUpdateEvent and set the newfov field of that event to your desired value.
 
IPS spam blocked by CleanTalk.