Everything posted by ajasona
- 
	
		
		Create DynamicTextures async
		
		So im trying to convert a lot of BufferedImages to DynamicTextures ( new DynamicTexture(image) ) within a for loop. Well my minecraft just crashed now. So I tried to put it in a Thread, without succes: No OpenGL context found in the current thread. So how can I do this async?
 - 
	
		
		[SOLVED] Crash when loading
		
		Ok, so downloading on a separate thread.. Thank! ❤️
 - 
	
		
		[SOLVED] Crash when loading
		
		Points to internet
 - 
	
		
		[SOLVED] Crash when loading
		
		Url points to a .jpg U can see that in the code
 - 
	
		
		[SOLVED] Crash when loading
		
		So the converting to dynamictextures takes so long? Not the ImageIO.read?
 - 
	
		
		[SOLVED] Crash when loading
		
		But the worlddownloader mod, litterly loads a whole world.. But they have a loading screen, and with that everything went fine... Should something like that work?
 - 
	
		
		[SOLVED] Crash when loading
		
		Well why do I need to explain my whole project? I just wanna know how I can load things (that takes some time) without crashing my mc
 - 
	
		
		[SOLVED] Crash when loading
		
		I was just typing it, calm.. What i was typing: Load frames in from a url (yea i know i could just put them in the jar, but no thats not what i want), then putting the frame (DynamicTexture) in a array, from there I can render them
 - 
	
		
		[SOLVED] Crash when loading
		
		video = new VidManager(args[2], Integer.parseInt(args[3])); video.importAllFrames();
 - 
	
		
		[SOLVED] Crash when loading
		
		wow, im stupid... ok yea https://paste.md-5.net/corabewihu.coffee
 - 
	
		
		[SOLVED] Crash when loading
		
		I dont need code in specific xD.. Just wanted to know how I could do this, Maybe some kind of loading screen or something?
 - 
	
		
		[SOLVED] Crash when loading
		
		So I want to "import" some photos and convert them to dynamictextures... I have it in a for loop, but my whole mc will freeze when I run it... Converting the photos Async gave a lot of errors. But maybe theres another solution?
 - 
	
		
		[SOLVED] Get vehicle of EntityPlayer
		
		Thanks! How can I set this topic to solved?
 - 
	
		
		[SOLVED] Get vehicle of EntityPlayer
		
		I want to get the vehicle of the EntityPlayer... So like the minecart where the player is in.. How can I accomplish that? - Jason
 
IPS spam blocked by CleanTalk.