Everything posted by SanAndreaP
- 
	
		
		Problem with Block-Names
		
		It's a block, so look under Blocks. Also use english, so others can understand you. ninja'd
 - 
	
		
		[1.7.2]Problem with Game Registry not "recognizing" getUnlocalizedName()
		
		If it really is obfuscated, then search for the method which returns "tile." + classvariable If you can find the method and it still errors, you don't extend net.minecraft.block.Block. Please post all of your block code, with all imports and such. Also you should update to 1.7.10, there's no reason to stay in 1.7.2.
 - 
	
		
		[SimpleNetworkWrapper] Bi-directional packets
		
		AFAIK, you use the same discriminator for the same message on both sides. So on both, you use 1.
 - 
	
		
		Alpha in model textures?
		
		I would use OpenGlHelper.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA, GL11.GL_ONE, GL11.GL_ZERO); since I don't like "magic numbers"
 - 
	
		
		Easier Modeling, Help?
		
		except that the .java file spit out by techne is really messy and sometimes just wrong.
 - 
	
		
		About replacing base class with ClassTransformer
		
		And that's why you can publish a Pull Request to the Forge github repo.
 - 
	
		
		[1.7.2][UNSOLVED] WorldGen
		
		1. To get the topmost block during generation, use world.getTopSolidOrLiquidBlock(x, z) 2. Please use descriptive names for your variables. Stuff like i2 or j1 is just confusing. 3. Ever considered using for loops instead of this chunk of repeating setBlock calls you have?
 - 
	
		
		[1.7.2] Biome Top and Filler Blocks not working with custom blocks
		
		For Blocks and Items, it doesn't do any harm when you instanciate them in the static initializer anymore (since the removal of the block / item IDs). All the super constructor of a block / item does is setting some internal variables. For everything else, yes, do it in preInit (since it usually has an ID in its constructor, like for biomes) Registering them is another story, this should always go into the preInit.
 - 
	
		
		Spawn Entity at Block
		
		Why not grab the world from the world parameter?
 - 
	
		
		Changing the direction of a custom rendered block 1.7
		
		Use metadata in combination with GL11.glRotatef()
 - 
	
		
		[1.7.10] [Work-around] Tessellating an Item Icon in ISimpleBlockRenderingHandler
		
		It is possible like TheGreyGhost said, but as soon as you want to animate it, it won't work and you'll need a TESR. It is recommended, if you want to animate parts of a block, to render the static parts with the ISBRH and the animated parts with the TESR, so that you don't have too much in your TESR. (this is how the enchanting table does it (and probably the beacon as well)).
 - 
	
		
		[1.6.4] Cauldron not working in Crafting Recipe?
		
		First of all: Update to 1.7. Support for 1.6 was dropped a while ago. Secondly: Don't use Block/Item-IDs, ever. Always use the instance of the Block/Item itself As Busti points out correctly: you need to use the "item-cauldron", not the "block-cauldron". Same goes for beds, reed etc.
 - 
	
		
		Forge 1.7.10 opens then closes and reopens the launcher
		
		Try without optifine and see if it works.
 - 
	
		
		Block Rendering Based on NBT
		
		static boolean hasAlloy[] = new boolean[3]; You know what static means, right? I'm asking because you write/read it in your NBT methods.
 - 
	
		
		[1.7.2] Packet channel registration error
		
		Unless you give us the full crash, we can't help you.
 - 
	
		
		[1.7.10] [UNSOLVED] [URGENT] Furnace disappears when cooking!
		
		I know you don't. That's why I said you should override it.
 - 
	
		
		[1.7.10] [UNSOLVED] [URGENT] Furnace disappears when cooking!
		
		override shouldRefresh() in your tile entity and check if the block is not one of your furnace blocks.
 - 
	
		
		[1.7.10] [SLOVED] Å Ä Ö - The Swedish Letters
		
		Did you mean "gradlew"? With "gradlew build utf-8" it didn't work :'( Sorry, I was unclear. It's not the command you're supposed to enter, it's the search term where I found the link.
 - 
	
		
		[1.7.10] [SLOVED] Å Ä Ö - The Swedish Letters
		
		http://stackoverflow.com/questions/21267234/show-utf-8-text-properly-in-gradle first result in google "gradle build utf-8"
 - 
	
		
		[1.7.10]How to get custom enchant effect on vanilla items
		
		I propose an other way of achieving the "autosmelt". Use the HarvestDropsEvent, check if the item used to break the block is a pickaxe and if it has your enchantment, then check which block was broken or check which items are dropped, remove those from the drops list and add their smelted counterparts to the list.
 - 
	
		
		[1.7.2]CoreMods help.
		
		Seems like handler.[b]villageCollectionObj[/b] is null. How do you initialize this field?
 - 
	
		
		[1.7.10]Game crashes whenever spawning a mob?
		
		hm, I always suggest using a custom item which mimics the mob spawn egg, since the mob spawn egg relies on the vanilla entity id's, which can't get over 255 as previously mentioned. It's also likely that this is causing it to crash.
 - 
	
		
		[1.7.2]CoreMods help.
		
		at BetterWorld.village.VillageInfo.build(VillageInfo.java:150) Can you post which line this is in your class?
 - 
	
		
		After pressing play Launcher returns. [1.7.10]
		
		Redownload vanilla minecraft and re-install Forge. You jar file seems to be corrupted somehow.
 - 
	
		
		[1.7.10]Server not starting up.
		
		The crash says you're missing a mod dependency. To tell more please post the fml-server-latest.log (through gist.github.com or within a spoiler). You can find it in .minecraft/logs
 
IPS spam blocked by CleanTalk.