Scope fix, Minecraft and Python and basic method