Skip to content

TheCrashed/crashCraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crashCraft
==========

Minimalistic Minecraft 1.4.5 server written in Python


Example
==========
<pre>
import crashCraft
import crashCraft.world
import crashCraft.server


class MinecraftMG(crashCraft.application.Application):
  def Init(self):
		print 'Initializing MinecraftMG...'

		self.world = crashCraft.world.World()
		self.server = crashCraft.server.Server(port=25565)

		self.PopulateWorld()

		print 'Done!'

	def PopulateWorld(self):
		self.world.Create((-10, 11), (-10, 11))
		self.world.GetChunk(0, 0).Blocks[16,:,:] = crashCraft.world.Blocks.Stone.id


if __name__ == '__main__':
	MinecraftMG().Run()
</pre>

About

Minimalistic Minecraft 1.4.5 server written in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages