mcedit module
mcedit.py
Startup, main menu, keyboard configuration, automatic updating.
-
class
mcedit.
FakeStdOutErr
(*args, **kwargs)[source]
Fake file object to redirect very last Python output.
Used to track ‘errors’ not handled in MCEdit.
Mimics ‘write’ and ‘close’ file objects methods.
Used on Linux only.
-
close
(*args, **kwargs)[source]
-
mode
= 'a'
-
write
(msg)[source]
-
class
mcedit.
FileLineFormatter
(fmt=None, datefmt=None)[source]
Bases: logging.Formatter
-
format
(record)[source]
-
class
mcedit.
MCEdit
(displayContext, *args)[source]
Bases: albow.openglwidgets.GLViewport
-
addRecentWorld
(filename)[source]
-
add_right
(widget)[source]
-
check_for_version
()[source]
-
confirm_quit
()[source]
-
createNewWorld
()[source]
-
def_enc
= 'cp1252'
-
editor
= None
-
classmethod
fetch_version
()[source]
-
static
justQuit
()[source]
-
loadFile
(filename, addToRecent=True)[source]
-
loadRecentWorldNumber
(i)[source]
-
classmethod
main
()[source]
-
makeSideColumn1
()[source]
-
makeSideColumn2
()[source]
-
numRecentWorlds
= 5
-
recentWorlds
()[source]
-
reloadEditor
()[source]
-
removeEditor
()[source]
-
static
removeLevelDat
(filename)[source]
-
resized
(dw, dh)[source]
Handle window resizing events.
-
restart
()[source]
-
saveAndQuit
()[source]
-
saveWindowPosition
()[source]
Save the window position in the configuration handler.
-
static
setRecentWorlds
(worlds)[source]
-
set_update_ui
(v)[source]
-
shouldResizeAlert
-
showGraphicOptions
()[source]
-
showKeyConfig
()[source]
-
showOptions
()[source]
-
mcedit.
getLatestMinecraftVersion
(snapshots=False)[source]
-
mcedit.
getSelectedMinecraftVersion
()[source]
-
mcedit.
main
(argv)[source]
Setup display, bundled schematics. Handle unclean
shutdowns.
-
mcedit.
weird_fix
()[source]